Code 0Fh: Write n bits to master output area 0x.
Please regard that the number of bits are additionally to be set in byte.
Command telegram
Modbus/TCP-Header Slave
address
Function
code
Address1
. bit
Number
of bits
Number
of bytes
Data 1.
byte
Data 2.
byte
...
x x 0 0 0
6byte 1byte 1byte 1word 1word 1byte 1byte 1byte 1byte
max. 248byte
Respond telegram
Modbus/TCP-Header Slave address Function code Address 1. bit Number of bits
x x 0 0 0 6
6byte 1byte 1byte 1word 1word
Code 10h: Write n words to master output area 4x.
Command telegram
Modbus/TCP-Header Slave
address
Function
code
Address1
. word
Number
of words
Number
of bytes
Data 1.
word
Data 2.
word
...
x x 0 0 0
6byte 1byte 1byte 1word 1word 1word 1word 1word 1word
max. 124byte
Respond telegram
Modbus/TCP-Header Slave address Function code Address 1. word Number of words
x x 0 0 0 6
6byte 1byte 1byte 1word 1word
Code 16h: This function allows to mask a word in the master output area 4x.
Command telegram
Modbus/TCP-Header Slave address Function code Address word AND Mask OR Mask
x x 0 0 0 8
6byte 1byte 1byte 1word 1word 1word
Write n bits 0Fh
Write n words 10h
Mask a word 16h
VIPA SPEED7
Modbus Communication
FKT Codes
HB00 | OPL_SP7 | Operation list | en | 18-30 201