3BSE018059R1分布式控制模块
向PLC存储器报告网络诊断
除了在PLC故障表中记录网络故障外,FIP总线控制器还可以将网络诊断放入PLC内存的指定区域。默认情况下,此错误已禁用报告。它可以通过发出启动网络诊断COMREQ来启用并使用停止网络诊断COMREQ禁用。PLC存储器中网络诊断数据的格式
可选的网络诊断功能需要49个字的PLC内存。这个可以选择内存类型,但长度是固定的。在该内存区域内,启动网络诊断COMREQ可用于开始报告网络
对PLC存储器进行诊断,并禁用或重新启用远程I/O总线故障日志记录设备到PLC故障表。此COMREQ只需执行一次,即可启用特色再次发出COMREQ将取消任何现有的网络诊断功能,因此COMREQ可在程序的第一次扫描(FST_SCN触点)时发送,无需首先发送停止网络诊断COMREQ。
任何启动网络诊断
返回错误状态的COMREQ也会取消任何现有的网络诊断功能。
示例:启动网络诊断命令块在本例中,COMREQ将%R1指定为COMREQ状态的位置
Word和%R100作为内存中的起始位置,以接收诊断数据。未禁用“总线丢失”故障的记录。使用停止网络诊断COMREQ禁用网络诊断功能。
禁用该功能后,诊断数据的定期更新将停止。这个远程总线故障记录(如果启用)也会停止。FIP总线控制器返回正常操作。
存储新配置时,网络诊断功能也将禁用PLC、FBC通过按钮复位,或PLC通电。
如果PLC CPU转换为停止,则不会禁用网络诊断功能模式可通过在最后一个上包含停止网络诊断COMREQ来禁用PLC逻辑的扫描(LST_SCN触点)。示例:停止网络诊断命令块
在本例中,COMREQ请求停止网络诊断功能。它将%R1指定为COMREQ状态字的位置。
Reporting Network Diagnostics to PLC Memory
In addition to logging network faults in the PLC fault table, the FIP Bus Controller can
place network diagnostics into a specified area of PLC memory. By default, this fault
reporting is disabled. It can be enabled by issuing a Start Network Diagnostic COMREQ
and disabled using a Stop Network Diagnostic COMREQ.
Format of the Network Diagnostics Data in PLC Memory
The optional Network Diagnostics feature requires 49 words of PLC memory. The
memory type can be selected, but the length is fixed. Within this area of memory The Start Network Diagnostic COMREQ can be used to begin reporting network
diagnostics to PLC memory and to disable or re-enable logging I/O Bus Faults for remote
devices to the PLC fault table. This COMREQ need only be executed once to enable the
feature. Issuing the COMREQ again cancels any existing network diagnostic function, so
the COMREQ can be sent on the first scan (FST_SCN contact) of the program without
sending a Stop Network Diagnostic COMREQ first. Any Start Network Diagnostic
COMREQ that returns an error status also cancels any existing network diagnostic feature.
Example Start Network Diagnostic Command Block
In this example, the COMREQ specifies %R1 as the location of the COMREQ Status
Word and %R100 as the starting location in memory to receive the 49 words of
diagnostic data. Logging of “Loss of bus” faults is not disabled.Use the Stop Network Diagnostic COMREQ to disable the Network Diagnostic feature.
When the feature is disabled, the periodic updating of the diagnostic data stops. The
logging of remote bus faults, if enabled, also stops. The FIP Bus Controller returns to
normal operation.
The Network Diagnostic feature is also disabled when a new configuration is stored to
the PLC, the FBC is reset by the pushbutton, or the PLC is power–cycled.
The Network Diagnostic feature is not disabled if the PLC CPU transitions to STOP
mode. It can be disabled by including a Stop Network Diagnostic COMREQ on the last
scan (LST_SCN contact) of the PLC logic.
Example Stop Network Diagnostic Command Block
In this example, the COMREQ requests Stop the Network Diagnostic feature. It
specifies %R1 as the location of the COMREQ Status Word.