User Guide
MES 1003 WMS
Doc no. 100837-MAN – Rev. E1 – Rev. date 2022-10
© Danfoss IXA A/S | Page 28
4.4.3.
Write Single Coil (Modbus function 5)
Supports 1 coil
Coil 0
Start measuring
When set to 0xFF00 start measuring.
When set to 0x0000 stop measuring.
Any other value returns exception.
Measuring may be started (0xff00) if the sensor is in Standby mode.
Otherwise an exception is returned and the sensor stays in Standby mode.
Measuring may be stopped (0x0000) if the sensor is in Operating mode.
Otherwise an exception is returned and the sensor stays in Operating
mode.
Read coil 0 to determine if the sensor is in Operating mode.
Read coil 1 to determine if the sensor is in Standby mode.
Coil 50
Local Control
When set to 0xFF00 Local Control is enabled.
Cannot be set to 0x0000 an exception will be returned.
Any other value returns and exception.
Local Control may be enabled using Modbus.
Local control can only be disabled using the Lcp.
Read coil 42 to determine if Local Control is enabled
Table 18
4.4.4.
Write Multiple Registers (ModBus Function 0x10)
Supports 6 registers – each 2 bytes: AB
Unsigned integer addresses (4 bytes)
Offset 10000 + Offset
10001
Measurement log start time in
seconds since 1970
integer value AB
0
AB
1
Offset 10002 + Offset
10003
Measurement log end time in
seconds since 1970
integer value AB
2
AB
3
Offset 10004 + Offset
10005
Start measurement log download
offset
integer value AB
4
AB
5
Table 19