Download Print this page

K-Patents PR-43 Series Instruction Manual

Direct utp/ip connectivity with siemens s7 and allen-bradley plcs
Hide thumbs Also See for PR-43 Series:

Advertisement

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

Advertisement

loading

Summary of Contents for K-Patents PR-43 Series

  • Page 1 Direct UTP/IP connectivity with Siemens S7 and Allen-Bradley PLCs Instruction Manual Document/Revision No. IM-EN-PLC: Rev. 1.0 Effective: April 9, 2019...
  • Page 2: Table Of Contents

    Direct connection to PLC ..........Direct UDP/IP connection between SIEMENS S7 PLC and K-Patents refractometer .
  • Page 3: Direct Connection 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 software components that enable di- rect UDP communication between refractometer and PLC. For the connection, customers only need to insert the ready-made software components into their PLC program.
  • Page 4 Programmable Logic Controller PR-43 REFRACTOMETER PR-8431 M-12-8 pin, A-code, M Split cable M12 non-Ex M12-8 pin, A-code, F Ethernet (M12-4 pin, D-code,M) PR-8442-001 mA, 24V Ethernet converter cable M12-4 pin, A-code, F Ethernet (RJ45) mA, 24V 10m (33ft) 1m (3,3ft) Figure 1.3 Connecting a PR-43 refractometer to PLC PR-43-AX REFRACTOMETER...
  • Page 5: Direct Udp/Ip Connection Between Siemens S7 Plc And K-Patents Refractometer

    2 Direct UDP/IP connection between SIEMENS S7 PLC and K-Patents refractometer All measurement and diagnostic data can be received from a K-PATENTS refractometer via UDP/IP communication. This follows a simple protocol: a device sends a request to the re- fractometer and it sends the data in return. This document and the attached files present an implementation of this communication on a SIEMENS S7 PLC.
  • Page 6: Using The Kp_Refractometer Aoi In Rockwell Studio 5000 For Allen-Bradley Plcs

    The KP_REFRACTOMETER Add-On Instruction enables Rockwell users to easily extend their PLC The KP_REFRACTOMETER Add-On Instruction, downloadable at www.kpatents.com, enables software with K-Patents refractometer connection. Rockwell users to easily extend their PLC software with K-Patents refractometer connection. Instructions 3.1 Instructions 1.
  • Page 7 READ MESSAGE see below this table SOCKET REQUEST_PARAMETERS Type: 2 Family: 2 Port: any unused, available port READ MESSAGE see below this table Read_Data_Req READ_DATA_REQ Timeout: 1000 SOCKET REQUEST_PARAMETERS Type: 2 BufLen: 300 Family: 2 Write_Data_Out WRT_DATA Timeout: 3000 Port: any unused available port ToAddr.Family: 2 Read_Data_Req READ_DATA_REQ...
  • Page 8 a. For CREATE: i. Service Type: Socket Create ii. Source Element: Socket iii. Destination Element: kp_1.SockNum iv. On the communication page, Path: 1,0 b. For DELETE: i. Service Type: DeleteSocket ii. Instance: 0 iii. On the Communication page, Path: 1,0 c.
  • Page 9: Accessing The Refractometer Web Interface

    4 Accessing the refractometer web interface Configuring a refractometer is not possible through direct UDP/IP connection with PLC, be- cause direct UDP/IP connection provides only measurement and status data. The refractometer can be configured, verified and diagnosed by accessing its built-in web server homepage. The homepage is accessed by connecting a computer to a refractometer via a switch, a router or a direct cable connection.
  • Page 10 K-Patents Oy K-Patents, Inc. K-Patents (Shanghai) Co., Ltd P.O. Box 77 1804 Centre Point Circle, Room 1509, FI-01511 Vantaa, Finland Suite 106 Tomson Commercial Building, No.710 tel. +358 207 291 570 Naperville, IL 60653, USA Dongfang RD fax +358 207 291 577 tel.

This manual is also suitable for:

Pr-43Pr-43-axPr-33Pr-23