Please enable JavaScript to view this site.

Function to know the fault status of the group channels.

NOTE: The reference to logical or physical axes depends on the one defined in configurator RTE.cfg.

Syntax

i32 ps_channel_fault (power_set psName)

psName

PowerSet name (of type power_set).

Result

Mask axes that are in a fault state. In the case of axis managed in CAN402 it is the mask of axes in fault state.

Bit

Hexadecimal value

Bit value

Description

0

0x00000001

0

First axis of the group not in fault state

1

First axis of the group in fault state

1

0x00000002

0

Second axis of the group not in fault state

1

Second axis of the group in fault state

2 -:- 30

0x000004 -:- 0x40000000

0

n-th axis of the group not in fault state

1

n-th axis of the group in fault state

31

0x80000000

0

Thirty-second axis of the group not in fault state

1

Thirty-second axis of the group in fault state

Validity

Rule, Task

Note

The command variable used by RTE to perform the reset is specified by the user in the RTE.cfg file (project configurator)

 

  

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