3BSE018059R1分布式控制模塊
向PLC存儲器報告網(wǎng)絡診斷
除了在PLC故障表中記錄網(wǎng)絡故障外,F(xiàn)IP總線控制器還可以將網(wǎng)絡診斷放入PLC內(nèi)存的指定區(qū)域。默認情況下,此錯誤已禁用報告。它可以通過發(fā)出啟動網(wǎng)絡診斷COMREQ來啟用并使用停止網(wǎng)絡診斷COMREQ禁用。PLC存儲器中網(wǎng)絡診斷數(shù)據(jù)的格式
可選的網(wǎng)絡診斷功能需要49個字的PLC內(nèi)存。這個可以選擇內(nèi)存類型,但長度是固定的。在該內(nèi)存區(qū)域內(nèi),啟動網(wǎng)絡診斷COMREQ可用于開始報告網(wǎng)絡
對PLC存儲器進行診斷,并禁用或重新啟用遠程I/O總線故障日志記錄設備到PLC故障表。此COMREQ只需執(zhí)行一次,即可啟用特色再次發(fā)出COMREQ將取消任何現(xiàn)有的網(wǎng)絡診斷功能,因此COMREQ可在程序的第一次掃描(FST_SCN觸點)時發(fā)送,無需首先發(fā)送停止網(wǎng)絡診斷COMREQ。
任何啟動網(wǎng)絡診斷
返回錯誤狀態(tài)的COMREQ也會取消任何現(xiàn)有的網(wǎng)絡診斷功能。
示例:啟動網(wǎng)絡診斷命令塊在本例中,COMREQ將%R1指定為COMREQ狀態(tài)的位置
Word和%R100作為內(nèi)存中的起始位置,以接收診斷數(shù)據(jù)。未禁用“總線丟失”故障的記錄。使用停止網(wǎng)絡診斷COMREQ禁用網(wǎng)絡診斷功能。
禁用該功能后,診斷數(shù)據(jù)的定期更新將停止。這個遠程總線故障記錄(如果啟用)也會停止。FIP總線控制器返回正常操作。
存儲新配置時,網(wǎng)絡診斷功能也將禁用PLC、FBC通過按鈕復位,或PLC通電。
如果PLC CPU轉(zhuǎn)換為停止,則不會禁用網(wǎng)絡診斷功能模式可通過在最后一個上包含停止網(wǎng)絡診斷COMREQ來禁用PLC邏輯的掃描(LST_SCN觸點)。示例:停止網(wǎng)絡診斷命令塊
在本例中,COMREQ請求停止網(wǎng)絡診斷功能。它將%R1指定為COMREQ狀態(tài)字的位置。
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.