The text of a manual · part 21 of 33
9154 Line Controller System Manual, pages 201 to 210
Pages 201 to 210 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 201
© 1987 INTERMEC Corporation
Page 7-29
Table 7-4 (cont.) Other Variations of SUM (Solicited Receive and Unsolicited Transmit Mode)
CAN BE DELETED COMMENT
FROM HOST:
SOM Yes 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.
EOM No Must be nonbiank. This is sent to inform 9154 that this is end of message from the host.
EOR Yes Can be deleted if only one record is sent per message by the host.
AFF No Must be nonbiank. After a message has been sent to the host, the 9154 will wait for AFF from the host before it will send the next message unsolicited.
NEG Yes Can be deleted if the host does not wish to ask 9154 to retransmit last message sent.
DLE Yes Can be deleted if the host message does not contain any of the protocol control characters as data.
SEL No Must be present to receive messages while in SUM.
POL Yes Must be deleted to select SUM.
Four Types of 9154 Communication
Page 202
HOST TO 9154 COMMUNICATION
Unsolicited Receive and Solicited Transmit (USM)
With USM, the POL sequence is enabled and the SEL sequence is disabled. The host can transmit data to the controller without sending a SEL sequence. Once a message is sent to the controller, the host must wait for the AFF/NEG acknowledgement before transmitting the next message. The controller will send data to the host when the POL sequence is received. Table 7-5 shows an example of data exchange using USM protocol. The following events occur in Table 7-5:
Page 7-30 © 1987 INTERMEC Corporation
Page 203
Four Types of 9154 to Host Communication
Event: Whatis Occurring:
1to3 Host asks for and receives data from the controller. 4to6 Host sends data, controller receives the data. 7to8 Host asks for data, but the controller has none.
9to15 Host asks for data, controller sends data, but an error occurs. Controller re-transmits and eventually data is received successfully.
16to 20 Controller sends data, but an error occurs. Controller re-transmits and eventually data is received successfully.
211023 Host sends data, but the buffer for that polled device is full. Controller sends error message.
© 1987 INTERMEC Corporation Page 7-31
Page 204
HOST TO 9154 COMMUNICATION
Table 7-5 Example Data Exchange Between 9154 and Host Computer (SSM) Unsolicited Receive Solicited Transmit Mode
HOST COMPUTER EVENT CONDITION COMMAND 1 9154 have data? POL 2 3 Data received OK AFF 4 Host has data for 9154 5 Send data <SOM>pD DATA<EOR>EOM<LRC> 6 7 9154 have data? POL 8 9 9154 have data? POL 10 11 Data parity/LRC error NEG 12 13 Data parity/LRC error NEG 14 15 Data OK AFF 16 Host has data for 9154 17 Send data <SOM>pD DATA<EOR>EOM<LRC> 18 19 Send data <SOM>pD DATA<EOR>EOM<LRC> 20 21 Host has data for 9154 22 Send data <SOM>pD DATA<EOR>EOM<LRC> 23
NOTE: pD p = Multi-Drop Port Address (m, n, 0, p) D = Device Address (A-Z, 0-5) <> protocol parameter may be disabled
Page 7-32
© 1987 INTERMEC Corporation
Page 205
Four Types of 9154 to Host Communication
Table 7-5 (cont.) Example Data Exchange Between 9154 and Host Computer (SSM) Unsolicited Receive Solicited Transmit Mode
9154 CONTROLLER CONDITION RESPONSE Yes <SOM>pD DATA<EOR>EOM<LRC> 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> . Data Error NEG Data OK AFF Previous Message <ERR_SOM>pD BEL<EOR><ERR_EOM><LRC> for this address still in buffer, device at this address not connected or is disabled
© 1987 INTERMEC Corporation Page 7-33
Page 206
Page 7-34
© 1987 INTERMEC Corporation
Table 7-6 Other Variations of USM (Unsolicited Receive and Solicited Transmit Mode)
CAN BE DELETED COMMENT
TO HOST: Header
SOM EOM EOR
AFF
NEG
RES ERR_SOM
ERR_EOM
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 Can be deleted if host can recognize end of messages by some other means. Yes Can be deleted if no record separation is needed in message sent by 9154.
No Must be nonblank. 9154 sends AFF after an error-free message is received from the host. The host can then send the next message.
No Must be nonblank. 9154 sends NEG if message received from host contains error. Host must retransmit last message.
Yes If deleted, 9154 will not send RES when poll is received and there is no data to send. Yes If present, ERR_SOM will be sent as start of error message.
Yes if present, ERR_EOM will be sent as end of error message.
disabled.
Table 7-6 shows the effect of other protocol sequences on USM, and is useful in determining when other data communication protocol parameters can be
HOST TO 9154 COMMUNICATION
Page 207
© 1987 INTERMEC Corporation
Page 7-35
Table 7-6 (cont.)
Other Variations of USM (Unsolicited Receive and Solicited Transmit Mode)
CAN BE
DELETED COMMENT
FROM HOST:
SOM
EOM
EOR AFF NEG
DLE
SEL
POL
Yes
No
Yes Yes Yes
Yes
Yes
No
If deleted, 9154 will start accepting data without checking for SOM and will continue to accept data until an EOM is detected.
Must be nonblank. The EOM must be sent to inform 9154 that the end of message has been reached,
Can be deleted if only one record is sent per message by the host. If deleted, 9154 will accept message without waiting for response from the host. Can be deleted if the host does not wish to ask 9154 to retransmit last message.
Can be deleted if the message from host does not contain any of the protocol control characters as data.
Must be deleted to select USM.
Must be present while in USM.
The RES will not be sent if the Data Wait Mode option is enabled.
Four Types of 9154 Communication
Page 208
HOST TO 9154 COMMUNICATION
Unsolicited Receive and Unsolicited Transmit (UUM)
With UUM, both the POL and SEL sequences are disabled. This allows the controller to both transmit and receive data at any time. UUM requires that both the host and controller must be able to simultaneously receive and transmit data. It also requires that some means of data flow control be used to prevent loss of data when receive buffers become full (XON/XOFF flow control or a hardware handshake, CTS-RTS). Table 7-7 shows some examples of data exchange using UUM. The following events occur in Table 7-7:
Event: What is Occurring:
1to2 Controller sends data to the host. 38to 4 Host sends data.
5to6 Host sends data.
7 to 8 Host sends data. Error messages are never sent with UUM protocol.
Page 7-36 © 1987 INTERMEC Corporation
Page 209
© 1987 INTERMEC Corporation
Page 7-37
Table 7-7 Example Data Exchange Between 9154 and Host Computer (UUM) Unsolicited Receive Unsolicited Transmit Mode (TTY Protocol}
HOST COMPUTER 9154 CONTROLLER
EVENT
CONDITION COMMAND CONDITION RESPONSE
9154 has data} <SOM>pD DATA<EOR>EOM<LRC>
NO st
Host has data for 9154 Send data <SOM>pD DATA <EOR>EOM<LRC> w
™ ©
Host has data for 9154 Send data <SOM>pD DATA <EOR>EOM<LRC> Host has data for 9154 Send data <SOM>pD DATA <EOR>EOM<LRC>
NOTE: pD p = Multi-Drop Port Address (m, n, 0, p) Note that UUM uses no handshake to verify that a message was
D = Device Address (A-Z, 0-5) received correctly. This protocol implies that both receive and transmit
<> protocol parameter may be disabled operations can occur simultaneously. Enabling the XON/XOFF feature or using a CTS/RTS hardware handshake will provide a means for controlling the flow of data in such a protocol environment.
Four Types of 9154 Communication
Page 210
Page 7-38
© 1987 INTERMEC Corporation
Table 7-8 Other Variations of UUM (Unsolicited Receive and Unsolicited Transmit)
CAN BE DELETED COMMENT
TO HOST:
Header
SOM
EOM
EOR
AFF
NEG
RES
ERR_SOM NA
ERR_EOM NA
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 Can be deleted if host can recognize end of messages by some other means.
Yes Can be deleted if no record separation is desired. NA Not used in UUM. NA Not used in UUM. NA Not used in UUM. Not used in UUM.
Not used in UUM.
EOM), and From Host (AFF, NEG).
disabled. The following protocol sequences are not used by UUM even if they are enabled: To Host (AFF, NEG, RES, Error Message SOM, Error Message
Table 7-8 shows the effects of other protocol sequences on UUM, and is useful in determining when other data communication protocol parameters can be
HOST TO 9154 COMMUNICATION