Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 7 of 29

TRAKKER Antares 246X Stationary Terminal User's Manual, pages 61 to 70

Pages 61 to 70 of 290

The original document is the PDF (2.0 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 2460 and Intermec 2461

Page 61

nugget

39 Operating the Terminal in a Network

4

This chapter describes serial networks and the Ethernet network and explains how the 246X terminal fits into your network. It also explains how to install and configure the terminal, use serial or network communications, configure the 246X terminal over the network, and it provides technical details about network connectivity and protocols.

Using Serial Communications on the Terminal The 246X stationary terminals have one or more serial ports to transfer data to and from another device via serial communications. Before you can use the serial port, you need to connect and configure the terminal. The next sections cover these topics: •

How the 246X Terminal Fits Into Your Serial or CrossBar Network

•

Identifying the COM Ports

•

Choosing a Communications Protocol

•

Configuring the Serial Port Parameters

•

Configuring the Terminal Via the Serial Port

How the 246X Fits Into Your Serial or CrossBar Network The 246X terminal is a versatile terminal that you can easily add to your network or distributed data collection system. You can use the 2460 or 2461 as an end device in your wired network. Every terminal has one serial port (COM1) to transmit data to and from a PC via RS-232 serial communications. Mainframe

File server

Terminals Ethernet

RS-232 cable

PC

246X 246XU.025

4-3

Page 62

TRAKKER Antares 246X Stationary Terminal User’s Manual nugget

39

The 2460 terminal has an additional serial port (COM2) that supports RS-232/422/485 communications. You can use COM2 to connect to a serial device (for example, a printer), a wired network, or an Intermec CrossBar network. In a CrossBar network, the 2460 transfers data to the 9154 or 9161 controller using Multi-Drop protocol. 2460 Terminals in an Intermec CrossBar Network

Host

9154/9161

2460

2460 9560

Printer

4-4

246XU.010

9560

Printer

Page 63

nugget

39 Operating the Terminal in a Network

4

You can also use the serial port to connect to a 900 MHz network via the 9189 RF Gateway. The 246X terminal communicates with the 900 MHz network using Polling Mode D protocol. 246X Stationary Terminal in a 900 MHz Network

Host

DCS 300

RS-485 900 MHz 9181

J2010

9189 J2050 RS-232

246X

246XU.013

4-5

Page 64

TRAKKER Antares 246X Stationary Terminal User’s Manual nugget

39

Identifying the COM Ports Communications ports, also called COM ports, are locations from which data can be passed into and out of the terminal. This illustration identifies the COM ports on the terminals.

2460

2461

COM2 COM1

COM1 NET 246XU.011

This table explains the COM port designations to use when developing client/server applications for the terminal. Port

COM Port Designation for Applications

COM1

Use for RS-232 serial port communications on the 2460 and 2461.

COM2

Use for RS-232/422/485 serial port communications on the 2460.

NET

Use for Ethernet communications on the 2461. The TRAKKER Antares PSK functions use NET to designate the Ethernet network port.

You can physically connect the 246X to another device (host computer, printer, controller, or other serial device) by using one of the COM ports. For help connecting to a serial port, see Chapter 2, “Installing the Terminal.”

Choosing a Communications Protocol After you connect the 246X terminal to a host computer or other 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 ports. You can configure a different communications protocol for each COM port. The terminal’s built-in file transfer 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).

4-6

Page 65

nugget

39 Operating the Terminal in a Network

4

The terminal can communicate in these five protocols: •

Binary

•

Configurable

•

Multi-Drop (2460 only)

•

Master Polling

•

Polling Mode D

Each protocol is described in the following sections. For information on compatibility with 95XX communications protocols, see “Compatibility with 95XX Communications Protocols” in Appendix A.

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)

4-7

Page 66

TRAKKER Antares 246X Stationary Terminal User’s Manual nugget

•

LRC

•

Poll (Polling) (enabled or disabled)

•

SOM (Start of Message)

•

Timeout Delay

39

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. After you enable EOM, you can set a value for these serial port parameters: •

Configuration commands via serial port

•

Handshake

•

LRC

•

SOM

After you enable Handshake, you can set a value for poll and the timeout delay.

Master Polling Protocol Master Polling Mode D protocol requires the 246X 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.

Multi-Drop Protocol Multi-drop uses protocol sequences similar to Polling Mode D with the extension of device addressing, which allows up to 32 devices on one 4-wire RS-485 line. Multi-Drop protocol is typically used in CrossBar networks. Due to timeout parameters, the baud rate must be 2400 or higher. Multi-Drop protocol is only available for the 2460 (COM2). When you configure COM2 for Multi-Drop protocol, the serial port is automatically configured to communicate via RS-422/485. Here are the serial port parameters you can define:

4-8

•

Baud rate

•

Multi-drop device address

Page 67

nugget

39 Operating the Terminal in a Network

4

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 or RS-422 interface. Use Polling Mode D if you want to connect to a 900 MHz network via the 9189 RF 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 two ways to configure the terminal’s serial port parameters: •

Scan the configuration command from a Code 39 or Code 93 bar code label.

•

Send a command from a host application. For help, see the next section, “Configuring the Terminal Via the Serial Port.”

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, “Programming the Terminal.”

Configuring the Terminal Via the Serial Port You can use an application on the PC or host to configure the TRAKKER Antares 246X terminal by sending commands through the serial port. For example, you may want to change the Beep Volume 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. You must connect the terminal to the host by using one of the serial ports. 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.

4-9

Page 68

TRAKKER Antares 246X Stationary Terminal User’s Manual nugget

39

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). It 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 7, “Reader Command Reference” or Chapter 8, “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.

4-10

Page 69

nugget

39 Operating the Terminal in a Network

4

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: 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.

KA1 enables the Keypad Caps Lock configuration command.

.+1 is the reader command that saves configuration changes to the terminal’s flash memory.

The terminal returns this transaction to the host application. Cs$+BV4KA1.+1 where: Cs is a TMF Configuration Set response.

$+ is the Change Configuration reader command.

BV4 means the Beep Volume configuration command was changed to a value of 4, which is a very loud beep volume.

KA1 means the Keypad Caps Lock configuration command was enabled.

.+1 means the configuration changes were saved in flash memory.

4-11

Page 70

TRAKKER Antares 246X Stationary Terminal User’s Manual nugget

39

Using Ethernet Communications on the Terminal Before you can begin using the 2461 terminal to collect data, you need to install and configure each device in the Ethernet network by performing these steps: 1. Plan and prepare your network. Make sure you have unique IP addresses for all devices in the network. Make sure you have all the equipment required to use the 2461. 2. Configure the DCS 300 (2461 with UDP Plus). 3. Configure each 2461 terminal. Each step is described in detail in the next sections.

How the 2461 Fits Into Your Ethernet Network The 2461 terminal is a versatile terminal that you can easily add to your network or distributed data collection system. You can use the 2461 as an end device in your Ethernet network. Host TCP/IP

UDP Plus

Ethernet

DCS 300 2461

2461

2461

2461 246XU.023

In a UDP Plus network, the 2461 communicates with a host computer through the DCS 300 using UDP Plus for the network protocol. In a TCP/IP network, the 2461 communicates with a host computer directly using TCP/IP for the network protocol.

4-12