The text of a manual · part 26 of 59
Trakker Antares 24XX Terminal User's Manual Addendum: Chapter 4 - Operating the Terminal in a Network, pages 198 to 205
Pages 198 to 205 of 501, from Trakker Antares 24XX Terminal User's Manual Addendum
The original document is the PDF (2.2 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Intermec 2455
Page 198
4 Operating the Terminal in a Network
Page 199
Page 200
nugget CODE39 Operating the Terminal in a Network
4
This chapter describes serial communications and the 2.4 GHz RF network and explains how the TRAKKER Antares 2455 terminal fits into your network. It also explains how to install and configure the terminal, use serial or network communications, configure the T2455 over the network, and it provides technical details about network connectivity and protocols.
Using Serial Communications on the Terminal The TRAKKER Antares 2455 vehicle-mount terminal has two RS-232 serial ports to transfer data to and from other devices via serial communications. Before you can use the serial ports, you need to connect and configure the terminal. The next sections cover these topics: •
How the T2455 Fits Into Your Serial Network
•
Identifying the COM Ports
•
Choosing a Communications Protocol
•
Configuring the Serial Port Parameters
•
Configuring the Terminal Via the Serial Port
How the T2455 Fits Into Your Serial Network The TRAKKER Antares 2455 terminal is a versatile terminal that you can easily add to your network or data collection system. You can mount the T2455 on a vehicle and connect a serial device such as a portable printer to the terminal. You can also use the T2455 as a fixed end device in your wired network. The terminal has two serial ports to transmit data to and from a device via RS-232 serial communications. Mainframe
File server
Terminals Ethernet
RS-232 cable
Development PC
T2455 2455U.080
4-3
Page 201
TRAKKER Antares 2455 Vehicle-Mount Terminal User’s Manual nugget CODE39
You can use the serial ports to connect to the 900 MHz RF network via the 9189 Gateway. The terminal communicates with the 900 MHz RF network using Polling Mode D protocol.
Identifying the COM Ports Communications ports, also called COM ports, are locations from which data can be passed into and out of the terminal. The next table explains the COM port designations to use when developing client/server applications. Port
COM Port Designation for Applications
COM1
Use for RS-232 serial port communications on the T2455.
COM4
Use for RS-232 serial port communications on the T2455. The COM4 port is available when you configure the Scanner port to operate as an additional serial port (COM4). For instructions, see “Scanner Port (COM4)” in Chapter 9.
NET
Use for RF communications on the T2455. The TRAKKER Antares Programmer’s Software Kit (PSK) functions use NET to designate the RF network port.
You can physically connect the T2455 to another device (host computer, printer, controller, or other serial device) by using COM1 or COM4. For help connecting a device to a COM port, see “Connecting to Serial Devices” in Chapter 2.
Choosing a Communications Protocol Once the T2455 is connected to a serial device, you are ready to configure the serial port parameters on the two devices. The terminal uses a communications protocol and XMODEM or YMODEM to handle data communications through the serial port. You can configure the communications protocol for each COM port. The terminal’s built-in file operations use XMODEM or YMODEM for file transfer Communications protocols determine exactly how data is transmitted between the terminal and the connected device. Each protocol has parameters you can set, such as baud rate and parity. Both the terminal and the connected device must use the same protocol and parameter settings to communicate properly. For help on protocols, see the Data Communications Reference Manual (Part No. 044737). The terminal can communicate in these four protocols: •
Binary
•
Configurable protocol
•
Master Polling
•
Polling Mode D
Each protocol is described next.
4-4
Page 202
nugget CODE39 Operating the Terminal in a Network
4
Binary Protocol Binary protocol has no protocol. Characters are sent and received without being altered. The Data Link Escape character (DLE) is not inserted before any character. DLE characters are not stripped out of the incoming data stream and no characters such as EOM or SOM are added. Here are the serial port parameters you can define: •
Baud rate
•
Data bits
•
Parity
•
Stop bits
•
Flow control
Configurable Protocol Configurable protocol is based on Intermec’s Polling Mode D protocol except that you have the option to change some of the serial port protocol parameters or remove specific events from the protocol, such as Poll or handshake. Here are the serial port parameters you can define: •
Baud rate
•
Data bits
•
Parity
•
Stop bits
•
Configuration commands via serial port
•
EOM (End of Message)
•
Flow control
•
Handshake (enabled or disabled)
•
LRC
•
Poll (Polling) (enabled or disabled)
•
SOM (Start of Message)
•
Timeout Delay
Configurable protocol uses EOM to determine the serial communications mode. When EOM is disabled, the terminal communicates in Character mode. When EOM is enabled, the terminal communicates in Frame mode. Once EOM is enabled, you can set a value for these serial port parameters: •
Configuration commands via serial port
•
Handshake
•
LRC
•
SOM
4-5
Page 203
TRAKKER Antares 2455 Vehicle-Mount Terminal User’s Manual nugget CODE39
Once Handshake is enabled, you can set a value for poll and the timeout delay.
Master Polling Protocol Master Polling Mode D protocol requires the TRAKKER Antares terminal to ask the downline serial device for data it may have (polling) and to request to send data to the serial device (selecting). There is no automatic polling, so your application must poll periodically for data. Before each transmit operation, the terminal issues the SEL sequence for the device addressed and sends the data if an acknowledge is received. Before each receive operation, the terminal issues a poll sequence and waits for data or the RES character (no data is available to send ). Baud rate is the only serial port parameter you can define for Master Polling protocol.
Polling Mode D Protocol Polling Mode D requires the host computer to ask the terminal for data it may have (polling) and to request to send data to the terminal (selecting). Polling Mode D uses an RS-232 interface. Use this protocol if you want to connect to a 900 MHz RF network via the 9189 Gateway. Here are the serial port parameters you can define: •
Baud rate
•
Flow control
Configuring the Serial Port Parameters The values you set for the terminal serial port must match the values set for the serial port on the connected device. There are three ways to configure the terminal’s serial port parameters: •
Use the TRAKKER Antares 2400 Menu System. For help on configuring the parameters, see “Configuring the Serial Port Parameters” in Chapter 2.
•
Scan the configuration command from a Code 39 or Code 93 bar code label. The configuration commands are listed alphabetically by command name in Chapter 9, “Configuration Command Reference.”
•
Send a command from an application through the serial port on the host computer. For help, see the next section, “Configuring the Terminal Via the Serial Port.”
If you are configuring the serial port parameters in the TRAKKER Antares 2400 Menu System, you may not see all of the serial port parameters until you set a value for another key field. For example, EOM is a key field when you configure the Configurable protocol. Several fields are invalid (do not appear) until you enable EOM.
4-6
Page 204
nugget CODE39 Operating the Terminal in a Network
4
If you are configuring the serial port parameters by scanning or sending configuration commands, the terminal will accept and set all serial port commands. However, the terminal only uses the parameters that are valid for the current protocol configuration. For example, if you are using Configurable protocol on COM1, you can set a value for poll, but the terminal will not use it if handshake is not enabled. Once the terminal is connected and configured, you can transfer data between the terminal and the device that is connected to the serial port. For help transferring files, see Chapter 5, “Using Custom Applications.”
Configuring the Terminal Via the Serial Port You can use an application on the PC or host to configure the T2455 by sending commands through the serial port. For example, you may want to change the Beep Volume command and the Keypad Caps Lock command. To send and receive configuration data, you need to write an application for the host that can communicate with the terminal through the serial port. Next, you use the COM1 or COM4 serial port to connect the terminal to the host. Once the terminal is communicating, you can configure it. If you are using the Configurable protocol, you must enable Frame mode and the Configuration Commands Via Serial Port command to configure the terminal through the serial port. You cannot configure the terminal through the serial port if you are using Configurable protocol with no EOM or Binary protocol on that port. For help, see Chapter 9, “Configuration Command Reference.” Note: You can continue running an application on the TRAKKER Antares terminal while configuring the terminal from the host. If you send a configuration command that changes the serial port parameters, you may not be able to continue sending commands unless you also reconfigure your host. To set up the application •
Prepare and write a host application that can send transactions to and receive transactions from the terminal in this format: [SOM]
[TMF field] configuration command
EOM where: [SOM] is the start of message field.
[TMF field] is only used if you are using the Configurable protocol and the Configuration Commands Via Serial Port are enabled with TMF (Terminal Message Format).
4-7
Page 205
TRAKKER Antares 2455 Vehicle-Mount Terminal User’s Manual nugget CODE39
Setting Up the Application (continued) [TMF field] (continued)
TMF field is a 2-byte field containing one of these values: CG Cg CS Cs
Configuration Get request sent from the host application. Configuration Get response sent from the terminal to the host. Configuration Set request sent from the host application. Configuration Set response sent from the terminal to the host.
Note: If the Configuration Commands Via Serial Port are enabled without TMF or you are using a protocol other than Configurable, do not include this field. configuration command is the reader or configuration command or commands you want to set on the terminal, or get the current value of from the terminal. To save configuration changes in flash memory, send the reader command .+1 as the last command. For a list of commands, see Chapter 8, “Reader Command Reference,” or Chapter 9, “Configuration Command Reference.”
EOM is the end of message field.
Note: To send data to an application instead of sending configuration commands, use the letter A followed by a space in the TMF field. If the TMF field does not contain CG, Cg, CS, Cs, or A, the terminal ignores the transaction. Example with TMF In the host application, you want to set the value for two configuration commands on the terminal. Send this transaction from the host application: CS$+BV4KA1.+1
Note: SOM and EOM are not shown in this example. where:
4-8
CS is a TMF Configuration Set request.
$+ is the Change Configuration reader command.
BV4 sets the Beep Volume configuration command to a value of 4, which is a very loud beep volume.