GetSlotState (GSS)
Queries the current status of a station.
Input
Syntax: GSS{SLOTNUMBER}
| {SLOTNUMBER} | Corresponds to the station number |
Output
{COMMAND RESPONSE}{PROGRAMNUMBER};{PROGRAMNAME};{INSPECTIONRUNNING};{ACTIVE}
| Command Response | Description |
|---|---|
| 0 | Command was processed successfully |
| 1 | Execute not successful |
| 2 | Incorrect syntax |
| 3 | Serious error during execution |
| 4 | Function not active or manually deactivated |
| 9 | EasySightPro® will be closed |
| {PROGRAMNUMBER} | Number of the active program |
| {PROGRAMNAME} | Name of the active program |
| {INSPECTIONRUNNING} | False = Station ready for trigger True = Inspection in progress |
| {ACTIVE} | False = Station is not active (Offline) True = Station is active (Online) |
Example
Queries the status of station 0.
Responses:
-
Program number: 1
-
Programname: Demo
-
Station ready for trigger
-
Station active (Online)
Copy
GSS0
01;Demo;False;True