SetToolState (STS)
Activates/deactivates a value tool in the active program of a station.
Input
Syntax: STS{SLOTNUMBER};{TOOLNAME};{STATE}
| {SLOTNUMBER} | Entspricht der Stationsnummer |
| {TOOLNAME} | Name des Werkzeuges |
| {STATE} | 0 = Werkzeuge deaktivieren 1 = Werkzeug aktivieren |
Output
{BEFEHLSANTWORT}{VALUE}
| 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 |
Example
Deactivates the 'Datamatrix' tool in station 0.
Copy
STS0;Datamatrix;0
0
Activates the 'Datamatrix' tool in station 0.
Copy
STS0;Datamatrix;1
0