188 Appendices
AXIOM
™
/ AXIOM-X
™
Product Line Manual
Accu-Sort Systems, Inc.
A1-AXIOM-AXIOM-X_Appendices_R10.doc
Network Host Communications
The AXIOM provides a number of options for transmitted bar code to another
computer (typically referred to as the “host”). Additionally, two simultaneous
host network connections are supported each with different message
definition and formatting. These connections use ports 3001 and 3002 by
default, but these values are modifiable.
TCP/IP Server
Operation as a TCP/IP server is the default configuration for the AXIOM. In
this case, for an application to communicate with an AXIOM from a "host
computer", the application should just initiate a simple TCP/IP socket
connection. When a socket connection to the AXIOM is established, the
green AXIOM network LED will be illuminated (unless client/controller mode
is in use in which the LED indicates the status of the inter-AXIOM network
connections).
One issue should be considered when designing such an application: As
with any socket connection, if one side or the other terminates the
connection without properly closing it - the connection can be left open.
For example, if a host computer has initiated a connection to an AXIOM and
the host computer "crashes" - the connection on the AXIOM will remain open
until the AXIOM attempts to send the next message (normally the next bar
code). At this point, the AXIOM will detect the connection from the host
computer has been terminated and clear the connection allowing the host
computer to reconnect.
However, it is possible that the AXIOM might be powered off while a host
connection is active (or if the power is cycled on an intermediate piece of
network equipment such as a hub or a switch). In this case, the AXIOM
socket connection will be closed but the host computer may not be aware of
this change. To handle this situation, it may be desirable to implement a
means by which the host computer can test the state of the network
connection.
One option is to periodically send a simple message (e.g., just a null
character or just a single STX character) to the AXIOM verifying the link is
still active.
Another option is for a heartbeat message to be enabled on the AXIOM.
This both provides the host computer with a means for determining if the link
has been lost (by lost of the heartbeat) and provides the AXIOM with quicker
determination of lost of communications with the host computer. This is the
recommended approach.
Содержание AXIOM
Страница 1: ...AXIOM AXIOM X Laser Bar Code Scanning Solutions Product Line Manual ...
Страница 138: ...138 Maintenance AXIOM AXIOM X Product Line Manual Accu Sort Systems Inc 07 AXIOM AXIOM X_Maintenance_R10 doc Notes ...
Страница 168: ...168 Service AXIOM AXIOM X Product Line Manual Accu Sort Systems Inc 09 AXIOM AXIOM X_Service_R10 doc Notes ...
Страница 184: ...184 Appendices AXIOM AXIOM X Product Line Manual Accu Sort Systems Inc A1 AXIOM AXIOM X_Appendices_R10 doc Notes ...
Страница 204: ...204 Appendices AXIOM AXIOM X Product Line Manual Accu Sort Systems Inc A1 AXIOM AXIOM X_Appendices_R10 doc Notes ...
Страница 210: ...210 Appendices AXIOM AXIOM X Product Line Manual Accu Sort Systems Inc A1 AXIOM AXIOM X_Appendices_R10 doc Notes ...
Страница 223: ......
Страница 224: ......
Страница 225: ......