控制器PFSA140 3BSE006503R1的參數(shù)說明
QTERM-II已設(shè)置所有參數(shù)都使用默認(rèn)值。您將只修改要更改其默認(rèn)值的參數(shù)。QTERM-II交付時已安裝默認(rèn)QDATA文件。如果要更改任何默認(rèn)值,只需修改相應(yīng)的QDATA文件并將其加載到終端。如果沒有,可以跳過整個章節(jié)。請注意,所有QTERM-II參數(shù)都可以使用軟件命令進(jìn)行修改(請參閱第2章),鍵字符串和自定義顯示字符除外!修改按鍵按下時發(fā)送的內(nèi)容或重新定義自定義顯示字符的唯一方法是修改QDATA文件并使用QSETUP程序?qū)⑵浼虞d到QTERM-II中。3.2使用QSETUP您的分發(fā)磁盤包括QSETUP。EXE程序,用于將QDATA文件加載到QTERM-II中。該程序?qū)嶋H上執(zhí)行三個任務(wù):?將QDATA文件加載到QTERM-II中?從QTERM-II中檢索QDATA文檔?將操作代碼文件(QCODE文件)加載到QTEM-II中。要使用QSETUP,必須使用開機(jī)設(shè)置將QTERM-II的波特率和數(shù)據(jù)格式設(shè)置為9600/8n1。這些是唯一適用于QSETUP的設(shè)置。您還必須將終端連接到PC的COM端口并為其供電。如果您沒有EIA-232終端,則需要一個接口單元。有關(guān)更多信息,請參閱第1章首次運(yùn)行QSETUP時,您將看到一個顯示版本號的介紹性屏幕。此版本必須與要加載的QDATA文件的版本匹配。有關(guān)更多信息,請參閱下面的版本部分。
加載QDATA文件
要將QDATA文件從磁盤加載到QTERM-II,請選擇加載QDATA菜單項。將要求您輸入文件名。輸入文件名和擴(kuò)展名,然后按Enter鍵。QSETUP現(xiàn)在將打開指定的文件,對其進(jìn)行錯誤掃描,如果沒有找到錯誤,則將其加載到QTERM-II中。這大約需要10秒鐘。如果發(fā)現(xiàn)任何錯誤,QSETUP將顯示指示問題的錯誤消息。使用編輯器修復(fù)問題,然后嘗試再次加載。3.2.2加載QCODE文件分發(fā)盤上還包含一個名為QCODE.V30的文件。這實際上是運(yùn)行QTERM-II的微處理器代碼。如果QTERM-II中的代碼以某種方式損壞,您可以將此文件加載到終端以使其再次運(yùn)行。如果您懷疑終端的代碼已損壞,請致電Beijer Electronics尋求重新加載QCODE文件的技術(shù)幫助。3.2.3檢索QDATA文件如果您選擇QSETUP菜單屏幕上的第三個菜單項,則會要求您輸入文件名,QSETUP會將檢索到的QDATA信息放入其中。指定不存在的文件名。QSETUP將從終端檢索QDATA信息并將其放入磁盤文件。此文件與終端提供的默認(rèn)文件類似,但有兩處不同:?檢索到的文件中沒有注釋。?檢索到的文件每行只有一個標(biāo)識符,因此它比默認(rèn)的QDATA文件(在關(guān)鍵部分的一行上放幾個標(biāo)識符)要多很多行。
QTERM-II is already set up
with default values for all parameters. You will modify only the parameters which you want to change from their default. Your QTERM-II is delivered with the default QDATA file already installed. You only need to modify the appropriate QDATA file and load it into the terminal if you want to change any of the default values. If not, you can skip this entire chapter. Note that all QTERM-II parameters can be modified using software commands (see Chapter 2), except for key strings and custom display characters! The only way to modify what a key sends when it is pressed, or to redefine the custom display characters, is by modifying the QDATA file and loading it into the QTERM-II using the QSETUP program. 3.2 Using QSETUP Your distribution disk includes the QSETUP.EXE program, which is used to load the QDATA file into your QTERM-II. This program actually performs three tasks: ?load a QDATA file into the QTERM-II ?retrieve a QDATA file from the QTERM-II ?load the operation code file (QCODE file) into the QTERM-II To use QSETUP, you must use power-on setup to set the QTERM-II's baud rate and data format to 9600/8n1. These are the only settings that will work with QSETUP. You must also connect your terminal to your PC's COM port and supply power to it. If you do not have an EIA-232 terminal, you will need an interface unit. See Chapter 1 for more information When you first run QSETUP, you will see an introductory screen that shows the version number. This version must match the version of the QDATA file you are going to load. See the Versions section below for more information.
Loading a QDATA File
To load a QDATA file from disk into the QTERM-II, select the Load QDATA menu item. You will be asked for the file name. Enter the file name, along with the extension, then press the Enter key. QSETUP will now open the specified file, scan it for errors, and, if none are found, load it into the QTERM-II. This will take about 10 seconds. If any errors are found, QSETUP will display an error message indicating the problem. Use your editor to fix the problem, then try to load it again. 3.2.2 Loading a QCODE File Also included on your distribution disk is a file called QCODE.V30. This is the actually microprocessor code for running the QTERM-II. If the code in the QTERM-II somehow gets corrupted, you can load this file into the terminal to get it running again. If you suspect your terminal has corrupted code, call Beijer Electronics for technical assistance in reloading the QCODE file. 3.2.3 Retrieving a QDATA File If you select the third menu item on the QSETUP menu screen, you will be asked for a file name into which QSETUP will put the retrieved QDATA information. Specify a file name that does not exist. QSETUP will retrieve the QDATA information from your terminal and put it into a disk file. This file is similar to the default files supplied with your terminal, except for two changes: ?The retrieved file will have no comments in it. ?The retrieved file will have exactly one identifier per line, so it will have many more lines than the default QDATA file (which puts several identifiers on one line in the key sections).