Initializeandhomexy - 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.19

InitializeAndHomeXY

Name
InitializeAndHomeXY – Do home search on X then Y axis.
Input tests
-
Refer to section 7.1: "Input Tests Common to all XPS Functions".
-
Checks the set option: (-17)
-
Verifies this command is allowed: (-22)
-
Checks state of physical ends of run: (-113)
-
Checks the opened socked is valid: (-200)
-
Checks this command is enabled for the current controller configuration: (-205)
Description
This function initializes the motor, calibrates the encoder and activates the servo loop of
each positioner of the XY group. Then, it performs a home search on X positioner and
after on Y positioner. It configures the gantry mode used after homing.
Once the home search is finished with success, the group must be in "READY" state.
The selected gantry option during the initialization phase is Option0.
The home search routine for each positioner is defined in the "stages.ini" file by
the "HomeSearchSequenceType" key.
The home search time out is defined in the "stages.ini" file by the
"HomeSearchTimeOut" key.
The home search sequence is defined in the "stages.ini" file by the
"InitializationAndHomeSearchSequence".The value must be "XthenY".
Prototype
int InitializeAndHomeXY(
int SocketID,
char * Option
)
Input parameters
SocketID
Option
Output parameters
None.
NOTE
int
Socket identifier gets by the
"TCP_ConnectToServer" function.
char *
Option selection(Option0, Option1 or Option2).
609
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