beautypg.com

Flintec MCS-64 ModbusOnEthernet User Manual

Page 15

background image

Manual MCS-64: Modbus on Ethernet

Page 15

5.1 System diagnosis – ID, IV, IS

Read these registers to get type, firmware version or device status of System MCS-64.


ID

Request of device identity

[ Register = 202C, Type = Int32 ]

Master (PC / PLC) sends

Device responds

ID D:8813

The response to this request gives the actual identity of the active device. This is particularly
useful when trying to identify different device types on a bus.


IV

Request of firmware version

[ Register = 202E, Type = Int32 ]

Master (PC / PLC) sends

Device responds

IV V:0124

The response to this request gives the firmware version of the active device.


IS

Request device status

[ Register = 2030, Type = Int32 ]

Master (PC / PLC) sends

Device responds

IS S:240000

(example)

The response to this request comprises of two 3-digit decimal values, which can be decoded
according to the table below:

Leftmost 3-digit value:

Rightmost 3-digit value:

1 Signal stable

1 (not used)

2 Zero action performed

2 (not used)

4 Tare active

4 (not used)

8 (not used)

4 (not used)

16 Setpoint 0 active

4 (not used)

32 Setpoint 1 active

4 (not used)

64 Setpoint 2 active

4 (not used)

128 Setpoint 3 active

4 (not used)


The example decodes the result S:067000 as follows:

Signal stable (no-motion): 1
Zero action: 2
Setpoint 2 active: 64
Total 67

Note: the unused bits are set to zero.