Chapter 4. Serial Communications
92
PanaFlow™ MV80 & MV82 User’s Manual
4.2.6n Examples
Read the exception status byte from the device with address 1:
01 07 41 E2
01 Device address
07 Function code
04 = read exception status
A typical response from the device is as follows:
01 07 03 62 31
01 Device address
07 Function code
03 Exception status byte
62 31 CRC
Request the first 12 registers from device with address 1:
01 04 00 00 00 0C F0 0F
01 Device address
04 Function code, 04 = read input register
00 00 Starting address
00 0C Number of registers = 12
F0 0F CRC
A typical response from the device is as follows:
01 04 18 00 00 03 E8 00 00 7A 02 6C 62 00 00 41
BA 87 F2 3E BF FC 6F 42 12 EC 8B 4D D1
01 Device address
04 Function code
18 Number of data bytes = 24
00 00 03 E8 Serial number = 1000 (unsigned long)
00 00 7A 02 Totalizer = 31234 lbm (unsigned long)
6C 62 00 00 Totalizer units = “lb” (string, unused characters are 0)
41 BA 87 F2 Mass flow rate = 23.3164 lbm/sec (float)
3E BF FC 6F Volume flow rate = 0.3750 ft3/sec (float)
42 12 EC 8B Pressure = 36.731 psia (float)
4D D1 CRC
Note:
These are the older register definitions.
Содержание PanaFlow MV80
Страница 2: ......
Страница 12: ...Contents x PanaFlow MV80 MV82 User s Manual no content intended for this page ...
Страница 20: ...Chapter 1 Introduction 8 PanaFlow MV80 MV82 User s Manual no content intended for this page ...
Страница 62: ...Chapter 2 Installation 50 PanaFlow MV80 MV82 User s Manual no content intended for this page ...
Страница 120: ...Chapter 4 Serial Communications 108 PanaFlow MV80 MV82 User s Manual no content intended for this page ...
Страница 148: ...Appendix B Approvals 136 PanaFlow MV80 MV82 User s Manual no content intended for this page ...
Страница 158: ...Appendix D Glossary 146 PanaFlow MV80 MV82 User s Manual no content intended for this page ...
Страница 160: ...Warranty 148 PanaFlow MV80 MV82 User s Manual no content intended for this page ...
Страница 162: ... no content intended for this page ...
Страница 163: ......