XPS Unified Programmer’s Manual
7.2.1.311 SingleAxisThetaSlaveModeDisable
Name
SingleAxisThetaSlaveModeDisable – Disables the slave-master mode.
Input tests
- Refer to section 7.1: “Input Tests Common to all XPS Functions”.
- Checks the group type (must be a SingleAxisTheta group): (-8)
- Checks the positioner name: (-18)
- Checks the group name: (-19)
- Group state must be "SLAVE”: (-22)
Description
This function disables the master-slave mode. If a motion is in progress then it is
aborted.
To use this function, the group state must be SLAVE (46). If it is not the case then the
(-22) error is returned.
Prototype
int SingleAxisThetaSlaveModeDisable(
int SocketID,
char * GroupName
)
Input parameters
SocketID int Socket identifier gets by the
“TCP_ConnectToServer” function.
GroupName char * SingleAxisTheta 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 456