TCP/IP COMMUNICATION
55 SMART-VS PLUS
EXTJB (EXiTJoB)
It allows to exit without saving an editing session\job creation.
Syntax:
EXTJB<CR><LF>
Reply:
EXTJB;ReturnCode<CR><LF>
Possible return codes
:
• Success → Command successful.
• NotInSession→ The command was called without a configuration session being
started (the device is in running state).
• NotInJobEditing → The device is in configuration but no job is being edited / cre-
ated.
TRNJB (TRaiNJoB)
Allows to start training the job being edited / created. The command is successful only if
all the necessary reference image acquisitions have been made. The job is automatically
trained.
Syntax:
TRNJB<CR><LF>
Reply:
TRNJB;ReturnCode<CR><LF>
Possible return codes
:
• Success → Command successful.
• NotInSession → The command was called without a configuration session being
started (the device is in running state).
• NotInJobEditing → The device is in configuration but no job is being edited / cre-
ated.
• OtherInProgress → Another asynchronous task is in progress and therefore it is
not possible to launch the training. Finalize the previous task and start the train-
ing.
CNGJB (ChaNGeJoB)
Allows to change the job in progress.
Syntax:
CNGJB;BankId<CR><LF>
BankId: Bank number to be used.
Reply:
CNGJB;ReturnCode;BankStatus;JobName <CR><LF>
JobName: Name of the job contained (Empty Bank in the case of an empty bank).
Possible return codes
:
• Success → Command successful.
• InvalidInput → The specified bank is out of the range (0-31) or no editable jobs are
saved in the specified bank.
• AlreadyInConfiguration → The device is in configuration, it is not possible to
change the bank. Finalize the previous configuration by completing it or exiting
without saving.
• Failed → The device is already in the configuration state by an external interface
(HMI, WebApp).