The text of a manual · part 4 of 5
TechTerm Technical Reference Manual, pages 31 to 40
Pages 31 to 40 of 50
The original document is the PDF (590 KB). 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 Two Technologies TechTerm TT1R2
Page 31
TECHTERM TERMINALS
CHAPTER 5
HOST COMMANDS
Introduction The TechTerm will respond to certain command strings issue from a host device to control some of its functionality. These commands can start with either an Escape character or a Control character. For example, sending an Esc E will clear the display and move the cursor to the home position), while sending a Ctrl K will move the cursor down one row. Note:
Do not use spaces between characters in Control or Escape commands. Any spacing shown for Escape commands in this chapter is for clarity only unless otherwise noted.
Escape Commands This section describes the Escape commands that a host devices can issue to control the TechTerm’s functionality. A summary of Escape commands appears at the end of this section. Note:
You cannot buffer sound commands. To produce properly spaced chain sounds, the host must delay a short time between issuing sound commands.
Cursor Up Syntax
Esc A
Notes
Moves the cursor up one row, but not beyond the start or end of a line, nor will it scroll the display
Cursor Down Syntax
Esc B
Notes
Moves the cursor down one row, but not beyond the start or end of a line, nor will it scroll the display
Document 15776(1.0.0.0)
21
Page 32
Cursor Right Syntax
Esc C
Notes
Moves the cursor one position to the right, but not beyond the start or end of a line, nor will it scroll the display
Cursor Left Syntax
Esc D
Notes
Move the cursor one position to the left, but not move the start or end of a line, nor will it scroll the display
Cursor Home & Clear Display Syntax
Esc E
Notes
Includes the character at the cursor location
Enable Underscore Cursor Syntax
Esc F
Disable Underscore Cursor Syntax
Esc G
Cursor Home Syntax
Esc H
Erase Display Syntax
Esc I
Notes
Includes the character at the cursor location, but does not alter the cursor position
Erase Cursor to End of Display Syntax
Esc J
Notes
Includes the character at the cursor location and does not alter the cursor position
Erase Cursor to End of Line
22
Syntax
Esc K
Notes
Includes the character at the cursor location and does not alter the cursor position
Host Commands
Page 33
TECHTERM TECHNICAL REFERENCE MANUAL
Long Bell Syntax
Esc L
Erase Entire Line Syntax
Esc M
Notes
Includes the character at the cursor location and does not alter the cursor position
Click Syntax
Esc P
Alert Syntax
Esc Q
Enable Blinking Cursor Syntax
Esc R
Disable Blinking Cursor Syntax
Esc S
Short Bell Syntax
Esc T
Enable Key Click Syntax
Esc U
Disable Key Click Syntax
Document 15776(1.0.0.0)
Esc V
23
Page 34
Cursor Position Syntax Notes
Examples
Esc Y Pr Pc
Moves the cursor to a specified location where Pr is the ASCII character equivalent of the row numbers and Pc is the ASCII character equivalent of the column numbers shown below. Row (Pr)
ASCII
Column (Pc)
ASCII
Column (Pc)
ASCII
1
SP
1
SP
11
*
2
!
2
!
12
+
3
“
3
“
13
,
4
#
4
#
14
-
5
$
15
.
6
%
16
/
7
&
17
0
8
‘
18
1
9
(
19
2
10
)
20
3
Esc Y !) will send the cursor to Row 2, Column 10 Esc Y #0 will send the cursor to Row 4, Column 17 Esc Y !+ will send the cursor to Row 2, Column 12
Return Terminal Identifier String Syntax
Esc Z
Notes
This commands sends the following identifier string to the host: TT1BCCCCNN Where B indicates a battery unit (if applicable), CCCC is the four-byte hexadecimal checksum of the terminal’s program memory and NN is the keypad type (30 = 30-key keypad or blank = 45-key keypad). When using this command to identify the terminal type, do not include the checksum as it may change.
24
Host Commands
Page 35
TECHTERM TECHNICAL REFERENCE MANUAL
Escape Command Summary The following table is a summary of the available host commands. Table 5-1: Host Command Summary Command Cursor Up
Code/Syntax Esc A
Cursor Down
Esc B
Cursor Right
Esc C
Cursor Left
Esc D
Cursor Home & Clear Display
Esc E
Enable Underscore Cursor
Esc F
Disable Underscore Cursor
Esc G
Cursor Home
Esc H
Erase Display
Esc I
Erase Cursor to End of Display
Esc J
Erase Cursor to End of Line
Esc K
Long Bell
Esc L
Erase Entire Line
Esc M
Click
Esc P
Alert
Esc Q
Enable Blinking Cursor
Esc R
Disable Blinking Cursor
Esc S
Short Bell
Esc T
Enable Key Click
Esc U
Disable Key Click
Esc V
Cursor Position
Esc Y Pr Pc
Return Terminal Identifier String
Esc Z
Control Code Commands The host can control some of TechTerm’s functionality by sending it commands that start with the Control character. For example, sending a Ctrl G will sound the bell on the TechTerm. Table 5-2: Control Codes Command
Code
Send ENQ
Ctrl E
Sounds Bell
Ctrl G
Back Space Cursor
Ctrl H
Line Feed
Ctrl J
Cursor Down
Ctrl K
Cursor Left to Column 1
Ctrl M
Delete Character at Cursor
DEL
Document 15776(1.0.0.0)
25
Page 36
Page 37
TECHTERM TERMINALS
CHAPTER 6
TROUBLESHOOTING
Cursor does not appear on display Possible Cause:
No power to terminal (host supplied)
Solution:
Verify proper voltage to terminal
Possible Cause:
No power to terminal (adapter supplied)
Solution:
Verify wall plug is functional and wiring of adapter (if wired as kit)
Possible Cause:
Reversed polarity, improper wiring or wrong cable type
Solution:
Check cable and connector wiring
Possible Cause:
Cursor not enabled
Solution:
Re-enable the cursor by sending an Esc [4t (ANSI mode) or Esc F (Private mode) or by changing the CURSOR parameter setting
Terminal resets or locks-up Possible Cause:
Low voltage output
Solution:
Verify proper voltage to terminal
Possible Cause:
Cable resistance too high or wire gauge too small
Solution:
Cable should be 26 AWG or larger
Possible Cause:
Handshaking between host and terminal
Solution:
When using handshaking, verify that the wiring between the host and terminal is correct, that you have the HANDSHAKE parameter enabled and that the handshake line from the host is asserted When not using handshaking, make sure you have the HANDSHAKE parameter disabled
Terminal does not perform self-test Possible Cause:
Self-test parameter disabled
Solution:
Change SELF TEST parameter to ENABLE
Document 15776(1.0.0.0)
27
Page 38
Terminal not receiving or displaying correct characters Possible Cause:
Parity settings incorrect
Solution:
Change PARITY parameter to correct setting
Possible Cause:
Data bits incorrect
Solution:
Change DATA BITS parameter to correct setting
Possible Cause:
Incorrect BAUD rate
Solution:
Change BAUD parameter to correct setting
Possible Cause:
Handshaking between host and terminal
Solution:
When using handshaking, verify that the wiring between the host and terminal is correct, that you have the HANDSHAKE parameter enabled and that the handshake line from the host is asserted When not using handshaking, make sure you have the HANDSHAKE parameter disabled
Possible Cause:
Reversed polarity, improper wiring or wrong cable type
Solution:
Check cable and connector wiring
Terminal displays PE character Possible Cause:
Incorrect parity setting
Solution:
Change the PARITY setting on the terminal to match the host or vice versa
Possible Cause:
Handshaking between host and terminal
Solution:
When using handshaking, verify that the wiring between the host and terminal is correct, that you have the HANDSHAKE parameter enabled and that the handshake line from the host is asserted When not using handshaking, make sure you have the HANDSHAKE parameter disabled
Terminal generates continuous sound while pressing key Possible Cause:
Handshaking between host and terminal
Solution:
When using handshaking, verify that the wiring between the host and terminal is correct, that you have the HANDSHAKE parameter enabled and that the handshake line from the host is asserted When not using handshaking, make sure you have the HANDSHAKE parameter disabled
Terminal displays double characters
28
Possible Cause:
Echo turned on
Solution:
Disable ECHO parameter
Troubleshooting
Page 39
TECHTERM TECHNICAL REFERENCE MANUAL
Cannot access parameter mode or function key programming Possible Cause:
Menu lock-out enabled
Solution:
Remove power, simultaneously hold CTRL, SHIFT and F5, and reapply power
Possible Cause:
Handshaking between host and terminal
Solution:
When using handshaking, verify that the wiring between the host and terminal is correct, that you have the HANDSHAKE parameter enabled and that the handshake line from the host is asserted When not using handshaking, make sure you have the HANDSHAKE parameter disabled
Terminal losing characters Possible Cause:
Handshaking between host and terminal
Solution:
When using handshaking, verify that the wiring between the host and terminal is correct, that you have the HANDSHAKE parameter enabled and that the handshake line from the host is asserted When not using handshaking, make sure you have the HANDSHAKE parameter disabled
Function keys not sending correct values Possible Cause:
Key accidentally reprogrammed
Solution:
Reprogram function key
Possible Cause:
EEPROM corrupted by line disturbance
Solution:
Restore factory defaults and then reprogram parameters and function keys
Possible Cause:
Terminal reset to factory defaults after repair
Solution:
Reprogram function keys
Document 15776(1.0.0.0)
29