![Pavone Sistemi DAT 500 Technical Manual Download Page 42](http://html.mh-extra.com/html/pavone-sistemi/dat-500/dat-500_technical-manual_763995042.webp)
Page 40
FUNCTION 2: READ INPUT STATUS
QUERY
Address
Function 1st Input address Nr of Input
2 byte
Tot.byte
A
0x02
0x0000
0x0008
CRC
8
RESPONSE
Address
Function Nr of bytes
Input status
2 byte
Tot.byte
A
0x02
0x01
0x00
CRC
5+1*N°byte
Input Status: 1 bit for Input. 1st Input address = LSB of Input status. (1 = On, 0 = Off).
FUNCTION 3: READ HOLDING REGISTERS
QUERY
Address
Function
1st register
address
Nr. of registers
2 byte
Tot.byte
A
0x03
0x0000
0x0002
CRC
8
RESPONSE
Address
Function
Nr. of
bytes
1st
register
2 nd
register
2 byte
Tot.byte
A
0x03
0x04
0x0064
0x00C8
CRC
3+2*N°r2
FUNCTION 4: READ INPUT REGISTERS
QUERY
Address
Function
1st Input
address
Nr. of registers
2 byte
Tot.byte
A
0x04
0x0000
0x0001
CRC
8
RESPONSE
Address
Function
Nr. of
bytes
1st regi-
ster
2 byte
Tot.byte
A
0x04
0x02
0x0064
CRC
3+2*N°re2
FUNCTION 5: FORCE SINGLE COIL
QUERY
Address
Function
Output
address
Output status
2 byte
Tot.byte
A
0x05
0x0000
0xFF00
CRC
8
RESPONSE
Address
Function
Output
address
Output status
2 byte
Tot.byte
A
0x05
0x0000
0xFF00
CRC
8
Output status: (FF00 = On, 0000 = Off).
The response contains an echo of the query after the command has been executed