Singleaxisthetaslavemodeenable - Newport XPS Programmer's Manual

Xps unified series universal high-performance motion controller/driver
Hide thumbs Also See for XPS:
Table of Contents

Advertisement

XPS Unified
7.2.1.312

SingleAxisThetaSlaveModeEnable

Name
SingleAxisThetaSlaveModeEnable – Enables 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 "READY": (-22)
-
Checks the slave parameters (must be configured): (-41)
Description
This function enables the master-slave mode only if the slave group is in "READY"
state. In this mode the slave must be defined as a SingleAxisTheta group and the master
can be a positioner from any group.
To use this function, the SingleAxisTheta group must be in the READY state. If it's not
the case then (-22) error is returned.
To use this function, the master positioner and the slave ratio must be configured using
the "SingleAxisThetaSlaveParametersSet" function. If it's not the case then (-41) error
is returned.
Prototype
int SingleAxisThetaSlaveModeEnable(
int SocketID,
char * GroupName
)
Input parameters
SocketID
GroupName
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.
• -41:
Slave-master mode not configured.
int
Socket identifier gets by the
"TCP_ConnectToServer" function.
char *
SingleAxisTheta group name.
457
Programmer's Manual
EDH0373En1023 — 01/18

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xps-rlXps-qXps-d

Table of Contents