background image

QTERM-IV/P40 User's Manual

45

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

6.3.8

The Emergency Stop Switch

The QTERM-P40 has an optional Emergency Stop Switch 
(E-stop) that can be used for triggering some external event 
or device. This switch is a push-once, twist to reset, mush-
room shaped switch mounted on the front lower left side of 
the terminal.

Connection to the E-stop switch is made through the inter-
face connectors on the back of the QTERM-P40. The DB9 
connector has leads for the common and normally closed 
switch contacts. The 10-pin terminal strip has leads for the 
common, normally closed and normally open switch con-
tacts (see Table 6-1 for pin designations). This switch is 
rated for a maximum of 1 amp at 30VDC.

6.4

QTERM-P40 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 °C. Table 6-4 lists current consumption 
of the various versions of the QTERM-P40.

Table 6-3: Environmental and Power 

Specifications.

Parameter

Limits

Operating Temperature Range
  (except for display)

-40 to 85°C

Standard/Backlit Display usable
  temperature range

-10 to 60°C

Storage temperature,
  all components

-40 to 85°C

Maximum humidity
  range, all components

0 to 95%,
non-condensing

Operating voltage range,
  with regulator disabled

4.8 to 5.5 volts

Operating voltage range,
  with regulator enabled

5.5 to 24 volts

Table 6-4: QTERM-P40 Current 

Consumption (mA).

Version

Ireg
Active

Ireg
Disp Off

EIA-232 version
5-volt Buffered
version
EIA-422 version

Add for backlight 
(when on)
Add for each LED on 
keypad (when on)
Add for regulator
Add for bar code wand 
(w/o wand)

25
22

22

150

4

1
3

15
12

12

-

4

1
3

Summary of Contents for QTERM-IV

Page 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...

Page 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...

Page 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...

Page 4: ...iv QTERM IV P40 User s Manual Beijer Electronics Fax 801 466 8792 Web www beijerelectronicsinc com Phone 801 466 8770...

Page 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...

Page 6: ...8 QTERM IV P40 User s Manual Beijer Electronics Fax 801 466 8792 Web www beijerelectronicsinc com Phone 801 466 8770...

Page 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...

Page 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...

Page 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...

Page 10: ...12 QTERM IV P40 User s Manual Beijer Electronics Fax 801 466 8792 Web www beijerelectronicsinc com Phone 801 466 8770...

Page 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...

Page 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...

Page 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...

Page 14: ...4 QTERM IV P40 User s Manual Beijer Electronics Fax 801 466 8792 Web www beijerelectronicsinc com Phone 801 466 8770...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 26: ...16 QTERM IV P40 User s Manual Beijer Electronics Fax 801 466 8792 Web www beijerelectronicsinc com Phone 801 466 8770...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 34: ...24 QTERM IV P40 User s Manual Beijer Electronics Fax 801 466 8792 Web www beijerelectronicsinc com Phone 801 466 8770...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 42: ...32 QTERM IV P40 User s Manual Beijer Electronics Fax 801 466 8792 Web www beijerelectronicsinc com Phone 801 466 8770...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 50: ...40 QTERM IV P40 User s Manual Beijer Electronics Fax 801 466 8792 Web www beijerelectronicsinc com Phone 801 466 8770...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 56: ...46 QTERM IV P40 User s Manual Beijer Electronics Fax 801 466 8792 Web www beijerelectronicsinc com Phone 801 466 8770...

Page 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...

Page 58: ...48 QTERM IV P40 User s Manual Beijer Electronics Fax 801 466 8792 Web www beijerelectronicsinc com Phone 801 466 8770...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 64: ...54 QTERM IV P40 User s Manual Beijer Electronics Fax 801 466 8792 Web www beijerelectronicsinc com Phone 801 466 8770...

Reviews: