Command telegram
Slave address Function code Address 1. bit Number of words Check sum
CRC/LRC
1byte 1byte 1word 1word 1word
Respond telegram
Slave address Function code Number of
read bytes
Data 1. word Data 2. word ... Check sum
CRC/LRC
1byte 1byte 1byte 1word 1word 1word
max. 125words
Code 05h: Write 1 bit to master output area 0x
A status change is via "Status bit" with following values:
"Status bit" = 0000h ® Bit = 0
"Status bit" = FF00h ® Bit = 1
Command telegram
Slave address Function code Address bit Status bit Check sum
CRC/LRC
1byte 1byte 1word 1word 1word
Respond telegram
Slave address Function code Address bit Status bit Check sum
CRC/LRC
1byte 1byte 1word 1word 1word
Code 06h: Write 1 word to master output area 4x
Command telegram
Slave address Function code Address word Value word Check sum
CRC/LRC
1byte 1byte 1word 1word 1word
Respond telegram
Slave address Function code Address word Value word Check sum
CRC/LRC
1byte 1byte 1word 1word 1word
Code 0Fh: Write n bits to master output area 0x
Write 1 bit 05h
Write 1 word 06h
Write n bits 0Fh
VIPA System MICRO
Option: PtP communication
Modbus - Function codes
HB400 | CPU | M13-CCF0000 | en | 16-47 167