![Festo CMMO-ST-C5-1-LKP Скачать руководство пользователя страница 23](http://html1.mh-extra.com/html/festo/cmmo-st-c5-1-lkp/cmmo-st-c5-1-lkp_original-instructions-manual_2283105023.webp)
4 Modbus
TCP
Festo – GDCP-CMMO-ST-LK-C-HP-EN – 2017-05b – English
23
Modbus
command
Significance
Read/write
multiple
registers
Read and write the process data
Read/write multiple registers request (0x17)
Field
Bytes
Values
Byte no.
Function code
1
0x17
8
Start address read
2
0x0000
9, 10
Quantity of registers
read
2
0x0004: FHPP standard
0x0008: FHPP st FPC
11, 12
Start address write
2
0x0000
13, 14
Quantity of registers
write
2
0x0004: FHPP standard
0x0008: FHPP st FPC
15, 16
Byte count write
1
0x08: FHPP standard
0x10: FHPP st FPC
17
Registers values write
8, 16
FHPP standard process output tele
gram O
FHPP st FPC process out
put telegram O
18 ...
Read/write multiple registers response (0x17)
Field
Bytes
Values
Byte no.
Function code
1
0x17
8
Byte count
1
0x08: FHPP standard
0x10: FHPP st FPC
9
Register value
8, 16
FHPP standard process input tele
gram I
FHPP st FPC process input
telegram I
10 ...
Read/write multiple registers exception (0x97)
Field
Bytes
Values
Byte no.
Error code
1
0x97
8
Exception code
1
0x01: illegal function
0x02: illegal data address
0x03: illegal data value
0x04: server device failure
9
Содержание CMMO-ST-C5-1-LKP
Страница 182: ......