background image

3-19

7&602'(&200$1'6

TCS Mode commands set or reset one or more TCS modes. The TCS Mode commands are:

 

Reset Mode (Remote)

 

Set Mode (Remote)

These commands are described in detail in the following pages. For ease of reference, each
command description begin on a new page.

NOTE

Where applicable, command names are followed by the appropriate mnemonic. Mnemonics in square

brackets [] are ANSI-specified commands. Mnemonics in braces {} are ANSI-compatible, TCS-private

commands. Mnemonics in parentheses () are ANSI-compatible, DEC- private commands.

Summary of Contents for Dynapro ET TCS

Page 1: ......

Page 2: ...n RPSOLDQFH Warning This equipment has been tested and found to comply with the limits for a Class A digital device pursuant to Part 15 of FCC Rules These limits are designed to provide reasonable pro...

Page 3: ...5 to 25 8SGDWH 6HWXS 3DUDPHWHU KDQJH This complements the information supplied in the ErgoTouch TCS Installation Guide Second Edition December 1994 This information was originally published as Documen...

Page 4: ...3 2 CHARACTER SETS 3 2 Control Codes 3 2 Graphic Codes 3 4 TCS COMMANDS 3 5 TYPES OF COMMANDS 3 5 Local Commands 3 5 Remote Commands 3 6 Local Remote Commands 3 6 CONTROL STRINGS 3 7 Simple Escape Se...

Page 5: ...REEN COMMANDS 4 10 Setup Lockout Mode Command FSULM Remote 4 11 Save Setup Command FSSU Local Remote 4 12 Recall Setup Command FRSU Local Remote 4 13 Reset Command RIS Local Remote 4 14 COMMUNICATION...

Page 6: ...idth Line Command DECDWL Remote 5 46 Display Double Size Line Command DECDHL Remote 5 47 Place Double Size Line Command FDSL Remote 5 48 Display Normal Line Command DECSWL Remote 5 50 Draw Bar for Bar...

Page 7: ...Read Touchkey Status Command FRTKS Remote 6 20 Extended Report Mode Command FERM Remote 6 22 Touch Panel Lockout Mode Command FTLM Remote 6 24 REGION COMMANDS 6 25 Color Features 6 25 Outline a Touchk...

Page 8: ...1 Continuous Integrity Test Command FClT Local Remote 8 12 Request ROM Test Report Command FRRTR Remote 8 14 Request Nonvolatile Memory Test Report Command FRETR Remote 8 15 Request RAM Test Report Co...

Page 9: ...Commands D 13 Interaction Between the Conceal Attribute and Commands that Modify Attributes D 14 Editing a Stored Screen with the Select Screen Command D 15 Mapping Character Fonts D 16 Interaction Be...

Page 10: ...rmat Effectors 5 4 Table 5 2 Typical Screen Storage Capacity 5 6 Table 5 3 Default Values of Screen Dependent Items 5 9 Table 5 4 Code Values Corresponding to Character Positions 5 30 Table 5 5 Standa...

Page 11: ...2 Table C 1 Static ASCII Character Font C 2 Table C 2 Static Special Character Font C 3 Table C 3 Consequences of Changing the Static ASCII Character Font PROM C 5 Table C 4 Consequences of Changing t...

Page 12: ...tions 5 29 Figure 5 5 Character Font Copy Operations 5 34 Figure 5 6 Example Custom Character Design 5 37 Figure 5 7 Dividing the Character into Sixels 5 38 Figure 5 8 Encoding the Sixels 5 40 Figure...

Page 13: ...durability of TCS makes it appropriate for use in a variety of rugged environments HDWXUHV Features of the TCS include the following 6RIWZDUH Line attributes that can be selected by the user normal d...

Page 14: ...e the power is off 96 kilobytes of user random access memory RAM for storing frequently used screens and two dynamic character fonts Test Screen for user selected testing of the electronics the displa...

Page 15: ...cate the binary state either zero or one of each bit 7UDQVPLWWHG DWD Data bits are sent between the TCS and host in groups of seven or eight bits Each group of data bits constitutes one code and the T...

Page 16: ...and 19200 baud The TCS sends and receives data at the same rate For example the TCS cannot be set to transmit data at 9600 baud and receive data at 1200 baud The baud rate is selected by the user thr...

Page 17: ...et the requirements of various host computers and interfaces the TCS can use either one or two stop bits The number of stop bits is selected by the user through the Setup Screen Instructions for selec...

Page 18: ...Parity Enable and Parity Sense the parity bit can be used in five ways as shown in Table 2 2 Instructions for setting the Parity Enable and Parity Sense parameters are provided in the Installation Gu...

Page 19: ...HG DV D SDULW HUURU 3 2Q 2GG 3DULW FKHFNLQJ DQG JHQHUDWLRQ DUH HQDEOHG 7KH 7 6 WUDQVPLWV RGG SDULW GDWD E DSSHQGLQJ D SDULW ELW DQG H SHFWV UHFHLYHG GDWD WR KDYH RGG SDULW I WKH 7 6 UHFHLYHV GDWD WKDW...

Page 20: ...each carried on balanced lines The RS 232 E standard prescribes signal types signal levels and the control signals that establish communication between devices in this case the host and the TCS The R...

Page 21: ...roduction of the standard more ways of using RS 232 E have been developed For example instead of using telephone lines a specially wired cable called a null modem cable can be used to directly link tw...

Page 22: ...p to ignore this signal in 3 wire systems Data Terminal Ready CD Output Data Terminal Ready DTR is switched on by the TCS as soon as the power up sequence and self tests are concluded DTR remains on a...

Page 23: ...features of RS 422 but also allows up to 32 drivers and receivers to exist on the same communication link RS 485 by nature will only support half duplex communications When using RS 485 the balanced T...

Page 24: ...single mnemonic character OE is displayed and the code that overran the previous code is interpreted normally Parity Error A Parity Error occurs when a code is received with an incorrect parity When a...

Page 25: ...s the TCS for two way communication and the TCS input buffer is 75 or more full This applies when a TCS not addressed by two way communication is addressed individually or when TCS is addressed in a b...

Page 26: ...OFF code or both When XON XOFF mode is off the host stalls the TCS by turning the CTS line off To improve performance the TCS uses a two character transmit buffer Upon receiving a stall signal from th...

Page 27: ...efer to the command lookup tables in Appendix B 5 7 16 67 1 5 6 The TCS conforms to the following standards for representing characters and controls ANSI X3 4 1977 American National Standard Code for...

Page 28: ...The host and the TCS can thereby send each other any of 256 possible codes decimal 0 through 255 Of these 256 codes ANSI has designated 66 as control codes and 190 as graphic codes 5 7 5 6 76 The TCS...

Page 29: ...WR QH W WDE LQH HHG 3HUIRUPV D OLQH IHHG 97 9HUWLFDO 7DE 3HUIRUPV D YHUWLFDO WDE RUP HHG 3HUIRUPV D IRUP IHHG 5 DUULDJH 5HWXUQ 3HUIRUPV D FDUULDJH UHWXUQ 62 6KLIW 2XW 6HOHFWV W KDUDFWHU 6HW 6 6KLIW Q...

Page 30: ...s characters in locations that correspond to control codes these characters cannot be directly displayed This is because the corresponding communication code will be interpreted as a control code sinc...

Page 31: ...haracter attributes move the cursor and delete text from the display If the user also has access to the Setup Screen the commands enable the user to do several functions such as change the Setup Scree...

Page 32: ...ommand in Chapter 4 There are two types of remote commands control codes and control strings Control codes are described at the beginning of this chapter A control string is a sequence of codes beginn...

Page 33: ...ample Ps Numeric and selective parameters are discussed more fully later in this chapter The specific parameters for each command are described in the detailed command descriptions in Chapter 5 The co...

Page 34: ...private command code and optional parameters If used the private command code identifies the control sequence as a privately interpreted ANSI compatible control sequence The private command code is e...

Page 35: ...l sequence in which case the parameter assumes its default value For example consider the Scrolling Region command The Scrolling Region command which is fully documented in Chapter 5 is a control sequ...

Page 36: ...ters are ignored For example consider the Set Character Attributes command The Set Character Attributes command is a control sequence containing selective parameters that select the visual attributes...

Page 37: ...ng can be canceled before the entire string is sent by sending either a CAN or SUB code to the TCS Either code causes the TCS to ignore all previously received codes up to and including the previous E...

Page 38: ...send the control string ESC 2J which clears the TCS display Example using BASIC ES CHR 27 PRINT 1 ES 2J Example using C printf 033 2J 7DEOH RQGLWLRQ IRU FFHSWDQFH RI HUWDLQ RQWURO RGHV ZLWKLQ RQWURO 6...

Page 39: ...wer loss history Self test results Table 3 4 summarizes the commands the host can send to query the status of the TCS Table 3 4 also shows the status reports sent by the TCS in response to the host s...

Page 40: ...RZHU 6WDWXV FRPPDQG KHFNV IRU SRZHU ORVV VLQFH ODVW LQTXLU 6 Q 1R SRZHU ORVV KDV RFFXUUHG 6 Q 3RZHU ORVV KDV RFFXUUHG I WKH 3RZHU 8S QWHUUXSW 0RGH LV VHW WKLV VHTXHQFH LV VHQW DV QFKURQRXVO 6 3N Q 5HD...

Page 41: ...DQG IDLOHG 3IDLO WLPHV 7KH PRVW UHFHQW VXP LQ HUURU LV 3VXP 6 Q 5HTXHVW 5 0 7HVW 5HSRUW FRPPDQG 5HTXHVWV 5 0 WHVW UHVXOWV 6 3ORRSV 3IDLO 3DGGU 3HUURU 3KLVWRU Q 5 0 WHVWHG 3ORRSV WLPHV DQG IDLOHG 3IDLO...

Page 42: ...3 16 7DEOH 6XPPDU RI 6WDWXV 4XHULHV DQG 5HSRUWV FRQWLQXHG 267 200 1 7 6 5 63216 0 1 1 6 3VFU Q 5HDG 6FUHHQ LVWHQFH RPPDQG 6 Q 6FUHHQ 3VFU GRHV QRW H LVW 6 Q 6FUHHQ 3VFU GRHV H LVW...

Page 43: ...l mode commands or in combination using the Set Mode command or the Reset Mode command For example the Send Receive Mode and the New Line Mode both of which are ANSI specified modes can be set using t...

Page 44: ...RGH 1 0 5HPRWH 3RZHU 8S QWHUUXSW 0RGH 38 0 5HPRWH 6HWXS RFNRXW 0RGH 68 0 5HPRWH WHQGHG 5HSRUW 0RGH 50 5HPRWH UURU QWHUUXSW 0RGH 0 5HPRWH 227127 6 16 VSHFLILHG PRGHV DUH VHW DQG UHVHW E WKH IROORZLQJ F...

Page 45: ...in detail in the following pages For ease of reference each command description begin on a new page NOTE Where applicable command names are followed by the appropriate mnemonic Mnemonics in square br...

Page 46: ...es ESC Ps Ps l for TCS private modes Ps is a selective parameter that determines which mode or modes are to be reset Table 3 5 shows the value of this parameter for each mode NOTE The Final code for t...

Page 47: ...SI specified modes Keyboard Lockout Mode KAM and Send Receive Mode SRM ESC 5 l Resets the DEC private mode Screen Background Mode DECSCNM ESC 3 1l Resets the TCS private modes NOCHANGE Attribute Mode...

Page 48: ...C private modes ESC Ps Ps h for TCS private modes Ps is a selective parameter that determines which mode or modes are to be set Table 3 5 shows the value of this parameter for each mode The Final code...

Page 49: ...SC 20h Sets the ANSI specified mode New Line Mode LNM ESC 7h Sets the DEC private mode Auto Wrap Around Mode DECAWM ESC 4 5h Sets the TCS private modes Power Up Interrupt Mode FPUIM and Setup Lockout...

Page 50: ...ht basic colors has an associated highlight color which is generally a lighter or brighter version of the basic color When the highlight attribute is selected using the Set Character Attributes comman...

Page 51: ...area Concealed characters can be made visible again by sending the Reverse Character Attributes in a Region command to turn off the conceal attribute See Region Commands in Section 6 5HDGLQJ D KDUDFWH...

Page 52: ...nication requirements selecting whether the TCS accepts remote commands from the host computer or keyboard clearing user inputs 7 6 81 7 21 92 7 7 Table 4 1 provides an overview of the volatility of T...

Page 53: ...DVW VDYHG DVW VDYHG 7UDQVPLW 0RGH 1RUPDO DVW VDYHG DVW VDYHG 6WDOO 8QVWDOO 8QVWDOOHG 8QVWDOOHG 8QFKDQJHG UURU QWHUUXSW 0RGH 2II 2II 8QFKDQJHG 3RZHU 8S QWHUUXSW 0RGH 2II 8QFKDQJHG 8QFKDQJHG 5HSRUWLQJ R...

Page 54: ...VFHOODQHRXV 6FUHHQ 6HOHFWHG LVSOD HG LVSOD HG 8QFKDQJHG KDUDFWHU 6HW 6HOHFWHG 6WDQGDUG 6WDQGDUG 8QFKDQJHG QDPLF KDU RQW 6 8QFKDQJHG 8QFKDQJHG QDPLF KDU RQW 6SHFLDO 8QFKDQJHG 8QFKDQJHG 2S 6WDWXV LQGRZ...

Page 55: ...QORFNHG 8QORFNHG 8QFKDQJHG DSV RFN 8QORFNHG 8QORFNHG 8QFKDQJHG 6FUROO RFN 8QORFNHG 8QORFNHG 8QFKDQJHG H SDG 0RGH 1XPHULF 1XPHULF 8QFKDQJHG DUGZDUH 6HOI 7HVWV 3HUIRUPHG 3HUIRUPHG 1RQH HHSHU 6RXQGHG 6RX...

Page 56: ...display is dark because the Display Activity parameter is set to off or because the display has timed out the display relights when the Setup Screen is called up If the Display Activity parameter is...

Page 57: ...the TCS can be changed by any of the following three methods 1 Changing individual parameters using local commands or where allowed remote commands The user can change any Setup parameter by using lo...

Page 58: ...RU 7 6 6HWXS 6FUHHQ 3URJUDPPLQJ RQVLGHUDWLRQV Color attributes for characters displayed on the TCS are controlled with the Set Character Attributes command Full control of this command is available by...

Page 59: ...ffect on foreground and background colors When Screen Background Mode is reset normal each character s foreground is displayed in the selected foreground color and the background in the selected backg...

Page 60: ...een trap the TCS in the Local Mode 2 The reporting format is preserved during power losses This ensures that the TCS uses the correct reporting format when it sends a power up interrupt to the host Th...

Page 61: ...et an individual parameter is grouped with commands functionally related to that parameter For example to set the Baud Rate parameter see Communication Commands later in this chapter The Setup Screen...

Page 62: ...onal keyboard allowing the user to change the Setup Screen parameters When the Setup Lockout Mode is set the SET UP switch on the keyboard has no effect on TCS operation The state of the Setup Lockout...

Page 63: ...ressing the SAVE touchkey or typing Shift S on the optional keyboard 267 86 ESC 1z 3266 55256 When this command is given the TCS always attempts to save the Setup parameters even if the nonvolatile Se...

Page 64: ...to their original values The effects of the Recall Setup command are summarized in Table 4 l 23 5 725 86 The user issues the Recall Setup command by entering the Setup Screen and pressing the RECALL t...

Page 65: ...ved in nonvolatile Setup memory by a Save Setup command The message WAIT INITIALIZING EXPANSION MEMORY is displayed when the unit resets While the TCS executes a soft or hard reset the host serial int...

Page 66: ...itializes the host interface communication parameters such as Baud Rate Data Bits or Parity Sense using the values saved by the most recent Save Setup command NOTE Generally a remote soft reset is not...

Page 67: ...al Local Remote Mode command Local Hardware Handshake command Local Transmit Mode command Local Reporting Format command Remote Clear User Inputs command Remote Many of the communication commands are...

Page 68: ...t take effect on a given TCS The address is encoded to avoid confusion with other codes crossing the communication link The numeric address as designated in the Setup Screen is added to the ASCII code...

Page 69: ...ardless of the address setting the TCS receiver is always connected The effects of multidrop address on control codes received by the TCS are as follows 7DEOH IIHFWV RI 0XOWLGURS GGUHVVHV RQ RQWURO RG...

Page 70: ...esired value using touchkeys or the optional keyboard 267 86 None This is a local command only 3266 55256 If a multidrop address is set between 1 and 32 and the host attempts to communicate without fi...

Page 71: ...the following values 110 300 600 1200 2400 4800 9600 and 19200 The baud rate setting selects both transmit and receive rates The TCS cannot transmit at one rate and receive at another 8 7 9600 baud 23...

Page 72: ...represent the upper 128 characters the Extended Character Set from the host and requires the use of the Select Character Set command to display Extended Characters See Chapter 5 for complete informat...

Page 73: ...rror P E When Parity Enable is set to ignore parity checking is disabled but even or odd parity generation is enabled If the Parity Sense setting is even the TCS transmits even parity data by appendin...

Page 74: ...ty Sense parameter and Parity Enable is set to on the received data is assumed to be in error Whenever a parity error is detected even within a control sequence the special character PE is displayed a...

Page 75: ...only one stop bit per code is used for both transmitting and receiving over the host serial interface If the Stop Bits parameter is set to 2 then two stop bits are used for transmitting and only one...

Page 76: ...TCS sends an XOFF or XON immediately to the host and exercises the SRTS control line When an XON or XOFF is received from the host the TCS always processes it immediately even if the input buffer is...

Page 77: ...enabled 23 5 725 86 The user selects the XON XOFF Mode by entering the Setup Screen and setting the XON XOFF Mode parameter to the desired value using touchkeys or the optional keyboard 267 86 None T...

Page 78: ...een User input within the Setup Test and Alignment Screens The user can generate remote commands locally from the keyboard while the TCS is in the Local Mode It is as if the keyboard were connected in...

Page 79: ...n to one of the following values none CTS DSR CTS DSR When Hardware Handshake is set to none the TCS will not check any RS 232 signals before transmitting When Hardware Handshake is set to CTS the TCS...

Page 80: ...ost cannot buffer the second character in the transmit buffer The transmit buffer mode is selected by setting the Transmit Mode parameter on the Setup Screen to one of the following values Normal Sing...

Page 81: ...host to specify an additional terminating code such as CR to be appended to the normal report sequence Once specified the reporting format is the same for all TCS to host reports The reporting format...

Page 82: ...meters larger than 127 decimal select the DEL control code 127 decimal 7F hex When the Data Bits parameter is set to 8 parameters larger than 255 select the code 255 decimal FF hex 03 6 ESC 032 40 13w...

Page 83: ...when the host wants to ensure that the user s input stays in step with data the host is displaying even if the host becomes busy for a moment and lags in reading input from the user If the user is pre...

Page 84: ...refer to Host Communication During Setup Session earlier in this chapter RZ WKH RPPXQLFDWLRQ 0RQLWRU LVSOD V KDUDFWHUV On entering the Communication Monitor the TCS display is cleared Then each 7 or 8...

Page 85: ...e TCS displays a character for each code crossing the communication link with the host All TCS generated codes codes resulting from touching the TCS touch panel or typing on the optional keyboard are...

Page 86: ...cation Suspended If this message is displayed press the Setup key and change Local Remote Mode to Remote When the Communication Monitor is entered the Standard Character Set is automatically selected...

Page 87: ...rough 32 Use the Communication Monitor to verify that the TCS is receiving the correct address sequence address ENQ from the host The TCS should respond by sending address ACK If the TCS does not resp...

Page 88: ...ommands are fully documented in Chapter 6 Before continuing in this chapter the reader should be familiar with the information about Communication Codes in Chapter 3 LVSOD LQJ KDUDFWHUV The TCS contai...

Page 89: ...e Select Character Set Command described later in this chapter must be used to gain access to the Extended Character Set when communicating using only 7 data bits The characters within the Standard an...

Page 90: ...ing certain situations when the cursor is moving upward in the screen RUPDW IIHFWRUV Some of the control codes reserved by ANSI affect the format of displayed characters These control codes do not cau...

Page 91: ...ILUVW FROXPQ 5 5HYHUVH QGH 8S RQH OLQH VDPH FROXPQ 227127 6 OVR PRYHV WR WKH ILUVW FROXPQ ZKHQ 1HZ LQH 0RGH LV VHW OVR PRYHV WR WKH QH W OLQH GRZQ ZKHQ 1HZ LQH 0RGH LV VHW The following example shows...

Page 92: ...5HIHUULQJ WR 6FUHHQV Each screen is assigned a number from 0 through 256 so the host is able to indicate which of several screens are to be affected by a given command Once a screen has been created...

Page 93: ...eens 6FUHHQ 0HPRU OORFDWLRQ Because the complexity of each screen determines how many screens can be stored only general guidelines can be given concerning screen memory allocation At most the TCS can...

Page 94: ...to it the effects of the command are invisible to the user Such commands do not affect what is on the display of the TCS because the Displayed Screen is not affected However whenever the stored screen...

Page 95: ...Copy Screen command Remote Delete Screen command Remote Delete All Screens command Remote Read Screen Memory Remaining command Remote Read Screen Existence command Remote These commands are described...

Page 96: ...XQG RORU EODFN RQFHDO RORU EODFN KDUDFWHU RQW 0DSSLQJ 6WDWLF 6 KDUDFWHU RQW LV PDSSHG LQWR WKH 6WDQGDUG KDUDFWHU 6HW 6WDWLF 6SHFLDO KDUDFWHU RQW LV PDSSHG LQWR WKH WHQGHG KDUDFWHU 6HW 7RXFK NH V FOHDU...

Page 97: ...en 20 with the default values If screen 20 existed before being selected the initialization command reinitializes it with the default values If screen 20 did not exist the Select Screen command create...

Page 98: ...acter Font Commands Map Character Font FMCF Character Interpretation Commands Set Character Attributes SGR NOCHANGE Attribute Mode FNCAM Scrolling Region Command DECSTBM Origin Mode Command DECOM Curs...

Page 99: ...RC All commands not listed such as the communication or the status reporting commands are global in nature that is they affect all screens Any Setup Screen parameter changes made locally by the user w...

Page 100: ...s selected In such a case when power returns the screen s contents are restored to their state immediately prior to being selected If a stored screen is being selected for the first time it is restore...

Page 101: ...error when the next screen is selected if there is not enough memory to store the currently selected screen If this happens the new screen is not selected and the screen being edited remains selected...

Page 102: ...izes it with the default values listed under the heading Initialize Screen Command If the screen already exists before the issuance of the Copy Screen command all screen dependent items values and mod...

Page 103: ...character font that a stored screen uses and then copy the stored screen into the Displayed Screen the appearance of characters on the display will reflect the modified character font rather than havi...

Page 104: ...r s Pscr is a numeric parameter from 1 through 256 that specifies the number of a screen to delete If Pscr is 0 or omitted no screens are deleted 3266 55256 If the screen currently selected by the hos...

Page 105: ...All Screens command deletes all the stored screens 23 5 725 86 None This is a remote command only 267 86 ESC 5s 03 ESC 5s Delete all existing stored screens CAUTION Use the Delete All Screens command...

Page 106: ...ll fit into memory If all of the screen memory is available the number of screens available indicates the maximum number that can be stored 256 no matter how much screen memory is installed If screen...

Page 107: ...0 0 0 94464n ESC 10n Host requests a Screen Memory Remaining Report If almost all of screen memory has been used up the TCS responds ESC 10 56 93758 0 606n Even though the TCS reports that there is no...

Page 108: ...istence command to determine which screens a particular TCS contains This command can also be used to determine if a screen still exists if power was lost just as the host was manipulating the screen...

Page 109: ...ot currently exist the TCS responds ESC 12 0n ESC 12 1n Host requests whether screen number 1 exists If this screen exists the TCS responds ESC 12 1n ESC 12n Host is requesting if the Displayed Screen...

Page 110: ...haracter fonts contain sixel information which defines the appearance of characters when either of these fonts is mapped into the Standard or Extended Character Sets using the Map Character Font comma...

Page 111: ...and Down line Load Character Font Command Character Fonts Character Sets Map Character Font Command Static ASCII Character Font Static Special Character Font Dynamic Character Font 1 Dynamic Character...

Page 112: ...ed The Static Character Fonts cannot be changed by the host program They are stored in ROM and can only be mapped into the character sets or copied into the dynamic character fonts Although the TCS ca...

Page 113: ...acter Fonts Select Character Set command Remote Map Character Font command Remote Copy Character Font command Remote Down Line Load Character Font command Remote These commands are described in detail...

Page 114: ...o return to the Standard Character Set The TCS interprets any subsequent 7 bit graphic codes as selecting corresponding characters within the Standard Character set Once the TCS has received SO the TC...

Page 115: ...nificant bit is replaced with a l This has the effect of mapping codes representing 8 bit Standard Characters into representing 8 bit Extended Characters while leaving codes representing 8 bit Extende...

Page 116: ...aracters in the character set are replaced by the corresponding characters from the character font This affects the appearance of all the characters in the character set does not affect interpretation...

Page 117: ...decimal communications codes that access the Standard Character Set range from 0 through 127 decimal and those which access the Extended Character Set range from 128 through 255 decimal Programmers s...

Page 118: ...86 1 2 1 1 2 1 0 3 5 7 5 217 200 1 6 R W SH FKDUDFWHUV WKURXJK 7RXFK NH DQG UHJLRQ RXWOLQH FRPPDQGV XVH FXVWRP FKDUDFWHUV IRU R W SH R W SH WKURXJK 7RXFKNH DQG UHJLRQ RXWOLQH FRPPDQGV FKDUDFWHUV XVH F...

Page 119: ...the Extended Character Set 23 5 725 86 None This is a remote command only 267 86 ESC 0 map the Static ASCII Character Font into the Standard Character Set default ESC 1 map Dynamic Character Font 1 in...

Page 120: ...l Character Font into the Extended Character Set This is the default condition ESC 2 Map Dynamic Character Font 2 into the Extended Character Set Mapping a user defined character font into the Extende...

Page 121: ...haracter sets by the Displayed Screen the changes made by this command will immediately become visible on the display 8 76 The Static ASCII Character Font is copied into the Dynamic Character Font 1 T...

Page 122: ...Character Font command is ignored if the source and destination character fonts are the same 03 6 The following table shows all valid combinations of source and destination fonts Other combinations a...

Page 123: ...the contents of either Dynamic Character Font is changed by the Down Line Load Character Font command while the Dynamic Character Font is mapped into either the Standard or Extended character sets by...

Page 124: ...her way The encoding method described in the following discussion is compatible with the DEC down line load character format Organize the character cell into columns of six bits each as shown in Figur...

Page 125: ...ert the value resulting from adding the decimal 63 offset to the code representing its equivalent character in the table in Appendix C For example the first column is binary 110000 Adding the offset y...

Page 126: ...that follow 3 Convert each sixes to a code representing an ASCII character in the range through 63 through 126 decimal by adding an offset of binary 11111 decimal 63 4 Use the resulting codes as the s...

Page 127: ...5 40 LJXUH QFRGLQJ WKH 6L HOV...

Page 128: ...foreground pixels 160 170 DATA 180 DATA 190 DATA 200 DATA 210 DATA 220 DATA 230 DATA 240 DATA 250 DATA 260 DATA 270 280 DIM pixrow 9 Array to hold rows of pixels 290 DIM binval 9 Array to hold powers...

Page 129: ...ws 630 in each column the bottom four pixels form one sixel 640 ________________________________________________________ 650 FOR column 1 TO 8 For each column in the character 660 sixel 63 Start with...

Page 130: ...loading at nth position 128 do not load any characters Pe is a numeric parameter that specifies which characters to erase in the dynamic character font before loading characters When Pe is 0 or omitt...

Page 131: ...y Device Control String the command is ignored and the TCS displays the remainder of the characters in the command All sixel bit patterns for characters beyond the 128th character are ignored The dyna...

Page 132: ...s on a new page NOTE Where applicable command names are followed by the appropriate mnemonic Mnemonics in square brackets are ANSI specified commands Mnemonics in braces are ANSI compatible TCS privat...

Page 133: ...rieved using the Display Normal Line command When a line is changed to double width the cursor may move horizontally across the screen in order to remain in the same character column position If the l...

Page 134: ...der to remain in the same character column position If the line was originally a normal line and the cursor was past the midpoint of the line then the cursor is repositioned to the end of the double s...

Page 135: ...e The characters in the right half of both the top and bottom lines reappear when the lines are restored to normal with the Display Normal Line command When a double size line is placed the cursor may...

Page 136: ...e line that the cursor is on to display the top half of double size characters currently in the line Change the line below the cursor to display the bottom half of double size characters currently in...

Page 137: ...en normalized the host should send a command to delete one of the lines as one line usually contains exactly the same characters as the other If the host normalizes a double width or double size line...

Page 138: ...ickness extends to the right of the cursor for a vertical bar or below the cursor for a horizontal bar Figure 5 9 which represents bars that are two characters in thickness shows how a bar is drawn re...

Page 139: ...used and the bar is not filled Pd is a selective parameter specifying the direction the bar is to be drawn If Pd is 0 or omitted a vertical bar is drawn If Pd is 1 a horizontal bar is drawn Pt is a nu...

Page 140: ...the bar will not appear correctly 03 6 ESC 1 20 665x Draws a vertical bar 66 5 of 20 lines high and one character wide thick The filled portion of the bar would be about 13 and 1 3rd lines tall ESC 1...

Page 141: ...attributes 23 5 725 86 None This is a remote command only 267 86 ESC Pn X Pn is a numeric parameter specifying the total number of characters to be erased If Pn is 0 or omitted only the character und...

Page 142: ...E Attribute Mode is set erased characters are replaced with blanks but their character attributes remain unchanged This makes it easier to erase within a field of attributes The line type remains unch...

Page 143: ...m the start of the line through the cursor are erased If Ps is 2 the entire line is erased 03 6 ESC K Erases from the cursor through the end of the line The cursor is not moved ESC 2K Erases the entir...

Page 144: ...rmal If a portion of the screen is erased all lines except the line occupied by the cursor are reset to normal In the line occupied by the cursor the line type remains unchanged NOTE When the NOCHANGE...

Page 145: ...ESC J Erases from the cursor through the end of the screen The cursor does not move The line containing the cursor retains its line type all other erased lines are reset to normal ESC 1J Erases from...

Page 146: ...Attributes command Remote Scrolling Region command Remote Origin Mode command Remote For the color TCS the Set Character Attributes command has two parameters that can be controlled remotely or local...

Page 147: ...er received other than the tab character HT after a character had already been placed at the right margin is displayed on the next line at the left margin This causes the screen to scroll if the new l...

Page 148: ...or on respectively NOTES 1 The Send Receive Mode and the Local Echo parameter both control the Local Echo feature However they operate as opposites That is the Local Echo feature is off when the Local...

Page 149: ...Line Mode by entering the Setup Screen and using touchkeys or the optional keyboard setting the New Line parameter to one of the following values on Sets New Line Mode off Resets New Line Mode 267 86...

Page 150: ...listed in Table 5 10 The NOCHANGE Attribute Mode command can prevent all other commands from changing the visual attributes The effect of the NOCHANGE Attribute Mode on these commands is shown in Tabl...

Page 151: ...QHG E WKH 6HW KDUDFWHU WWULEXWHV FRPPDQG 1HZ OLQHV VFUROOLQJ LQWR WKH UHJLRQ KDYH WKHLU FKDUDFWHU FRQWHQWV HUDVHG EXW WKHLU OLQH W SH DQG FKDUDFWHU DWWULEXWHV PDWFK WKRVH RI WKH OLQH WKDW MXVW VFUROOH...

Page 152: ...equently needs to work some distance from the TCS and could not easily see normal characters The following technique could be used to make the display readable at greater distances a The host sets eac...

Page 153: ...WR GRXEOH ZLGWK LVSOD RXEOH 6L H LQH 7KH OLQH W SH LV FKDQJHG WR GRXEOH VL H 3ODFH RXEOH 6L H LQH 7KH OLQH W SH LV FKDQJHG WR GRXEOH VL H 6HW KDUDFWHU WWULEXWHV KDQJHV FXUUHQW DWWULEXWHV VHOHFWHG 1RWH...

Page 154: ...display only not in the codes transmitted between the TCS and host For example after setting the NRC value to German the user can create a text file that contains standard ASCII characters When this t...

Page 155: ...nnish 6 German 7 Italian 8 Spanish 9 Swedish 10 Swiss 11 UK 3266 55256 If the Extended Character Set is selected by the Select Character Set command graphic codes will be shifted out to the Extended C...

Page 156: ...5 69 03 6 ESC 4 7z Sets the NRC to Italian ESC 4z Sets the NRC to off No replacements are made ESC 4 11z Sets the NRC to UK...

Page 157: ...DWXUH R VODVK X XPODXW XWFK _ a L M _ SRXQG V PERO IUDFWLRQ L M OLJDWXUH IUDFWLRQ YHUWLFDO EDU XPODXW EDUH VFULSW I IUDFWLRQ VLQJOH TXRWH UHQFK _ a j o q p SRXQG V PERO VHFWLRQ VLJQ GHJUHH VLJQ D JUDY...

Page 158: ...PODXW D XPODXW D ULQJ H JUDYH R XPODXW X XPODXW HUPDQ a _ b g h l VHFWLRQ VLJQ XPODXW 2 XPODXW 8 XPODXW HUPDQ D XPODXW R XPODXW X XPODXW WDOLDQ a _ C u j o q p z SRXQG V PERO VHFWLRQ VLJQ GHJUHH VLJQ...

Page 159: ...63 6 5 37 21 2 63 5 7 5 6ZHGLVK C _ a b c g h l n q JUDYH XPODXW ULQJ 2 XPODXW 8 XPODXW D XPODXW D ULQJ H JUDYH R XPODXW X XPODXW 6ZLVV C _ a j l o q p r v D JUDYH D XPODXW F FHGLOOD H JUDYH H DFXWH...

Page 160: ...has been sent new characters displayed by the TCS appear with the selected attributes unless the NOCHANGE Attribute Mode is set If scrolling causes characters to move the characters attributes move wi...

Page 161: ...reverse video attributes are temporarily suppressed in the concealed area NOTE Even concealed the character and its attribute information is stored in screen memory and can be made visible again by se...

Page 162: ...ve parameter designating the character attribute s If Ps is 0 or omitted turn off all attributes If Ps is 1 highlight If Ps is 22 turn off highlight If Ps is 4 underline If Ps is 24 turn off underline...

Page 163: ...t be visible when upcoming characters are placed in the character plane for display If the Save Setup command is executed while the foreground and background are set to the same color the next the TCS...

Page 164: ...Mode is set the cursor can never leave the scrolling region even with a Move Cursor to Absolute Position command See the discussion of the Origin Mode command in this chapter If a scrolling region is...

Page 165: ...meric parameter designating the bottom line of the scrolling region If Pb is omitted or 0 the bottom line of the scrolling region is set to 24 NOTE If Pb is less than or equal to Pt the command is ign...

Page 166: ...ling region Also refer to Scrolling Region Command in this chapter When Origin Mode is reset off Line numbering begins with line 1 at the top of the screen and continues through line 24 at the bottom...

Page 167: ...he scrolling region When the Origin Mode is set the scrolling region can in effect become a smaller independent screen within the entire screen Host software can treat the scrolling region as an indep...

Page 168: ...5 81 23 5 725 86 None This is a remote command only 267 86 ESC 6l Resets the Origin Mode The terminator for the reset command is the letter l ASCII 6C hex ESC 6h Sets the Origin Mode...

Page 169: ...mote Reverse Index command Remote Read Cursor Position command Remote Read Character Under Cursor command Remote Read Attributes Under Cursor command Remote Cursor Type command Local Remote These comm...

Page 170: ...is relative to the first line of the scrolling region The cursor cannot be moved outside the scrolling region with this command If an attempt is made to move the cursor to an absolute position outsid...

Page 171: ...5 062H Moves the cursor to line 5 column 62 ESC 24H Moves the cursor to line 24 column 1 ESC 30H Moves the cursor to line 1 column 30 ESC 30H Moves the cursor to line 24 column 1 P1 is greater than 24...

Page 172: ...her than the upper left character of the touchkey For more details refer to the discussion of touchkeys in Chapter 6 If the Origin Mode is set the cursor cannot be moved outside the scrolling region w...

Page 173: ...ly 267 86 ESC Pn C Pn is a numeric parameter designating the number of characters to move If Pn is 0 or omitted the cursor moves forward right one character If Pn is greater than 0 the cursor moves fo...

Page 174: ...ting the number of characters to move If Pn is 0 or omitted the cursor moves backward left one character If Pn is greater than 0 the cursor moves backward left Pn characters 3266 55256 If Pn is greate...

Page 175: ...s because the cursor follows character column positions which are in different physical locations on the screen for normal and double width or double size lines Double width and double size lines are...

Page 176: ...y This is because the cursor follows character column positions which are in different physical locations on the screen for normal and double width or double size lines Double width and double size li...

Page 177: ...s received the screen is scrolled up If the cursor is outside the scrolling region when the command is received the cursor is moved down one line until it reaches the bottom edge of the screen Subsequ...

Page 178: ...lines and double width or double size lines the cursor moves across the screen horizontally as well as vertically This is because the cursor follows character column positions which are in different p...

Page 179: ...d between normal lines and double width or double size lines the cursor moves across the screen horizontally as well as vertically This is because the cursor follows character column positions which a...

Page 180: ...umber between 1 and 80 inclusive for normal lines or a number between 1 and 40 inclusive for double width or double size lines It represents the character column occupied by the cursor and properly ta...

Page 181: ...above format if the Reporting Format command has been issued Refer to the Reporting Format command description in Chapter 4 for details A character may have been displayed in one of two ways The host...

Page 182: ...the NRC is changed to Italian If the Read Character Under Cursor command is sent the TCS will attempt to find an a umlaut in the Italian NRC set and reverse map it to the code representing the origina...

Page 183: ...r as follows Monochrome TCS ESC 4 Phi Pul Pblink Prv Pconcl n Color TCS ESC 4 Phi Pul Pblink Prv Pconcl Pfg Pbg Pcc n NOTE The report may differ from the above format if the Reporting Format command h...

Page 184: ...at the current cursor location 03 The host requests the TCS to report the attributes under the cursor by sending ESC 4n Monochrome TCS If the character under the cursor is normally blinking but is tem...

Page 185: ...rline The cursor appears as an underline and does not blink Slow Blinking Underline The cursor appears as an underline and blinks every second with a 50 duty cycle Fast Blinking Underline The cursor a...

Page 186: ...d 3266 55256 If the host asks for two or more incompatible cursor characteristics in the same control string such as underline followed by reverse video block the last cursor characteristic reverse vi...

Page 187: ...mmand Local Remote These commands are described in detail in the following pages For ease of reference each command description begins on a new page NOTE Where applicable command names are followed by...

Page 188: ...cter without reverse video attributes is displayed in the currently selected background color and the background in the currently selected foreground color Foreground and background colors are selecte...

Page 189: ...ay activity setting the screen always turns on when the Setup Screen is entered When the display activity is set to timeout the display turns off if 30 minutes elapse without user or host activity Aft...

Page 190: ...ng does not take effect until the Setup Screen is exited 267 86 ESC 3 Ps z Ps is a selective parameter designating the Display Activity If Ps is 0 or omitted Display Activity is set on If Ps is 1 Disp...

Page 191: ...e block and defines its function in the host program The user then touches the block to make a menu selection control a process or direct the operation of a program 7RXFK HOOV The touch panel consists...

Page 192: ...ally defined to include as many touch cells as necessary to cover the touch target The advantage of using touchkeys that consist of multiple touch cells is they allow for an enlarged target This elimi...

Page 193: ...e border is the portion of the touchkey composed of only the character cells on the perimeter of the physical boundaries of the touchkey This area appears as an unfilled rectangle except in one case A...

Page 194: ...6 4 LJXUH 7RXFKNH 9LVXDO WHQW...

Page 195: ...Polled Touch Mode the TCS sends the host a touch report only when the host requests polls the TCS to do so This lessens the burden on the host and minimizes the possibility of data overruns and lost...

Page 196: ...uch Mode command Remote Read Touchkey Status command Remote Extended Report Mode command Remote Touch Panel Lockout Mode command Remote These commands are described in detail in the following pages Fo...

Page 197: ...lear Touchkey command is issued the touch cells that made it up revert to operating in a manner consistent with their individual attributes as last programmed by the host This programming of individua...

Page 198: ...ges a touchkey that is currently being pressed and the touchkey is auto repeating auto repeating is terminated If this command changes a toggle touchkey that is toggled on the touchkey is toggled off...

Page 199: ...o remove the border before clearing the touchkey 23 5 725 86 None This is a remote command only 267 86 ESC 5 Pk u Pk is a numeric parameter that specifies the touchkey to be cleared If Pk is 0 or omit...

Page 200: ...ts like a press touchkey Toggle The touchkey generates a report whenever it is pressed If Extended Report Mode is set the touch report indicates that the touchkey is either toggled on or off The initi...

Page 201: ...auto repeating is terminated If the Touchkey Type command causes an existing toggle touchkey to be changed to a new type and the toggle touchkey was on the toggle state and the visual representation o...

Page 202: ...of the touchkey specified by the visual extent reverses its video and stays reversed until the touchkey is released Auto repeat The area of the touchkey specified by the visual extent reverses its vid...

Page 203: ...esponse by the TCS If the host changes any of these attributes the automatic visual response is affected If the visual extent for a press or auto repeat touchkey is changed after the touchkey is press...

Page 204: ...the touchkey is initially pressed and a touch report is sent to the host If the touchkey is held beyond the initial delay and begins auto repeating each time the touchkey auto repeats and a report is...

Page 205: ...he audible attribute is beep Pk is a numeric parameter that specifies the touchkey whose audible attribute is being assigned If Pk is 0 or omitted the audible attribute of all touchkeys is specified 0...

Page 206: ...te is limited by the rate at which the host requests polls the TCS to send touch reports When a touchkey is first pressed there is a 1 2 second delay before the auto repeat rate takes effect The auto...

Page 207: ...6 17 03 6 ESC 2 3u The auto repeat rate is set to 0 3 seconds ESC 2 100u The auto repeat rate is set to 10 seconds ESC 2u Auto repeating is disabled...

Page 208: ...ut NOTE If the TCS receives a Read Touchkey Status command and the user has not touched a touchkey since the previous Read Touchkey Status command was received the TCS reports a touchkey number of 000...

Page 209: ...6 19 267 86 ESC 1l Resets Polled Touch Mode to off The terminator for the reset command is the letter l ASCII 6C hex ESC 1h Sets Polled Touch Mode to on...

Page 210: ...cription for details of the use of Extended Report Mode NOTE The report may differ from the above format if the Reporting Format command has been issued Refer to the Reporting Format command descripti...

Page 211: ...TCS queues a touch report only for the first touch the TCS ignores all other touches which are in effect locked out 23 5 725 86 None This is a remote command only 267 86 ESC 2 Pk n Pk is a numeric pa...

Page 212: ...ormation is appended to the normal touch report as follows ESC 2 Pk Ps n Pk is a three digit zero filled ASCII numeric string 000 through 120 that represents the number of the touchkey being reported...

Page 213: ...rt that occurs when the Extended Report Mode is reset appears as follows ESC 2 042n The same touch report with the Extended Report Mode set might appear as ESC 2 042 1n This string indicates that Touc...

Page 214: ...The format of this report is described under Read Touchkey Status Command earlier in this chapter If the user enters the Setup Screen either by pressing the Set Up switch or the Set Up key when the T...

Page 215: ...n command Remote These commands are described in detail in the following pages For ease of reference each command description begins on a new page RORU HDWXUHV For the color TCS the following addition...

Page 216: ...sing a different Boxtype character A border using each Boxtype character is shown below For the Outline a Touchkey command to produce correct and predictable results the touchkey s line type must be d...

Page 217: ...mand only 267 86 ESC 6 Pk Ps u Pk is a numeric parameter that specifies the touchkey to be outlined If Pk is 0 or omitted the specified border is placed around the entire screen Ps is a selective para...

Page 218: ...oxtype character For a description of the Boxtype characters See the Outline a Touchkey command For the Outline a Region command to produce correct and predictable results the region s line type must...

Page 219: ...esults may be produced if the Outline a Region command is executed over a region that contains mixed line types If the region specified runs off the edge or bottom of the screen the edge of the region...

Page 220: ...3257 21 6WDUWLQJ KDUDFWHU 9DOXH XSSHU OHIW FRUQHU 6WDUWLQJ KDUDFWHU 9DOXH XSSHU VLGH 6WDUWLQJ KDUDFWHU 9DOXH XSSHU ULJKW FRUQHU 6WDUWLQJ KDUDFWHU 9DOXH ULJKW VLGH 6WDUWLQJ KDUDFWHU 9DOXH ORZHU ULJKW...

Page 221: ...the default value 128 is used the value of the first Boxtype 1 character when the Static Special Character Font is mapped into the Extended Character Set If Pch is greater than 255 255 is used 3266 5...

Page 222: ...W FRUQHU 6WDUWLQJ KDUDFWHU 9DOXH XSSHU VLGH 6WDUWLQJ KDUDFWHU 9DOXH XSSHU ULJKW FRUQHU 6WDUWLQJ KDUDFWHU 9DOXH ULJKW VLGH 6WDUWLQJ KDUDFWHU 9DOXH ORZHU ULJKW FRUQHU 6WDUWLQJ KDUDFWHU 9DOXH ORZHU VLGH...

Page 223: ...ed if the Custom Outline a Region command is executed on a region that contains mixed line types If the region specified runs off the edge or bottom of the screen the edge of the region is assumed to...

Page 224: ...s command is restricted to lie within the scrolling region when Origin Mode is set Within a touchkey the host can restrict the effect of this command to one of the areas previously defined in this cha...

Page 225: ...re modified If Pv is 1 the attributes of only inner characters are modified If Pv is 2 the attributes of only border characters are modified If Pv is 3 the attributes of all characters in the touchkey...

Page 226: ...command is defined relative to the cursor position which becomes the upper left corner of the region The number of lines height and number of columns width making up the region are specified by numeri...

Page 227: ...cters in the region are modified If Pv is 1 the attributes of only inner characters are modified If Pv is 2 the attributes of only border characters are modified If Pv is 3 the attributes of all chara...

Page 228: ...ous state Because the Reverse Character Attributes in a Touchkey command directly causes attributes to be modified the NOCHANGE Attribute Mode has no effect on this command The area of the display aff...

Page 229: ...s 0 or omitted the reverse video attribute is reversed If Pa is 1 the highlight attribute is reversed If Pa is 4 the underline attribute is reversed If Pa is 5 the blink attribute is reversed If Pa is...

Page 230: ...the highlight attribute from its previous state Because the Reverse Character Attributes in a Region command directly causes attributes to be modified the NOCHANGE Attribute Mode has no effect on thi...

Page 231: ...haracters within the region are reversed If Pv is I the attributes of only inner characters within the region are reversed If Pv is 2 the attributes of only border characters within the region are rev...

Page 232: ...ith upper left corner at the cursor ESC 9 1 50 1 8t Reverses the conceal attribute in the inner part of a 1 line by 50 column region If the characters in the inner part of the region were not visible...

Page 233: ...re touchkey is assumed to be composed of double size lines If the touchkey contains any double width lines the entire touchkey is assumed to be composed of double width lines If the touchkey does not...

Page 234: ...key that contains mixed line types 03 ESC 3x Fills the entire screen with the gray block character value 251 when the Static Special Character Font is mapped into the Extended Character Set ESC 3 53 2...

Page 235: ...affected Border characters Only those characters within a region adjacent to an edge border of the region are affected All characters All the characters inner and border in the region are affected For...

Page 236: ...e of the region is assumed to be along the screen edges When Origin Mode is set the edges of the scrolling region are handled as if they were the edges of the screen Undesirable results may be produce...

Page 237: ...sed of double size lines If the touchkey contains any double width lines the entire touchkey is assumed to be composed of double width lines If the touchkey does not contain any double width or double...

Page 238: ...produced if the Erase a Touchkey command is executed on a touchkey that contains mixed line types 03 6 ESC 8u Erases the entire screen if Origin Mode is reset and the cursor is in the home position ES...

Page 239: ...Only those characters within a region not adjacent to an edge border of the region are erased Border characters Only those characters within a region adjacent to an edge border of the region are erase...

Page 240: ...r characters are erased If Pv is 2 the only border characters are erased If Pv is 3 all the characters in the region are erased 3266 55256 Undesirable results may be produced if the Erase a Region com...

Page 241: ...ak key generates a short break when pressed alone or a long break when pressed in with the Shift key The Break key normally resets the communication interfaces with a device attached to the TCS Howeve...

Page 242: ...des that the TCS transmits when various keys are pressed with the Ctrl key The action caused by sending these control codes to the host computer is determined by the application software running on th...

Page 243: ...een and to exit the Setup Test and Alignment Screens See Using the Setup Screen for more information XUVRU RQWURO H V The cursor control keys transmit ANSI cursor control sequences to the host as show...

Page 244: ...ZLWK WKH WUO H 35 66 7 75 2 6 17 72 267 0 01 021 RU 6SDFH DU 0 1 2 3 4 5 6 7 8 9 RU HOHWH RU RU RU RU C RU RU 18 62 67 7 27 14 6 7 97 5 RU 5 62 6 21 2 1 6 1 7 1 0 68 6 6 6 56 86 7KH 1HZ LQH 0RGH GHWH...

Page 245: ...e cursor on the screen 6SHFLDO XQFWLRQ H V The special function keys transmit control sequences to the host as shown in Table 7 4 The special function keys can also be pressed with the Shift or Ctrl k...

Page 246: ...ary keypad is the group of keys on the right side of the keyboard The auxiliary keypad can be programmed to operate in one of two modes using the Keypad Mode command In the Numeric Mode the auxiliary...

Page 247: ...17 72 267 33 7 21 2 6 6 17 72 267 QWHU 3 3 3 3 5 RU 5 6 2 3 6 2 4 6 2 5 6 2 6 6 2 S 6 2 T 6 2 U 6 2 V 6 2 W 6 2 X 6 2 Y 6 2 Z 6 2 6 2 6 2 P 6 2 O 6 2 Q 6 2 0 6 2 3 6 2 4 6 2 5 6 2 6 7KH 1HZ LQH 0RGH G...

Page 248: ...Break command Local These commands are described in detail in the following pages For ease of reference each command description begins at the top of a new page NOTE Where applicable command names are...

Page 249: ...e keyboard is temporarily unlocked so that the user can use it to change parameters in the Setup Screen Once the Setup Screen is exited or the Communication Monitor is entered the keyboard is again lo...

Page 250: ...ation Mode the keypad sends special control sequences to the host This allows the keypad to be used for specialized applications where each key is specially interpreted by the host software The numeri...

Page 251: ...st computer or from the keyboard The command sets the TCS either to the Remote Mode in which the TCS accepts remote commands from the host or to the Local Mode in which the TCS accepts remote commands...

Page 252: ...iate disconnection from the host equipment particularly with a modem communicating to a remote computer over a telephone line 23 5 725 86 The user issues the Send Long Break command by typing Shift Br...

Page 253: ...ognized at any baud rate A typical use of the Short Break command is to signal to the host to cycle through a choice of baud rates until the baud rate matching that of the TCS is established 23 5 725...

Page 254: ...results of self tests built into the TCS Together these commands enable the host to do confidence tests and ensure that TCS components are operating properly The user can access these and other self...

Page 255: ...command Remote Request TCS Identification command Remote Request TCS Status command Remote These commands are described in detail in the following pages For ease of reference each command description...

Page 256: ...rved in nonvolatile memory during power loss This allows the TCS to remember whether a power up interrupt is to be generated at the next power up The Power Up Interrupt Mode can also be set or reset b...

Page 257: ...not lost power or been reset since the last Request Power Status command the TCS responds to the Request Power Status command by sending the following string to the host ESC 0n If the TCS has lost po...

Page 258: ...urred After the TCS sends an error interrupt it automatically resets the Error Interrupt Mode This gives the host time to finish processing the first interrupt before allowing the TCS to send another...

Page 259: ...as occurred Polling for the error status report automatically clears the error condition being held by the TCS and instructs it to resume looking for the next new error The error condition is also cle...

Page 260: ...rted the error on an interrupt basis 03 6 The host sends the Request Error Status command to determine whether an error has occurred ESC 11n If no errors have occurred since the TCS was powered up res...

Page 261: ...ring ESC Pt Pv Pm Pd Pw Po c Pt is the TCS type If Pt is 2 1030 Series If Pt is 3 1050 Series Pv is the firmware version given as two digits mn meaning the TCS has firmware version m n installed Pm de...

Page 262: ...mple of a TCS identification sequence sent to the host in response to this command is ESC 2 10 98304 0 0 0c The TCS type is Model 1030 2 with firmware version 1 0 10 containing 96K bytes 98304 of Expa...

Page 263: ...has occurred the status returned by this command continues to indicate a malfunction until cleared by cycling the power or sending a reset 23 5 725 86 None This is a remote command only 267 86 ESC 5n...

Page 264: ...latile Memory Test Report command Remote Request RAM Test Report command Remote Request Touch Panel Test Report command Remote These commands are described in detail in the following pages For ease of...

Page 265: ...be terminated locally by pressing the SET UP key on the optional keyboard or terminated remotely by performing a Reset command When the test begins any errors detected since the TCS was last powered u...

Page 266: ...t is entered remotely input from the host is still received and processed normally The only commands from the host that are useful during the Continuous Integrity Test are the Request Test Report and...

Page 267: ...ponds with ESC 6 Ploops Pfail Psum n Ploops indicates the number of ROM Tests completed since the Continuous Integrity Test started or since the TCS was last powered up or reset Pfail indicates the nu...

Page 268: ...when the TCS is reset 23 5 725 86 None This is a remote command only 267 86 ESC 7n The TCS responds with ESC 7 Ploops Pfail Psum n Ploops indicates the number of ROM Tests completed since the Continuo...

Page 269: ...e Continuous Integrity Test has completed 112 loops and detected nonvolatile memory checksum errors during 23 of those test loops and the most recent cell in error was 46 the TCS responds with ESC 7 1...

Page 270: ...r Perror Phistory n Ploops indicates the number of RAM Tests completed since the Continuous Integrity Test started or since the TCS was last powered up or reset Pfail indicates the number of RAM Tests...

Page 271: ...has completed 3 loops and detected RAM errors during two of those loops Also assume that the last address where an error was detected is FA003 hex 1024003 decimal and that the pattern sent was 75 hex...

Page 272: ...st results are always reinitialized to zero at the start of the Continuous Integrity Test when power is applied or when the TCS is reset 23 5 725 86 None This is a remote command only 267 86 ESC 9n Th...

Page 273: ...details follow The sample program assumes the TCS is connected to the PC serial port COM1 6HWWLQJ XS WKH 0 3 Refer to the IBM PC hardware manual to locate the serial port If the manual is not availabl...

Page 274: ...touchkey 165 170 175 180 Initialize variables 185 190 oldt 0 Last touchkey value 195 touch Input from TCS 200 newt 0 New touchkey value 205 210 215 220 Open serial communication channels to TCS 225 2...

Page 275: ...NT 1 es 2n INPUT 1 touch Wait for buffer to clear 385 390 395 400 Initialize Touchkeys 405 410 PRINT 1 es 4u Set all touchkeys to dead 415 420 FOR i 1 TO 3 425 PRINT 1 es 5 tkey i 3 2u Build touchkey...

Page 276: ...takes Print text 570 575 580 585 Get user input 590 595 INPUT 1 touch Get touch input from TCS 600 605 start INSTR 1 touch es 2 5 Find touchkey number 610 touch MID touch start 3 Extract touchkey tou...

Page 277: ...command The commands are grouped according to the following functions and are presented in the order in which they are covered in this manual TCS Mode commands Setup Screen commands Communication comm...

Page 278: ...FLILHG PRGHV 6 3V 3V K RU SULYDWH PRGHV 6 3V 3V K RU 7 6 SULYDWH PRGHV 6 3V 3V K 6HWXS 6FUHHQ RPPDQGV 6HWXS RFNRXW 0RGH 68 0 6 O UHVHW 6 K VHW 6DYH 6HWXS 668 6 5HFDOO 6HWXS 568 6 5HVHW 5 6 6 3V F 3V R...

Page 279: ...PLQDWRU 7HUPLQDWRU HIDXOW QRQH OHDU 8VHU QSXWV 8 6 6FUHHQ 0HPRU RPPDQGV OQLWLDOL H 6FUHHQ 6 6 V 6HOHFW 6FUHHQ 66 6 3VFU V 3VFU RPLWWHG 6HOHFW LVSOD HG 6FUHHQ IRU HGLWLQJ WR 6HOHFW D 6WRUHG 6FUHHQ IRU...

Page 280: ...VW 7 6 5HVSRQVH 6 Q LI VFUHHQ GRHV QRW H LVW 6 Q LI VFUHHQ H LVWV KDUDFWHU 6HW DQG KDUDFWHU RQW RPPDQGV 6HOHFW KDUDFWHU 6HW 6 6 62 WHQGHG KDUDFWHU 6HW 6 6WDQGDUG KDUDFWHU 6HW 0DS KDUDFWHU RQW 0 6 PDS...

Page 281: ...LQDWLRQ IRQW RZQ LQH RDG KDUDFWHU RQW 6 3 3IQ 3FQ 3H 6 ESO 6 ES 6 ESQ 6 3IQ RPLWWHG FKDQJH QDPLF KDUDFWHU RQW O FKDQJH QDPLF KDUDFWHU RQW FKDQJH QDPLF KDUDFWHU RQW 3FQ RPLWWHG VWDUW ORDGLQJ DW UG FKDU...

Page 282: ...3G 3W 3V RPLWWHG LI YHUWLFDO EDU LI KRUL RQWDO EDU Q EDU OHQJWK LQ FKDUDFWHUV ZKHQ ILOOHG 3U RPLWWHG Q SRUWLRQ RI EDU WR ILOO LQ WHQWKV RI SHUFHQW 3G RPLWWHG GUDZ YHUWLFDO EDU GUDZ KRUL RQWDO EDU 3W R...

Page 283: ...JK HQG HUDVH IURP VWDUW WKURXJK FXUVRU HUDVH WKH HQWLUH VFUHHQ KDUDFWHU QWHUSUHWDWLRQ RPPDQGV XWR UDS URXQG 0RGH 0 6 O UHVHW 6 K VHW 6HQG 5HFHLYH 0RGH 650 RFDO FKR RQ 6 O UHVHW RFDO FKR RII 6 K VHW 1H...

Page 284: ...PLWWHG DOO RII KLJKOLJKW WXUQ RII KLJKOLJKW XQGHUOLQH WXUQ RII XQGHUOLQH EOLQN WXUQ RII EOLQN UHYHUVH YLGHR WXUQ RII UHYHUVH YLGHR FRQFHDO WXUQ RII FRQFHDO RORU 7 6 VHOHFW IRUHJURXQG FRORU VHOHFW EDFN...

Page 285: ...OLQH Q OLQH Q 3F RPLWWHG FROXPQ Q FROXPQ Q 0RYH XUVRU WR 7RXFKNH 0 77 6 3N 3N RPLWWHG PRYH WR WRXFKNH Q QXPEHU RI WRXFKNH 0RYH XUVRU RUZDUG 8 6 3Q 3Q RPLWWHG RQH FKDUDFWHU Q Q FKDUDFWHUV 0RYH XUVRU D...

Page 286: ...LJLQ 0RGH LV UHVHW OLQH LV DW WRS RI VFUHHQ 3F O QRUPDO OLQHV GRXEOH ZLGWK RU GRXEOH VL H OLQHV 1XPHULF SDUDPHWHU UHSUHVHQWLQJ FKDUDFWHU FROXPQ RI FXUVRU 5HDG KDUDFWHU 8QGHU XUVRU 5 8 6 Q 7 6 5HVSRQVH...

Page 287: ...H 6 3KL 3XO 3EOLQN 3UY 3FRQFO 3IJ 3EJ 3FF Q 3IJ FXUUHQW IRUHJURXQG FRORU 3EJ FXUUHQW EDFNJURXQG FRORU 3FRQFO FXUUHQW FRQFHDO FRORU XUVRU 7 SH 7 6 3V 3V Y 3V 9LVLELOLW RPLWWHG YLVLEOH LQYLVLEOH 6KDSH X...

Page 288: ...WWHG FOHDU DOO WRXFKNH V Q QXPEHU RI PDVWHU FHOO LQ WRXFKNH 3K RPLWWHG Q KHLJKW LQ WRXFK FHOOV 3Z RPLWWHG Q ZLGWK LQ WRXFK FHOOV OHDU 7RXFKNH 7 6 3N X 3N RPLWWHG FOHDU DOO WRXFKNH V Q QXPEHU RI PDVWHU...

Page 289: ...UDFWHUV UHYHUVH YLGHR ERUGHU FKDUDFWHUV UHYHUVH YLGHR DOO FKDUDFWHUV 7RXFKNH XGLEOH WWULEXWH 7 6 3V 3N X 3V RPLWWHG VLOHQW EHHS 3N RPLWWHG VHW DOO WRXFKNH V Q WRXFKNH ZKRVH DWWULEXWH LV EHLQJ DVVLJQHG...

Page 290: ...H 50 6 O UHVHW 6 K VHW 7RXFK 3DQHO RFNRXW 0RGH 7 0 6 O UHVHW 6 K VHW 5HJLRQ RPPDQGV 2XWOLQH D 7RXFKNH 27 6 3N 3V X 3N RPLWWHG RXWOLQH HQWLUH VFUHHQ Q WRXFKNH QXPEHU WR RXWOLQH 3V RPLWWHG R W SH O ERUG...

Page 291: ...QXPEHU WR RXWOLQH 3FK RPLWWHG QRUPDOO R W SH Q YDOXH RI VW ERUGHU FKDUDFWHU XVWRP 2XWOLQH D 5HJLRQ 25 6 3O 3F 3FK 3 RPLWWHG Q OLQHV LQ UHJLRQ IURP FXUVRU GRZQ 3F RPLWWHG Q FROXPQV LQ UHJLRQ IURP FXUVR...

Page 292: ...U FKDUDFWHUV PRGLI ERUGHU FKDUDFWHUV PRGLI DOO FKDUDFWHUV 5HYHUVH KDUDFWHU WWULEXWHV LQ D 7RXFKNH 5 7 6 3N 3Y 3D 3D X 3N RPLWWHG UHYHUVH HQWLUH VFUHHQ Q WRXFKNH QXPEHU WR UHYHUVH 3Y RPLWWHG UHYHUVH DW...

Page 293: ...UVH DWWULEXWH RI LQQHU FKDUDFWHUV UHYHUVH DWWULEXWH RI ERUGHU FKDUDFWHUV UHYHUVH DWWULEXWH RI DOO FKDUDFWHUV 3D RPLWWHG UHYHUVH UHYHUVH YLGHR DWWULEXWH UHYHUVH KLJKOLJKW DWWULEXWH UHYHUVH XQGHUOLQH DW...

Page 294: ...3Y RPLWWHG ILOO DOO FKDUDFWHUV ILOO LQQHU FKDUDFWHUV ILOO ERUGHU FKDUDFWHUV ILOO DOO FKDUDFWHUV 3FK RPLWWHG QRUPDOO JUD EORFN Q YDOXH RI ILOO FKDUDFWHU UDVH D 7RXFKNH 7 6 3N 3Y X 3N RPLWWHG HUDVH HQW...

Page 295: ...PRWH 0RGH RFDO RQO 6HQG RQJ UHDN RFDO RQO 6HQG 6KRUW UHDN RFDO RQO 6WDWXV 5HSRUWLQJ RPPDQGV 3RZHU 8S QWHUUXSW 0RGH 38O0 6 O UHVHW 6 K VHW 5HTXHVW 3RZHU 6WDWXV 536 6 Q 7 6 5HVSRQVH 6 Q QR UHVHW RU ORVV...

Page 296: ...L HG HUURU 5HTXHVW 7 6 GHQWLILFDWLRQ 6 F 6 F 7 6 5HVSRQVH 6 3W 3Y 3P 3G 3Z 3R F 3W 7 6 7 6 3Y PQ ILUPZDUH YHUVLRQ P Q 3P Q E WHV RI SDQVLRQ 0HPRU 3G 195 0 SDQVLRQ 0HPRU RU 5 0 RU QRQH 3Z SDQVLRQ 0HPRU...

Page 297: ...RODWLOH 0HPRU 7HVW 5HSRUW 5 75 6 Q 7 6 5HVSRQVH 6 3ORRSV 3IDLO 3VXP Q 3ORRSV 1XPEHU RI QRQYRODWLOH PHPRU FKHFNVXP WHVWV FRPSOHWHG VLQFH WKH RQWLQXRXV QWHJULW 7HVW VWDUWHG RU VLQFH ODVW SRZHU XS RU UHV...

Page 298: ...RI WKH GDWD ELW HUURU KLVWRU D ELW ZRUG WKDW FRQWDLQV D ORJLF LQ HDFK ELW SRVLWLRQ WKDW KDV QHYHU VKRZQ DQ HUURU GXULQJ DOO 5 0 WHVWLQJ FRQWDLQV D ORJLF LQ DQ ELW SRVLWLRQ WKDW KDV FRQWDLQHG DQ HUURU...

Page 299: ...received from the host there is a corresponding character within one of the two character sets The character sets contain data mapped into them from one of four character fonts The four character font...

Page 300: ...s For example character G is specified as column 4 row 7 Therefore the value of character G is 47 hex The shaded characters in this table show the ASCII mnemonics for the respective control codes thes...

Page 301: ...row B Therefore the value of character a is AB hex The shaded characters in columns 8 and 9 contain Boxtype characters that can only be displayed by sending the Outline A Region command The shaded cha...

Page 302: ...y where several characters are to be modified There is no software overhead of down loading characters once the font is in firmware To display the new characters the programmer needs only a chart simi...

Page 303: ...W DQG RPPXQLFDWLRQ 0RQLWRU 6HYHQ ELW FRQWURO FRGHV ZLOO EH GLVSOD HG XVLQJ FXVWRP FKDUDFWHUV ZLWKLQ WKH 6WDWLF 6 KDUDFWHU RQW 7HVW DQG WKH RPPXQLFDWLRQ 0RQLWRU 6SDFH FKDUDFWHU 6SDFH FRGHV DQG HUDVXUH...

Page 304: ...U RYHUIORZ HUURU RPPXQLFDWLRQ EXIIHU RYHUIORZ HUURUV GLVSOD WKH FXVWRP FKDUDFWHU QWHUQDWLRQDO FKDUDFWHUV XVHG IRU 15 VXSSRUW 7KH 1DWLRQDO 5HSODFHPHQW RGH FRPPDQG GLVSOD V WKH FXVWRP FKDUDFWHUV UURZ FK...

Page 305: ...KH 6HWXS 6FUHHQ DQG LWV VXEVFUHHQV RU ZKHQ WKH 6WDWLF 6 KDUDFWHU RQW LV PDSSHG LQWR WKH 6WDQGDUG KDUDFWHU 6HW R W SHV Boxtypes are special characters used to draw boxes or borders on the display The f...

Page 306: ...dots for the capital letter H ASCII 48 hex is 482 Figure C l shows how the capital letter H is encoded Address in Rom Code Byte TCS Display Not Used Not Used Not Used Not Used Not Used Not Used Note X...

Page 307: ...cent and dollar signs and brackets and braces are designed within a region 7 pixels high by 7 pixels wide The bottom of the character is placed 2 pixels above the bottom of the character cell The left...

Page 308: ...leftmost side of the character region is justified to the left column of pixels in the character cell Lowercase letters with ascenders are designed within a region 7 pixels high by 7 pixels wide The b...

Page 309: ...be used to design custom character fonts The aspect ratio of the character representations was altered slightly to give a close approximation of the display Each character is identified in octal hexad...

Page 310: ......

Page 311: ......

Page 312: ......

Page 313: ......

Page 314: ...ASCII Code Custom Character Pattern Chart ASCII Code ASCII Code ASCII Code...

Page 315: ...667 0374 Your TCS will probably never exhibit any of the symptoms shown here However to help any users having difficulties every effort has been made to include all known failure modes NOTE A soft res...

Page 316: ...RGHP FDEOH EHWZHHQ WKH KRVW DQG WKH 7 6 0XOWLGURS DGGUHVV RI 7 6 VHW WR WKURXJK EXW KRVW LV QRW XVLQJ PXOWLGURS SURWRFRO QWHU 6HWXS 6FUHHQ DQG FKDQJH GGUHVV WR QRQH RVW DQG 7 6 QRW FRPPXQLFDWLQJ 1R FR...

Page 317: ...UHVVHG EHIRUH WKH TXHXHG SRZHU XS LQWHUUXSW ZLOO EH VHQW 3RZHU XS LQWHUUXSW QRW JHQHUDWHG E 7 6 3RZHU 8S QWHUUXSW 0RGH LV UHVHW 6HW 3RZHU 8S QWHUUXSW 0RGH 5HSRUWLQJ IRUPDW GLIIHUV IURP WKDW H SHFWHG E...

Page 318: ...FFHSW WRXFK UHSRUWV DV QFKURQRXVO LQVWHDG RI XVLQJ 5HDG 7RXFKNH 6WDWXV FRPPDQG 7RXFKNH V UHSRUW EXW ZLWK LQFRUUHFW IRUPDW 5HSRUWLQJ IRUPDW KDV EHHQ FKDQJHG IURP GHIDXOW IRUPDW KDQJH UHSRUWLQJ IRUPDW E...

Page 319: ...WKH 7 6 6HWXS SDUDPHWHUV GRQ W JHW VDYHG WUO 6 RU 6 9 QRW GRQH QWHU 6HWXS 6FUHHQ FKDQJH SDUDPHWHUV WR GHVLUHG YDOXH DQG 6 9 QHZ YDOXHV 1R FXUVRU QYLVLEOH FXUVRU VHOHFWHG QWHU 6HWXS 6FUHHQ DQG FKDQJH F...

Page 320: ...HU QFRUUHFW FKDUDFWHUV GLVSOD HG QFRUUHFW FKDUDFWHU VHW VHOHFWHG 6HQG 6HOHFW KDUDFWHU 6HW RPPDQG WR VHOHFW GHVLUHG FKDUDFWHU VHW 1DWLRQDO 5HSODFHPHQW RGHV LV LQ XVH QWHU 6HWXS 6FUHHQ DQG VHW 15 WR QRQ...

Page 321: ...KHQ VLPSOLI RU GHOHWH RQH RU PRUH VWRUHG VFUHHQV HIRUH DOOLQJ RU 6HUYLFH 7 6 KDV GHWHFWHG VRPH VRUW RI HUURU ZKLFK SUHFOXGHV SURSHU RSHUDWLRQ QWHU 6HWXS 6FUHHQ DQG FKHFN 2SHUDWLRQDO 6WDWXV LQGRZ IRU H...

Page 322: ...n Mode Scrolling Region NOCHANGE Attribute Mode Modify Attribute commands Conceal Attribute Modify Attribute commands Editing a stored screen with the Select Screen command Mapping Character Fonts Pow...

Page 323: ...e not held If polled the TCS would report 0 indicating that no polled touch report is pending Problems arise in two circumstances 1 Polled Touch Mode is set but the application program fails to use th...

Page 324: ...ed to indicate End Of Line EOL on the RS 232 E interface For input to be done on a line basis for each touch report the TCS reporting format must specify an appended terminator character that matches...

Page 325: ...he scrolling region relative cursor movement commands that attempt to leave the scrolling region stop at the edge of the region After an absolute cursor movement command has moved the cursor out of th...

Page 326: ...ting Origin Mode moves the cursor to the home position of the current scrolling region Lines are numbered relative to the top of the scrolling region Resetting Origin Mode moves the cursor to the home...

Page 327: ...tly calls for changes to attributes When the TCS receives this command the specified attributes change regardless of the setting of the NOCHANGE Attribute Mode However when the NOCHANGE Attribute Mode...

Page 328: ...r Reverse Character Attributes in a Touchkey commands rather than the Modify Character Attributes in a Region or Modify Character Attributes in a Touchkey commands The former commands only change the...

Page 329: ...f the Displayed Screen do not change Therefore it may appear that the editing commands are not taking affect In fact they are but the results become visible only when the stored screen is copied into...

Page 330: ...Line Load Character Font Command the appearance of the display may become unreadable since the pixel patterns representing each character change Whenever a stored screen is copied into the Displayed...

Page 331: ...ltidrop Protocol there is no way for the TCS to tell whether it is still addressed by the host Even if the TCS knows it was previously addressed it has no way of knowing how long it has been without p...

Page 332: ...if it is applied to the entire touch panel touch reporting may appear to be defective or Touch Lockout Mode may seem to be set because no touch reports occur If it is suspected that the TCS is not gen...

Page 333: ...r 8 bits Neither end uses parity so a Parity Error is not reported either This kind of mistake can be avoided by having all applications set the host parameters and TCS parameters to exactly match Oth...

Page 334: ...QJ 2WKHU 6HWXS 6FUHHQ 3DUDPHWHUV In addition to Display Activity any other Setup Screen parameters could be selected incorrectly by an operator The Setup Lockout command ensures that Setup parameters...

Page 335: ...or was detected when the TCS was executing its RAM test In the Operational Status Report address indicates the address where the failure occurred and device is the reference designator of the failing...

Page 336: ...ed by the TCS See the discussion on Host Interface Flow Control in Chapter 2 SDQVLRQ PHPRU IXOO HUURU 6 Q A command cannot be completed properly because optional Expansion Memory is full The error can...

Page 337: ...been programmed or is improperly programmed for the current configuration An Expansion Memory Uninitialized error can only occur during power up or reset when the TCS reads the Expansion Memory config...

Reviews: