Code 0Fh: Write n bits to master output area 0x
Please regard that the number of bits has additionally to be set in byte.
Command telegram
Slave
address
Function
code
Address 1.
bit
Number of
bits
Number of
bytes
Data 1.
byte
Data 2.
byte
...
Check
sum
CRC/LRC
1byte
1byte
1word
1word
1byte
1byte
1byte
1byte
1word
max. 250byte
Respond telegram
Slave address
Function code
Address 1. bit
Number of bits
Check sum
CRC/LRC
1byte
1byte
1word
1word
1word
Code 10h: Write n words to master output area 4x
Command telegram
Slave
address
Function
code
Address 1.
word
Number of
words
Number of
bytes
Data 1.
word
Data 2.
word
...
Check
sum
CRC/LRC
1byte
1byte
1word
1word
1byte
1word
1word
1word
1word
max. 125words
Respond telegram
Slave address
Function code
Address 1. word
Number of words
Check sum
CRC/LRC
1byte
1byte
1word
1word
1word
5.6.4 Modbus - Error messages
At the communication with Modbus there are 2 error types:
n
Master doesn’t receive valid data
n
Slave responds with error message
If the slave doesn’t answer within the specified delay time or if a telegram is defective, the
master enters an error message into the receive block in plain text.
Write n bits 0Fh
Write n words 10h
Overview
Master doesn’t receive
valid data
VIPA System SLIO
Serial communication protocols
Deployment - Modbus > Modbus - Error messages
HB300 | CP | 040-1CA00 | en | 18-28
86