EasyManua.ls Logo

Newport XPS-D - Setbrake

Newport XPS-D
722 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
XPS Unified Programmer’s Manual
7.2.2.27 SetBrake
Name
SetBrakeSets Brake command.
Input tests
- Refer to section 7.1: “Input Tests Common to all XPS Functions”.
- Checks if the break feature is enabled: (-205)
Description
This function sets brake command signal from Inhibit or GPIO connector.
Refer to section [BRAKE] in System.ini configuration file.
Brake commands:
1) BrakeCommandSignalState parameter is defined “Direct” in System.ini
0 = Brake OFF
1 = Brake ON
2) BrakeCommandSignalState parameter is defined “Inverted” in System.ini
0 = Brake ON
1 = Brake OFF
Prototype
int SetBrake(
int SocketID,
int Command
)
Input parameters
SocketID int Socket identifier gets by the
“TCP_ConnectToServer” function.
Command int Brake command (0 or 1).
Output parameters
None.
Return (In addition to the results of “Input Tests Common to all XPS
Functions”)
0: No error.
-17: Parameter out of range or incorrect.
-205: Not enable in your configuration.
EDH0373En1023 01/18 622

Table of Contents

Other manuals for Newport XPS-D

Related product manuals