我们今天能为您提供什么帮助?

When using a Unity Premium PLC, what function block would I use for retrieving diagnostic information from a Modbus slave device?

Issue:
Function block to use in a Premium PLC for retrieving diagnostic information from a Modbus slave device


Product Line:
Premium PLC, Unity Pro


Resolution:
The SEND_REQ function block is used for retrieving diagnostic and maintenance information from  a Modbus slave device....
Modbus Request
Function Code / Sub Function Code
Communication Function
Exception status
16#07
SEND_REQ
Diagnostics
16#08/16#xx
SEND_REQ
Event counter
16#0B
SEND_REQ
Connection event
16#0C
SEND_REQ
Slave identification
16#11
SEND_REQ
The diagnostics and maintenance information are shown below:
Designation
Function code / sub-function code
Read exception status
16#07
Echo
16#08 / 16#00
Initialize module
16#08 / 16#01
Read the diagnostic registers of the PLC
16#08 / 16#02
Change end of frame delimiter (ASCII mode)
16#08 / 16#03
Switch to listening mode
16#08 / 16#04
Reset counters
16#08 / 16#0A
Number of messages received without CRC error
16#08 / 16#0B
Number of frames received with CRC error
16#08 / 16#0C
Number of exceptional responses
16#08 / 16#0D
Number of messages addressed to the PLC
16#08 / 16#0E
Number of broadcast messages received
16#08 / 16#0F
Number of correct responses
16#08 / 16#10
Number of messages received in listening mode
16#08 / 16#11
Number of invalid characters received
16#08 / 16#12
Read event counter
16#0B
Read connection event
16#0C
Read identification
16#11



施耐德電機Taiwan

探索更多

需要協助?

產品選型工具

快速輕鬆地為您的應用找到合適的產品和附件。

取得報價

立即線上提交您的銷售需求,專業團隊將主動聯繫您。

購買地點

輕鬆在您所在地區找到最近的施耐德電機經銷商。

支援中心

在同一位置找到滿足您所有需求的支援資源。