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