Please enable JavaScript to view this site.

Function to generate the group channel reset-fault command (PowerSet). The command can be valid for all axes or only for a subset.

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

Syntax

i32 ps_channel_reset_fault (power_set psName, i32 rfMsk [, i32 axMsk=0xFFFFFF])

psName

PowerSet name (of type power_set)

rfMsk

Mask of the reset fault commands:

Bit

Hexadecimal value

Bit Value

Description

0

0x00000001

0

First axis no reset fault command

1

Reset fault first axis of the group

1

0x00000002

0

Second axis no reset fault command

1

Reset fault second axis of the group

2 -:- 30

0x000004 -:- 0x40000000

0

n-th axis no reset fault command

1

Reset fault n-th axis of the group

31

0x80000000

0

Thirty-second axis no reset fault command

1

Reset fault thirty-second axis of the group

axMsk

Axis mask involved: (optional, default 0xFFFFFF)

Bit

Hexadecimal value

Bit value

Description

0

0x00000001

0

Do not consider first axis of the group

1

Manage first axis of the group

1

0x00000002

0

Do not consider second axis of the group

1

Manage second axis of the group

2 -:- 30

0x000004 -:- 0x40000000

0

Do not consider n-th axis of the group

1

Manage n-th axis of the group

31

0x80000000

0

Do not consider thirty-second axis of the group

1

Manage thirty-second axis of the group

Result

Returns:

Value

Meaning

1

Successful operation

0

Otherwise

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