13.2.3 ModBus Function and Message Format
Supported functions
The main function of ModBus is to read and to write parameters. Different func-
tion codes decide different operation requests. ModBus functions managed by
EFC 3600 and their limits are shown in the table below:
Code Function name Broadcast Max. value of N
3=0x03 Read N register words NO 16
6=0x06 Write one register word YES –
8=0x08 Diagnosis NO –
16=0x10 Write N register words YES 16
23=0x17 Read/write N register words NO 16
Tab. 13-4: EFC 3600 ModBus functions and limits
"Read" and "Write" are considered from the prospect of the master
station.
ModBus message formats are different according to the function codes shown
below.
Slave No.
0x03
Address of 1
st
word
Number of words CRC16
Hi | Lo Hi | Lo Lo | Hi
Tab. 13-5: Function 3_Request from the master
Slave
No.
0x03
Number of bytes
1
st
word value
–
Last word value CRC16
Depends on
master request
Hi | Lo Hi | Lo Lo | Hi
Tab. 13-6: Function 3_Response from the slave
Slave No. 0x06
Address of word Value of word CRC16
Hi | Lo Hi | Lo Lo | Hi
Tab. 13-7: Function 6_Master request and slave response (in same format)
Slave No. 0x08
Test word 1 Test word 2 CRC16
Hi | Lo Hi | Lo Lo | Hi
Tab. 13-8: Function 8_Master request and slave response (in same format)
EFC 3600 Bosch Rexroth AG
Communication Protocols
DOK-RCON03-EFC-3600***-IT03-EN-P
187/259