Coupler answer: Function code OR 80h ® Error & error number
Function code ® OK
If the slave announces an error, the function code is sent back with a "OR" and 80h.
Without an error, the function code is sent back.
01h: Function number is not supported
02h: Addressing errors
03h: Data errors
04h: System SLIO bus is not initialized
07h: General error
Code 01h: Read n bits of master output area 0x.
Code 02h: Read n bits of master input area 1x.
Command telegram
Modbus/TCP-Header Slave address Function code Address1. bit Number of bits
x x 0 0 0 6
6byte 1byte 1byte 1word 1word
Respond telegram
Modbus/TCP-Header Slave
address
Function
code
Number of
read bytes
Data 1. byte Data 2. byte ...
x x 0 0 0
6byte 1byte 1byte 1byte 1byte 1byte
max. 252byte
03h: Read n words of master output area 4x.
04h: Read n words master input area 3x.
Command telegram
Modbus/TCP-Header Slave address Function code Address word Number of words
x x 0 0 0 6
6byte 1byte 1byte 1word 1word
Respond telegram
Modbus/TCP-Header Slave
address
Function
code
Number of
read bytes
Data 1. word Data 2. word ...
x x 0 0 0
6byte 1byte 1byte 1byte 1word 1word
max. 126words
Read n Bits 01h, 02h
Read n words 03h, 04h
VIPA SPEED7
Modbus Communication
FKT Codes
HB00 | OPL_SP7 | Operation list | en | 18-30 199