4 functions, Function 1 or 2: reading n bits, Functions – Rice Lake PR5230 Fieldbus Transmitter User Manual
Page 170: J-bus/modbus protocol, Pr 5230 instrument manual
![background image](/manuals/639397/170/background.png)
J-Bus/ModBus Protocol
PR 5230 Instrument Manual
EN-170
Sartorius
6.4
Functions
Function 1 or 2: Reading n Bits
Command
Device
address
Function
number
Address of
1st bit
Number of
bits
1 byte
1 byte
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 may not be smaller 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
1 byte
1 byte
1 byte
1 byte
1 byte
1 byte
8. ...1. bit
last bit
If the address of a bit to be read is out of the permissible range (0...127), an error message is sent as a reply
(the address plus the number of bits must not exceed 128).
Example of function 1 for reading the status bits of the scale (8 bits start at bit 32) with ModBus-RTU.
Command
1
1
0
32
0
8
CRC
CRC
Reply
1
1
1
X
CRC
CRC
Example with ModBus-TCP:
Command
47
11
0
0
0
6
0
1
0
32
0
8
Reply
47
11
0
0
0
4
0
1
1
X
The individual bytes are shown.
The read byte X
Bit 0 = bit 32 of SPM = ADC error
is interpreted as follows:
Bit 1 = bit 33 of SPM = above Max (maximum capacity)
:
Bit 6 = bit 38 of SPM = weight is stable
Bit 7 = bit 39 of SPM = weight is below zero or above Max
- 1010 Potted & Unpotted Single Point, Aluminum (58 pages)
- 120 Digital Weight Indicator (44 pages)
- 120 Plus Digital Weight Indicator (56 pages)
- 320IS Intrinsically-Safe Digital Weight Indicator - Installation Manual (76 pages)
- 320IS Intrinsically-Safe Digital Weight Indicator - Timer Relay Instruction Sheet (2 pages)
- 320IS Intrinsically-Safe Digital Weight Indicator - Battery Charging Instruction Sheet (2 pages)
- 320IS Intrinsically-Safe Digital Weight Indicator - I/O Module for Intrinsically Safe Systems Installation Manual (15 pages)
- 320IS Intrinsically-Safe Digital Weight Indicator - IS-6V Battery Pack Instruction Sheet (6 pages)
- 320IS Intrinsically-Safe Digital Weight Indicator - IS-EPS-100-240 Power Supply Instructions (6 pages)
- 320IS Plus Intrinsically Safe Digital Weight Indicator - Installation Manual (90 pages)
- 420 Plus HMI Digital Weight Indicator Installation Manual (60 pages)
- 420 Plus HMI Digital Weight Indicator Operator Card (3 pages)
- 420 Plus Digital Weight Indicator - 7.5V DC-to-DC Power Supply Installation (4 pages)
- 420 Plus Digital Weight Indicator - IQ plus 355 - 390-DC - 590-DC & 420 Plus Quick Connector Cable Installation Instructions (1 page)
- 480 Legend Series Digital Weight Indicator Installation Manual (68 pages)
- 480 Legend Series Digital Weight Indicator Operator Card (1 page)
- 480 Panel Mount Option (4 pages)
- 520 Analog Output Card Installation (2 pages)
- 520 Digital Weight Indicator Operator Card (4 pages)
- 520 HMI Digital Weight Indicator Installation Manual (98 pages)
- 520 HMI Digital Weight Indicator Manual - BCD Option (18 pages)
- 520 Configurable Weight Indicator - Remote I/O Indicator Interface Installation and Programming Manual (31 pages)
- 520 Configurable Weight Indicator - ControlNet Interface Installation and Programming Manual (23 pages)
- 520 Configurable Weight Indicator - DeviceNet Interface Installation and Programming Manual (21 pages)
- 520 Configurable Weight Indicator - Ethernet Interface Installation and Configuration Manual (38 pages)
- 520 Configurable Weight Indicator - EtherNet/IP Interfac Installation and Programming Manual (26 pages)
- 520 Configurable Weight Indicator - Profibus DP Interface Installation and Programming Manual (21 pages)
- 550-10-1 Digital Chair Scale - Operation Manual (26 pages)
- 550-10-1 Digital Chair Scale - Technical Manual (34 pages)
- 590-AG Livestock Digital Weight Indicator (56 pages)
- 65059 Mild Steel 3-Module Kit - RL50210 Load Cell Mounting Kit Installation Guide (13 pages)
- 720i Programmable Indicator/Controller - 6V DC-to-DC Power Supply Installation Instructions (4 pages)
- 720i Programmable Indicator/Controller - Installation Manual (122 pages)
- 720i Programmable Indicator/Controller - Operator Card (4 pages)
- 720i Programmable Indicator/Controller - Analog Output Card Installation Instructions (4 pages)
- 720i Programmable Indicator/Controller - CW-90/90X - iQUBE2 - LaserLT WLAN Installation Instructions (12 pages)
- 720i Programmable Indicator/Controller - USB Interface Card Installation Instructions (2 pages)
- 820i Programmable Indicator/Controller - Installation Manual (112 pages)
- 820i Programmable Indicator/Controller - Panel Mount Enclosure Installation Instructions (6 pages)
- 880 Performance Series Indicator/Controller Operators Manual (36 pages)
- 880 Performance Series Indicator/Controller Technical/Service Manual (120 pages)
- 880 Performance Series Panel Mount Indicator/Controller - Adapter Panel Installation (4 pages)
- 880 Performance Series Panel Mount Indicator/Controller - Analog Output Card Option Installation Manual (6 pages)
- 880 Performance Series Panel Mount Indicator/Controller - DeviceNet Interface Option Installation and Programming Manual (28 pages)
- 880 Performance Series Panel Mount Indicator/Controller - EtherNet/IP Interface Option Installation and Programming Manual (32 pages)