HIMA F35模塊,F35使用配置教程
掃描儀允許PLC程序從任何
主配置中的DP從設(shè)備。PLC可隨時(shí)讀取該數(shù)據(jù)
程序如果狀態(tài)區(qū)域的MasDiagUpdate寄存器包含非零值(有關(guān)詳細(xì)信息,請(qǐng)參閱CLX PFB掃描儀狀態(tài)數(shù)組)。當(dāng)此寄存器為非零,PLC程序應(yīng)從從站讀取診斷并清除使用PFB\U SLV\U DIAG\U ACK命令進(jìn)行診斷指示。
HIMA F35模塊該過程在下圖以及梯形圖邏輯示例中概述程序,其中包括SSTPFBCLX\u preview\u 2\u示例。ACD:從機(jī)請(qǐng)求診斷讀取。掃描儀讀取診斷數(shù)據(jù)并放置更新狀態(tài)陣列中的指示和從站地址。使用配置工具配置Flex I/O時(shí),始終配置18個(gè)插槽,甚至如果插槽為空。前兩個(gè)插槽用于狀態(tài),第一個(gè)插槽配置為輸入字和第二個(gè)插槽作為輸出字。其余16個(gè)插槽用于輸入/輸出模塊。對(duì)于每個(gè)模塊,配置兩個(gè)插槽。
下表顯示了如何配置各種Flex輸入/輸出模塊。輸入“000”表示不配置該插槽的長(zhǎng)度。PB3-CLX主機(jī)支持同步、非同步、凍結(jié)和解凍命令。可選的下面的示例例程描述了如何觸發(fā)這些命令中的任何一個(gè)。這些命令需要一個(gè)名為組ID的附加參數(shù)。此組ID是一個(gè)包含每個(gè)位的8位字段表示組號(hào)(0到7)。要向所有從屬設(shè)備廣播To命令,組ID 0將被使用。要將其中一個(gè)命令發(fā)送到特定的從屬組,
The SST-PB3-CLX-RLL scanner allows the PLC program to read the diagnostic data from any
DP slave that is in the master's configuration. This data can be read at any time by the PLC
program. A slave diagnostic indication is active if the MasDiagUpdate register of the Status area
contains a non-zero value (see the CLX PFB Scanner Status array for details). When this register
is non-zero, the PLC program should read the diagnostics from the slave station and clear the
diagnostic indication by using the PFB_SLV_DIAG_ACK command.
This procedure is outlined in the diagram shown below, as well as in a sample Ladder Logic
program, which includes SSTPFBCLX_preview_2_Example.ACD:
1. Slave request diagnostic read. Scanner reads the diagnostics data and places the update
indication and the slave station address in the Status array.When you configure the Flex I/O using the Configuration Tool, always configure 18 slots, even
if the slots are empty. The first two slots are used for status, with the first slot configured as an
input word and the second slot as an output word. The remaining 16 slots are used for I/O
modules. For each module, configure two slots.
The following table shows how to configure the various Flex I/O modules. An entry of "000"
means do not configure a length for that slot.The PB3-CLX Master supports Sync, Unsync, Freeze and Unfreeze commands. The optional
sample routine below describes how trigger any one of these