
ModBus Protocol
PR 5500 Instrument Manual
EN-426 Sartorius
Function 8: Diagnosis
Command
Function
number
Sub-function Any value
1 byte
2 bytes
2 bytes
Value range
8
0
This function is intended for testing the communication.
Only sub-function 0 is supported.
The received command is sent as a reply.
Reply
Function
number
Sub-function Value of the
command
1 byte
2 bytes
2 bytes
Function 15: write n successive bits
Command
Function
number
Address of 1st
bit
Number of
bits
Number of
bytes
Value of bits
1 byte
2 bytes
2 bytes
1 byte
n bytes
Value range
15
0 to 127
8, 16, 24
1, 2, 3…
1st Byte
2nd byte
3rd byte
- - - - - - - -
Last byte
8th to 1st bit
Last bit
The bit address must always be the 1st bit of a byte. The number of bits to be read must not be smaller than 8
and must be a multiple of 8. The number of bits is limited by the telegram to 2008 bits (251 bytes). If there are
more than 2008 bits, then an error telegram is sent as a reply.
Reply
Function
number
Address of 1st
bit
Number of
bits
1 byte
2 bytes
2 bytes
Example of function 15 with ModBus-RTU:
Command
1
15
0
64
0
8
1
3
CRC
CRC
Reply
1
15
0
64
0
8
CRC
CRC
Example with ModBus-TCP:
Command
47
14
0
0
0
8
0
15
0
64
0
8
1
3
Reply
47
14
0
0
0
6
0
15
0
64
0
8
The individual bytes are shown.
Содержание Sartorius Intec Maxxis 4 PR 5500
Страница 406: ......