Zygosetoffsetx - 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.2.60

ZygoSetOffsetX

Name
ZygoSetOffsetX – Sets offset value for X axis via Ethernet.
Input tests
-
Refer to section 7.1: "Input Tests Common to all XPS Functions".
-
Checks input parameter type: (-127)
-
Checks Zygo is enabled: (-205)
Description
This function sets the offset value for X (defined as Zygo axis #2).
The offset value is subtracted from the position value.
Prototype
int ZygoSetOffsetX(
int SocketID,
long Xoffset
)
Input parameters
SocketID
Xoffset
Output parameters
None.
Return (In addition to the results of "Input Tests Common to all XPS
Functions")
• 0:
No error.
• -2:
TCP timeout.
• -127:
Wrong parameter type in the command string: long or long * expected.
• -205:
Not enable in your configuration.
• -1000:
Zygo command execution failed.
• -1001:
The controller is not connected to Zygo TCP server. Run
ZygoStartInterferometer API.
int
Socket identifier gets by the
"TCP_ConnectToServer" function.
long
Offset value for X.
659
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