The text of a manual · part 7 of 33
9154 Line Controller System Manual, pages 61 to 70
Pages 61 to 70 of 330
The original document is the PDF (7.7 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 9154
Page 61
Lightning Protection
Grounding Long Data Lines Shield all long data lines. You must connect the shield to the building ground as the cable enters the building and to the equipment rack.
When aerial cables entering a building are exposed to electrical light or power cables, the metal sheath of those should be grounded or interrupted close to where the cable enters the building by an insulating joint or equivalent device.
LIGHTNING PROTECTION
In addition to grounding, long data lines need to be protected from excessive induced voltage caused by lightning, which can destroy the terminal circuitry.
Each signal line and communication ground, if used, should be terminated to a chassis ground using a varistor or similar device. The ground for the varistors must be directly connected to the terminal equipment and to the building ground.
THROUGHPUT AND RESPONSE TIME ANALYSIS
Introduction Response time is how often a reader can scan a new bar code. You specify the maximum time interval by the way you design your system.
Two major system response time questions should be considered when designing a system: How much bar code can be read in a specific time period, and how often can bar code be read by a specific reader? This section explains how to calculate the response time. The response time value can be used to answer both of the preceding questions.
Long waiting times can frustrate and discourage reader operators. When planning a system, particularly a large one, it is recommended that you run a response time calculation on the system to ensure that readers respond to the operator fairly quickly.
The second part of this section, “Calculating the Response Time,” gives equations for calculating how often a reader can read bar code in both interactive and batch operation.
© 1987 INTERMEC Corporation Page 3-17
Page 62
DESIGNING A 9154 SYSTEM
The final part of this section, “Deriving Cycle Times,” describes how to derive the cycle times used in the equations in the "Calculating the Response Time" section. Tables 3-2 and 3-3 show the communication exchanges used in deriving cycle times.
Reducing Response Time: If the operator has to wait too long before scanning the next bar code, use the following guidelines to reduce response time:
* Shorten message lengths (for example, disable headers or have the controller add time to the data stream rather than the devices).
. Switch from interactive to batch mode.
. On INTERMEC readers which run IRL ® (Interactive Reader Language), run programs which require little if any interactive communication.
. Reduce the number of devices that can operate at one time. * Increase the speed at which the host processes data.
Design the controller system to minimize response time, but remember that one of the primary factors effecting system response time is the host processing time.
Calculating the Response Time Response time can be defined as the amount of time that a device has to wait after starting one transaction before entering the next transaction.
There are two equations for calculating response time depending on whether the devices are operating in interactive or batch mode.
. In interactive mode (also referred to as Computer Response Required Mode), the reader(s) will wait for a prompt from the host accepting data entry from an operator. This mode allows the host computer to control reader operation, and allows host prompts to be sent to the reader operator.
« In batch mode, the reader(s) do not require interaction with the host computer before accepting a second data entry from the operator. This mode allows high speed operation.
Page 3-18 © 1987 INTERMEC Corporation
Page 63
Throughput and Response Time Analysis
The equations used for the two different modes of operation follow:
Batch Mode Response Time Equation: When the controller is operating in batch mode, data is collected from the Multi-Drop devices and transferred to the host at the end of the operation. The batch mode response time consists mainly of the time the controller takes to poll and receive a single record from each device; it can be accurately estimated by using the following equation for the poll cycle time, Tpol:
Tbatch= Tpol = N x (((MLR+9) x 10 / BR) + 0.03) seconds
Thatch = The time between scans for a reader in batch mode
Tpol = The time it takes to poll and receive a message from all the readers
N = Number of Readers
MLR = Message Length from Reader
BR = Baud Rate of the Reader
This is a worst case equation because it assumes that all the devices included in the system are sending messages simultaneously.
A sample batch operation calculation with all readers scanning simultaneously follows:
Thatch = 32(((15 + 9) x 10/19200) + 0.03) seconds
Number of Readers = 32 Message Length from Reader = 15 characters Baud Rate = 19200 baud
The response time is 1.36 seconds. For a reader scanning bar code, the maximum amount of time between scans is 1.36 seconds. This calculation ignores the scanning time.
© 1987 INTERMEC Corporation Page 3-19
Page 64
DESIGNING A 9154 SYSTEM
Interactive Mode Response Time Equation: In interactive mode where the user enters data in response to a prompt and then waits for the next prompt before entering data again, the response time calculation is based on the time it takes to transfer the data to the host computer and for the host computer to respond with a prompt. The response time can be estimated by adding the Tpol time (the time for extracting data from the devices), the Tsel time (the time for sending data, in this case a prompt, to the devices), and the host processing time, as shown in the following equation.
Tinter
Tinter Tpol
Tsel Thost
N MLR MLH BR BH TH
Tpol + Tsel + Thost = N(10((MLR + MLH + 20)/BR + (MLR + MLH + 21)/BH) + .053) + N(TH)
The time between scans for a reader in interactive mode The time it takes to poll and receive a message from all the readers
The time it takes to send a message to and receive an acknowledgement back from all the readers
The time for the host to process a message from each of the readers
Number of Readers
Message Length from Reader
Message Length from Host
Baud Rate of the Reader
Baud Rate of the Host
Host Processing Time Required
This is a worst case equation because it assumes that all the devices included in the system are sending messages simultaneously.
Page 3-20
© 1987 INTERMEC Corporation
Page 65
Throughput and Response Time Analysis
A sample interactive operation calculation with all connected readers scanning simultaneously follows:
Tinter = 32(10((20+20+20)/19200 + (20+20+21)/9600) + .053) + 32(TH) Tinter = 4.73 seconds + 32(Host processing time required)
Number of Readers = 32 Message Length from Reader 20 characters i
Baud Rate of the Reader = 19200 baud Message Length from Host = 20 characters Baud Rate of the Host = 9600 baud
The response time is 4.73 seconds plus 32 times the host time for processing a single message from the reader. For a reader, the maximum time between scans is 4.73 seconds. This calculation ignores scanning time.
Deriving Cycle Times The two response time equations are based on three different equations. The derivation of these three equations is shown below.
Poll Cycle Time: The poll cycle time is defined as the time required to poll and receive a single data record from all the connected devices. It consists of the data transmission time, the turnaround time of the polled device, and the turnaround time of the controller. In a situation where all the devices are up and running and have data ready to transmit, the cycle time for polling data from all the devices can be estimated from the following equation:
Tpolcycle = N x (((MLR + 9) x 10/ BR) + 2x (TD + TC))
N = Total Number of Devices Connected MLR = Message Length from Device
TD = Turnaround Time of each Polled Device TC = Turnaround Time of the Controller
BR = Baud Rate of the Device
The TD time consists mainly of the time it takes a polled device to process the data received from the controller and prepare to send the response back.
The TC time is the time it takes the controller to process the data received from the polled device and prepare to respond again.
© 1987 INTERMEC Corporation Page 3-21
Page 66
DESIGNING A 9154 SYSTEM
The (ML+9) is the message length plus the nine characters which are used for the protocol control that is depicted in Table 3-2.
The average turnaround time of the controller is approximately 10 msec and the average turnaround time of the Multi-Drop devices is assumed to be 5 msec.
By entering values for TD and TC into the Tpolcycle equation, the polling cycle time can be estimated from the following equation:
Tpol = N x (((MLR + 9) x 10 / BR) + 0.03) seconds
N = Number of Multi-Drop Devices MLR = Message Length from Device BR = Baud Rate in Bits per Second
Select Cycle Time: The select cycle time for sending a message to the Multi- Drop devices can be estimated by using the Select Sequence of the Multi-Drop Protocol (shown in Table 3-2) and is shown in the following equation:
Tsel = N x (((MLR + 11) x 10/ BR) + 0.04) seconds
N = Number of Multi-Drop Devices MLR = Message Length from Device BR = Baud Rate in Bits per Second
Page 3-22 © 1987 INTERMEC Corporation
Page 67
Throughput and Response Time Analysis
Host Cycle Time: The host cycle time is defined as the time required for each connected device to send one message to the host and to receive a reply message back. Host cycle time consists of the data transmission time, the turnaround time of the host, and the turn around time of the controller. Using the controller's asynchronous host protocol, as depicted in Table 3- 3, the cycle time is given by the following equation:
Thost = N x (((MLH + 8) x 10 / BH) + 3 x (TH + TC))
N = Total Number of Devices Connected MLH = Message Length from Host
BH = Baud Rate of the Host
TH = Turnaround Time of the Host
TC = Turnaround Time of the Controller
The TH time is the time it takes the host to process the data received from the controller and prepare to send the response back.
The TC time is the time it takes for the controller to process the data received from the host and prepare to respond again.
The (MLH + 8) represents the message length plus the protocol control characters shown in Table 3-3.
© 1987 INTERMEC Corporation Page 3-23
Page 68
DESIGNING A 9154 SYSTEM
Table 3-2
9154 Controller to Multi-Drop Device Data Exchange
9154 Direction of Controller: Communication: Multi-Drop Device: © Comment: <EOT><POL><ENQ>, > 9154 polls device for data. TD < - <Pol><STX>datac<ETX><LRC> Device sends data. TC <ACK>, > 9154 acknowledges date received. TD < - <EOT> Device sends end of transmission indicator. <EOT><SEL><ENQ>, > 9154 selects device to receive data. TD < - <Select><ACK> Device acknowledges. TC <STX>data<ETX><LRC>, 9154 sends data. TO < - <Select><ACK> Device acknowledges. TC <EOT>, _ - > 9154 send end of transmission indicator. TC Turnaround time for the controller TO Turnaround time for the device Page 3-24 © 1987 INTERMEC Corporation
Page 69
Throughput and Response Time Analysis
Table 3-3 9154 Controller to Host Data Exchange
Direction of 9154 Host: Communication: Controller: Comment: <POL>, > Host polls 9154 for data. Tc < <SOM>data<EOM> 9154 sends data. TH <SEL>, > Host acknowledges data received and selects 9154 to receive message. TC < <AFF> 9154 acknowledges. TH <SOM> data <EOM>, > Host sends message. TC < - <AFF> 9154 acknowledges message received. Tc Turnaround time for the controller. TH Turnaround time for the host
© 1987 INTERMEC Corporation Page 3-25
Page 70
DESIGNING A 9154 SYSTEM
CONFIGURATION PREPARATION
The controller can be easily configured to support a wide variety of host communication protocols and user requirements. In most systems, the controller will be configured to communicate with the same data communication protocol as the host. To make the configuration process easier, become familiar with the data communication protocol that is used on your host computer.
See Section 7, "Host to 9154 Communication", for detailed information about host to controller communication.
Data Communication Considerations Before configuring the controller, review the following checklist of data communication items
1. | Which of the following types of data communication protocol will you use? Solicited Receive and Transmit Solicited Receive and Unsolicited Transmit Unsolicited Receive and Solicited Transmit Unsolicited Receive and Transmit
2. If you are using unsolicited receive or transmit, will the XON/XOFF handshake be used?
3. Will communication protocol parameters be transmitted as data, requiring use of the transparency character (DLE) and the transparency check?
4. Can you use Data Wait mode to cut down on host polling?
5. Are any of the host computer's data communication protocol commands different than the controller default values?
6. Will error messages need an SOM and/or an EOM, which are distinct from the SOM and EOM used for regular data communication?
7. Will time be appended to the data records from the polled devices by the devices or by the controller?
Page 3-26 © 1987 INTERMEC Corporation