B&R 8AC120伺服驅(qū)動(dòng)卡件
此參數(shù)指定必須連續(xù)傳輸錯(cuò)誤的數(shù)量在停止應(yīng)用程序端口上的通信之前發(fā)生。如果參數(shù)為設(shè)置為0時(shí),應(yīng)用程序端口將在所有條件下繼續(xù)運(yùn)行。如果值設(shè)置為大于0(1到65535),如果指定發(fā)生故障的次數(shù)。[IEC-101主命令]
本節(jié)包含模塊的命令。本節(jié)最多可包含到1000個(gè)用戶定義的命令,由模塊執(zhí)行并發(fā)送到受控設(shè)備。無(wú)需在此列表中放置1類或2類投票
對(duì)于受控設(shè)備,每個(gè)端口的主驅(qū)動(dòng)程序?qū)?zhí)行這些當(dāng)端口空閑時(shí)自動(dòng)。為了使端口空閑,請(qǐng)確保存在可用的空閑時(shí)間,并且命令不經(jīng)常使用港口。“命令列表”部分以保留標(biāo)簽“開始”和“結(jié)束”開始帶有標(biāo)簽端。文件中的每一行對(duì)應(yīng)一個(gè)單獨(dú)的命令
每行中的第一個(gè)字符位置留空(空白)。
2.4.1啟用代碼
0=禁用
1=已啟用,將使用輪詢間隔參數(shù)(第35頁(yè))(秒)執(zhí)行
2=條件(當(dāng)數(shù)據(jù)庫(kù)中的點(diǎn)發(fā)生變化時(shí)執(zhí)行)
該字段定義命令是否要執(zhí)行,以及在什么情況下執(zhí)行條件要禁用該命令,請(qǐng)將該參數(shù)設(shè)置為0(禁用)。你可以仍然使用特殊功能塊通過(guò)處理器執(zhí)行命令。要啟用該命令,請(qǐng)將該參數(shù)設(shè)置為1。
將輪詢間隔時(shí)間設(shè)置為0,以便在每次掃描命令列表。
將輪詢間隔時(shí)間設(shè)置為以秒為單位的值,以便在指定的間隔(第35頁(yè))。
僅當(dāng)與命令關(guān)聯(lián)的內(nèi)部數(shù)據(jù)更改時(shí),將此參數(shù)設(shè)置為2。此值僅對(duì)寫入命令有效。
2.4.2數(shù)據(jù)庫(kù)索引
數(shù)據(jù)庫(kù)索引是模塊數(shù)據(jù)庫(kù)中用作源的位置命令中的數(shù)據(jù)。數(shù)據(jù)類型(第36頁(yè))字段確定含義索引的。
2.4.3輪詢間隔
此參數(shù)指定模塊應(yīng)使用的最小頻率當(dāng)啟用代碼設(shè)置為1時(shí)執(zhí)行命令。值為以秒為單位輸入。例如,每1秒,在字段中輸入值10。參數(shù)的值為0意味著:該命令應(yīng)在列表的每次掃描中執(zhí)行,并盡快可能
[IEC-101 Master Commands] This section contains the commands for the module. This section can contain up to 1000 user defined commands to be executed by the module and sent to the controlled devices. There is no need to place Class 1 or Class 2 polls in this list for the controlled devices as the master driver for each port will execute these automatically when the port is idle. In order for the port to be idle, make sure that there is idle time available and that the commands do not constantly utilize the ports. The command list section starts with a reserved label START and ends with the label END. Each row in the file corresponds to an individual command with the first character position in each row left blank (white space). 2.4.1 Enable Code 0 = Disabled 1 = Enabled, will execute using Poll Interval parameter (page 35) (seconds) 2 = Conditional (executed when point in database changes) This field defines whether the command is to be executed, and under what conditions. To disable the command, set this parameter to 0 (Disabled). You can still execute commands through the processor, using a Special Function block. To enable the command, set this parameter to 1. Set the Poll Interval Time to 0 to execute the command during each scan of the command list. Set the Poll Interval Time to a value in seconds, to execute the command at the specified interval (page 35). To execute the command only if the internal data associated with the command changes, set this parameter to 2. This value is valid only for write commands. 2.4.2 Database Index Database Index is the location in the module’s database to use as the source for the data in the command. The data type (page 36) field determines the meaning of the index. 2.4.3 Poll Interval This parameter specifies the minimum frequency at which the module should execute the command when the Enable Code is set to one 1. The value is entered in units of seconds. For example, to execute a command every 10 seconds, enter a value of 10 in the field. A value of 0 for the parameter implies that the command should be executed every scan of the list, as quickly as possible.