Commissioning PR 5610 Installation Manual
102 Sartorius
4.10.2 Function 1 or 2: Read n bits
Command Device
address
Function
number
Address of
1st bit
Number of
bits
CRC 16
1 byte 1 byte 2 bytes 2 bytes 2 bytes
Range 1...127 1, 2 0,8,16... 8,16,24...
The bit address must always be the 1st bit of a byte. The number of bits to be read must not be lower than 8
and must be a multiple of 8.
Reply Device
address
Function
number
Number of
read bytes
Value of
1st byte
Value of
2nd byte
..
Value of
last byte
CRC 16
1 byte 1 byte 1 byte 1 byte 1 byte 1 byte 2 bytes
8th 1st
bit
last bit
If the address of a bit to be read is out of the permissible range (0...32760), an error message is sent as a reply.
Example of function 1 for reading the scale status bit:
Command 1 1 2 56 0 8 CRC CRC
Reply 1 1 1 X CRC CRC
The read byte X is interpreted as follows: bit 0 = SPM bit 575 = sign bit
bit 1 = SPM bit 574 = is tared
:
bit 6 = SPM bit 569 = inside center zero
bit 7 = SPM bit 568 = standstill
4.10.3 Function 3 or 4: Read n successive words
Command Device
address
Function
number
Address of
1st word
Number of
words
CRC 16
1 byte 1 byte 2 bytes 2 bytes 2 bytes
Range 1...127 3,4 0...2047 1...125
Reply Device
address
Function
number
Number of
bytes
Number of
words
CRC 16
1 byte 1 byte 1 byte n bytes 2 bytes
MSB LSB MSB - - - - - - - MSB LSB
1st word last word
If the address of a word to be read is out of the permissible range (0..2047), an error message is sent as a reply.
Example of function 3 for reading the gross weight (893 kg):
Command 1 3 0 32 0 2 CRC CRC
Reply 1 3 4 0 0 3 125 CRC CRC
The individual bytes are shown.