background image

QTERM-IV/P40 User's Manual

11

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

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 tog-
gled from its current state and will remain there (i.e., it will 
stop blinking).

2.2.41

Set Buzzer Duration - 

]

 e #

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 (

]

 O B). The valid range for # 

is 41h through 7Fh (“A” to DEL). See Table 1-2 for the 
duration set by each character.

2.2.42

Set Key Click Duration - 

]

 f #

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-2 for the dura-
tion set by each character. Use the Key Click/-Repeat Mode
command (

]

 a) to disable the key click.

2.2.43

Set Key Repeat Rate - 

]

 g #

This sets the key repeat rate. The valid range for # is 41h 
through 7Fh (“A” to DEL). See Table 1-2 for the rate set by 
each character. See the Key Click/Repeat Mode command 
(

]

 a) to globally disable key repeats. Use the QDATA file 

to disable key repeats for selected keys.

2.2.44

Set LED Blink Rate - 

]

 h #

This sets the LED blink rate and the PENDING mode LCD 
flash rate. The LEDs and the LCD flash at the same rate.. 
The valid range for # is 41h through 7Fh (“A” to DEL). See 
Table 1-2 for the rate set by each code. See also LEDs On/
Off/Blink
  (

]

 P). See Chapter 5 for more information on 

PENDING mode.

2.2.45

Save Parameters to EEPROM - 

]

 i

This command causes all parameters to be stored to 
EEPROM. Any QDATA defaults which have been modi-
fied by software commands will be replaced by their modi-
fied values.

Note that the EEPROM used in the QTERM has a guaran-
teed 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

Auxiliary Serial Port Control - 

]

 j #

This command is used to control the auxiliary serial port, if 
one is installed. The Auxiliary Port operation is mostly 
transparent to the QTERM: data sent to the Auxiliary Port 
is simply transmitted as received, and data received from 
theAuxiliary Port is transmitted directly to the host. The 
Auxiliary serial port does not support handshaking, which 
requires that the host interface run at 1200 baud or faster.

The are three valid values for #:

@ -

 disable receive from auxiliary port

A -

 enable receive from auxiliary port

B -

 transmit a string to the auxiliary port

DISABLE RECEIVE FROM AUXILIARY PORT: if # = 
“@”, anything which the auxiliary port receives will be 
ignored.

ENABLE RECEIVE FROM AUXILIARY PORT: if # = “A”, 
anything which is received by the auxiliary port will be 
transmitted to the host. Bytes are transmitted exactly as 
received, so the host will receive the data as if the device 
connected to the auxiliary port was transmitting directly to 
the host serial port.

TRANSMIT TO AUXILIARY PORT: if # = “B”, then the 
host is transmitting data to the auxiliary port. The complete 
form of this command has this format:

]

 j B * . . . .

where * indicates how many bytes are to follow in the 
“. . . .” string.

The first four characters (

]

 j B *) are not transmitted to the 

auxiliary port; 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 
to 63 bytes long. See Table 1-2 for a listing of values for * 
and the corresponding string length.

As an example of using this QTERM command, consider 
the situation where a Hewlett-Packard SmartWand bar-
code reader is connected to the Auxiliary Port. To send a 

Содержание QTERM-IV

Страница 1: ...UAL REVISION 10 BEIJER ELECTRONICS 2212 South West Temple 50 Salt Lake City Utah 84115 2648 USA Phone 801 466 8770 Fax 801 466 8792 Email info beijerelectronicsinc com Web http www beijerelectronicsin...

Страница 2: ...s Fax 801 466 8792 Web www beijerelectronicsinc com Phone 801 466 8770 9241E2 Printed in USA Copyright Beijer Electronics 2011 QTERM QTERM IV QTERM P40 QCODE QDATA QSETUP and QDEMO are trademarks of B...

Страница 3: ...limits are designed to provide reasonable protection against harmful interference when the equipment is operated in a commercial environment This equipment generates uses and can radiate radio freque...

Страница 4: ...iv QTERM IV P40 User s Manual Beijer Electronics Fax 801 466 8792 Web www beijerelectronicsinc com Phone 801 466 8770...

Страница 5: ...art If you wish to start using your QTERM immediately this chapter will show you how to con nect to the terminal and how to run the example software Chapter 2 QTERM Software This chapter provides a de...

Страница 6: ...8 QTERM IV P40 User s Manual Beijer Electronics Fax 801 466 8792 Web www beijerelectronicsinc com Phone 801 466 8770...

Страница 7: ...r Up A 7 2 2 12 Cursor Down B 7 2 2 13 Cursor Right C 7 2 2 14 Cursor Left D 7 2 2 15 Clear Screen E 7 2 2 16 Set Timeout Delay F 7 2 2 17 Set Tab Spacing G 8 2 2 18 Cursor Home H 8 2 2 19 Set Cursor...

Страница 8: ...QDATA File Concepts 20 3 5 1 String Terminology 20 3 5 2 String Concepts 21 3 5 3 String Definitions 21 3 5 4 String Examples 22 3 6 Custom Display Characters 22 CHAPTER 4 QTERM SERIAL MODES 25 4 1 S...

Страница 9: ...5 7 The EEPROM Disable Jumper 37 5 5 8 Adding Another PC Board 37 5 6 QTERM IV Specifications 37 CHAPTER 6 QTERM P40 HARDWARE 41 6 1 Panel Mount QTERM P40 41 6 2 Interfaces 41 6 2 1 EIA 232 Interface...

Страница 10: ...12 QTERM IV P40 User s Manual Beijer Electronics Fax 801 466 8792 Web www beijerelectronicsinc com Phone 801 466 8770...

Страница 11: ...up follow these steps Hold down any key and apply power to the QTERM you do not need to connect the transmit and receive lines The version of software in the QTERM will be dis played as long as you ho...

Страница 12: ...do not need to connect a power supply just install six alkaline AA batter ies in the battery compartment 1 4 Communicate At this point characters which are transmitted by the host will be displayed o...

Страница 13: ...hen a key is pressed or to mod ify the eight custom characters is by modifying and downloading the QDATA file Chapter 3 shows how to modify this file and how to load it into your QTERM There are also...

Страница 14: ...4 QTERM IV P40 User s Manual Beijer Electronics Fax 801 466 8792 Web www beijerelectronicsinc com Phone 801 466 8770...

Страница 15: ...ill 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 r...

Страница 16: ...control the QTERM using software commands Table 2 1 lists the commands available Each command is discussed in detail below and a command summary including execution times is given in Appendix C The n...

Страница 17: ...oves 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 car...

Страница 18: ...sets tab spacing to every four spaces See Table 1 2 at the end of this chapter for a complete list of codes and tab spacings 2 2 18 Cursor Home H Moves the cursor to the home top left position on the...

Страница 19: ...croll 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 S Auto scroll mode determines what happens when the cu...

Страница 20: ...ey click The key click duration and key click rate are set in the QDATA file Valid values for are click off repeat off A click off repeat on B click on repeat off C click on repeat on This command glo...

Страница 21: ...QDATA defaults which have been modi fied by software commands will be replaced by their modi fied values Note that the EEPROM used in the QTERM has a guaran teed write endurance of 10 000 write cycles...

Страница 22: ...n the range of 41h to 47h and is the cor responding 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 da...

Страница 23: ...s you to execute any of the 48 macro strings defined in the QDATA file see Chapter 3 for more information on using the QDATA file Since macro strings can contain commands to the QTERM data for the hos...

Страница 24: ...62h 63h 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 disable 0 20 0 40 1 00 1 20 1 40 2 00 2 20 2 40 3 00 3 20 3 40 4 00 4 20 4 40 5 00...

Страница 25: ...79h 7Ah 7Bh 7Ch 7Dh 7Eh 7Fh 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 12 00 12 20 12 40 13 00 13 20 13 40 14 00 14 20 14 40 15 00...

Страница 26: ...16 QTERM IV P40 User s Manual Beijer Electronics Fax 801 466 8792 Web www beijerelectronicsinc com Phone 801 466 8770...

Страница 27: ...t ware version represented by Version x y For example QDATA24 V21 would be the QDATA file for a 24 key QTERM with version 2 1 QCODE You will only need to use the QDATA file that matches the hardware o...

Страница 28: ...comments in it The retrieved file will have exactly one identifier per line so it will have many more lines than the default QDATA file which puts several identifiers on one line in the key sections S...

Страница 29: ...hese numbers are always positive integer numbers within the range specified by the comments Hexadecimal con stants start with the letter x Decimal and hexadecimal constants are equivalent use whicheve...

Страница 30: ...Macros and Event Triggered Strings This is the last section of the QDATA file and contains macro strings and strings that get executed according to certain events The following section explains these...

Страница 31: ...and of string execution apply to all references to strings on the QTERM key strings executed when a key is pressed key release strings executed when a key is released macro strings executed when a th...

Страница 32: ...follows k00 Entering Menu L 27 p If the user presses this key which we might want labeled MENU on the graphic overlay the QTERM will send the string Entering Menu to the host and then execute Macro 00...

Страница 33: ...r Electronics Fax 801 466 8792 Web www beijerelectronicsinc com Phone 801 466 8770 Default dot patterns and character assignments for all eight custom characters are shown in the chart in Appendix B F...

Страница 34: ...24 QTERM IV P40 User s Manual Beijer Electronics Fax 801 466 8792 Web www beijerelectronicsinc com Phone 801 466 8770...

Страница 35: ...ior to trans mission without host intervention In Block Mode all communication between the Host and the QTERM is done with data packets A valid Block Mode data packet consists of a data portion follow...

Страница 36: ...equires the QTERM to return query data For example if the host sends a packet containing only display data to the QTERM the data portion of the QTERM response packet will contain only an ASCII ACK or...

Страница 37: ...TX buffer k Backspace Delete and Cursor Left will only move the cur sor left to the start of the EDIT buffer Home Cursor homes the cursor to the start of the EDIT buffer and Flush TX Buffer clears the...

Страница 38: ...as a command to accept a speed param eter Then the default EOP Terminator x0D is encountered so sp is sent to the host Remember the prefix is sent to the host in a packet which is terminated by the E...

Страница 39: ...ep tion of the last byte of an incoming packet to when the ter minal switches on its transmitter to send a response packet This time is programmable on the QTERM via a setting in the QDATA file BROADC...

Страница 40: ...byte Unit Address Each QTERM attached to a multidrop net work must have a unique address from 01 to 99 This address can be set either during power on setup or by a QDATA download To send a packet to...

Страница 41: ...and The host must send a packet containing the Query Buffer command to receive the contents of the QTERM s EDIT buffer When the QTERM receives the Query Buffer command its EDIT buffer will be transmit...

Страница 42: ...32 QTERM IV P40 User s Manual Beijer Electronics Fax 801 466 8792 Web www beijerelectronicsinc com Phone 801 466 8770...

Страница 43: ...switched from one end of the housing to the other The pin assignments for the connectors for each of the available interfaces are shown in Table 5 1 The lines dig0 and dig1 are discussed in section 5...

Страница 44: ...mount QTERM IV connector are shown in Table 5 1 the lines dig0 and dig1 are discussed in section 5 5 3 The connector pin numbering is shown in Figure 5 3 5 4 Interfaces 5 4 1 EIA 232 Interface With pr...

Страница 45: ...s can be displayed Hosts which transmit 8 bit data can also display an additional 64 characters including Greek letters katakana characters non English alphabetic characters and math symbols Appendix...

Страница 46: ...ion due to lack of connector pins Software commands can be used to set these lines high or low or to have one or both function as an external buzzer or horn signal Both lines are 74HC bus driver outpu...

Страница 47: ...t want the EEPROM to be modified under any conditions move this jumper from the enable to the disable position This will prevent any writes to the EEPROM including downloading of QCODE or QDATA files...

Страница 48: ...nge 20 to 70 C Storage temperature all components 40 to 85 C Maximum humidity range all components 0 to 95 non condensing Operating voltage range without regulator option 4 8 to 5 5 volts Operating vo...

Страница 49: ...s COM Ports with DB25 Male Connectors COM Ports with DB9 Male Connectors Pin Function Pin Function 2 PC transmit 1 CD 3 PC receive 2 PC receive 5 CTS 3 PC transmit 6 DSR 5 ground 7 ground 6 DSR 8 CD 8...

Страница 50: ...40 QTERM IV P40 User s Manual Beijer Electronics Fax 801 466 8792 Web www beijerelectronicsinc com Phone 801 466 8770...

Страница 51: ...ached before inserting the termi nal into the panel Once the brackets have been installed the terminal is inserted into the panel and the brackets are slid outward Then the screws are tightened and th...

Страница 52: ...the resistor is to be soldered in Do not attempt to remove the PC board from the case For volume orders Beijer Electronics can supply the QTERM IV with this resistor installed 6 2 3 5 volt Buffered In...

Страница 53: ...value it can receive Note that the ASCII portion of the chart the first 128 characters is similar but not identical to the true ASCII chart shown in Appendix A 6 3 2 Keypad The lower right key on both...

Страница 54: ...n The QTERM P40 has a built in 5 volt regulator This allows the QTERM P40 to be operated from a 5 5 to a 24 volt SELV DC source The power supply should have a current limit on its output of 5 Amperes...

Страница 55: ...Specifications Table 6 3 lists various specifications for the QTERM P40 Note that all components of the QTERM P40 other than the display will operate over the industrial temperature range of 40 to 85...

Страница 56: ...46 QTERM IV P40 User s Manual Beijer Electronics Fax 801 466 8792 Web www beijerelectronicsinc com Phone 801 466 8770...

Страница 57: ...DIX A ASCI ICHART NUL blank SOH start of header STX start of text ETX end of text EOT end of transmission ENQ enquiry ACK acknowledge BEL bell BS backspace HT horizontal tab LF line feed VT vertical t...

Страница 58: ...48 QTERM IV P40 User s Manual Beijer Electronics Fax 801 466 8792 Web www beijerelectronicsinc com Phone 801 466 8770...

Страница 59: ...igned are defined in the QDATA file see Chapter 3 The following restrictions apply to assigning the codes Custom characters may not be mapped to any code from 07h through 1Bh inclusive This includes t...

Страница 60: ...3 4 2 1 0 3 0 1 2 4 5 6 A 7 8 9 B C D F E 1 1 1 1 1 1 1 1 1 1 1 3 3 3 3 3 3 3 3 3 3 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 Notes and are on the previous page 50 QTERM IV P40 User s M...

Страница 61: ...so it is impossible to give exact figures Command String Timing ms Notes Parameters display character 0 7 14 0 37 0 typical in replace mode typical in insert mode worst case in insert mode Bell G 07H...

Страница 62: ...l On Off Blink Toggle P 1 2 to U see Table 1 2 Insert Replace Mode Q 1 2 set replace mode A set insert mode Auto Wrap Mode R 1 2 auto wrap off A auto wrap on Auto Scroll Mode S 1 2 auto scroll off A a...

Страница 63: ...Set LED Blink Rate h 1 2 see Table 1 2 Save Parameters to EEPROM i 6 0 see note in section 2 2 45 Auxiliary Port Control j 1 2 1 2 disable receive from Auxiliary Port A enable receive from Auxiliary...

Страница 64: ...54 QTERM IV P40 User s Manual Beijer Electronics Fax 801 466 8792 Web www beijerelectronicsinc com Phone 801 466 8770...

Отзывы: