HIMA F35模塊,F35使用配置教程
掃描儀允許PLC程序從任何
主配置中的DP從設備。PLC可隨時讀取該數據
程序如果狀態區域的MasDiagUpdate寄存器包含非零值(有關詳細信息,請參閱CLX PFB掃描儀狀態數組)。當此寄存器為非零,PLC程序應從從站讀取診斷并清除使用PFB\U SLV\U DIAG\U ACK命令進行診斷指示。
HIMA F35模塊該過程在下圖以及梯形圖邏輯示例中概述程序,其中包括SSTPFBCLX\u preview\u 2\u示例。ACD:從機請求診斷讀取。掃描儀讀取診斷數據并放置更新狀態陣列中的指示和從站地址。使用配置工具配置Flex I/O時,始終配置18個插槽,甚至如果插槽為空。前兩個插槽用于狀態,第一個插槽配置為輸入字和第二個插槽作為輸出字。其余16個插槽用于輸入/輸出模塊。對于每個模塊,配置兩個插槽。
下表顯示了如何配置各種Flex輸入/輸出模塊。輸入“000”表示不配置該插槽的長度。PB3-CLX主機支持同步、非同步、凍結和解凍命令。可選的下面的示例例程描述了如何觸發這些命令中的任何一個。這些命令需要一個名為組ID的附加參數。此組ID是一個包含每個位的8位字段表示組號(0到7)。要向所有從屬設備廣播To命令,組ID 0將被使用。要將其中一個命令發送到特定的從屬組,
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