Please enable JavaScript to view this site.

Function to know the status of the group (PowerSet).

Syntax

i32 ps_status (power_set psName)

psName

PowerSet name (of type power_set)

Result

Returns:

Bit

Hexadecimal value

Description

0

0x00000001

At least one drive in fault

1

0x00000002

In power

2

0x00000004

At least one drive enabled

3

0x00000008

All drives are enabled

4

0x00000010

Status (possibly) delayed feedback

5

0x00000020

Reserved

6

0x00000040

Counting in progress on delay on PowerSet axis alarm causing power drop(power_off_delay_on_alarm)

7

0x00000080

Counting in progress in case of delay on no feedback of PowerSet(power_off_delay_on_no_feedback)

8

0x00000100

Actual state (not delayed) of feedback

9

0x00000200

Feedback is present for all drives in the PowerSet

10

0x00000400

If RTE version <= 34.27.01: feedback is present for all drives in the PowerSet that were commanded to be enabled(ps_channel_enable()).

If RTE version >= 34.27.02: all enabled axes have the corresponding feedback and all enabled axes have the "drive follows command value" bit, bit 12 of fb_stsw

11

0x00000800

Excluded axes are present

12

0x00001000

PowerSet deenergized due to lack of global feedback. (from RTE 34.26.0)

13

0x00002000

All enabled axes have relative feedback

14

0x00004000

All enabled axes have the relative bit of "drive follows command value," bit 12 of fb_stsw

15 -:- 32

0x00008000 -:- 0x80000000

Reserved

Validity

Rule, Task

Note

RTE, to diagnose if the drive is in fault, tests the signal specified in the keyword ps_channel_fault()

ps_status_delay_zoom25

 

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Contents: ALT+c
Search: ALT+s
Exit Menu/Up: ESC