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:
|
||||||||||||||||||||||||||||
axMsk |
Axis mask involved: (optional, default 0xFFFFFF)
|
||||||||||||||||||||||||||||
Result |
Returns:
|
||||||||||||||||||||||||||||
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 |
Example of use:
|