DEVICE CONTROL COMMANDS
PRODUCT REFERENCE GUIDE 52
BNKST (BaNKSTatus)
It allows to check if a bank contains a job or not. The reply also contains the job name.
Syntax:
BNKST;BankId<CR><LF>
BankId: Number of the bank to be checked.
Reply:
BNKST;ReturnCode;BankStatus;JobName<CR><LF>
BankStatus: bank status.
JobName: Name of the job contained (Empty Bank in the case of an empty bank).
Possible return codes:
• Success → Command successful.
• Failed → The device is in a job editing session. It is not possible to check the bank
status. Finalize the session tasks (if any) by completing it or exiting without saving.
• InvalidInput → The specified bank is out of the range (0-31).
GTRJB (GeTRunningJoB)
Allows to check which job is loaded as the currently running job.
Syntax:
GTRJB<CR><LF>
Reply:
GTRJB;ReturnCode;BankId;JobName<CR><LF>
BankId: Bank number currently loaded.
JobName: name of the job present in the bank (Empty Bank in the case of an empty
bank).
Possible return codes:
• Success → Command successful.
GTDVCS (GeTDeViCeStatus)
It allows to check if the device is in the job execution or paused status.
Syntax:
GTDVCS<CR><LF>
Reply:
GTDVCS;ReturnCode;DeviceStatus<CR><LF>
DeviceStatus:
Possible return codes:
Success → Command successful.
VALUE
LABEL
0
Empty
1
Full
CODE
DEVICE STATUS
0
Running
1
Pause (the pause status is controlled by the device that carried out the command)
2
Pause (the pause status is controlled by another device)