Comtrol Modbus TCP User Guide User Manual

Page 92

Advertising
background image

92 - Appendix A. Programming the PLC via Concept

DeviceMaster UP Modbus/TCP User Guide: 2000447 Rev. I

Read Serial Port Statistics via Read Holding Registers Message

A.2.2.5. Read Serial Port Statistics via Read Holding Registers Message

The following screen depicts a Read Holding Registers message used to retrieve the serial port statistics in
ladder logic.

Where:

SLAVEREG Refers to the serial port statistics address on the DeviceMaster UP (+1 for use with Concept).

NO_REG

Set to 24 (size of statistics data in words).

NDR

The done flag.

ERROR

The error flag.

REG_READ

The destination address on the PLC to place the statistics data. (Must be at least 24 words in
length.)

STATUS

The message status word.

AddrFld

This contains the PLC Modbus/TCP slot/index and IP address of the DeviceMaster UP.

Advertising