A Simple Modbus Digital Input Configured to Contain Input Register Data

This example demonstrates how you might configure a Simple Modbus Digital point to represent Input Register Data from a Modbus PLC.

Example:

Within Geo SCADA Expert, a 1-bit digital Input point is to contain data from the 9th bit of the third Word in the Input Register range 300003 to 300006. (An Input Register is 16-bits, or one Word, long.)

The configuration of the Simple Modbus scanner with which the point is associated is detailed in an earlier example (see A Simple Modbus Scanner Configured to Scan Four Input Registers). The addressing at the Modbus PLC starts at 1.

Within Geo SCADA Expert, the Simple Modbus Digital Input Point is configured as follows:

Number of Bits:1

Word Offset:2
(As the point is to retrieve data from the third Word in the scanned address range (the first Word being 0).)

Bit Offset:8
(The 9th bit in the above Word (the first Bit being 0).)

The Source attribute for the point confirms that the point is configured to contain data from the 9th bit of the third Word in the Input Register range 300003 to 300006:

MODBUS/TCP-8 502:Device 5, Input Registers - DG 3:00005 (bit offset 8, 1 bits)
(3:00005 indicates the Modbus address 300005, which contains Input Registers in this particular PLC. The point is to contain 1-bit of data from 9th bit (bit offset 8) in this register.)


Disclaimer

Geo SCADA Expert 2020