Home

QTERM-B30 User`s Manual Revision 3

image

Contents

1. auto wrap off A auto wrap on 2 2 26 Auto Scroll Mode 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 every lines moves 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 27 Auto Line Feed Mode T OTERM B30 User s Manual Table 2 2 Cursor Position and Query Status Characters Query amp Set Cursor Query Position Status row col ASCII Hex Decimal CADNMAPWNK c A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 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 Valid values for are auto line feed off A auto line feed on 2 2 28 Backlight On Off Toggle V QSI Corporation e 2212 South West Temple 50 e Salt Lake City Utah 84115 2648 e USA Fax 801 466 8792 e Email infoQqsicorp com e Web www qsicorp com e Phone 801 466 8770 OTERM B30 User s Manual This command turns the backlight on and off Valid values for are backlight off
2. Cursor Down Cursor Right Cursor Left Command 07H 08H 09H OAH OBH OCH ODH 11H 13H 7FH ESCA ESC B ESC C ESC D String 0 8 0 8 0 8 0 8 0 4 0 4 1 2 0 8 0 8 0 8 0 8 Timing ms execution time so it is impossible to give exact figures Notes amp Parameters typical max 1 1 ms worst case up to 35 ms if auto scroll is on same as line feed same as line feed up to 35 ms if auto scroll is on Notes amp Parameters QSI Corporation e 2212 South West Temple 50 e Salt Lake City Utah 84115 2648 e USA Fax 801 466 8792 e Email info qsicorp com e Web www gsicorp com e Phone 801 466 8770 Clear Screen Cursor Home Set Cursor Position Erase to End of Screen Erase to End of Line Set Contrast Reset Terminal Ouery Version Buzzer On Off Beep LEDs On Off Auto Wrap Mode Auto Scroll Mode Auto Line Feed Mode Display Backlight On Off Query Status Command ESCE ESCH ESCI ESCJ ESC K ESC L ESC M ESC N ESC O ESC P ESC R ESC S ESC T ESC V ESC W 4 4 3 7 1 5 6 0 12 0 18 0 24 0 3 0 1 2 300 0 0 5 1 2 1 2 1 2 1 2 1 2 1 2 0 5 OTERM B30 User s Manual toC forrow0to3 OtoS forcolumn 0 to 19 if cursor is on row 3 if cursor is on row 2 if cursor is on row 1 if cursor is on row 0 typical maximum cursor in column 0 to DEL for lightest to darkest time to load cha
3. This is an abbreviated summary of QTERM B30 software commands Please note that throughout this manual the character represents the ESCAPE character or ASCII 1Bh QSI Corporation e 2212 South West Temple 50 e Salt Lake City Utah 84115 2648 e USA Fax 801 466 8792 e Email infoQqsicorp com e Web www qsicorp com e Phone 801 466 8770 OTERM B30 User s Manual QSI Corporation e 2212 South West Temple 50 e Salt Lake City Utah 84115 2648 e USA Fax 801 466 8792 e Email infoQqsicorp com e Web www qsicorp com e Phone 801 466 8770 CONTENTS CHAPTER 1 QUICK START niji cs ise hb Dh deeds ih Ed GA PR Re adj ai A p DE e Ee HE RS Tide Poweron Setup o or tee e e oh kes z Die evi ket no bd dene keg kb PEPERIT ken eee 1 2 Connect the Communications Lines Ge e sl tk kek kw ak ka a kw a a ka ak ka a ka a n ka a n kn koka na 132 Apply POWER visite en eet da epe e P EEG PPS e PE I pu ode E des L4 Communicate r ye ll ata il V eR RUP ITA Ve VW UP S UE VR a pe 1 57 RunungJDEBMO ihi pni A A P RIP HERPES dee RI A p pue CHAPTER 2 QTERM B30 SOFTWARE rrr 24 Operations aie ei ei see RE I EDU We I ERE CENE pye A di Me SR EO eaten 2 1 1 Handshaking wt A HEIDE NE ed Vibe E EMO ETE RAICES 2 1 2 Commands vs Default Parameters a 2 2 SSoftware Commands vr veo ACC p Uer E Nd a en Bans diei Teese ve p TE 2 2 iBelt Gys07h oL rece tbv et UOCE DA pie MAD eo Ee dekwa ae A E 2 2 2 Backspace H 08H xe du
4. by the user will be sent to the host immediately If the host sends data fast enough to the QTERM B30 to fill up the receive buffer additional characters will be ignored 2 2 38 User Area Read Write m This command allows you to store your own information such as serial numbers or parameters in the QTERM nonvolatile EEPROM then later read them from the terminal There are two valid values for ff QSI Corporation e 2212 South West Temple 50 e Salt Lake City Utah 84115 2648 e USA Fax 801 466 8792 e Email infoQqsicorp com e Web www qsicorp com e Phone 801 466 8770 read user data A write user data followed by data The OTERM B30 can store a maximum of 16 bytes in the user data area READ DATA if the QTERM 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 50h and indicates that 0 to 16 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 EmAH where is in the range of 41h to 50h A to P and indicates that from 1 to 16 bytes of data are to follow and are the data bytes to be stored These data bytes may be any 8 bit value After the entire string has been r
5. Restore Factory Defaults software command r This will return all the parameters to the original factory default except for baud rate and data format QSI Corporation e 2212 South West Temple 50 e Salt Lake City Utah 84115 2648 e USA Fax 801 466 8792 e Email info qsicorp com e Web www qsicorp com e Phone 801 466 8770 10 OTERM B30 User s Manual QSI Corporation e 2212 South West Temple 50 e Salt Lake City Utah 84115 2648 e USA Fax 801 466 8792 e Email infoQqsicorp com e Web www qsicorp com e Phone 801 466 8770 Chapter 4 OTERM B30 HARDWARE 4 1 QTERM B30 Terminal The dimensions of the QTERM B30 terminal are shown in Figure 4 1 This figure also shows the standard keypad legend for the keys The housing is cast from aluminum and is coated with a durable black powder coat paint The housing is not waterproof but it can be subjected to moderate rain or splash without harm The QTERM B30 terminal uses a 9 pin D connector exiting from the rear of the housing Figure 4 2 The pin assignments for the connector for each of the available interfaces are shown in Table 4 1 Figure 4 2 shows the location of the connector on the QTERM B30 For reference Table 4 4 at the end of this chapter shows the pin assignments used by the COM ports on PC style computers for both 25 pin and 9 pin D connectors 4 2 Interfaces 4 2 1 EIA 232 Interface With proper cables and good grounding the EIA 232 interface on the Q
6. the form Z where sets the row and sets the column For example the string IBD sets the cursor to row 2 third row and column 4 fifth column See Table 2 2 for a complete list of valid codes and cursor positions Note that rows are numbered 0 to 3 starting at the top and columns are numbered 0 to 39 starting at the left 2 2 18 Erase to End of Screen J Erases from the current cursor position to the end of the screen The cursor position is unchanged 2 2 19 Erase to End of Line K Erases all displayed characters from the current cursor position to the end of the line The cursor position is unchanged 2 2 20 Set Contrast L This command sets the display contrast It has the form L 4 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 21 Reset Terminal M Resets the QTERM B30 to its power up state This includes clearing all input and output buffers and the display and resetting all parameters to the default configuration 2 2 22 Query Version N This tells the QTERM B30 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 2 2 23 Buzzer On Off Beep O This command controls the buzzer It has the form O whe
7. the left half of this chart is similar to the ASCII chart in Appendix A there are differences QSI Corporation e 2212 South West Temple 50 e Salt Lake City Utah 84115 2648 e USA Fax 801 466 8792 e Email infoQqsicorp com e Web www qsicorp com e Phone 801 466 8770 Most Significant Digit hex Pm V iz Noun SD om m z e igni Least S MESA ECHES ES HEN ESMAS ST SA ESA e 9 9 a No tes and are on the previous page QSI Corporation e 2212 South West Temple 50 e Salt Lake City Utah 84115 2648 e USA Fax 801 466 8792 e Email infoQqsicorp com e Web www qsicorp com e Phone 801 466 8770 APPENDIX C QTERM B30 COMMAND SUMMARY This appendix is an abbreviated summary of all of the mand parameter is out of the valid range the QTERM B30 available QTERM B30 software commands More detailed ignores the entire command descriptions of the commands are in Chapter 3 Note that the timing shown for the execution of the various Refer to Table 2 2 for a complete list of acceptable parameter commands is only approximate Many factors can affect the values for applicable commands If a com Command display character Bell G Backspace H Horizontal Tab I Line Feed J Vertical Tab K Form Feed L Carriage Return M XON Q XOFF 5 Delete Cursor Up
8. 2 1 Setting Parameters There are two different ways to change the parameters of your QTERM B30 and make them permanent You can send software commands as described in chapter 2 and then save the setting to EEPROM using the Save Parameters to EEPROM command 1 You can store the commands necessary to change the parameters in a data file and load the data file into the terminal using JSETUP The rest of this chapter deals with using JSETUP to configure your terminal 3 22 Using JSETUP to Change Parameters JSETUP is a program that is included with this manual on a PC compatible disk With JSETUP it is possible to change some of the terminal parameters and use the new values as the power up default values JSETUP works by reading the parameter values from an ASCII text file this file s extension must be DAT A default example of this data file called CONFIG DAT is included with JSETUP on the floppy disk This file contains some ASCII strings that will be sent to the terminal which are actually software commands These commands can be edited before running JSETUP to allow you to set some parameter values of the terminal 3 2 3 Modifying the Data File Using a standard DOS text file editor you can edit the CONFIG DAT file You can also change the name of the file as long as it retains the DAT extension Any line beginning with a semi colon will be ignored as a comment Each line in the data file will be sent to the
9. A backlight on B backlight toggle 2 2 29 Query Status W The Query Status command W returns a character indicating the number of characters presently inthe QTERM B30 transmit buffer 0 to 20 Table 2 2 shows what character is returned for each number of characters in the transmit buffer 2 2 30 Query Cursor Position X Returns the cursor position as two ASCII characters These two characters are defined in the same way as for the Set Cursor Position I command See Table 2 2 for a detailed listing 2 2 31 Query Character Y Returns the character value for the character at the current cursor position 2 2 32 Key Click Repeat Mode a This selectively enables and disables both key repeat and key click Valid values for are click off repeat off A click off repeat on B click on repeat off C click on repeat on Key clicks are 50 ms long the key repeat rate is ten per second 2 2 33 Set Cursor Mode b The QTERM B30 cursor can be an underline cursor a block cursor neither or both When neither is selected no cursor is visible to the user Valid values for are 2 block off underline off no cursor A block off underline on B block on underline off C block on underline on 2 2 34 Set Shift Mode Ec The shift key on the OTERM B30 can operate in one of two ways 7 e FUNCTION MODE where the shift key stays shifted for one additional key press only e
10. EMO program Follow the on screen instructions to demonstrate the use of some of the features of the QTERM B30 terminal JDEMO will allow you to exercise many of the features of the OTERM B30 It includes a terminal emulator so that you can also communicate directly with the terminal QSI Corporation e 2212 South West Temple 50 e Salt Lake City Utah 84115 2648 e USA Fax 801 466 8792 e Email infoQqsicorp com e Web www qsicorp com e Phone 801 466 8770 Chapter 2 OTERM B30 SOFTWARE 2 1 Operation The operation of the OTERM B30 is guite simple e Power is applied to the OTERM B30 Commands or data can be transmitted to the QTERM B30 Commands are executed as required data is displayed e Whenakeyis pressed the QTERM B30 transmits the appropriate character to the host The QTERM B30 has many additional capabilities which are accessed using software commands from the host which are described in this chapter 2 1 1 Handshaking The QTERM B30 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 hand shaking to make optimal use of the QTERM B30 s capabilities The OTERM B30 s transmit buffer 20 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 B30 13h The QTERM J10 starts plac
11. LOCK MODE where the shift key stays shifted until it is pressed a second time To indicate shift status the cursor will change to a blinking block when shifted and go back to current cursor status when not shifted For either mode this indicator can be enabled or disabled and if enabled properly reflects the state of the shift key Valid values for are 2 function mode shift indicator enabled A lock mode shift indicator enabled B function mode shift indicator disabled C lock mode shift indicator disabled Note that the shift indicator does not affect the shift operation itself only the status indicator Also note that any time you are using the blinking block cursor the shift indicator will not be available 2 2 35 Save Configuration to EEPROM i This command causes all parameter values to be stored to EEPROM Any existing parameter values in the EEPROM will be overwritten 2 2 56 Transmit Buffer Flush k If the host has transmitted an XOFF to the QTERM B30 and the user has pressed any keys this command will clear the buffer so that when the host sends XON to the QTERM B30 there will be nothing in the buffer for the QTERM B30 to transmit to the host 2 2 37 XON XOFF Mode 1 This command enables or disables the XON XOFF operation of the QTERM B30 The valid values for are disable XON XOFF operation A enable XON XOFF operation If you disable XON XOFF operation then any keys pressed
12. M01 010 00 Rev 3 OTERM B30 User s Manual Revision 3 QSI CORPORATION 2212 South West Temple 50 Salt Lake City Utah 84115 2648 USA Phone 801 466 8770 Fax 801 466 8792 Email info qsicorp com Web www qsicorp com 8311E2 Printed in USA O Copyright OSI Corporation 1997 2009 OTERM OTERM B30 JSETUP and JDEMO are trademarks of OSI Corporation Manual Updated 15 October 2009 FCC COMPLIANCE STATEMENT This device complies with part 15 of the FCC Rules Operation is subject to the following two conditions 1 This device may not cause harmful interference and 2 this device must accept any interference received including interference that may cause undesired operation This equipment has been tested and found to comply with the limits for a Class A digital device pursuant to part 15 of the FCC Rules These 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 frequency energy and if not installed and used in accordance with the instruction manual may cause harmful interference to radio communications Operation of this equipment in a residential area is likely to cause harmful interference in which case the user will be required to correct the interference at his own expense Any modification to this device including any changes to the recommended antenna configuration that are not ex
13. 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 4 4 Keypad The OTERM B30 comes with a 55 key membrane keypad utilizing poly dome keys for long life and tactile feedback to the operator When each key is pressed the QTERM B30 will send one or two ASCII characters through the serial interface Function keys such as Fl F10 and the arrow keys do not have an ASCII printable equivalent so instead they will send a function code 01h followed by the key value Table 4 3 lists the values assigned to each key which has a special non printable equivalent Software commands allow you to control both key clicks on or off and key repeat on or off 4 5 Keypad Backlight Table 4 1 QTERM B30 Pin Assignments QTERM B30 EIA 232 9 pin D Function no connection transmit receive ground no connection OTERM B30 User s Manual i 10 32 x long studs 9 pin D output Figure 4 2 QTERM B30 back panel The QTERM B30 keypad comes with an optional keypad backlight which consists of a mat of optical fibers This backlight uses high brightness LEDs which are software controlled and activated simultaneously with the LCD display backlight 4 6 LEDs The QTERM B30 has four LEDs on the front which shine through holes in a black overlay This allows the customer to specify a custom logo and LED labe
14. TERM B30 can communicate up to about 15 metres The QTERM B30 does not monitor or control any of the EIA 232 modem control lines such as RTS and DTS Handshaking between the host and the OTERM B30 is done using software XON XOFF commands The XON XOFF operation can be disabled via software commands if you do not wish to have it operate JEJE ADODODO ap ooD na uoooacuu 2000000 Fe F7 Fa Pl Fo Pf rio ce Fa JL 02 JU rs JE Fra J rs A 6 Figure 4 1 Dimensions of the OTERM B30 v EL B El 1 QSI Corporation e 2212 South West Temple 50 e Salt Lake City Utah 84115 2648 e USA Fax 801 466 8792 e Email infoQqsicorp com e Web www qsicorp com e Phone 801 466 8770 12 4 2 2 EIA 422 Interface With proper cables and grounding the EIA 422 interface can communicate up to a distance of about 1 000 meters The EIA 422 version of the QTERM B30 uses four communication lines and two power lines 4 3 LCD Display The QTERM B30 display is a 4 line by 40 character super twist backlit LCD unit The entire 128 byte ASCII character set 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 B is a chart which shows what the QTERM B30 does with every possible 8 bit value it can receive
15. ade kte e la a usd p E as d 8 CHAPTER 3 USING JDEMO AND JSETUP HH e 11 5 JDEMO n diu EEUU ee ee ae etnies PURI CORP de LS LE RU ET aU 11 39 2 JSERPRUP ER O GE CREDE ea en a IQ e CEA Tue GAP SR sip FOR AU 11 3221 Settings Parameters o Euer Wee vadum v eH EE SE I 11 3 2 2 Using JSETUP to Change Parameters 11 3 2 3 Modifying the Data Fil i cote eee eee e ee ee pr e net 11 3 2 4 Running JSETUP eere neue ee ee eee x te TA e ele Wee 11 CHAPTER 4 OTERM B30 HARDWARE o ooooo ahhh 13 4 OTERM B30 Terminal reo ERR Co OL RN OA RS CUR ERA UR PR us 13 ADs o SInterfaces ai ee ood sch Ct v FO e afe ERE E ie Che NA EU 13 42 1 BIA 232 Interface 2356 6 an e INC oe Ee POSEE 13 42 2 BIA 422 Interface secu REUS DEBES MESOLREM VISCREN MIS Shigeo Seje zra 14 43 JEGD Display irre See ose PUE PD WE dH RE MN HS HERE ES kiti 14 AAS Keypad Mn tants ee kate boa ae bek eb eb be A ele te Moj bitte que pU ER PEE RESET 14 4 5 Keypad Backhght cotas pije bre A Ne RIS eee pra DLP DITS 14 76 1 A D ai eet jade ot dee AN PO acl ii 14 4 ABRUZZO AE RO E O Shh oble bi NO A eet EE vene ted EM ore W bb Boe 15 4 8 Voltage Regulator eee dent reye A RET obe vabo Gai 15 49 QTERM B30 Specifications elle ee 15 APPENDIX A ASCII CHART rp ba oa a Ce a aa pc e sue Gite 17 APPENDIX B OTERM B30 CHARACTER CHART Lel l lel err kn ka n n ka na k
16. cal Tab K Form Feed L Carriage Return M XON DCI or Q XOFF DC3 or S Delete Cursor Up Cursor Down Cursor Right Cursor Left Clear Screen Cursor Home Set Cursor Position Erase to End of Screen Erase to End of Line Set Contrast OTERM B30 User s Manual Command Query Version Buzzer On Off Beep LEDs On Off Auto Wrap Mode Auto Scroll Mode Auto Line Feed Mode Backlight On Off Toggle Query Status Query Cursor Position Query Character Key Repeat Click Mode Set Cursor Mode Set Shift Mode Save Config to EEPROM Transmit Buffer Flush XON XOFF Mode User Area Read Write Restore Default Parameters Verify Manufacturer I D Bytes Power On Setup Mode Reset Terminal On Off Beep command 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 tab spacing is every four columns 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 wil
17. e e o Ere NH RP RUE T NEN ecce e e WE 23 3 Horizontal Tab D 09h ce ce d Rb Rr ER HY RE Rb RT EET an 2 24 Emne Feed ONF 0A 2 e Liu ub RSS SL a E UU V 22 5 Wert calTab K 0Bh i oua pen eb eee EA WARE VU obese eee 22 6 Form Feed AL OCH Liu yb USD EPIO p ae acu US bU a 2 27 Carnage Return M 0D o UR eee RR a RR ce GC EORR ee 2 28 NON CO STI hi A CC RR RA FAC ERE tu E IA ed te 2 2 07 NORBE 5S IA e SRL AB foh o RE B NC Reve 22310 Delete 10 00 220i EL C SAL eh n Edit A RE Rcge 2 2 T E Cursor Up EA uvaja re ve ata ee De IVO TREES bakes E PSU pP VERIS 22 12 CUrsOr DOWN Boni ine ajte lan type kte ee ehh bata RUD EIE RESPON IS E RIS 2 2 13 Cursor Raght EC pepe eee brase ne DS REV MUSO ENS ROS CEENVMES PUES le DEI ES ER 2 27 14 Cursor Lete DI Ek sse reet metn p REP SLUT RUD EISE MESS Bee hele IE S 2 2 15 A E Bi ob Rl ere Me Ee eee A 2 2 16 Cursor Home amp H tai ja ei Eee erede pe e er ed Roe gone 2 2 17 Set Cursor Position ETHE 2 2 18 Erase to End of Screen J LLLL eer 2 2 19 Erase to End of Line K ii in aie Pr A Ee NO E Ox XY FI 2 2 20 Set Contrast ELA saae si bein eave ok Meese Pe Sal ike ee eg dej aper s CE Y rece 2 2 2 Reset Terminal Min ii ne A A 2 2 22 Query Version EN uni ve aS Ee ee ee a oe doe Nae ec ME Ro dre 2 2 23 Buzzer On Off Beep OF vi cues ae See tpe eR Rp vey f
18. eR 23 24 LEDS On Off SE PH tc noo atr t a a gc sape 2 2 25 Auto WrapMode Rf ion sues npe ape Aa rege ee eres 2 2 26 Auto Scroll Mode S 4 LLLL eee hr 2 2 27 Auto Line Feed Mode ETH L LLL ee hr 2 2 28 Backlight On Off Toggle VA llle m ee en 2 2 20 Query Status W cos sioe E M OLPC DER HS CUNT RU RIDES 2 2 30 Query Cursor Position Xo ee ee ee ee ee 2 2 31 Query Character Y i e UA T esee e ER Mese a ee 2 2 32 Key Click Repeat Mode a 2 2 33 Set Cursor Mode 7E bi xi S Ec eR RR NER E REN E 2 2 34 Set Shift Moder SicH eser ia LES e E Ub sensu ek e eed 2 2 35 Save Configuration to EEPROM amp i lslsesseee lele lele lele eee ene QSI Corporation e 2212 South West Temple 50 e Salt Lake City Utah 84115 2648 e USA Fax 801 466 8792 e Email infoQqsicorp com e Web www qsicorp com e Phone 801 466 8770 OTERM B30 User s Manual 2 2 36 Transmit Buffer Flush k eeee e eee e eras 7 2 2 37 XON XOFFE Mode Va jc ii ai e ep ENS 8 2 2 38 User Area Read Write m hr n nan 8 2 2 39 Restore Default Parameters Er 8 2 2 40 Verify Manufacturer ID Bytes uH 8 2 2 41 Power On Setup Mode EX e 8 2 3 Default Configuration og E oki e ee d
19. eceived the QTERM will respond by transmitting one character to the host 06h Acknowledge character ACK data stored properly 15h Negative Acknowledge character NAK data not stored The only reason that the data would not be stored properly is 1f there was a hardware failure 2 2 39 Restore Default Parameters r This command will load a set of factory default values for all parameters except baud rate and data format into memory and write them to EEPROM making them the current power up settings see section 2 3 for a list of the factory defaults 2 2 40 Verify Manufacturer I D Bytes u This command is used to verify a set of identification bytes which are pre programmed into the terminal at the factory and can be any two bytes When ordering a QTERM B30 from the factory the customer is given the option to use this feature and will be assigned a two byte identification code When this command is sent along with two bytes the terminal will compare them to its internally stored byte pair and respond with one of the following OTERM B30 User s Manual 06h Acknowledge character ACK I D bytes match 15h Negative Acknowledge character NAK I D bytes do not match 2 2 41 Power On Setup Mode x This command can be used to enable or disable the power on setup feature In some cases it may be desirable to disable the power on setup in order to protect the current baud rate and data
20. format settings from being changed by the user Valid values for are fully enable power on setup A Allow contrast adjustment but do not allow baud rate and data format adjustment B disable entire power on setup 2 3 Default Configuration The default configuration of the OTERM B30 is as follows operates at 9600 baud 8 data bits 1 stop bit no parity key click is on key repeat is enabled cursor is a line e XON XOFF is enabled power on setup is fully enabled e shift mode is lock backlight is off e shift indicator is enabled contrast is set to optimal for a 90 viewing angle auto wrap is on auto scroll is on auto line feed is on QSI Corporation e 2212 South West Temple 50 e Salt Lake City Utah 84115 2648 e USA Fax 801 466 8792 e Email infoQqsicorp com e Web www qsicorp com e Phone 801 466 8770 Chapter 3 UsiNG JDEMO AND JSETUP 3 1 JDEMO On the disk that accompanies this manual you will find a file called JDEMO EXE This program will demonstrate some of the features of the OTERM B30 When you execute this file your OTERM B30 should be connected to a COM port on your PC JDEMO will display a list of COM ports so that you can specify which COM port you are using Then you will select the baud rate and data format the same way Once you are done with the setup menus then JDEMO will display a menu of the features that can be demonstrated 3 2 JSETUP 3
21. h 09h 01h 3Fh 20h 01h 40h 0Dh Olh 41h 01h 3Bh 01h 42h 01h 3Ch 01h 43h 01h 3Dh Oth 44h GSI Corporation e 2212 South West Temple 50 e Salt Lake City Utah 84115 2648 e USA Fax 801 466 8792 e Email info qsicorp com e Web www gsicorp com e Phone 801 466 8770 14 OTERM B30 User s Manual Table 4 4 Pin assignments for PC Style COM Ports COM Ports with Male COM Ports with Male 25 Pin D Connectors 9 pin D Connectors Pin Function Pin Function PC transmit CD PC receive PC receive CTS PC transmit DSR ground ground DSR CD CTS RI RI These lines normally can be left unconnected Some PCs may require that one or more of them be pulled to 5 volts through a pullup resistor about 300 ohms QSI Corporation e 2212 South West Temple 50 e Salt Lake City Utah 84115 2648 e USA Fax 801 466 8792 e Email info qsicorp com e Web www qsicorp com e Phone 801 466 8770 APPENDIX A ASCII CHART NUL z blank Most Significant Digit hex SOH start of header STX start of text 5 6 ETX end of text EOT end of transmission ENQ enquiry ACK z acknowledge BEL bell BS lt backspace HT horizontal tab LF line feed VT vertical tab FE lt form feed CR carriage return SO shift out SI shift in SP lt space DLE data link escape DCI device control 1 XON DC2 device control 2 DC3 device control 3 XOFF DC4 device control 4 NAK negative acknowledge SYN synchronizatio
22. ing characters into the transmit buffer rather than transmitting them When the host is ready to receive characters it sends an XON character 11h at which time the QTERM B30 will start transmitting the characters in the buffer The QTERM B30 s receive buffer is large enough to accept a maximum of 32 characters or software commands However some operations can take a longer time to execute such as scrolling the entire screen up one line In this case the QTERM B30 will send an XOFF to the host when it has only eight bytes empty in its buffer When it has processed input data to the point that the buffer only has eight bytes used it will send an XON and the host can resume transmit ting XON XOFF handshaking can also be disabled by software command 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 B30 s receive buffer The two easiest ways to do this are to use a slower baud rate which gives the QTERM B30 more time to process each byte or add delays to your code after each write to the QTERM B30 2 1 2 Commands vs Default Parameters There are numerous parameters which can be changed by software commands For example key repeat can be disabled by the Key Repeat Click On Off command Once a parameter has been changed by a software command it does not get stored in EEPROM therefore when power is turned off the new value is lost and when the termina
23. l 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 2 2 7 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 B30 to transmit keys pushed after receiving an XOFF XON is used to re enable QTERM B30 transmission after an XOFF has disabled it allowing QSI Corporation e 2212 South West Temple 50 e Salt Lake City Utah 84115 2648 e USA Fax 801 466 8792 e Email infoQqsicorp com e Web www qsicorp com e Phone 801 466 8770 OTERM B30 User s Manual handshaking with the host system 2 2 9 XOFF 4S 13h Disables all QTERM B30 transmission except for information requested
24. l is turned on again the default parameter value is re loaded If you wish to have the parameter value permanently stored and used at power up you can use the Save Configuration to EEPROM command This saves all currently set parameters to the EEPROM which makes them the current power on defaults If you wish to return to the factory default settings for all parameters you can use the Restore Factory Defaults command This will reset all parameters except baud rate and data format to a pre defined default value and also store these values in EEPROM as the current power on defaults 2 2 Software Commands Once you have your host communicating with your QTERM B30 you can program your host to control the QTERM B30 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 notation in this chapter always means the one byte ASCII escape character 1Bh lt 27 decimal 22 1 Bell G 07h This causes the buzzer to beep for one half second Note that sending this command is identical to sending the Buzzer QSI Corporation e 2212 South West Temple 50 e Salt Lake City Utah 84115 2648 e USA Fax 801 466 8792 e Email info qsicorp com e Web www qsicorp com e Phone 801 466 8770 4 Table 2 1 QTERM B30 Software Commands Command Bell G Backspace H Horizontal Tab I Line Feed J Verti
25. ls to be printed by QSI before the unit is shipped to the customer There are three green LEDs and one red LED These LEDs are QTERM B30 EIA 422 Function transmit transmit receive ground receive GSI Corporation e 2212 South West Temple 50 e Salt Lake City Utah 84115 2648 e USA Fax 801 466 8792 e Email infoQqsicorp com e Web www qsicorp com e Phone 801 466 8770 OTERM B30 User s Manual software controlled i e they can be turned on and off by the host computer The red LED can also be modified to be used as an actual power indicator contact QSI for more information on this modification 4 7 Buzzer The OTERM B30 includes an audio buzzer which is used for key clicks and for beeping in response to a bell character G 07h Table 4 3 Key Assignments ASCII Codes 1Bh 01h 4Bh 01h 4Dh 01h 48h 01h 50h 01h 49h Oth 51h 13 4 8 Voltage Regulator The standard QTERM B30 requires a 5 volt regulated power source An optional regulator allows the OTERM B30 to be operated from a 7 5 volt to 24 volt DC source 4 9 OTERM B30 Specifications Environmental characteristics of the OTERM B30 are 0 to 50 C operating temperature range e 40 to 85 C storage temperature range 0 to 9596 non condensing humidity range Table 4 2 QTERM B30 Current Consumption mA Version EIA 232 version EIA 422 version Add for backlight Add for regulator ASCII Codes ASCII Codes 7Fh 01h 3E
26. n ETB end of text block CAN cancel EM end of medium SUB substitute ESC escape FS file separator GS group separator RS record separator US unit separator DEL delete rubout AR e 5 DL om m Jal S a eR O MCN DD nA BIG NIK O igni Least S mi Hi galw lel olallai Aa elne gt LAA IN IX KM S CQ nula Z O v Olz g IT Aj zZlojsajm olal wle QSI Corporation e 2212 South West Temple 50 e Salt Lake City Utah 84115 2648 e USA Fax 801 466 8792 e Email infoQqsicorp com e Web www gsicorp com e Phone 801 466 8770 16 OTERM B30 User s Manual QSI Corporation e 2212 South West Temple 50 e Salt Lake City Utah 84115 2648 e USA Fax 801 466 8792 e Email infoQqsicorp com e Web www qsicorp com e Phone 801 466 8770 APPENDIX B QTERM B30 CHARACTER CHART The chart on the next page shows how the QTERM B30 Other notations in the chart are responds to each of the 256 possible values of characters which it can receive BEL bell beep command BS backspace Where a dot pattern is shown sending the corresponding HT horizontal tab code will cause the QTERM B30 to display the dot pattern at LF line feed the current cursor location CR carriage return XON XON character Numbers in circles refer to these notes XOFF XOFF character ESC escape character These bytes are always ignored DEL delete character This is a space character Note that although
27. n underline on AW gt e nQU 96 function mode shift indicator enabled lock mode shift indicator enabled function mode shift indicator disabled lock mode shift indicator disabled AwW gt e disable XON XOFF operation A enable XON XOFF operation timing depends on baud rate and are the bytes you want to compare Power on setup fully enabled A Only contrast adjustment allowed B Power on setup fully disabled QSI Corporation e 2212 South West Temple 50 e Salt Lake City Utah 84115 2648 e USA Fax 801 466 8792 e Email info qsicorp com e Web www gsicorp com e Phone 801 466 8770 22 OTERM B30 User s Manual QSI Corporation e 2212 South West Temple 50 e Salt Lake City Utah 84115 2648 e USA Fax 801 466 8792 e Email infoQqsicorp com e Web www qsicorp com e Phone 801 466 8770
28. n 19 APPENDIX C QTERM B30 COMMAND SUMMARY 21 QSI Corporation e 2212 South West Temple 50 e Salt Lake City Utah 84115 2648 e USA Fax 801 466 8792 e Email infoQqsicorp com e Web www qsicorp com e Phone 801 466 8770 Chapter 1 QUICK START There are only four steps reguired to communicate with the OTERM B30 use Power on Setup to set the display contrast baud rate and data format e connect to your host transmit receive and ground lines apply power transmit and receive with the QTERM B30 1 1 Power on Setup The Power on Setup procedure is used to configure the QTERM B30 s display contrast baud rate and data format You use three different QTERM B30 keys to do this configuration Figure 1 1 l thisis the up key 2 thisis the down key 3 thisis the enter key To perform the Power on Setup follow these steps e Disconnect the power supply to the QTERM B30 e Hold down any key and apply power to the QTERM B30 you do not need to connect the transmit and receive lines The version of software in the OTERM B30 will be displayed for a few seconds after which you can adjust the display contrast e Setthe desired display contrast using the up and down keys When the display is at a contrast you like press the enter key Setthe desired baud rate using the up and down keys When the desired baud rate is displayed press the enter key Set the desired data format using the up and do
29. pressly approved by QSI could void the user s authority to operate this device FOREWORD The OSI Corporation OTERM B30 is a data entry terminal for industrial applications The QTERM B30 is available with several options this manual discusses all versions and their operations The sections of this manual are Chapter 1 Chapter 2 Chapter 3 Chapter 4 Appendix A Appendix B Appendix C Quick Start If you wish to start using your QTERM B30 immediately this chapter will show you how to connect to the terminal and how to run the example software QTERM B30 Software This chapter provides a detailed listing of the QTERM B30 commands and discusses how to use them Using JDEMO and JSETUP This chapter describes how to use the JDEMO program to demonstrate some of the features of the OTERM B30 and using the JSETUP program to set basic terminal parameters such as key click and auto wrap so that they become permanent power up defaults QTERM B30 Hardware This chapter discusses the hardware of the QTERM B30 including dimensional drawings interface specifications connector pin assignments and environmental specifications ASCII Chart This is a true 7 bit ASCII chart along with mnemonic definitions OTERM B30 Character Chart This is a 256 character chart showing how the QTERM B30 handles every character it receives The lower half is similar to but not the same as the true ASCII chart in Appendix A QTERM B30 Command Summary
30. racters into transmit buffer turn buzzer off A turn buzzer on B beep for 2 second LED 1 off LED off LED3 off LED4 off LED1 on LED2 on LED3 on LED4 on auto wrap off auto wrap on auto scroll off auto scroll on auto line feed off auto line feed on e gt O PO A mow eE backlight off backlight on backlight toggle Il w gt time to load characters into transmit buffer see Table 2 2 for returned values Notes amp Parameters QSI Corporation e 2212 South West Temple 50 e Salt Lake City Utah 84115 2648 e USA Fax 801 466 8792 e Email info qsicorp com e Web www gsicorp com e Phone 801 466 8770 OTERM B30 User s Manual Query Cursor Position Query Character Key Repeat Click Mode Set Cursor Mode Set Shift Mode Save Configuration to EEPROM Transmit Buffer Flush XON XOFF Mode User Area Read Write Restore Default Parameters Verify manufacturer I D Power On Setup Mode ESC X ESC Y ESC a ESC b ESC c ESC i ESC k ESC 1 ESC m ESC r ESC u ESC x 0 5 0 5 1 2 1 2 1 2 6 0 1 2 1 2 3 0 2 0 1 2 21 time to load characters into transmit buffer see Table 2 2 for returned values time to load character into transmit buffer click off repeat off click off repeat on click on repeat off click on repeat on block off underline off no cursor block off underline on block on underline off block o
31. re is 9 turn buzzer off A turn buzzer on B beep for second The fixed duration beep command ESC O B is identical to QSI Corporation e 2212 South West Temple 50 e Salt Lake City Utah 84115 2648 e USA Fax 801 466 8792 e Email infoQqsicorp com e Web www qsicorp com e Phone 801 466 8770 6 sending a Bell command 07h G 2 2 24 LEDs On Off P This controls the LEDs on the front panel These LEDs are numbered 1 4 from left to right LED1 is colored red and LEDs 2 4 are green Any of these LEDs can be set to on or off Optionally LED 1 the red one can be hard wired to the power supply to be used as a power on indicator The valid values for are turn LED 1 off turn LED2 off turn LED3 off turn LED4 off turn LED 1 on turn LED2 on turn LED3 on turn LED4 on R TOw gt E 2 2 25 Auto Wrap Mode ER 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 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
32. terminal exactly as it is typed with the following exceptions The character is represented by esc Any hex value can be sent using the brackets to enclose the value such as lt x0D gt for a carriage return When you are done editing the data file save it to disk 3 2 4 Running JSETUP To run JSETUP first you must connect your terminal to your PC s COM port and supply power to it If you do not have an EIA 232 QTERM B30 you will need an interface unit See Chapter 1 for more information on powering your terminal and communicating with it When you are ready to configure your terminal run the JSETUP EXE program You will have the option to select the COM port to which your terminal is connected as well as the baud rate and data format if needed When you select the upload option JSETUP will ask you for the file name of the data file you wish to use Type in the filename but do not type the DAT extension JSETUP will then read the text from the data file and send it to the terminal When JSETUP is done you will return to the main menu At this point your terminal is done being configured and you can exit the program If the very last command in your data file is the lt esc gt i command then the settings that were programmed into the terminal will now remain as the new defaults every time the terminal is powered up If you wish to restore the terminal to its original factory default configuration you can issue the
33. upplied to the QTERM B30 must be from an SELV power source and should have a current limit on its output of 5 Amperes If you did not order the regulator option the supply to the OTERM B30 must provide a minimum of 4 75 volts DC and be limited to a maximum of 5 25 volts DC If you did order the regulator option the supply to the OTERM 30 must provide a minimum of 7 5 volts DC and be limited to a maximum of 24 volts DC Limiting may be inherent to the supply or may be provided by supplementary overcurrent devices om o If the OTERM B30 does not respond or exhibits abnormal behavior on power up disconnect power and contact OSI for technical support 1 4 Communicate At this point characters which are transmitted by the host will be displayed on the OTERM B30 display If you press keys on the keypad the OTERM B30 will transmit the appropriate codes to the host computer Any software commands sent by the host will be processed by the OTERM B30 1 5 Running JDEMO power To demonstrate some of the features of the OTERM B30 run the JDEMO program that is included with this manual Connect your OTERM B30 to the serial COM port on an IBM style PC If you have an EIA 422 QTERM you will need to provide an interface unit such as QST s QCOM 2 you cannot directly connect an EIA 422 OTERM to the COM port on an IBM style computer e Copy the file JDEMO EXE to your hard disk Apply power to the QTERM B30 e Run the JD
34. via the Query Status command ESC W After receiving an XOFF command the QTERM B30 stores characters typed 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 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 A Moves the cursor up one line without changing its horizontal position Has no effect if the cursor is on the first line 2 2 12 Cursor Down B Moves the cursor down one line without changing its horizontal position Has no effect if the cursor is on the last line 2 2 13 Cursor Right C Moves the cursor right one space without changing its vertical position Has no effect if the cursor is at the right most position on the current line 2 414 Cursor Left D Moves the cursor left one space without changing its vertical position Has no effect if the cursor is at the left most position on the current line 22 15 Clear Screen E Clears the display and moves the display cursor to home the left most position in the top line of the display 2 2 16 Cursor Home H Moves the cursor to the home top left position on the display 2 2 17 Set Cursor Position I Positions the cursor to the specified location The command has
35. wn keys When the desired data format is displayed press the enter key 1 2 Connect the Communications Lines The EIA 232 device has one transmit and one receive line while the EIA 422 device has two transmit and two receive lines Figure 1 1 shows the connector pin assignments for the QTERM B30 Table 1 1 lists the pin assignments The receive and transmit directions shown in the table are with respect to the OTERM B30 Refer to this figure or table to connect your host communications lines to the correct pins If you are using an IBM style PC you cannot connect an EIA 422 QTERM B30 directly to the computer s COM port you must provide an interface device 1 3 Apply Power Table 1 1 shows the pin assignments for the power and ground lines Connect your DC power supply to the Female 9 Pin D Figure 1 1 QTERM B30 Connector Pin Assignments QSI Corporation e 2212 South West Temple 50 e Salt Lake City Utah 84115 2648 e USA Fax 801 466 8792 e Email info qsicorp com e Web www qsicorp com e Phone 801 466 8770 2 Table 1 1 QTERM B30 Pin Assignments QTERM B30 EIA 232 9 pin D Function no connection transmit receive no connection ground no connection no connection no connection OTERM B30 User s Manual OTERM B30 EIA 422 Function transmit transmit receive no connection ground receive no connection no connection 1 2 3 4 3 6 7 8 9 power appropriate two pins WARNING Power s

Download Pdf Manuals

image

Related Search

Related Contents

ID:webArchive 3.4.1 User Manual  American Standard Ariana Soap Dish 6095 User's Manual  LF564  Présentation du produit  9 - Datos técnicos  Cisco Systems 611 User's Manual  Manuale dell`operatore Z-80 60  染色浸透探傷剤 レッドマーク  

Copyright © All rights reserved.
Failed to retrieve file