0c : type code (0c means the Analog output)
08 : length field = number of bytes of the analog outputs
00 00 00 00 00 80 00 88 : analog outputs value (AQ1= 00 00 , AQ2 = 00 00, AQ11= 00 80,AQ12= 00
88)
16 01 02
16 : type code (16 means the digital flag)
01 : length field = number of bytes of the digital flag
02 : status of the digital flag (F1=0,F2=1,F3=0,F4=0)
17 08 01 c2 00 00 02 26 00 00
17 : type code (17 means the Analog flag)
08 : length field = number of bytes of the analog flag
01 c2 00 00 02 26 00 00 : analog flag value (AF1= 01 c2 , AF2 = 00 00, AF3= 02 26,AF4= 00 00)
07 01 04
07 : type code (07 means the M status)
01 : length field = number of bytes of M(Function block status(1/0))
04: status of the M (M1=0,M2=10,M3=1,M4=0)
0d 08 00 00 00 00 00 00 01 c2
0d : type code (0d means the AM value)
08 : length field = number of bytes of AM
00 00 00 00 00 00 01 c2: AM value (AM1=00 00,AM2=00 00,AM3=00 00,AM4=01 c2)
The server end need do response like this:
00 00 00 00 00 02 01 8b
166
Need help?
Do you have a question about the xLogic ELC Series and is the answer not in the manual?