background image

18

QTERM-IV/P40 User's Manual

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

terminal, you will need an interface unit. See Chapter 1 for 
more information.

When you first run QSETUP, you will see an introductory 
screen that shows the version number. This version must
match the version of the QDATA file you are going to load. 
See the Versions section below for more information.

The next screen will give you a choice of COM ports, if 
your PC has more than one. Select the port to which you 
have connected your terminal.

3.2.1

Loading a QDATA File

To load a QDATA file from disk into the QTERM, select 
the Load QDATA menu item. You will be asked for the file 
name. Enter the file name, along with the extension, then 
press the Enter key.

QSETUP will now open the specified file, scan it for errors, 
and, if none are found, load it into the QTERM. This will 
take about 10 seconds.

If any errors are found, QSETUP will display an error mes-
sage indicating the problem. Use your editor to fix the 
problem, then try to load it again.

3.2.2

Loading a QCODE File

Also included on your distribution disk is a file called 
QCODE.V21. This is the actually microprocessor code for 
running the QTERM. If the code in the QTERM somehow 
gets corrupted, you can load this file into the terminal to get 
it running again.

If you suspect your terminal has corrupted code, call Beijer 
Electronics for technical assistance in reloading the 
QCODE file.

3.2.3

Retrieving a QDATA File

If you select the third menu item on the QSETUP menu 
screen, you will be asked for a file name into which 
QSETUP will put the retrieved QDATA information. Spec-
ify a file name that does not exist.

QSETUP will retrieve the QDATA information from your 
terminal and put it into a disk file. This file is similar to the 
default files supplied with your terminal, except for two 
changes:

The retrieved file will have no 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).

Since neither of these affects the parameter content of the 
retrieved QDATA file, this retrieved file can be down-
loaded into any QTERM without modification.

3.3

Basic QDATA File Concepts

Identifiers. The QDATA file contains “identifiers” used by 
QSETUP to determine how to configure the QTERM. 
These identifiers appear in two formats:

[....]   and   <....>

The most important rule about editing the QDATA file is: 
NEVER DELETE OR EDIT ANY OF THE IDENTIFI-
ERS, AND NEVER CHANGE THEIR ORDER!

You will edit the values assigned to the identifiers, but you 
may not edit the identifiers, delete the identifiers or change 
the order in which they appear.

Versions. You must use the same version of the QDATA 
file and the QSETUP program as the version of code in 
your QTERM.

Your QDATA version is noted in the file name exten-
sion (i.e. QDATA40.V21 is version 2.1) and is the 
first identifier in the QDATA file.

The QSETUP version is displayed on the first screen 
when you start the QSETUP program.

The version of software in your QTERM is displayed 
if you hold down any key and apply power.

If you find that you have different QDATA, QSETUP and 
QTERM code versions, contact Beijer Electronics for 
updated software and instructions. Do not attempt to use 
different versions of these items together; you will probably 
corrupt the QTERM operational code.

QDATA File Size. The QDATA file which you edit can be 
as large as you want. When QSETUP sends the QDATA 
information to the QTERM, it only sends actual parameters 
and key strings. The maximum amount of information from 
the QDATA file which can be stored by the QTERM is 
about 20 kbytes, which should be enough for even the most 
memory demanding applications.

The default QDATA files generate about 300 bytes of infor-
mation, so you can add over 19 kbytes of data to key strings 
before you exceed the 20 kbyte limit. QSETUP will tell you 
if there is too much data to be stored by the QTERM.

Содержание 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...

Отзывы: