The text of a manual · part 24 of 37
Native Terminal Emulation Programmer's Guide: Chapter 5: Data Collection Server and Gateway Commands, pages 197 to 206
Pages 197 to 206 of 340, from Native Terminal Emulation Programmer's Guide
The original document is the PDF (2.9 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 2435
Page 197
Chapter 5, Data Collection Server and Gateway Commands
The following table lists the terminal power-up types. The logical screen size for all terminals is 80x24, of which the terminal displays a portion. Power-up type “000” means the terminal has not powered up. Terminal Power-Up Types Data Stream
Host View Size
Power-Up Type
Native
16 21 Any size other than 16 or 21
032 033 060
Non-Telnet 3270
16 21 80 Any size other than 16, 21, or 80
034 035 037 061
Telnet 3270
Any size
071
Non-Telnet 5250
Any size
062
Telnet 5250
Any size
072
Non-Telnet VT220 Any size
063
Telnet VT220
073
Any size
Example Host: R<cr> Response: 000P,032<cr> Native terminal number 000 with host view size set to 16 has reset or powered up. (The power-up type is 032.)
Native Terminal Emulation Programmer’s Guide
177
Page 198
Chapter 5, Data Collection Server and Gateway Commands
T (Repeat Response) The T command requires the DCS or gateway to retransmit its last message to the host. Use it in case of a partially missed or corrupted message as indicated by a parity, framing, or length error the host received.
Host Command T<cr>
DCS or Gateway Response <cr>
Example Command: T<cr> Action: The DCS or gateway repeats the last message sent to the host, and adds a carriage return.
178
Native Terminal Emulation Programmer’s Guide
Page 199
Chapter 5, Data Collection Server and Gateway Commands
F (Return Terminal Power-Up Type) The F command is useful for listing all terminals in a system. The F command returns a power-up type for each channel in the network (127 numbers). The response comes back in a series of codes, one for each channel, followed by a <cr>. See the “Terminal Power-Up Types” table on page 177 for more information.
Host Command F<cr>
DCS or Gateway Response x,x,x0x,x,x,x<cr>
Example Command: F<cr> Response: 032,032,000,000,000,000,000,000,000,000,000, 000,000,000,000,000,000,000,000,000,000,000, 000,000,000,000,000,000,000,000,000,000,000, 000,000,000,000,000,000,000,000,000,000,000, 000,000,000,000,000,000,000,000,000,000,000, 000,000,000,000,000,000,000,000,000,000,000, 000,000,000,000,000,000,000,000,000,000,000, 000,000,000,000,000,000,000,000,000,000,000, 000,000,000,000,000,000,000,000,000,000,000, 000,000,000,000,000,000,000,000,000,000,000, 000,000,000,000,000,000,000,000,000,000,000, 000,000,000,000,000,000<cr>
This example indicates that: S Channels 0 and 1 are Native terminals with host view size set to 16. (The power-up type is 032.) S Channels 2–126 have not powered up. (The power-up type is 000.)
Native Terminal Emulation Programmer’s Guide
179
Page 200
Chapter 5, Data Collection Server and Gateway Commands
DME (Echo-Back Diagnostics) Use DME to check the communication link between the host and the DCS or gateway. The DCS or gateway receives data from the host and sends an identical data string back to the host for comparison. The command’s x variable is a maximum of 1024 characters of host data.
Host Command DME/x<cr>
DCS or Gateway Response x<cr>
Example Command: DME/Host-to-gateway loopback test<cr> Response: Host-to-gateway loopback test<cr>
180
Native Terminal Emulation Programmer’s Guide
Page 201
Chapter 5, Data Collection Server and Gateway Commands
DMP (Reset) DMP resets the DCS or gateway. The power-up message returns to the host when the self-tests are complete. Tests take several seconds. Power-up restores the default parameters. Redefine the operational parameters that differ from the default parameters after this command.
Host Command DMP<cr>
DCS or Gateway Response ,0<cr> POWER UP QXSASYNC V<x.xx>,127<cr> (three-byte addressing)
or ,0<cr> POWER UPMUX V<x.x> (one-byte “old” addressing)
Example 1 The following sample response appears when the DCS or gateway is configured for three-byte (“normal”) addressing: Command: DMP<cr> Response: ,0<cr> POWER UP QXSASYNC V2.10,127<cr>
Example 2 The following sample response appears when the DCS or gateway configured for one-byte (“old”) addressing: Command: DMP<cr> Response: ,0<cr> POWER UPMUX V2.2<cr>
Native Terminal Emulation Programmer’s Guide
181
Page 202
Chapter 5, Data Collection Server and Gateway Commands
DMV (Send Software Version) DMV sends the DCS or gateway’s software version number to the host. The value for variable x.xx is the version number.
Host Command DMV<cr>
DCS or Gateway Response QXSASYNC V<x.xx><cr>
Example 1 The following sample response appears when the DCS or gateway is configured for three-byte (“normal”) addressing: Command: DMV<cr> Response: QXSASYNC V2.10<cr>
Example 2 The following sample response appears when the DCS or gateway is configured for one-byte (“old“) addressing: Command: DMV<cr> Response: FWMUXB8 V2.2<cr>
182
Native Terminal Emulation Programmer’s Guide
Page 203
Chapter 5, Data Collection Server and Gateway Commands
Normal Communication Flow The two basic types of commands are: S Commands destined for the DCS or gateway S Commands destined for the terminal Assume the system is set to interactive mode (CMT2,1). In general, the DCS or gateway can respond immediately to parameter or diagnostic commands. Following are two examples:
Example 1 Host command: DMV<cr> Response: QXSASYNC V2.10
Example 2 Host command: ?<cr> Response: IIIIIIIINNNNNNNN The DCS or gateway accepts the terminal commands (with an OK<cr>) and then sends them to the terminal. The DCS or gateway receives the terminal response. After the host issues an R Read command (page 176), the DCS or gateway can send the terminal response. In general, a terminal response cannot be sent in response to a non-Read command. An exception to this is the T (Repeat Response) command (page 178), where the last DCS or gateway response is retransmitted to the host. Following are two examples:
Example 1 Host command: W000D/Hello World<cr> Response: OK<cr>
Example 2 Host command: R<cr> Response: 000KXYZ
Native Terminal Emulation Programmer’s Guide
183
Page 204
Chapter 5, Data Collection Server and Gateway Commands
Compatibility With Legacy Systems Legacy (pre-Enterprise Wireless LAN) systems with INTERMEC multiplexers and controllers include the PC1000 PCMUX, RM2216, RM3216, RM3242, RM1202, RM1204, RC2250, RC3250, RCB4000, and RCB4030. They support various commands in this manual, and some or all of these commands. Most of the commands listed below are specific for crystal-UHF or SST (Spread Spectrum Transmission) systems. If you are replacing a legacy system with a DCS 301, 6910 IGAP, 6950 Enterprise Gateway Server, or Wireless Network Access Server, your DCS or gateway should accept the command and return an “OK” response (if interactive mode [CMT2] is enabled). S CMT3 S CMT6 S CMT7 S CMT11 S CMT12 S CMT14 S CMT15 S CMT16 S CMT17 S CMT18 S CMT20 S CMT23 S CMT24 S CMT25 S CMT26 S CCS S DMS S DMC
184
Native Terminal Emulation Programmer’s Guide
Page 205
Chapter 5, Data Collection Server and Gateway Commands
Write Display Errors Error responses from the DCS or gateway take the form “?x”<cr>, where x is the numeric error code listed in the following table. Error Code
Name
Description
0
Communications Error Low level, asynchronous driver detected a parity, stop, or other data error.
1
Syntax Error
Error in the parameter, diagnostic, or terminal command. For the WtD (Write Display) terminal command, syntax checking stops at the ‘/’.
4
Length Error
Host message is too long. If the DCS or gateway is configured for three-byte addressing, the maximum length is 1000 bytes. For one-byte addressing, the maximum length is 128 bytes.
5
Disabled Error
Host is trying to send data to a disabled or inactive terminal (has not received a power-up message from it).
6
Gap Error
Intercharacter gap time exceeded (timeout between start of message and carriage return). CMT5 Gap Time-Out (page 165) sets the time.
8
Check Error
Occurs when CMT8 Set Data Error Checking (page 166) is set for CRC checking, and the CRC did not compute on a received host frame.
10
Buffer Error
Multiple buffering is enabled, and a terminal exceeded its allocation of 25 buffers. Corrective action is to wait for the buffers to be freed.
11
Sequence Error
R (Read) commands were issued before CMT commands were sent to initialize the DCS or gateway.
Native Terminal Emulation Programmer’s Guide
185
Page 206
Chapter 5, Data Collection Server and Gateway Commands
186
Native Terminal Emulation Programmer’s Guide