TransCore IT241005422 Manual De Usuario

Descargar
Página de 82
Application Program Interface
D-3
Appendix D
Application Program Interface
This appendix describes the application program interface (API) for the 
IT2410 Tag Programmer.
Interface Definitions
Communication between the tag programmer and host occurs via a serial RS–232 
interface or an Ethernet (TCP/IP) interface. “Ethernet Communications Conduit” 
describes the TCP/IP interface. “Communications Protocols” on page D-4 describes 
the serial protocol. This platform performs data transfer, commands, and responses in 
a binary-coded format similar to the ISA data structure, but with error correcting pro-
tocol (ECP) additions to maintain error-free communications.
Ethernet Communications Conduit
All Ethernet parameters are factory set initially and will need to be reset to the correct 
customer configuration in the field to function properly. All parameters except the 
media access control (MAC) address can be changed in the field. These parameters 
are factory defaults:
MAC address
Programmer IP address
Host IP address
Gateway IP address
Network mask
TransCore recommends that you first configure the Ethernet settings using the stan-
dard RS–232 communications conduit. Subsequent changes can be made using either 
the RS–232 or Ethernet conduits. Changes to Ethernet settings will not take effect 
until after the unit has been reset either by command or by switching the power off 
and on.
The IT2410 Tag Programmer operates as a TCP/IP client. The programmer attempts 
to connect to a listening socket server (also known as host). The Ethernet communica-
tions occur using port 8000.
Responses to all command requests are categorized as either synchronous or asyn-
chronous. Some requests have a synchronous response associated with them. Some 
requests also have an asynchronous response associated with them. Some asynchro-
nous responses occur independent of any request by the application. Some of these 
responses contain data, the content and format of which is included with the definition 
of each command.