![Armstrong AVF Скачать руководство пользователя страница 87](http://html1.mh-extra.com/html/armstrong/avf/avf_installation-and-operation-manual_2974226087.webp)
Designs, materials, weights and performance ratings are approximate and subject to change without notice. Visit
armstrong
international.com for up-to-date information.
87
Serial Communications – continued
Examples – continued
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
results in an error response as follows:
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
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
5C 38 CRC