The text of a manual · part 9 of 10
TurboWedge Installation and Operations Manual, pages 81 to 90
Pages 81 to 90 of 97
The original document is the PDF (1.2 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 Compsee Turbo-Wedge
Page 81
APPENDIX E:
RS 232 AUXILIARY PORT - TECHNICAL SPECIFICATIONS
This appendix provides information for connecting devices to the RS 232 Auxiliary Port (INPUT 2) of the unit. The port receptacle will receive an AMP - [RJ] plug: Defined as a 10 position, 10 contact connector. The RS 232 Auxiliary Port can support ASCII, Asynchronous, Serial communications. RS 232 features include: • 7 or 8 Data Bits • 1 or 2 Stop Bits • Even, Odd, Space, Mark or No Parity • Baud Rate • 300, 600, 1200, 2400, 4800, 9600, 19.2, 38.4 57.6*, 115.2* • CTS/RTS Hardware Handshake • Xon/Xoff Software Handshake • Xmodem Handshake
* = TurboWedge 2 only
The RS 232 Auxiliary Port provides an external serial interface with the following communications port (pin out) definitions: 1 = RXD receive data line Input 3 = TXD transmit data line Output 5 = CTS clear to send line Output 6 = +5VDC output Output 7 = GND ground line 10= RTS request to send line Input
Compsee, Inc. TurboWedge-1199
81
Page 82
NOTES - Model 1 Only: 1. 2.
3.
If the unit is programmed to output RS 232 (Dual or Single Port), this port will not accept RS 232 serial input. Use Model 2. If the unit is interfaced to a DEC 2XX, 3XX or 4XX terminal • Input protocol for the RS 232 data transmission cannot be set to RTS/CTS Hardware Handshaking. Protocol should be set to use software flow control (Xon/Xoff). • Magnetic Stripe Reading of all three tracks is disabled. If the unit is monitoring Input Inhibit • The input protocol for the RS 232 data transmission cannot be set to RTS/CTS Hardware Handshaking. Protocol should be set to use software flow control (Xon/Xoff). • Magnetic Stripe Reading of all three tracks is disabled.
The RS 232 Auxiliary Port is programmed with the following capabilities and constraints. • A data record (label) can start with any ASCII data. • A data record can include any data in the ASCII character set 00h thru FFh. The unit will delete characters not included in this character set from the incoming data record. • A data record must end with a Record Terminator. NOTE: The record terminator selected will NOT be transmitted to the terminal. Its only function is to signal the end of a record. • A data record (label) can contain or consist of one or more keyboard record function codes. Keyboard function codes can be embedded in any position within the data record. • If Keyboard Functions are being sent to the terminal, the parameter "Functions Codes" for the Serial Port must be enabled. • A Preamble or Postamble may be attached to the record being uploaded. • An edit can be programmed for the RS 232 input record to both validate and reformat the data prior to output transmission. See Appendix C for further information about key codes. • Record length can not exceed 64 characters.
Compsee, Inc. TurboWedge-1199
82
Page 83
Appendix F: RS 232 INPUT - DATA TRANSFER DEFINITIONS The protocol selections are designed to accommodate two basic forms of data transfer - Record and Automatic/Operator Controlled Upload. •
DATA TRANSFER METHOD = RECORD
The first data transfer method is termed Record Protocol. This protocol is used when scales or other readers are connected to the auxiliary port. These devices send data in a record format. The data is buffered by the unit until the End of Record is received. Once received, the data record will be transmitted to the terminal. If Input Inhibit is NOT being checked, the operator must take responsibility for pacing the input to make sure that the terminal is available for data entry. This is true for all protocol options. See Appendix A: "Interfaces" for terminals that support Input Inhibit, and Appendix G: "Input Inhibit Considerations" for the installation of the Input Inhibit cable when necessary . 1.
TRANSFER METHOD = RECORD PROTOCOL = READY Terminals Supported: Maximum Record Size: Record Terminator:
ALL 64 Programmed (00H-7FH)
NOTE: The Record Terminator is only used to signal the end of data. Data will not be transmitted to the screen until the Record Terminator is received. The Record Terminator itself will not be transmitted to the screen. If Keyboard Functions are being sent to the terminal, the parameter "Function Codes" for the Serial Port must be enabled. A Preamble, Postamble or an Edit can be programmed for the RS 232 input record to both validate and reformat the data prior to output transmission.
2.
TRANSFER METHOD = AUTOMATIC/OPERATOR CONTROLLED UPLOAD The second type of data transfer is covered by the remaining protocols (Solicit, Burst, ACK/NAK, and XModem CRC) These are used for uploading data from portable devices. For a automatic upload Input Inhibit MUST be checked and the portable must be able to recognize a DC1 for Xon/Xoff, ACK for ACK/NAK or NAK for Xmodem CRC. Another possibility is if the portable can be controlled by the CTS line. If Input Inhibit is NOT being checked, each block of data must be transmitted by an Operator Controlled Operation on the portable. For further information on Input Inhibit, reference Appendix A: "Interfaces" and Appendix G: "Input Inhibit Considerations".
Compsee, Inc. TurboWedge-1199
83
Page 84
The Serial Port Preamble and Postamble are used to aid in the control of the data being uploaded. Preamble: If defined a Start of Block Character MUST be sent character defined will be expected for each block.
before any data buffering will take place. The
Postamble: Three positions can be defined. Position 1: Record Postamble If defined, the character will be appended to the end of each Zero) will Null any position. Position 2: End of Block Character Default = "ETX" (03h) Position 3: Determines whether the transmit command will Default = "Y" (59) 3.
record. An entry of "00" (Zero, be issued at the end of a block.
TRANSFER METHOD = AUTOMATIC UPLOAD PROTOCOL = XON/XOFF Terminals Supported: Only those that support Input Inhibit checking. Check Appendix A: "Interfaces". The connecting unit must be able to respond to a "DC1" (i.e. XON). Device controlled block size. Data records must be sent in a fixed record count, separated by a end of record character. The blocking factor cannot exceed the limitation of the terminal screen it is being sent to (Maximum characters per block = 1500). Each block of data must be terminated by a End-of-Text (ETX = 03h) character. To signal the transmission of the last block of data from the device, the last block of data is terminated by End-Of-Transmission (EOT), End-Of-Text (ETX). Or, a block of data can be sent containing just the End-Of-Transmission (EOT) character. After the first block of data is received the unit will solicit the subsequent blocks by sending a DC1 (11h) to the device. The device must wait for the DC1 before sending any subsequent blocks. Upon receiving the End-Of-Text (ETX) the unit will automatically transmit the block to the terminal, "Screen", and issue "ENTER" to transmit to the host CPU before it solicits the next block of data. If Keyboard Functions are being sent to the terminal, the parameter Functions Codes for the Serial Port must be enabled. See Page F-2 for Postamble and Preamble definitions.
Compsee, Inc. TurboWedge-1199
84
Page 85
Sequence of Events For Portable Device Automatic Upload to a Terminal Portable
Wedge
Operator sends 1st block of data (ETX) or Portable responds to DC1 Device Sends Block 2 (ETX) Device Sends Block n (ETX) or (ETX) Device sends (EOT) or nothing if (EOT) Device Was sent with Block n
4.
3
Sends DC1 until data is received
4 3 4 3 4 3 4
Sends Block 1 to the terminal Sends DC1 until data is received Sends Block 2 to the Terminal Sends DC1 until data is received Sends Block n to the Terminal Sends DC1 Ends communication with the Portable by audible alerts to the operator of upload completion.
TRANSFER METHOD = OPERATOR CONTROLLED UPLOAD PROTOCOL = SOLICIT Terminals Supported: ALL During the transmission of data to the terminal the operator will monitor the terminal for input inhibit restriction. By doing so, no data should be lost. All blocks of data sent must be initiated by the operator. Therefore, the connecting unit must be able to respond to an operator command entered on it. Device controlled block size. Data records must be sent in a fixed record count, separated by an end-of-record character. The blocking factor cannot exceed the limitation of the defined terminal screen. Each block of data must be terminated by a End-Of-Text (ETX = 03h) character. To signal the transmission of the last block of data from the device, the last block of data is terminated by End-Of-Transmission (EOT), End-Of-Text. Or, a block of data can be sent containing just the End-Of-Transmission (EOT) character. Upon receiving the Record Terminator the unit will automatically transmit the block to the terminal "Screen", and issue "ENTER" to transmit to the host CPU before it solicits the next block of data. If Keyboard Functions are being sent to the terminal, the parameter Functions Codes for the Auxiliary Port must be enabled. See Page F-2 for Postamble and Preamble definitions.
Compsee, Inc. TurboWedge-1199
85
Page 86
Sequence of Events for Portable Device Using Operator Controlled Upload to a Terminal Portable
Wedge
Portable Ignores DC1 Operator Sends 1st Block of Data (ETX) Portable Ignores DC1 Operator Sends Block 2 (ETX) Portable Ignores DC1 Operator Sends Block n (ETX) or (EOT ETX) Portable Ignores DC1 Operator Sends (EOT) or nothing if (EOT) was sent with Block n
4
3
Sends DC1 until data is received
4 3
Sends Block 1 to the terminal Sends DC1 until data is received
4 3
Sends Block 2 to the Terminal Sends DC1 until data is received
Sends Block n to the Terminal 3 Sends DC1 4 Ends communications with the Portable Device by audible alerts to the operator of upload completion.
5.
TRANSFER METHOD = AUTOMATIC UPLOAD PROTOCOL = BURST Terminals Supported: Only those that support Input Inhibit checking. Check Appendix A: "Interfaces". During the transmission of data to the terminal the unit will monitor the terminal for input inhibit restriction. By doing so, no data will be lost in the event that the terminal is inhibited. The connecting unit must be able to respond to a "DC1" and "DC3" (i.e. XON, XOFF), and to the raising and lowering of the "Clear To Send" (CTS) line. The wedge controls the size of the block being sent to the terminal. Once 1500 characters have been received the wedge will issue a XOFF and drop CTS. The first block of data sent must be initiated by the operator. After the first block of data is received the wedge will control the flow of subsequent blocks. Upon receiving the 1500 characters the wedge will: 1) issue an XOFF and drop CTS 2) automatically transmit the block of data to the terminal "Screen" 3) automatically transmit to the host CPU 4) Raise Clear-To-Send (CTS) 5) Issue an XON for the next burst of data The last block of data is terminated by End-Of-Transmission (EOT). If Keyboard Functions are being sent to the terminal, the parameter Functions Codes for the Auxiliary Port must be enabled. See Page F-2 for Postamble and Preamble definitions. NOTE: It is recommended that when sending data in this mode, that an Intercharacter Delay be set in the portable device to insure that the device does not "miss" any XOFF instructions before sending any data. This will help to prevent any loss of data on a character-to-character transmit basis.
Compsee, Inc. TurboWedge-1199
86
Page 87
6.
TRANSFER METHOD = RECORD PROTOCOL = ACK/NAK When programmed for ACK/NAK protocol, the unit will receive data in two transfer modes. One will be Single Records, the other a block type mode consis ting of multiple records. The controlling parameters will be the Auxiliary Port Preamble and Postamble selections. Preamble:
Defines the Start of Block Character. No data will be buffered until the Preamble is received. Default (not defined) = NO Start of Block Character will be expected.
Postamble: Three positions for controlling data. 1= A Postamble to be appended to the end of each record. 2= Character that defines the end of block. If not assigned a value, Record Mode is active (each record represents a block). 3= Enter the character "Y" (Yes) or "N" (No) to indicate if the Enter/Transmit command is to be sent at the end of each block. With the Record Mode active, the unit receives data in single records. A record may contain up to 1500 bytes, including the Record terminator. After receipt, the record will be transmitted to the terminal, and an ACK (06h) will be sent to the connected device. The device is now allowed to send another record. If any character of the record is incorrectly received, a NAK (15) will be sent to the connected device. The use of the Second Postamble Character, activates ACK Block Mode. Whereby, an ACK (06h) is sent to the connected device after each record is received. The records are buffered until the defined postamble code is received. This code is NOT ACKed. The records stored will be transmitted to the terminal and an "Enter" will be issued at the end of block. An ACK will then be sent to the connected device. The device can then begin another transfer. The standard programming rules are in effect for all other parameters.
Compsee, Inc. TurboWedge-1199
87
Page 88
Sequence of Events for Portable Device Upload Using Record Mode - ACK/NAK Protocol TERMINAL
WEDGE
3
RS 232 CONNECTED DEVICE 3
1st Rec. (EOR) device initiates transmission
4
After receiving ACK, the device may
3 next record (if any) Device sends nth Rec. (EOR) (if any)
Receives and buffers record. Sends Rec. to Terminal. If 1st character of Postamble is defined, it is transmitted. Sends ACK (06h) * transmit
* If a record is received incorrectly, NAK (15h) will be sent. Loop back to Step 2. This sequence is repeated until all records are sent from connected device.
Sequence of Events for Portable Device Upload Using Block Mode ACK/NAK Protocol
TERMINAL
WEDGE
RS 232 CONNECTED DEVICE 3 1st Rec. (EOR) device initiates transmission Receives and buffers record. Sends ACK (06h) [NAK sent for incorrect record]
4 3 3
ACK is received. Device transmits next record. Device sends nth Rec. (EOR)
Repeat ACK (06h) for each record until the End of Block (EOB) character is received. 3 3
Device sends Record, (EOR), (EOB) or (EOB) by itself
Receives Record and/or (EOB) All stored records are transmitted to the terminal, at the end of the block a "Enter" command will be sent to the terminal. (See Postamble). Sends ACK to the device to signal it to begin transmitting again.
4
Loop back to Step 4
Compsee, Inc. TurboWedge-1199
88
Page 89
7.
TRANSFER METHOD = RECORD PROTOCOL = XMODEM CRC Terminals Supported: ALL During the transmission of data to the terminal the operator will monitor the terminal for input inhibit restriction. By doing so, no data should be lost. All blocks of data sent must be initiated by the operator. Therefore, the connecting unit must be able to respond to an operator command entered on it. Device controlled block size: Data records must be sent in a fixed record count, separated by an end-of-record character. The blocking factor cannot exceed the limitation of the defined terminal screen. The Xmodem data frame consists of 133 bytes: •
SOH - the start of the header character (0x01). This indicates that a new block of data is being transmitted.
•
Block Number - a one byte binary number starting at 1, containing the block number. The number wraps at 0xFF to zero. The block number is used to synchronize the data transfer.
•
0xFF- Block Number - the ones complement of the above number. This is used to validate the block number.
•
Byte CRC - the frame integrity check - a 2 byte variant The high order byte of the CRC is transmitted before the low byte.
The connecting unit must be able to respond to a “C” (43h) and ACK, NAK. To signal the transmission of the last block of data from the device, the last block of data is terminated by End-Of-Transmission (EOT).
Sequence of Events for Portable Device Using Operator Controlled Upload to a Terminal Portable
Wedge 3
C (43h)
3 4
C (43h) Sends Block 1 to the terminal
3
Sends ACK (06h)
3
Sends ACK (06h)
3 4 3
Sends ACK (06h)
Portable Ignores DC1 Operator initiates the transmission of the 1st Block of Data SOH,0x01,0xFE,<128 bytes>, CRCHI,CRCLO SOH,0x01,0xFE,<128 bytes>, CRCHI,CRCLO SOH,0x01,0xFD,<128 bytes>, CRCHI,CRCLO EOT
Compsee, Inc. TurboWedge-1199
Sends ACK (06h)
89
Page 90
Appendix G: INPUT INHIBIT CONSIDERATIONS The following pages describe the operation of the unit relevant to each terminal type supporting "Input-Inhibit", which when monitored will prevent the loss of data from the unit to the terminal and in turn to the host CPU. In most terminal environments, the terminal is often "inhibited" from sending data to the host CPU. This can happen just after a screen, or "page" of data is sent to the host CPU by the operator activating the "XMIT", "REC ADV", or "ENTER" key at the keyboard. Further input from the keyboard is ignored by the terminal, as long as input is inhibited by the host CPU. The Input-Inhibited condition is usually indicated to the operator by a visual indicator on the terminal screen. Because the unit emulates the operator's action of sending data to the host CPU and in turn cause an input-inhibited condition, this condition must be monitored by some means other than a visual indicator. Described on the following pages are some operator "rules" and hardware installation procedures required for each terminal supported. Input-inhibited monitoring is accomplished only if the unit has been programmed to do so. Refer to the "GENERAL I" programming menu for programming Input Inhibit. Unless the terminal type is specified in this appendix, the unit will NOT monitor Input Inhibit regardless of how the parameter is set. DECISION DATA:
3761, 3791
The unit will monitor Input Inhibit if the unit has been programmed for this parameter to be ON and the ENTER command is issued. IBM :
3179-1 After power, the Input Inhibit parameter must be selected. Also, the keyboard clicker "on/off" key can not be used by the operator. However, if Input Inhibit is not being monitored, this clicker key is available to the operator.
IBM:
3180-1, 3180-2 If Input Inhibited is to be monitored, the Intercharacter Delay parameter must be set to 02 and a jumper cable must be installed inside the terminal. The following sequence describes the installation. 1.
Remove the logic element from the IBM 3180. Move the lever on the lower-left, rear corner of the terminal to the "OPEN" position. Push the two locking bars at the right side of the logic element forward. Hold the logic element and swing the right side out. Remove the two left latches from the display element.
2.
View the logic element with the PC board face up. Attach the spring clip end of the single wire cable (ordered with the standard interface cable) to the right terminal of the speaker.
3.
Thread the unattached end of the single wire cable through one of the slots at the bottom of the logic element, making certain that the cable will not interfere with the reinstallation of the logic element.
4.
Install the logic element on the display element.
Compsee, Inc. TurboWedge-1199
90