XPS Unified Programmer’s Manual
7.2.1.91 GroupMotionEnable
Name
GroupMotionEnable – Enables a group in DISABLE state to turn the motors on and to
restart corrector loops.
Input tests
- Refer to section 7.1: “Input Tests Common to all XPS Functions”.
- Actor must be a group: (-8), (-18)
- Valids group name: (-19)
- Group status must be "DISABLE”: (-22)
Description
Turns ON the motors and restarts the corrector servo loops. The group state becomes
“READY”.
If the group is not in “DISABLE” error (-22) is returned.
Prototype
int GroupMotionEnable(
int SocketID,
char * GroupName
)
Input parameters
SocketID int Socket identifier gets by the
“TCP_ConnectToServer” function.
GroupName char * Group name.
Output parameters
None.
Return (In addition to the results of “Input Tests Common to all XPS
Functions”)
• 0: No error.
• -8: Wrong object type for this command.
• -18: Positioner Name doesn't exist or unknown command.
• -19: GroupName doesn't exist or unknown command.
• -22: Not allowed action.
EDH0373En1023 — 01/18 148