論脈沖計數板DSDP140B 57160001-ACX的使用方法
XON/XOFF模式-ESC l
此命令啟用或禁用QTERM-II的XON/XOFF操作。#的有效值為@-disable XON/XOFF operation A-enable XON/XOFF operations如果禁用XON/X-OFF操作,則用戶按下的任何鍵都將立即發送到主機。如果主機以足夠快的速度向QTERM-II發送數據以填滿接收緩沖區,則會忽略其他字符。2.2.49用戶區域讀/寫-ESC m#此命令允許您在QTERM-II非易失性EEPROM中存儲多達63字節的自己的信息(如序列號或參數),然后從終端讀取。#有兩個有效值:@-讀取用戶數據A-寫入用戶數據(后跟數據)read data:如果#=“@”,QTERM-II將以以下格式將用戶區域中的數據傳輸到主機:#….其中#是40h到7Fh范圍內的字符,表示后面將跟隨0到63字節的用戶數據,以及“….”是相應的用戶字節數。這些字節將與最初存儲的字節完全相同,因此它們可以是任何8位值。如果#=“@”(后面是0字節),則用戶區域中沒有存儲數據。寫入數據:要寫入用戶數據,請使用以下格式:ESC m A#….其中#在41h到7fh('A'到DEL)的范圍內,并指示后面是1到63字節的數據,以及“….”是要存儲的數據字節。這些數據字節可以是任何8位值。收到整個字符串后,QTERM-II將通過向主機發送一個字符進行響應:06h-確認字符(ACK),數據存儲屬性15h-否定確認字符(NAK),未存儲數據
使用QDATA文件
3.1 QDATA文件QDATA用于配置終端。您可能有三個原因需要使用QDATA文件:?您希望更改按鍵被按下時發送的內容,或設計自己的顯示字符(這必須使用QDATA文件完成)。?您想更改一些其他默認設置(如蜂鳴音長度、標簽設置等)。?您希望通過修改終端的出廠默認操作來保護您的開發投資。如果第三個原因對您來說很重要,請務必考慮修改識別碼,以確保您的投資得到保護。數據無法正確存儲的兩個原因是沒有足夠的區域來存儲數據,或者硬件故障。有關存儲區域的詳細信息,請參見獲取可用用戶區域-ESC n命令。有關讀取和寫入命令的#值和相應數據字節數的完整列表,請參閱表1-4。2.2.50獲取自由用戶區-ESC n此命令告訴QTERM-II向主機傳輸一個字符。此字符的范圍為40h到7Fh(“@”到DEL),表示用戶區域的總大小。這將始終是63字節(字符7Fh),除非QDATA文件太大,用戶區域可用的字節更少。請注意,此命令返回的值并沒有告訴您可以向用戶區域寫入多少內容,而是告訴您可以寫入用戶區域的總內容。
XON/XOFF Mode - ESC l
This command enables or disables the XON/XOFF operation of the QTERM-II. Valid values for # are @ - disable XON/XOFF operation A - enable XON/XOFF operation If you disable XON/XOFF operation, then any keys pressed by the user will be sent to the host immediately. If the host sends data fast enough to the QTERM-II to fill up the receive buffer, additional characters will be ignored. 2.2.49 User Area Read/Write - ESC m # This command allows you to store up to 63 bytes of your own information (such as serial numbers or parameters) in the QTERM-II nonvolatile EEPROM, then later read them from the terminal. There are two valid values for #: @ - read user data A - write user data (followed by data) READ DATA: if # = '@', the QTERM-II 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 7Fh, and indicates that 0 to 63 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: ESC m A # . . . . where # is in the range of 41h to 7fh ('A' to DEL), and indicates that from 1 to 63 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 received, the QTERM-II will respond by transmitting one character to the host: 06h - Acknowledge character (ACK), data stored propery 15h - Negative Acknowledge character (NAK), data not stored
USING THE QDATA FILE
3.1 QDATA Files
A QDATA file is used to configure your terminal. There
are three reasons you may want to use a QDATA file:
? You want to change what keys send when they are
pressed or design your own display characters (this
must be done with the QDATA file).
? You want to change some of the other defaults (such
as beep length, tab settings, etc.).
? You want to protect your development investment by
modifying the terminal from its factory-default operation.
If the third reason is important to you, be sure to consider
modifying the