J-Bus/ModBus Protocol
PR5230 Instrument Manual
EN-148
Sartorius
6.4.3
Function 5: Writing a Bit
Command Device
address
Function
number
Address of
the bit
Value of
the bit
Always 0
1 byte
1 byte
2 bytes
1 byte
1 byte
Range
0...127
5
0...127
0 or 255
0
Reply Device
address
Function
number
Address of
the bit
Value of
the bit
Always 0
1 byte
1 byte
2 bytes
1 byte
1 byte
If the address of the bit is out of the permissible range (0...127), an error message is sent as a reply.
Example of function 5 for setting bit 113 (taring) with ModBus-RTU:
Command
1 5 0 113
255
0 CRC
CRC
Reply
1 5 0 113
255
0 CRC
CRC
The individual bytes are shown.
6.4.4
Function 6: Writing a Word
Command Device
address
Function
number
Word address Value of the
word
1 byte
1 byte
2 bytes
2 bytes
Range 0...127
6
0...63
Reply Device
address
Function
number
Word address Value of the
word
1 byte
1 byte
2 bytes
2 bytes
If the address is out of the permissible range (0...63), an error message is sent as a reply.