
HOST MODE PROGRAMMING
4
2.3 SELF DISCONNECTION
Specific situations exist so that the device is automatically disconnected from the
Host and its
IDLE
state is reached again.
Once connected, 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 the occasions
listed below:
1.
Inactivity Timeout Expiration
After the 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).
Self-Disconnection message is sent to notify that cases.
3.
General Error Condition
After the connection to the device, unexpected errors are notified by means of
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 message.
If not sent, after a timeout (about 300 ms as default) device goes back to the
IDLE
state.
Содержание VB14N
Страница 1: ...VB14N HOST MODE PROGRAMMING FACTORY AUTOMATION MANUAL...
Страница 91: ...HOST MODE PROGRAMMING...