The text of a manual · part 14 of 33
9154 Line Controller System Manual, pages 131 to 140
Pages 131 to 140 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 131
Select Operating Parameters
To change the line speed to one of the other four values, enter the new value and the press [CR]. The cursor will move to the next parameter field, Address.
Address: The 9154 Controller has only one Multi-Drop port. To maintain compatibility with the INTERMEC 9161 02 Multi-Drop Concentrator, the controller's Multi-Drop port must be assigned one of four addresses. The specific address selected is arbitrary, but will be used when processing data records on the host computer. Four choices for the controller's Multi-Drop port address correspond to the four Multi-Drop port addresses on the 9161 02 Multi-Drop Concentrator:
7 O33
The default Multi-Drop port address is p. If this is satisfactory, press [CR]. The cursor will move back to the top of the screen, to the beginning of the Host Line Speed field.
To chose another port, enter the new port address in lower case or upper case and press [CR]. The cursor will move back to the top of the screen, to the beginning of the Host Line Speed field.
Saving Operating Parameters Review the operating parameters displayed on the screen and change if necessary.
Then save the parameter values, re-initialize the controller, and return to the Master Menu by using one of the two following commands:
{CNTL] [7] Save the operating parameters to RAM. [ESC] Save the operating parameters to RAM and EEPROM.
See "Saving Parameters" earlier in this section for detailed information about saving parameters.
© 1987 INTERMEC Corporation Page 5-19
Page 132
CONFIGURING THE CONTROLLER
SELECT TRANSMISSION PARAMETERS
The transmission protocol parameters are set using the Select Transmission Parameters screen. To display the screen, enter [2] and then [CR] from the Master Menu. The cursor will be positioned in the first input field, No. of Records
Per Bl ock.
For information about the different types of data communication protocols that can be used on the controller, see Section 7, “Host to Controller Communication.”
Press Press Press Press
Select Transmission Parameters
To Host:
No. Of Records Per Block: 1 Record Separator: <CR> Header:
SOM: <STX>
EOM: <ETX>
RES: <STX> 2 <CR>
AFF: <STX> Y <CR>
NEG; <STX> 2 <CR>
Error Message SOM; <STX> Error Message EOM: <ETX> Transparency Check N (Y or N) Data Wait Mode: N (Y or N)
HH:MM From Host: POL: <ENQ> SEL: <BEL> AFF: <ACK> NEG: <NAK> DLE: <DLE> SOM: <STX> EOM: <ETX> Record Separator: <CR> Delay (x 10 ms): .0 Timeout (x 1 sec): 60 Xon / Xoff Enable: N (Y or N) LRC Enable: N (Y or N)
CNTL-P to Enter Command as Data
CNTL-X to Cancel Line
CNTL-T Return to Task Options
ESC to Update EEPROM
The Select Transmission Parameters screen lets you modify a full range of data communication parameters to fit any host requirements.
Page 5-20
©1987 INTERMEC Corporation
Page 133
Select Transmission Parameters
Transmission parameters can be classified into two groups:
1. To Host Transmission Parameters 2. From Host Transmission Parameters
How to Select Transmission Parameters
Accepting Displayed Parameter Value: The controller comes from the factory with default values for the parameters. Pressing [CR] when the cursor is ona parameter field moves the cursor to the next parameter and leaves the displayed value unchanged.
Changing the Displayed Parameter Value: Enter the new value and press [CR]. If the value is acceptable for the parameter, the cursor will move down to the next parameter value. If the value is unacceptable, the Supervisory CRT will beep and the cursor will remain in that parameter field. An acceptable value must be entered before the cursor will move to the next field.
Disabling Parameters: A blank field indicates that the parameter is disabled. For example, Header, the third parameter down in the left-hand column, is blank. This indicates that if the default values were used, no header would be sent with each message to the host. Depending on the choice of data communication protocol, as explained in Section 7, “Host to 9154 Communication," various communication parameters may be disabled.
Entering ASCII Control Codes: The ASCII control codes will be displayed as their abbreviated English equivalents with brackets (<>) surrounding them. For example, DC1 will be shown as three separate characters on the Supervisory CRT screen: <DC1>. A NAK will appear as <NAK> on the Supervisory CRT screen.
However, when ASCII control characters are entered from the CRT keyboard, they are entered using the [CNTL] key, and not by their three character representation. For example, to enter NAK, enter [CNTL] [U], [CR], and not [N], [A], [K], [CR]. Table 5-1 lists the keys to press to enter all the ASCII control codes.
© 1987 INTERMEC Corporation Page 5-21
Page 134
CONFIGURING THE CONTROLLER
Entering Supervisory CRT Commands as Data: If any transmission parameter is going to be configured using a command utilized by the Supervisory CRT, such as BS, EM, CR, DC2, DC4, or CAN, it must be preceded by a [CNTL] [P] to inform the controller that this character is not to be intepreted as a command. For example, to assign the End of Record CR, enter [CNTL] [P], [CR]. Then press [CR] again to validate the parameter and move the cursor to the next parameter field. Enter [CTNL] [P] twice to enter DLE as data. Table 5-1 shows the relationship between ASCII control codes and Supervisory CRT commands.
CAUTION
In most cases, two communication parameters can not be defined as the same value or communication will be Impossible. For example, if the SOM and EOM characters are BOTH defined as ETX (03H), the host and the controller will be unable to communicate. The controller will not know whether or not ETX indicates the beginning or the end of a message.
Page 5-22 ©1987 INTERMEC Corporation
Page 135
Select Transmission Parameters
Tabie 5-1 Keystrokes for Entering ASCII Control Characters Character Definition By [CNTL] [P] Keystroke NUL Null {CNTL] {@] SOH Start of Heading {CNTL] [A] STX Start of Text [CNTL] {B] ETX End of Text [CNTL] (C] EOT End of Transmission [CNTL] {D] ENQ Enquiry [CNTL] {E} ACK Affirmative Acknowledge [CNTL} {F] BEL Bell [CNTL} [G] BS Backspace [CNTL} [H] HT Horizontal Tab {[CNTL]} {l] LF Line Feed [CNTL} [J] + HALT Stop Polling (CNTL] (K] VT Vertical Tab {CNTL] {P] [CNTL] [K]} FF Form Feed (CNTL] {L] CR Validate Entry RETURN CR Carriage Return [CNTL] [P] RETURN SJ) Shift Out [CNTL] {M] SI Shift In [CNTL]} [OQ] + DLE Next Entry Data Only (CNTL] [P] DLE Data Link Escape (CNTL] (P} [CNTL] [P] DCi Device Control (XON) [CNTL] [Q] + RUN Start Polling [CNTL} [R] DC2 Device Control [CNTL] [P] [CNTL] [R] DC3 Device Control (XOFF) [CNTL] [S} MENU Return to the Master Menu [CNTL] (T] DC4 Device Control ([CNTL] (T} NAK Negative Acknowledgement [CNTL] {U} + DEFAULT Write Factory Default {CNTL] [V] SYN Synchronous Idle {CNTL] [P] {CNTL] [V] ETB End Transmission Block [CNTL] [W] + ERASE Erase Line [CNTL] [X] CAN Cancel {CNTL] [P] [CNTL] [X] + SEND Update Clock/Send Message [CNTL] [Y] EM End of Medium . {CNTL] [P] (CNTL] [Y] SUB Substitute [CNTL] (Z] + EEPROM Update EEPROM [CNTL] (0) ESC Escape [CNTL] [P] [CNTL] [f] FS File Separator {[CNTL] Ny GS Group Separator {(CNTL] f] RS Record Separator {CNTL] I] US Unit Separator [CNTL] LJ + DEL Delete Data Entry [DEL] DEL Delete Data Entry {CNTL] [P] {DEL] SPACE Space [SPACE]
+ Indicates this command can be invoked from a screen.
© 1987 INTERMEC Corporation
Page 5-23
Page 136
CONFIGURING THE CONTROLLER
To Host Transmission Parameters
Twelve parameters on the Transmission Parameters screen configure the way the controller transmits messages to the host computer. Descriptions of each parameter follow.
No. of Records Per Block: Indicates the maximum number of individual polled device records that will be sent by the controller to the host in a given message block. The default is one. If one is satisfactory for No. Records Per Block, press (CR).
To change the No. of Records Per Block, enter a new value between 0 and 99 and press [CR].
For the most effective communication, it is recommended that you do not change this value. However, you can change the default value may be changed to any number between 0 and 99. If 0 is entered, no data will ever be transmitted.
If the AFF/NEG handshake is enabled later on this screen, the controller must retransmit the whole transmission block if a NEG is received. Therefore, it is recommended you send a small amount of records within a transmission block.
Record Separator: The controller sends the Record Separator after every individual data record transmitted to the host. The default for the To Host Record Separator is CR (ODH). If this is acceptable, press [CR]. To change To Host Record Separator, enter up to two ASCI! characters and press [CR]. If the No. of Records Per Block was defined as greater than one, the record separator should be defined.
Header: A header can be placed on the messages sent to the host by the controller. A common use of the header might be to designate which peripheral the message came from. The header can be up to five ASCII characters in length.
The default is header disabled, as shown by the blank field. If no header is needed, press [CR]. To add a header, enter the value and press [CR]. For example, to signify a controller number you could type “Conti,” and press [CR].
Page 5-24 ©1987 INTERMEC Corporation
Page 137
Select Transmission Parameters
SOM: The Start of Message (SOM) is sent after the header, if used, and can be up to five ASCII characters.
The default SOM code is STX (02H). If this is acceptable, press [CR]. To change the SOM, enter the new value and press [CR].
To disable the SOM, enter [CNTL] [X], [CR]. The SOM field will be left blank, and the cursor will move to the next field, EOM.
EOM: The End Of Message (EOM) is sent after the data part of the message, and can be up to five ASCII characters.
The default EOM is the single ASCII character ETX (03H). If this is an acceptable EOM, press [CR]. Like the SOM, the EOM can be disabled for some protocols by entering [CNTL] [X] to clear the field and then pressing [CR].
RES: When the host asks the controller for data by sending a POL, and the controller has no data, the controller will send the host an RES.
The default setting for RES is the three ASCII characters STX ZCR. RES can be up to five ASCII characters.
AFF: If the host wants to transmit data to the controller, it will first send a SEL.
The controller will respond to the host with either AFF or NEG. If the controller responds with AFF, it indicates that it is acceptable for the host to send data.
The default setting for AFF is the three ASCII characters STX Y CR. AFF can be up to five ASCil characters.
NEG: If the host sends a SEL to the controller asking if it is acceptable to send data, the controller will send a NEG if it can not accept data.
The default setting for NEG is STX Z CR. NEG can be up to five ASCII characters.
© 1987 INTERMEC Corporation Page 5-25
Page 138
CONFIGURING THE CONTROLLER
Error Message SOM: If the host transmits a message to a device address that is not connected, that has another message waiting to be transmitted to it, or that is disabled, the controller will send the following message to the host:
(Error Message SOM) XZ BEL (EOR) (Error Message EOM)
X is the port address and Z is the device address. BEL (ASCII 7H) denotes the error.
This message is sent when the host is waiting for an AFF/NEG response. If both the Error Message SOM and the Error Message EOM are disabled, the port and device address, followed by ASCII BEL will be sent to the host. If the AFF/NEG response is disabled, no response will be sent.
Error messages for more than one address can be sent in a single message block, For example, the host might send messages to three devices (A, B, and C), but two address buffers (A and C) are full. The controller would accept the message for B and send error messages for A and C back to the host in the following format:
(Error Message SOM) XA BEL XB BEL (EOR) (Error Message EOM)
The controller will not place the End of Record between the two records XA BEL and XB BEL.
The Error Message Start Of Message indicates the start of an error message. It can be up to five ASCII characters and can be set to a different value than the SOM. The Error Message SOM might be set to a different value than the SOM if the host application program identifies which polled device addresses were unable to receive a message, and uses that information in sending future messages.
The default value for the Error Message SOM is the single ASCII character STX, just like the SOM. The Error Message SOM and the SOM are two of the few transmission parameters that can be set to the same values.
Page 5-26 ©1987 INTERMEC Corporation
Page 139
Select Transmission Parameters
Error Message EOM: The Error Message End Of Message indicates the end of an error message. The Error Message EOM and the EOM are two of the few transmission parameters that can be set as same values. However, the Error Message EOM can be set to a different value than the EOM.
The default value for the Error Message EOM is the single ASCII character ETX, just like the EOM. It can be up to five ASCII characters.
Transparency Check: The Transparency Check parameter allows the controller to send a control character used in the data communication protocol as part of the data stream. If the Transparency Check is enabled, an ASCII DLE (10H) character is placed directly in front of ASCII contro! characters contained in the data stream before any data is transmitted.
Even though the controller is shipped with it disabled, it is recommended that the Transparency Check be enabled since polled devices may send data that matches protocol settings in the host to controller interface. (The 9161 02 Muiti- Drop Concentrator does not implement a transparency check.)
The default value for the Transparency Check is “N* for disabled. If this is satisfactory, press [CR].
To enable the Transparency Check, enter [Y], [CR].
Data Wait Mode: When Data Wait Mode is disabled, the controller will wait until it is polled by the host before sending data. When the Data Wait Mode is enabled, if the host has polled the controller, the controller will transmit data to the host as soon as data becomes available. Once data is transmitted to the host, the controller will wait for another POL from the host before transmitting more data.
For example, if the host polled the controller at 00:00:00 (hours, minutes, seconds), and data was available at 00:00:05, the controller would wait until it was polled at 00:01:00 to send data. With Data Wait Mode enabled, the controller will transmit the data at 00:00:05. If more data is received at 10:00:50, that data will not be transmitted until the controller is polled again at 10:01:00.
© 1987 INTERMEC Corporation Page 5-27
Page 140
CONFIGURING THE CONTROLLER
If device specific polling is used by the host application program, the controller will only send information for requested addresses. If the host wants to poll other addresses, it must send the poll for that address or a general poll.
The default setting for Data Wait Mode is “N" for disabled, if that is satisfactory, press [CR].
To enable Data Wait Mode, enter [Y], then press [CR].
From Host Transmission Parameters The twelve From Host Transmission parameters specify what control character the controller expects the host computer to transmit.
The first two parameters, POL and SEL, are especially important because they determine whether the communication between the controller and the host is solicited or unsolicited for controller transmit and receive respectively. Section 7, “Host to 9154 Communication,” explains the different applications of solicited and unsolicited protocols.
POL: The POL is used by the the host to ask if the controller has data. POL can be up to two ASCII characters.
The default value for POL is ASCII ENQ.
POL can be left blank, in which case the controller sends data as soon as it has it, without waiting fora host POL. To disable POL, enter [CNTL] [X], [CR]. The POL field will be cleared, and the cursor will move to the next parameter field,
SEL.
The controller will respond to device specific polling where the host asks for data from a specific device only if POL is enabled. A device specific poll is arranged as follows:
XZ POL X is the single character port address (m,n,0,p). Z is the single character device address (A-Z, or 0-5).
The address XZ may also be "SS" to poll controller status.
Page 5-28 ©1987 INTERMEC Corporation