Commands description, System diagnosis commands – id, iv, is, sr, Id get device identity – Flintec LDU 69.1 User Manual
Page 13: Iv get firmware version, Is get device status, Sr reset ldu xx.x firmware, Rs read serial number
LDU 69.1 Technisches Handbuch, Rev. 12 January 2011
Page 13 of 28
8. Commands
Description
For better clarity, all commands are divided into groups as described on the following pages.
8.1. System
Diagnosis
Commands – ID, IV, IS, SR
Use these commands you get the LDU XX.X type, firmware version or device status. These commands are
sent without parameters.
8.1.1. ID
Get Device Identity
Master (PC / SPS) sends
Slave (LDU XX.X) responds
ID
D:6910
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.
8.1.2. IV
Get Firmware Version
Master (PC / SPS) sends
Slave (LDU XX.X) responds
IV
V:0232
The response to this request gives the firmware version of the active device.
8.1.3. IS
Get Device Status
Master (PC / SPS) sends
Slave (LDU XX.X) responds
IS
S:067000
(example)
The response to this request comprises of two 3-digit decimal values (067 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 (not used)
32 (not used)
64 (not used)
64 (not used)
128 (not used)
128 (not used)
The example decodes the result S:005000 as follows:
Signal stable (no motion) [2
0
= 1, LSB]
Zeroing action not performed [= 0]
Tare is active [2
2
= 4]
Note:
The bits that are not used are set to zero.
8.1.4. SR
Reset LDU XX.X Firmware
Master (PC / SPS) sends
Slave (LDU XX.X) responds
SR
OK
This command will respond with ‘OK’ and after maximum 400 ms perform a complete reset of the LDU. It has
the same functionality as power off and on again.
8.1.5. RS
Read Serial Number
Issuing the RS command will return the current serial number in the format S:12345678.
Master (PC / SPS) sends
Slave (LDU XX.X) responds
Meaning
RS
S:123456789
Request: RS = 12345678