您的浏览器版本过低,为保证更佳的浏览体验,请点击更新高版本浏览器

以后再说X

欢迎访问瑞昌明盛自动化设备有限公司网站!

图片名

全国订购热线:
+86 15270269218E-mail:xiamen2018@foxmail.com

主页 > 资讯公告 > 产品资讯

产品资讯
产品资讯 行业资讯 工控询价

论脉冲计数板DSDP140B 57160001-ACX的使用方法

作者:xqt 发布时间:2022-10-17 17:11:01 次浏览

论脉冲计数板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发送数据以

论脉冲计数板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 theidentifier, to ensure that your investment remains protected. The two reasons that the data would not be stored properly are if there was not enough area to store the data, or if there was a hardware failure. See the Get Free User Area - ESC n command for more information about storage area. Refer to Table 1-4 for a complete list of values of # and the corresponding number of data bytes for both the read and write commands. 2.2.50 Get Free User Area - ESC n This command tells the QTERM-II to transmit one character to the host. This character will be in the range of 40h to 7Fh ('@' to DEL) and will indicate the total size of the user area. This will always be 63 bytes (character 7Fh), unless your QDATA file is so large that there are fewer bytes available for the user area. Note that the value returned by this command does not tell you how much more you can write to the User Area, but tells you how much total you can write to the User Area.

DSDP150 57160001-GF.jpg


图片名 客服

在线客服 客服一号