
Direct UTP/IP connectivity with Siemens S7
and Allen-Bradley PLCs
Document/Revision No. IM-EN-PLC: Rev. 1.0
Eective: April 9, 2019
Instruction Manual

Table of contents
1 Direct connecon to PLC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
2 Direct UDP/IP connecon between SIEMENS S7 PLC and K-Patents refractometer . 3
2.1 Usage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
3 Using the KP_REFRACTOMETER AOI in Rockwell Studio 5000 for
Allen-Bradley PLCs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
3.1 Instrucons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
4 Accessing the refractometer web interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

1
1 Direct connecon to PLC
A PR-43 or PR-33 refractometer or a PR-23 system can be connected over direct UDP to a
Siemens S7 or Allen-Bradley PLC. K-Patents provides the soware components that enable direct UDP communicaon between refractometer and PLC. For the connecon, customers only
need to insert the ready-made soware components into their PLC program. The programming
soware components are available for download free of charge at hp://www.kpatents.com/.
The direct UDP/IP connecon allows transmission of refractometer measurement values to the
PLC program. However, only measurement data is transmied, therefore calibraon and other
conguraon sengs cannot be made via this connecon.
1 2 3
4 5 6
7 8 9
- 0 .
BACK
ENTER
25.31
25.31
A
A
max. 200m (656ft)
PR-8230
PR-23 sensor cable
PLC
Programmable Logic Controller
PR-23 REFRACTOMETER
DTR dual transmitter
PR-8438, Internal Ethernet Cable
M12-4 pin, D-code, F, RJ-45
Ethernet, 0,5m
max. 90m (295ft)
PR-8330
Ethernet converter cable
M12-4 pin, D-code, M
Ethernet (RJ45)
Power 100-240 VAC
mA OUTPUT
Figure 1.1 Connecng a PR-23 system to PLC
+ Blue
- Brown
- Black
+ White
mA-OUTPUT (4-20mA)
24VDC in
F M
PR-33 REFRACTOMETER
M-12-4 pin, A-code, M
M-12-4 pin, D-code, F
non-Ex
PR-8330-010
Cat 5e Ethernet cable (PVC), OD = 6,0mm
10m (30ft) standard, max. 100m (300ft)
PR-8350-010
Cable 4 x 0,75mm2 (PUR), OD = 6,0mm (0.24”)
10m (30ft) standard, max. 100m (300ft)
PLC
Programmable Logic Controller
Figure 1.2 Connecng a PR-33 refractometer to PLC