Please enable JavaScript to view this site.

Function to generate the drive-reset command to axes belonging to the group (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_drive_reset (power_set psName, i32 dfMsk [, i32 axMsk=0xFFFFFF])

psName

Name of the powerSet (of type power_set)

dfMsk

Drive reset command mask:

Bit

Hexadecimal value

Bit value

Description

0

0x00000001

0

First axis no drive reset command

1

Drive reset first axis of the group

1

0x00000002

0

Second axis no drive reset command

1

Drive reset second axis of the group

2 -:- 30

0x000004 -:- 0x40000000

0

n-th axis no drive reset command

1

Drive reset n-th axis of the group

31

0x80000000

0

Thirty-second axis no drive reset command

1

Drive reset 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

Handle 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 (project configurator) file

 

  

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