User’s Manual
Rev1.0
Date:15/07/2015 User’s Manual
35
/
47
Receive command 2: FF FF FF FF FF 86 9A 1A AD 18 8C 02 0A 00 00 40 80 00 00 00 00 00 00
F7
7.1.4 Command 3: Read primary variable current and
dynamic variables
Command formate:
Read the current of primary variable and 4 preset dynamic variables at maximum. The current of
primary variable always match the AO output current of the instrument. Every type of device has a
definition on a relative dynamic variable, for example the secondary variable is temperature sensor.
Request: None
Response:
Byte 0-3: Analog output current mA, IEEE 754
Byte 4: Primary variable unit code
Byte 5-8: Primary variable, IEEE 754
Byte 9: Secondary variable unit code
Byte 10-13: Secondary variable, IEEE 754
Byte 14: Tertiary variable unit code
Byte 15-18: Tertiary variable, IEEE 754
Byte 19: Quaternary variable unit code
Byte 20-23: Quaternary variable, IEEE 754
Remark: Primary variable is flow rate. The unit code is 75:kg/hour, 19:m3/hour;
Secondary variable is total flow. The unit code is 61:kg, 43:m3;
Tertiary variable is temperature. The unit is 32:
℃
;
Quaternary variable is pressure. The unit is 12: Mpa;
Test of command:
Send command 3: FF FF FF FF FF 82 9A 1A AD 18 8C 03 00 38; to read dynamic variables
Receive command 3: FF FF FF FF FF 86 9A 1A AD 18 8C 03 1A 00 00 40 80 00 00 13 00 00 00
00 2B 48 33 5A 4B 26 00 00 00 00 20 00 00 00 00 B2
7.1.5 Command 6: Write polling address
Command formate:
It is a date link manangment command. This command writes a polling address to the device. This
address is used to control the AO of primary variable and providing of device ID.
Only when the polling address of the instrument is 0, that the AO output of primary variable is
available. If the address is 1~15, AO will be not activated and will not reponse, AO will be minimum
value; transmission status will be the 3
rd
statue------primary variable AO fixed; max and min alarm not
implemented. If polling address is write back to 0, AO will be activated again and will reponse.
Request:
Byte 0: Device polling address
Response:
Byte 0: Device polling address
Test of command:
Send command 6: FF FF FF FF FF 82 9A 1A AD 18 8C 06 01 00 3C: to write POLLING
ADDRESS
Receive command 6: FF FF FF FF FF 86 9A 1A AD 18 8C 06 03 00 00 00 3A