A Modbus Analog Input Configured to Present Data in DINT Format
This example demonstrates how you might configure a Modbus Analog point to represent Input Register data from a Modbus PLC. The analog point is to present the data in DINT format in ClearSCADA.
Example:
Within ClearSCADA, an analog input point is to contain data from the third Word in the Input Register range 300003 to 300006. The point is to present the data in signed 32-bit format.
The configuration of the Modbus scanner with which the point is associated is detailed in an earlier example (see A Modbus Scanner Configured to Scan Four Input Registers). The addressing at the Modbus PLC starts at 1.
Within ClearSCADA, the Modbus Analog Input Point is configured as follows:
Word Offset:2
(As the point is to retrieve data from the third Word in the scanned address range (the first Word being 0).)
Data Type:DINT
(DINT specifies that the data is to be presented in signed 32-bit format.)
The Source attribute for the point confirms that the point is to contain data from the third Word in the Input Register range 300003 to 300006:
MODBUS/TCP-8 502:Device 5, Input Registers - AG 3:00005-3:00006 (DINT)
(3:00005-3:00006 indicates the Modbus address 300005 to 300005, which contains Input Registers in this particular PLC (the point has 32-bits of data—the equivalent of 2 Words, and therefore 2 Registers). The point is to present the data in signed 32-bit format.)