beautypg.com

Commands description, System diagnosis commands, Id, ih, iv, is, sr, rs – Flintec DAD 141.1 User Manual

Page 30: Id get device identity [ index 0x202c, Ih get hardware version, Iv get firmware version [ index 0x202e, Is get device status [ index 0x2030, System diagnosis commands – id, ih, iv, is, sr, rs

background image

DAD 141.1 Technical Manual, Rev. 2.2 - February 2014

Page 30 of 54

10. Commands Description

For better clarity, all commands are divided into groups as described on the following pages. Each command
has to be completed with a CR (Enter), which is shown in the following tables as “ “.

For each command, the Modbus Index is displayed in brakets [

Index 0xNNNN

] and explained in the separate

manual

‘Modbus Communication’. If case of no index mentioned, the command is not available for

Modbus RTU or TCP.

10.1. System Diagnosis Commands

– ID, IH, IV, IS, SR, RS

Use these commands you get the DAD 141.1 type, firmware version or device status. These commands are
sent without parameters.

10.1.1. ID

Get Device Identity

[

Index 0x202C

]

Master (PC / SPS) sends

Slave (DAD 141.1) responds

ID

D:1410

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.

10.1.2. IH

Get Hardware Version

Master (PC / SPS) sends

Slave (DAD 141.1) responds

IH

H:14100101

FFFFFFFFFFFFFF…

10.1.3. IV

Get Firmware Version

[

Index 0x202E

]

Master (PC / SPS) sends

Slave (DAD 141.1) responds

IV

V:0104

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

10.1.4. IS

Get Device Status

[

Index 0x2030

]

Master (PC / SPS) sends

Slave (DAD 141.1) responds

IS

S:067000 (example)

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

Leftmost 3-digit value

Rightmost 3-digit value

1 Signal stable (no motion)

1 (not used)

2 Zeroing action performed

2 (not used)

3 Tare active

3 (not used)

4 (not used)

4 (not used)

8 (not used)

8 (not used)

16 (not used)

16 (not used)

32 (Setpoint-) output 0 active

32 (not used)

64 (Setpoint-) output 1 active

64 (not used)

128 (Setpoint-) output 2 active

128 (not used)

The example decodes the result S: 067000 (binary 01000011) as follows:

Signal stable (no motion) [2

0

= 1, LSB]

Zeroing action performed [2

1

= 2]

Tare not active [= 0]

Output 0 active [ = 0]

Output 1 active [2

7

= 64]

Output 2 not active [= 0]

Note: The bits that are not used are set to zero.