TCP/IP COMMUNICATION
61 SMART-VS
STBCK (SToreBaCKup)
It allows to save the binary file containing the device backup on the device's flash mem
-
ory. The file must be previously uploaded to the exchange area. The device switches
from the “Running” state to the “Configuration” state.
Syntax:
STBCK;Force <CR><LF>
Force: forces the flash to be overwritten.
Reply:
STBCK;Returncode<CR><LF>
Possible return codes:
• Success → command successful.
• AlreadyInConfiguration → a configuration has already started and the file cannot
be loaded.
• InvalidInput → corrupted file or not loaded (exchange area empty).
• Failed → the file loaded in the exchange area is not a file containing a BackUp.
FNZJBF (FiNalaZeJoBFile)
Finalizes the asynchronous command to create a binary file containing a single job
CRTJBF (CReaTeJoBFile)" on page 59
).
Syntax:
FNZJBF<CR><LF>
Reply:
FNZJBF;ReturnCode;FileSizeByte <CR><LF>
FileSizeByte: Returns the size of the created file in bytes. The size of the file to be down
-
loaded from the device, due to the base64 encoding, can be obtained with the following
formula:
or
divided by 3, rounded up to the nearest integer, then multiplied by 4
.
Possible return codes:
• Success → command successful.
• NotInProgress → no asynchronous tasks in progress.
• OtherInProgress → another asynchronous task is in progress.
• Failed → package creation failed.
VALUE
FORCE
0
False
1
True
CAUTION: To return to the “Running” state, you need to perform one of the
following operations:
• Finalize the creation of the package containing the job using the
• Close the client connection with the device