MX32v2
ANALOG AND DIGITAL CONTROLLER
USER MANUAL
Revision D.0
Example
Access to measurements from the sensor located at line 2 and address 32 of unit n° 2.
A. Determination of the sensor address: (2 – 1) x 32 + 32 = 64
B. Structure of the
Modbus
request:
• Slave number for the unit (defined by COM 32) 02 = 0x02
• Operating type (03 = read) 03 = 0x03
• Address of the 1st word 2000+64 = 0x0810
• Number of words to read 01 = 0x0001
• CRC
Thread: 0x02 0x03 0x08 0x10 0x00 0x01 0xCRC 0xCRC
Example
Access the status of the sensor located at analog input 1 of unit n° 2.
A. Calculation of the table index: 256 + 1 = 257
B. Request script:
• Slave number for the unit (defined by COM 32) 02 = 0x02
• Operating type (03 = read) 03 = 0x03
• Address of the 1st word 2300 + 57 = 0x09FD
• Number of words to read 01 = 0x0001
• CRC
Thread: 0x01 0x03 0x09 0xFD 0x00 0x01 0xCRC 0xCRC
12.3 Address Table
12.3.1 Supervision of the
MX32v2
sensors
All reading requests for the
Modbus
are done
via
function 3. The cartography is shown below:
0
management
From addresses 0 to 1999, the
Modbus
request address
serves to select a slave.
The response consists of a data structure corresponding to
the slave configuration outlined below.
2000
65535
management.
From addresses 2000 to 65535 the address management
is typical
Modbus
address management.