Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 4 of 8

QTERM-II User's Manual: Chapter 2.

Pages 13 to 22 of 46, from QTERM-II User's Manual

The original document is the PDF (914 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 AST QTerm-II, QSI Corp QTerm-II and Beijer QTerm-II

Page 13

CHAPTER 2. QTERM-II SOFTWARE 2.1

Operation

The operation of the QTERM-II is quite simple:

• Power is applied to the QTERM-II. • Commands or data can be transmitted to the QTERM-II. Commands are executed as required; data is displayed. • When a key is pressed, the QTERM-II transmits the appropriate character(s) to the host. The QTERM-II has many additional capabilities which are accessed in three ways:

• Power-On Setup (see Chapter 1) • Software commands from host (this chapter) • Configuration-file download (see Chapter 3) 2.1.1

Handshaking

The QTERM-II has buffers for both receiving and transmitting characters. However, these buffers may not be large enough for some applications. If this is the case for your application, then your host must use XON/XOFF handshaking to make optimal use of the QTERM-II's capabilities. The QTERM-II's transmit buffer (16 bytes long) is used when a host does not wish to receive characters for a period of time. The host sends an XOFF character to the QTERM-II. The QTERM-II starts placing keycodes (one character per keystroke, regardless of how many characters are in the string assigned to the key) into the transmit buffer rather than transmitting them. When the host is ready to receive characters, it sends an XON character, at which time the QTERM-II will start transmitting the characters in the buffer. The QTERM-II's receive buffer is large enough to accept a full screen of text at the maximum baud rate (9600) without overrunning the buffer. However, some operations can take a longer time to execute, such as scrolling the entire screen down one line. In this case, the QTERM-II will send an XOFF to the host when it has only six bytes empty in its buffer. When it has processed input data to the point that the buffer only has six bytes used, it will send an XON, and the host can resume transmitting. The command summary in Appendix C shows approximate execution time for each of the various operations of the QTERM-II. XON/XOFF handshaking can also be disabled (by software command or the QDATA file) if you do not wish to use it. However, if you do not use handshaking, you must take extra care that you do not overrun the QTERM-II's receive buffer. The two easiest ways to do this are to use a slower baud rate (which gives the QTERM-II more time to process each byte) or add delays to your code after each write to the QTERM-II. 2.1.2

Commands vs QDATA Parameters

There are numerous parameters which are set by the QDATA configuration file (see Chapter 3) but which can be overridden by a software command. For example, tab spacing is set in the QDATA file, but can be changed by the Set Tab Spacing command. In all such cases, the software command overrides the QDATA configuration file setting but does not store the new setting into EEPROM. Therefore, when power is turned off, the overriding value is lost, and when the terminal is turned on, the QDATA parameter will be used again. If you wish to have the software command permanently override the QDATA configuration file setting, you can use the Store Parameters to EEPROM command. This saves all currently-set parameters to the EEPROM which makes them the current power-on defaults. 2.1.3

Character, Key and LED Numbering

Many of the commands refer to certain cursor locations, keys or LEDs. Figure 2-1 shows how these are numbered.

Beijer Electronics • Fax 801-466-8792 • Web www.beijerelectronicsinc.com • Phone 801-466-8770

Page 14

6 2.2

QTERM-II User's Manual Software Commands

Once you have configured the QTERM-II using the poweron setup (see Chapter 1) and configuration-file download (see Chapter 3), you can program your host to control the QTERM-II using software commands. Table 1-3 lists the commands available. Each command is discussed in detail below, and a command summary, including execution times, is given in Appendix C. The notation "ESC" in this chapter always means the onebyte escape character (1Bh = 27 decimal) rather than the ASCII string of three letters. 2.2.1

Bell (^G) - 07h

This causes the buzzer to beep. The default beep duration (1/2 second) is set in the QDATA file; it can be overridden with the Set Buzzer Duration command (ESC e). Note that sending this command is identical to sending the Buzzer On/Off/Beep command for a beep (ESC O B). 2.2.2

Backspace (^H) - 08h

Causes a non-destructive backspace, i.e. characters are not erased as the cursor is backspaced over them. With auto wrap mode off, the backspace stops at the left edge of the current display line. With auto wrap mode on, the cursor will wrap to the last position on the previous line. The command is ignored if the cursor is at the home position. See also the Delete command (7Fh). 2.2.3

Horizontal Tab (^I) - 09h

Moves the cursor right to the next tab column. The default tab spacing is set in the QDATA file; it can be overridden with the Set Tab Spacing command (ESC G). (The QDATA default tab spacing is every 4 spaces.) With auto wrap on, the cursor will wrap down to the first column in the line below when it is tabbed beyond the last column in the current line. If auto wrap is off, the cursor will stop at the end of the current line. If auto scroll and auto wrap are both on, then the display will scroll up as the cursor is tabbed beyond the last column in the last line. 2.2.4

Line Feed (^J) - 0Ah

Moves the cursor down one line without changing its horizontal position. When auto scroll mode is on and a line feed is performed on the last line, the display will scroll up with the horizontal cursor position unaltered. 2.2.5

Vertical Tab (^K) - 0Bh

Performs the same function as Line Feed. 2.2.6

Form Feed (^L) - 0Ch

Performs the same function as Line Feed.

Figure 2-1. Numbering of Cursor Positions, LEDs and Keys.

Beijer Electronics • Fax 801-466-8792 • Web www.beijerelectronicsinc.com • Phone 801-466-8770

Page 15

QTERM-II User's Manual

7

Table 1-3: QTERM-II Software Commands.

2.2.7

Command

Code

Command

Code

Bell (^G) Backspace Horizontal Tab (^I) Line Feed (^J) Vertical Tab (^K) Form Feed (^L) Carriage Return (^M) XON (DC1 or ^Q) XOFF (DC3 or ^S) Delete Cursor Up Cursor Down Cursor Right Cursor Left Clear Screen Set Timeout Delay Set Tab Spacing Cursor Home Set Cursor Position Erase to End of Screen Erase to End of Line Set Contrast Reset QTERM-II Query Version Buzzer On/Off/Beep

07h 08h 09h 0Ah 0Bh 0Ch 0Dh 11h 13h 7Fh ESC A ESC B ESC C ESC D ESC E ESC F.. ESC G.. ESC H ESC I.. ESC J ESC K ESC L.. ESC M ESC N ESC O..

LEDs On/Off/Blink/Toggle Insert/Replace Mode Auto Wrap Mode Auto Scroll Mode Auto Line Feed Mode Display Off Backlight On/Off/Toggle Query Status Query Cursor Position Query Character Scroll Down Key Repeat/Click Mode Set Cursor Mode Set Shift Mode Control dig0 and dig1 Set Buzzer Duration Set Key Click Duration Set Key Repeat Rate Set LED Blink Rate Save Parameters to EEPROM Bar Code Control Transmit Buffer Flush XON/XOFF Mode User Area Read/Write Get Free User Area

ESC P.. ESC Q.. ESC R.. ESC S.. ESC T.. ESC U ESC V.. ESC W ESC X ESC Y ESC Z ESC a.. ESC b.. ESC c.. ESC d.. ESC e.. ESC f.. ESC g.. ESC h.. ESC i ESC j.. ESC k ESC l.. ESC m.. ESC n

Carriage Return (^M) - 0Dh

Moves the cursor to left edge of the display on the current line. If auto line feed mode is on, then the cursor moves to the left edge of the next line. If auto scroll and auto line feed are both on, a carriage return on the last line will cause the display to scroll up and the cursor to be positioned at the left edge of the last line. 2.2.8

XON (^Q) - 11h

Enables the QTERM-II to transmit keys pushed after receiving an XOFF. XON is used to re-enable QTERM-II transmission after an XOFF has disabled it, allowing handshaking with the host system. 2.2.9

2.2.10 Delete - 7FH Delete works in the same way as Backspace (08h, ^H), except that characters are erased as the cursor moves over them. 2.2.11 Cursor Up - ESC A Moves the cursor up one line without changing its horizontal position. It has no effect if the cursor is on the first line. 2.2.12 Cursor Down - ESC B Moves the cursor down one line without changing its horizontal position. It has no effect if the cursor is on the last line.

XOFF (^S) - 13h 2.2.13

Disables all QTERM-II transmission except for information requested via the Query Status command (ESC W). After receiving an XOFF command, the QTERM-II stores characterstyped on the keypad in a transmit buffer. These characters will be transmitted when an XON is received. If the buffer becomes full before an XON is received, additional characters which are typed will be ignored.

Cursor Right - ESC C

Moves the cursor right one space without changing its vertical position. It has no effect if the cursor is at the rightmost position on the current line.

Beijer Electronics • Fax 801-466-8792 • Web www.beijerelectronicsinc.com • Phone 801-466-8770

Page 16

8

QTERM-II User's Manual

2.2.14 Cursor Left - ESC D

ESC G D

Moves the cursor left one space without changing its vertical position. It has no effect if the cursor is at the left-most position on the current line.

sets tab spacing to every four spaces. See Table 1-4 (at the end of this chapter) for a complete list of codes and tab spacings.

2.2.15 Clear Screen - ESC E

2.2.18 Cursor Home - ESC H

Clears the display and moves the display cursor to home (the left-most position in the top line of the display).

Moves the cursor to the home (top left) position on the display.

2.2.16 Set Timeout Delay - ESC F #

2.2.19 Set Cursor Position - ESC I # *

This sets the time after which, if no activity has occurred, the QTERM-II will automatically turn off the display (in order to save power). Once the display has been turned off, it is turned back on by either of two events:

Positions the cursor to the specified location (Figure 2-1 shows location numbering). The command has the form ESC I # *, where # sets the row and * sets the column. For example, the string

• If the operator presses a key, the display is turned back

ESC I B D on. However, the key is not transmitted to the host.

• If the host sends a command or character to the QTERM-II, the display is turned back on, and the command or character will be processed normally.

sets the cursor to row 2 (third row) and column 4 (fifth column). See Table 1-4 for a complete list of valid codes and cursor positions.

If the QTERM-II has a backlight, and it is on when the timeout occurs, the backlight is turned off along with the display. When the display is turned back on, the backlight is turned on if it was on when the timeout occurred.

2.2.20 Erase to End of Screen - ESC J

Anything displayed on the LCD screen when the timeout occurs is lost, i.e. when the display is turned back on, will be blank. Custom character definitions are not lost.

2.2.21 Erase to End of Line - ESC K

The format for this command is ESC F #, where # is a character in the range of 40h to 7Fh ('@' to DEL). 40h disables the timeout function. Other values set the timeout delay in 20 second increments, from 20 seconds through 21 minutes. See Table 1-4 (at the end of this chapter) for a complete list of codes and timeout delays. The only thing the host can do that will not turn on the display is to issue the Query Status command (ESC W). 2.2.17 Set Tab Spacing - ESC G # This sets the width of the horizontal tab columns. The command has the form ESC G #, where # is a character in the range of 40h to 53h ('@' to 'S'). 40h causes tab characters to be ignored; 41h sets tabs at every column (which causes tabs to be treated as spaces), 42h sets tabs to every second column, etc. If # is outside this range, the command sequence is ignored. For example, the three-byte command string

Erases from the current cursor position to the end of the screen. The cursor position is unchanged.

Erases all displayed characters from the current cursor position to the end of the line. The cursor position is unchanged. 2.2.22 Set Contrast - ESC L # This command sets the display contrast. It has the form ESC L #, where # is in the range of 40h to 7Fh ('@' to DEL). The smaller the ASCII value of the character, the lower the contrast. The higher the ASCII value of the character, the higher the contrast. 2.2.23 Reset QTERM-II - ESC M Resets the QTERM-II to its power-up state. This includes clearing all input and output buffers and the display, and resetting all parameters to the configuration set by the QDATA file, or a subsequent Save Parameters to EEPROM command. 2.2.24 Query Version - ESC N This tells the QTERM-II to transmit its software version to the host. The version will consist of four ASCII characters in the format vx.y, where x and y are single ASCII digits.

Beijer Electronics • Fax 801-466-8792 • Web www.beijerelectronicsinc.com • Phone 801-466-8770

Page 17

QTERM-II User's Manual 2.2.25 Buzzer On/Off/Beep - ESC O # This command controls the buzzer. It has the form ESC O #, where # is @ - turn buzzer off A - turn buzzer on B - beep for fixed duration The fixed duration beep command (ESC O B) is identical to sending a Bell command (07h, ^G). The duration used for beeping is set by the Set Buzzer Duration command (ESC e) and by the QDATA file (default is 1/2 second). 2.2.26 LEDs On/Off/Blink/Toggle - ESC P # This controls the LEDs on the QTERM-II keypad, including the shift key LED. Any of these LEDs can be set to on, off or blink (the blink rate is set in the QDATA file and by the Set LED Blink Rate command). If a shift key is used, pressing the shift key will cause the proper state of the shift LED to override whatever state is set by this command. If no shift key is used, the shift LED is controlled solely by this command. See Table 1-4 for a list of valid values for # and the effect of each such value. As an example of this command, the string ESC P R sets the second LED from the right to blink.

9 If the cursor moves past the end of the last line, and auto wrap is on, then the action depends on the auto scroll mode. If auto scroll is off, the cursor will wrap to the first position of the line, but the display will not scroll. Otherwise, the display will scroll, and the cursor will return to the first position in the last line. Valid values for # are @ - auto wrap off A - auto wrap on 2.2.29 Auto Scroll Mode - ESC S # Auto scroll mode determines what happens when the cursor moves past the end of the last line. With auto scroll off, the cursor will stay in the last position. With auto scroll on, the display scrolls (i.e., all lines move up, and the last line becomes blank), and the cursor moves to the first position in the last line. Valid values for # are @ - auto scroll off A - auto scroll on 2.2.30 Auto Line Feed Mode - ESC T # With auto line feed off, when a carriage return is received, the cursor returns to the first position in the current line. With auto line feed on, the cursor moves to the first position in the next line, i.e. it acts as if both a carriage return and a linefeed had been received.

2.2.27 Insert/Replace Mode - ESC Q # Valid values for # are In insert mode, when a character is displayed at any position on the display, all following characters are moved right one position. The character in the current cursor location is also moved before the incoming character is displayed. In delete mode, the character displayed simply over writes whatever character was there previously. Valid values for # are @ - set replace mode A - set insert mode 2.2.28 Auto Wrap Mode - ESC R # The auto wrap mode determines what happens when the cursor moves past the end of a line. With auto wrap off, the cursor stays at the last position in the line. With auto wrap on, the cursor moves down to the first position in the next line.

@ - auto line feed off A - auto line feed on 2.2.31 Display Off - ESC U This turns off the display. Once the display has been turned off, it is turned back on by either of two events:

• If the operator presses a key, the display is turned back on. However, the key is not transmitted to the host.

• If the host sends a command or character to the QTERM-II, the display is turned back on, and the command or character will be processed normally. If the QTERM-II has a backlight, and it is on when the timeout occurs, the backlight is turned off along with the display. When the display is turned back on, the backlight is turned on if it was on when the timeout occurred.

Beijer Electronics • Fax 801-466-8792 • Web www.beijerelectronicsinc.com • Phone 801-466-8770

Page 18

10

QTERM-II User's Manual

Anything displayed on the LCD screen when the timeout occurs is lost; i.e. when the display is turned back on it will be blank. Custom character definitions are not lost. The only thing the host can do that will not turn on the display is to issue the Query Status command (ESC W). The only reason to use this command is that it substantially reduces the power consumption of the QTERM-II.

Valid values for # are @ - click off, repeat off A - click off, repeat on B - click on, repeat off C - click on, repeat on

2.2.32 Backlight On/Off/Toggle - ESC V #

This command globally enables and disables the key repeat. Which specific keys repeat is defined in the QDATA file.

This command turns the backlight on and off.

2.2.38 Set Cursor Mode - ESC b #

Valid values for # are

The QTERM-II cursor can be an underline cursor, a block cursor, neither or both. When neither is selected, no cursor is visible to the user.

@ - backlight off A - backlight on B - backlight toggle 2.2.33 Query Status - ESC W The Query Status command (ESC W) returns a character indicating two things: the number of characters presently in the QTERM-II transmit buffer (0 to 15), and whether the display is on or off. Refer to Table 1-4 at the end of this chapter for the exact values returned for various conditions. This is the only command which you can send to the QTERM-II which does not cause the display to be turned back on if the display is off when this command is received.

Valid values for # are @ - block off, underline off (no cursor) A - block off, underline on B - block on, underline off C - block on, underline on 2.2.39 Set Shift Mode - ESC c # The shift key on the QTERM-II can operate in one of two ways:

• FUNCTION MODE, where the shift key stays shifted for one additional key press only

2.2.34 Query Cursor Position - ESC X Returns the cursor position as two ASCII characters. These two characters are defined in the same way as for the Set Cursor Position (ESC I) command. See Table 1-4 for a detailed listing. 2.2.35 Query Character - ESC Y Returns the character value for the character at the current cursor position. 2.2.36 Scroll Down - ESC Z This causes the top three lines on the display to move down one line. The top line is cleared, and the cursor remains at the same absolute location on the display; i.e. it does not scroll down with the text. 2.2.37 Key Click/Repeat Mode - ESC a # This selectively enables and disables both key repeat and key click. The key click duration and key click rate are set in the QDATA file.

• LOCK MODE, where the shift key stays shifted until it is pressed a second time For either mode, the shift LED can be enabled or disabled, and, if enabled, properly reflects the state of the shift key. Valid values for # are @ - function mode, shift LED enabled A - lock mode, shift LED enabled B - function mode, shift LED disabled C - lock mode, shift LED disabled Note that the shift LED enable/disable does not affect the shift operation itself, only the LED indicator. If you do not wish to have a shift key at all, you can disable the shift function by a parameter in the QDATA file. 2.2.40 Control dig0 and dig1 - ESC d # These two digital lines can be used for general control purposes, or they can be used to drive an external buzzer or horn.

Beijer Electronics • Fax 801-466-8792 • Web www.beijerelectronicsinc.com • Phone 801-466-8770

Page 19

QTERM-II User's Manual Valid values for # are @ - dig0 off (low) A - dig1 off (low) H - dig0 on (high) I - dig1 on (high) P - dig0 blink Q - dig1 blink X - dig0 buzzer Y - dig1 buzzer ' - dig0 toggle a - dig1 toggle The blink mode blinks the line at the rate defined for LED blinking in the QDATA file. The buzzer mode causes the line to go on (high) when the internal buzzer is on, and to go off (low) when the internal buzzer is off. The toggle mode reverses the current state of the line. If the line is blinking and a toggle command is sent, the line will be toggled from its current state and will remain there (i.e. it will stop blinking). 2.2.41 Set Buzzer Duration - ESC e #

11 2.2.45 Save Parameters to EEPROM - ESC i This command causes all parameters to be stored to EEPROM. Any QDATA defaults which have been modified by software commands will be replaced by their modified values. Note that the EEPROM used in the QTERM-II has a guaranteed write endurance of 10,000 write cycles. Although this is far more than most applications will ever require, if you use this command frequently in your application, you should take this endurance into consideration. 2.2.46 Bar Code Control - ESC j # This command is used to control a bar code wand (if one is installed). The bar code operation is mostly transparent to the QTERM-II: commands sent to the bar code wand are simply transmitted as received, and characters received from the bar code wand are transmitted directly to the host. The bar code serial port does not support handshaking, which requires that the host interface run at 1200 baud or faster.

This sets the duration for a "beep" command. The beep command can either be a Bell (07h, ^G) or the Buzzer On/ Off/Beep command for beep (ESC O B). The valid range for # is 41h through 7Fh ('A' to DEL). See Table 1-4 for the duration set by each character.

There are three valid values for #:

2.2.42 Set Key Click Duration - ESC f #

DISABLE RECEIVE FROM BAR CODE: if # = '@,' anything which the bar code transmits to the QTERM-II will be ignored.

This sets the length of the key click, which is actually a very short beep from the buzzer. The valid range for # is 41h through 7Fh ('A' to DEL). See Table 1-4 for the duration set by each character. Use the Key Click/-Repeat Mode command (ESC a) to disable the key click. 2.2.43 Set Key Repeat Rate - ESC g #

@ - disable receive from bar code wand A - enable receive from bar code wand B - transmit a string to the bar code wand

ENABLE RECEIVE FROM BAR CODE: if # = 'A,' anything which the bar code transmits to the QTERM-II will be transmitted to the host. Bytes are transmitted exactly as received, so the host will receive the data as if the bar code wand were transmitting directly to the host serial port.

This sets the key repeat rate. The valid range for # is 41h through 7Fh ('A' to DEL). See Table 1-4 for the rate set by each character. See the Key Click/Repeat Mode command (ESC a) to globally disable key repeats. Use the QDATA file to disable key repeats for selected keys.

TRANSMIT TO BAR CODE: if # = 'B,' then the host is transmitting a string to the bar code wand. The complete form of this command has this format:

2.2.44 Set LED Blink Rate - ESC h # where * indicates how many bytes are to follow in the '. . . .' string.

This sets the LED blink rate. The valid range for # is 41h through 7Fh ('A' to DEL). See Table 1-4 for the rate set by each code. See also LEDs On/Off/Blink (ESC P).

ESC j B * . . . .

The first four characters (ESC j B *) are not transmitted to the bar code wand; the '. . . .' string is transmitted without any modification. The character * must have a value of 41h through 7Fh ('A' to DEL), which indicates that the string will be from 1 byte

Beijer Electronics • Fax 801-466-8792 • Web www.beijerelectronicsinc.com • Phone 801-466-8770

Page 20

12

QTERM-II User's Manual to 63 bytes long. See Table 1-4 for a listing of values for * and the corresponding string length. As an example of using this QTERM-II command to send a command string to the bar code wand, assume we wish to send this string to the wand: ESC - y 4 Y F A I L (This command would tell a Hewlett-Packard SmartWand to send the string 'FAIL' if a read failure occurred.) This string is nine characters long, so the exact string to transmit to the QTERM-II would be: ESC j B I ESC - y 4 Y F A I L The first four characters tell the QTERM-II to transmit the following nine characters directly to the bar code wand.

READ DATA: if # = '@', the QTERM-II will transmit the data in the user area to the host in the following format: #.... where # is a character in the range of 40h to 7Fh, and indicates that 0 to 63 bytes of user data will follow, and '. . . .' is the corresponding number of user bytes. These bytes will be exactly what was originally stored, so they may be any 8-bit value. If # = '@' (0 bytes to follow), then there was no data stored in the user area. WRITE DATA: to write user data, use the format: ESC m A # . . . . where # is in the range of 41h to 7fh ('A' to DEL), and indicates that from 1 to 63 bytes of data are to follow, and '. . . .' are the data bytes to be stored.

2.2.47 Transmit Buffer Flush - ESC k If the host has transmitted an XOFF to the QTERM-II, and the user has pressed any keys, this command will clear the buffer, so that when the host sends XON to the QTERM-II, there will be nothing in the buffer for the QTERM-II to transmit to the host. 2.2.48 XON/XOFF Mode - ESC l # This command enables or disables the XON/XOFF operation of the QTERM-II. Valid values for # are @ - disable XON/XOFF operation A - enable XON/XOFF operation If you disable XON/XOFF operation, then any keys pressed by the user will be sent to the host immediately. If the host sends data fast enough to the QTERM-II to fill up the receive buffer, additional characters will be ignored. 2.2.49 User Area Read/Write - ESC m # This command allows you to store up to 63 bytes of your own information (such as serial numbers or parameters) in the QTERM-II nonvolatile EEPROM, then later read them from the terminal. There are two valid values for #:

These data bytes may be any 8-bit value. After the entire string has been received, the QTERM-II will respond by transmitting one character to the host: 06h - Acknowledge character (ACK), data stored propery 15h - Negative Acknowledge character (NAK), data not stored The two reasons that the data would not be stored properly are if there was not enough area to store the data, or if there was a hardware failure. See the Get Free User Area - ESC n command for more information about storage area. Refer to Table 1-4 for a complete list of values of # and the corresponding number of data bytes for both the read and write commands. 2.2.50 Get Free User Area - ESC n This command tells the QTERM-II to transmit one character to the host. This character will be in the range of 40h to 7Fh ('@' to DEL) and will indicate the total size of the user area. This will always be 63 bytes (character 7Fh), unless your QDATA file is so large that there are fewer bytes available for the user area. Note that the value returned by this command does not tell you how much more you can write to the User Area, but tells you how much total you can write to the User Area.

@ - read user data A - write user data (followed by data)

Beijer Electronics • Fax 801-466-8792 • Web www.beijerelectronicsinc.com • Phone 801-466-8770

Page 21

QTERM-II User's Manual

13

Table 1-4: Command Values for ASCII Characters. Note: the column labeled “Time” refers to several commands:

-T=duration of beep -T=duration of key click -2*T=period; 1 / (2*T) = rate -2*T=period; 1 / (2*T) = rate

Set Buzzer Duration Set Key Click Duration Set Key Repeat Rate Set LED Blink Rate Set Tab Spacing (spaces)

Query & Set Cursor Position (row col)

LEDs On/Off/Blink (led state)

Query Status (ds buf)

Time “T” (seconds)

Bar Code User Area String Length

ASCII Char

Hex Value

Decimal Value

Set Timeout Delay

@ A B

40h 41h 42h

64 65 66 disable 0:20 0:40 disable 1 2

0 1 2

0 1 2 shft 1 2 off off off on on on

0 1 2

0.05 0.10

1 2

C D E

43h 44h 45h

67 68 69

1:00 1:20 1:40

3 4 5

3

3 4 5

3 4 5 off off off on on on

3 4 5

0.15 0.20 0.25

3 4 5

F G H

46h 47h 48h

70 71 72

2:00 2:20 2:40

6 7 8

6 7 8 shft on on on on

6 7 8

0.30 0.35 0.40

6 7 8

I J K

49h 4Ah 4Bh

73 74 75

3:00 3:20 3:40

9 10 11

9 10 11

1 2 3 on on on on on on

9 10 11

0.45 0.50 0.55

9 10 11

L M N

4Ch 4Dh 4Eh

76 77 78

4:00 4:20 4:40

12 13 14

12 13 14

4 5 on on on on on

12 13 14

0.60 0.65 0.70

12 13 14

O P Q

4Fh 50h 51h

79 80 81

5:00 5:20 5:40

15 16 17

15 16 17 on

15 shft 1 blink blink

.075 0.80 0.85

15 16 17

R S T

52h 53h 54h

82 83 84

6:00 6:20 6:40

18 19

18 19

2 3 4 blink blink blink

0.90 0.95 1.00

18 19 20

U V W

55h 56h 57h

85 86 87

7:00 7:20 7:40

5 blink

1.05 1.10 1.15

21 22 23

X Y Z

58h 59h 5Ah

88 89 90

8:00 8:20 8:40 shft 1 2 toggle toggle toggle

1.20 1.25 1.30

24 25 26

[ \ ]

5Bh 5Ch 5Dh

91 92 93

9:00 9:20 9:40

3 4 5 toggle toggle toggle

1.35 1.40 1.45

27 28 29

^ _

`

5Eh 5Fh 60h

94 95 96

10:00 10:20 10:40 off

0

1.50 1.55 1.60

30 31 32 a b c

61h 62h 63h

97 98 99

11:00 11:20 11:40 off off off

1 2 3

1.65 1.70 1.75

33 34 35 continued

Beijer Electronics • Fax 801-466-8792 • Web www.beijerelectronicsinc.com • Phone 801-466-8770

Page 22

14

QTERM-II User's Manual Table 1-4: Command Values for ASCII Characters. Set Tab Spacing (spaces)

Query & Set Cursor Position (row col)

LEDs On/Off/Blink (led state)

Query Status (ds buf)

Time “T” (seconds)

Bar Code User Area String Length

ASCII Char

Hex Value

Decimal Value

Set Timeout Delay d e f

64h 65h 66h

100 101 102

12:00 12:20 12:40 off off off

4 5 6

1.80 1.85 1.90

36 37 38 g h i

67h 68h 69h

103 104 105

13:00 13:20 13:40 off off off

7 8 9

1.95 2.00 2.05

39 40 41 j k l

6Ah 6Bh 6Ch

106 107 108

14:00 14:20 14:40 off off off

10 11 12

2.10 2.15 2.20

42 43 44 m n o

6Dh 6Eh 6Fh

109 110 111

15:00 15:20 15:40 off off off

13 14 15

2.25 2.30 2.35

45 46 47 p q r

70h 71h 72h

112 113 114

16:00 16:20 16:40

2.40 2.45 2.50

48 49 50 s t u

73h 74h 75h

115 116 117

17:00 17:20 17:40

2.55 2.60 2.65

51 52 53 v w x

76h 77h 78h

118 119 120

18:00 18:20 18:40

2.70 2.75 2.80

54 55 56 y z {

79h 7Ah 7Bh

121 122 123

19:00 19:20 19:40

2.85 2.90 2.95

57 58 59

| } ~

7Ch 7Dh 7Eh

124 125 126

20:00 20:20 20:40

3.00 3.05 3.10

60 61 62 del

7Fh

127

21:00

3.15

63

Beijer Electronics • Fax 801-466-8792 • Web www.beijerelectronicsinc.com • Phone 801-466-8770