Groupspincurrentget - 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
EDH0373En1023 — 01/18
7.2.1.104

GroupSpinCurrentGet

Name
GroupSpinCurrentGet – Gets the spin mode parameters.
Input tests
-
Refer to section 7.1: "Input Tests Common to all XPS Functions".
-
Checks the group type (must be a Spindle group): (-8)
-
Checks the positioner name: (-18)
Description
This function returns the current (or actual) velocity and acceleration used by the SPIN
mode.
Prototype
int GroupSpinCurrentGet(
int SocketID,
char * GroupName,
double * Velocity,
double * Acceleration
)
Input parameters
SocketID
GroupName
Output parameters
Velocity
Acceleration
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.
int
Socket identifier gets by the
"TCP_ConnectToServer" function.
char *
Spindle group name.
double * Velocity (units/s).
double * Acceleration (units/s²).
166
Programmer's Manual

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xps-rlXps-qXps-d

Table of Contents