6K-8KA FAMILY HOST MODE PROGRAMMING
4
2
2.3 SELF DISCONNECTION
Specific situations exist where the device is automatically disconnected from the Host and is
restored to the
IDLE
state. Once connected, the following message could be sent:
DESCRIPTION
HOST
REPLY
DEVICE
MESSAGE
Self Disconnection
-
<ESC> [ A
This message notifies a forced disconnection from the Host.
This message must always be managed by the Host program to check when the
device has gone back to the
IDLE
state.
Normally programming sequences do not involve this message except for the occasions
listed below:
1.
Inactivity Timeout Expiration
After connection, no programming commands or programming strings are sent to the
device (approximately 2 minutes as default).
2.
Application Software Restart
Particular commands may force a restart of the device like Data Storage commands
(refer to the Paragraph 3.5). The Self Disconnection message is sent to notify these
cases.
3.
General Error Condition
After connection to the device, unexpected errors are notified by means of the Self
Disconnection message.
4.
Protocol Error
When Host sends wrong messages like unexpected escape sequences.
DESCRIPTION
HOST
REPLY
DEVICE
MESSAGE
Self Disconnection
<ESC> X <CR><LF>
-
Host must confirm the disconnection event sending this reply message.
If not sent, after a timeout (about 300 ms as default) device goes back to the
IDLE
state.
Summary of Contents for 6K-8KA FAMILY
Page 1: ...6K 8KA FAMILY Host Mode Programming ...
Page 4: ...iv ...
Page 73: ...www datalogic com ...