The text of a manual · part 20 of 33
9154 Line Controller System Manual, pages 191 to 200
Pages 191 to 200 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 191
Four Types of 9154 Communication
Event: Whatis Occurring:
1to3 Host asks for and receives data from the controller. 4to7 Host asks to send, sends data, and the controller receives data. 8to9 Host asks for data, but the controller has none.
10 to 16 Host asks for data, controller sends data, but an error occurs. Controller re-transmits and eventually data is received successfully.
17 to 22 Host asks to send data, then sends data, but an error occurs. Host re-transmits until the controller receives the data.
23 to 26 Host asks to send data, sends data, but the buffer for that polled device is full. Controller sends error message.
© 1987 INTERMEC Corporation Page 7-19
Page 192
HOST TO 9154 COMMUNICATION
Table 7-1 Example Data Exchange Between 9154 and Host Computer (USM) Solicited Recieve Solicited Transmit Mode
HOST COMPUTER EVENT CONDITION COMMAND 1 9154 have data? POL 3 Data received OK AFF 4 9154 ready to receive data? SEL : Send data <SOM>pD DATA<EOR>EOM<LRC> : 9154 have data? POL 10 9154 have data? POL 12 Data parity/LRC error NEG ta Data parity/LRC error NEG 6 Data OK AFF 17 9154 ready to receive data? SEL ‘9 Send data <SOM>pD DATA<EOR>EOM<LRC> a Send data <SOM>pD DATA<EOR>EOM<LRC> 23 9154 ready to receive data? SEL 28 Send data <SOM>pD DATA<EOR>EOM<LRC> 26
NOTE: pD p = Multi-Drop Port Address (m, n, 0, p) D = Device Address (A-Z, 0-5) <> protocol parameter can be disabled
Page 7-20
© 1987 INTERMEC Corporation
Page 193
Four Types of 9154 to Host Communication
Table 7-1 (cont.)
Example Data Exchange Between 9154 and Host Computer (USM) Solicited Recieve Solicited Transmit Mode
9154 CONTROLLER
CONDITION RESPONSE
Yes <SOM>pD DATA<EOR>EOM<LRC> Yes AFF
Data received OK AFF
No <RES>
Yes <SOM>pD DATA<EOR>EOM<LRC> Re-Send <SOM>pD DATA<EOR>EOM<LRC> Re-Send <SOM>pD DATA<EOR>EOM<LRC> Yes AFF
Data Error NEG
Data OK AFF
Yes AFF
Previous Message for this address still in buffer, device at this address not connected or is disabled
<ERR_SOM>pD BEL<EOR><ERR_EOM><LRC>
© 1987 INTERMEC Corporation Page 7-21
Page 194
Page 7-22
© 1987 INTERMEC Corporation
Table 7-2 Other Variations of SSM (Solicited Receive and Solicited Transmit Mode)
CAN BE
DELETED COMMENT
TO HOST: Header Yes
SOM Yes EOM Yes EOR Yes
AFF No
NEG No
RES Yes ERR_SOM Yes
ERR_EOM Yes
If present, header will be sent before SOM of message sent by 9154. If present, SOM will be sent as start of message.
Can be deleted if host can recognize end of message by other means. If no record separator is desired in message sent by 9154.
Host must wait for AFF before sending data to 9154 and clear the buffer only after AFF has been received in response to the message.
Host must not send message if NEG is received in response to select, and must retransmit message if message was sent last.
If deleted, 9154 w Il not send RES when poll is received and there is no data to send. \f present, SOM will be sent as start of error message.
If present, EOM will be sent as end of error message.
disabled.
Table 7-2 shows the effect of other protocol sequences on SSM, and is useful in determining when other data communication protocol parameters can be
HOST TO 9154 COMMUNICATION
Page 195
© 1987 INTERMEC Corporation
Page 7-23
Table 7-2 (cont.)
Other Variations of SSM (Solicited Receive and Solicited Transmit Mode)
CAN BE
DELETED
COMMENT
FROM HOST:
SOM
EOM EOR
AFF
NEG
DLE
POL
SEL
Yes
No
Yes
Yes
Yes
Yes
No
No
If deleted, 9154 will start accepting data after it has sent an AFF in response to host select. It will continue to accept data until an EOM is received.
Must be present to inform 9154 that this is end of message sent by host. Can be deleted if only one record is sent per message by the host.
Can be deleted if host does not send AFF in response to message sent by 9154. The next poll from host can act as AFF.
Can be deleted if host does not wish to ask 9154 for retransmissions of message sent by 9154.
Can be deleted if host message does not contain any of the protocol control character as data.
Must be present while in SSM
Must be present while in SSM
The RES is never sent if the Data Wait Mode option is enabled.
Four Types of 9154 Communication
Page 196
HOST TO 9154 COMMUNICATION
Solicited Receive and Unsolicited Transmit (SUM)
With SUM, the POL sequence is disabled (blank) and the SEL sequence is enabled (non-blank). When the POL sequence is disabled, the controller will send data to the host whenever data is available. This protocol allows device specific polling to be implemented by the host. If the host wishes to send data to the controller, it must send the SEL, and then start to send the data only after receiving the AFF sequence from the controller. Table 7-3 shows an example of SUM data exchange. The following events occur in Table 7-3:
Page 7-24 © 1987 INTERMEC Corporation
Page 197
Four Types of 9154 Communication
Event: | Whatis Occurring:
1to3 Controller sends data to the host. 4to7 Host asks to send, then sends, and the controller receives data.
8to14 Controller sends data, but an error occurs. Controller re-transmits and eventually data is received successfully.
15 to 20 Host asks to send data, then sends data, but an error occurs. Host re-transmits until the controller receives the data.
21 to 24 Host asks to send data, sends data, but the buffer for that polled device is full. Controller sends error message.
© 1987 INTERMEC Corporation Page 7-25
Page 198
HOST TO 9154 COMMUNICATION
Table 7-3
Example Data Exchange Between 9154 and Host Computer (SUM) Solicited Receive Unsolicited Transmit
HOST COMPUTER EVENT CONDITION COMMAND 1 2 3 Data received OK AFF 4 9154 ready to receive data? SEL 5 6 Send data <SOM>pD DATA<EOR>EOM<LRC> 7 8 9 10 Data parity/LRC error NEG 14 12 Data parity/LRC error NEG 13 14 Data OK AFF 15 9154 ready to receive data? SEL 16 17 Send data <SOM>pD DATA<EOR>EOM<LRC> 18 19 Send data <SOM>pD DATA<EOR>EOM<LRC> 20 21 9154 ready to receive data? SEL 22 23 Send data <SOM>pD DATA<EOR>EOM<LRC> 24
NOTE: pD_p = Multi-Drop Port Address (m, n, ©, p)
D = Device Address (A-Z, 0-5)
<> protocol parameter may be disabled
Page 7-26
© 1987 INTERMEC Corporation
Page 199
Four Types of 9154 to Host Communication
Table 7-3 (cont.)
Example Data Exchange Between 9154 and Host Computer (SUM)
Solicited Receive Unsolicited Transmit
9154 CONTROLLER
CONDITION
RESPONSE
9154 has data
<SOM>pD DATA<EOR>EOM<LRC>
Yes
Data received OK
AFF
AFF
9154 has data
<SOM>pD DATA<EOR>EOM<LRC>
Re-Send <SOM>pD DATA<EOR>EOM<LRC> Re-Send <SOM>pD DATA<EOR>EOM<LRC> Yes AFF Data Error NEG Data OK AFF Yes AFF
Previous Message for this address still in buffer, device at this address not connected or is disabled
<ERR_SOM>pD BEL<EOR><ERR_EOM><LRC>
© 1987 INTERMEC Corporation Page 7-27
Page 200
Page 7-28
© 1987 INTERMEC Corporation
Table 7-4 Other Variations of SUM (Solicited Receive and Unsolicited Transmit Mode)
CAN BE DELETED COMMENT
TO HOST: Header
SOM
EOM
EOR
AFF
NEG
RES
Yes If present, header will be sent before SOM of message sent by 9154.
Yes If present, SOM will be sent as start of message.
Yes If deleted, host must be able to recognize end of message by examining message sent by 9154. Yes Can be deleted if no record separator is needed in message sent by 9154.
No Must be nonblank. 9154 sends AFF in response to host select, and host message if message is error free.
No Must be nonblank. 9154 sends NEG in response to host select if it is not ready to receive, or message received contains error, and must be retransmitted.
NA RES is not used in SUM protocol. Data messages will be sent whenever they are available; no RES will be sent.
ERR_SOM Yes If present, ERR_SOM will be sent as start of error message.
ERR_EOM Yes If present, ERR_EOM will be sent as end of error message to host.
disabled.
determining when other data communication protocol parameters can be
Table 7-4 shows the effect of other protocol sequences on SUM, and is useful in
HOST TO 9154 COMMUNICATION