beautypg.com

Flintec MCS-64 CANbus User Manual

Page 29

background image

Manual MCS-64 Page 29

4.1

System diagnosis Commands – ID, IV, IS

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

These commands are sent without parameters.

ID

Request of device identity

[ 2900sub08 ]

Master (PC / PLC) sends

Devices 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

[ 2900sub09 ]

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

[ 2900sub0A ]

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 bits that are not used are set to zero.