
PanaFlow™ MV80, MV82 & MV84 User’s Manual
115
Chapter 4. Serial Communications
4.2.6.14
Examples (cont.)
An attempt to read register(s) that don't exist:
01 04 00 00 00 50 F1 D2
01 Device address
04 Function code 4 = read input register
00 00 Starting address
00 50 Number of registers = 80
F0 36 CRC
This results in an error response as follows:
01 84 02 C2 C1
01 Device address
84 Function code with most significant bit set indicates error response
02 Exception code 2 = invalid data address
C2 C1 CRC
Request the state all three alarms:
01 02 00 00 00 03 38 0B
01 Device address
02 Function code 2 = read discrete inputs
00 00 Starting address
00 03 Number of inputs = 3
38 0B CRC
and the unit responds with:
01 02 01 02 20 49
01 Device address
02 Function code
01 Number of data bytes = 1
02 Alarm #2 on, alarms #1 and #3 off
20 49 CRC
To reset the totalizer:
01 05 00 00 FF 00 8C 3A
01 Device address
05 Function code 5 = write single coil
00 09 Coil address = 9
FF 00 Data to reset totalizer
8C 3A CRC
(not the correct CRC EJS-02-06-07)
The unit responds with an identical message to that transmitted, and the totalizer is reset. If the “coil” is turned off as
in the following message, the response is also identical to the transmitted message, but the totalizer is not affected.
01 05 00 00 00 00 CD CA
01 Device address
05 Function code 5 = write single coil
00 00 Coil address = 0
00 00 Data to “turn off coil” does not reset totalizer
CD CA CRC
Содержание PanaFlow MV80
Страница 2: ......
Страница 4: ...ii no content intended for this page...
Страница 20: ...Chapter 1 Introduction 8 PanaFlow MV80 MV82 MV84 User s Manual no content intended for this page...
Страница 108: ...Chapter 3 Operating Instructions 96 PanaFlow MV80 MV82 MV84 User s Manual no content intended for this page...
Страница 140: ...Chapter 4 Serial Communications 128 PanaFlow MV80 MV82 MV84 User s Manual no content intended for this page...
Страница 166: ...Appendix A Product Specifications 154 PanaFlow MV80 MV82 MV84 User s Manual no content intended for this page...
Страница 168: ...Appendix B Approvals 156 PanaFlow MV80 MV82 MV84 User s Manual no content intended for this page...
Страница 176: ...Appendix C Flow Meter Calculations 164 PanaFlow MV80 MV82 MV84 User s Manual no content intended for this page...
Страница 180: ...Appendix D Glossary 168 PanaFlow MV80 MV82 MV84 User s Manual no content intended for this page...
Страница 182: ...Warranty 170 PanaFlow MV80 MV82 MV84 User s Manual no content intended for this page...
Страница 183: ......