Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Here you will find a technical description of how to configure the KUNBUS gateway Ethernet/IP with CodesysCODESYS.

Table of Contents

System overview

these devices have been used for this application note

  • KUNBUS Gateway EtherNetEthernet/IP

  • Revolution PI Pi Core 3 / (3+ / , S) or Connect / + / SE

...

  • (+, S, 4)

Please connect your devices as shown in the illsutration illustration below

Drawio
zoom1
simple0
inComment0
pageId2858123303
custContentId2857861238
lbox0
diagramDisplayNameUntitled Diagram.drawio
contentVer45
revision45
baseUrlhttps://kunbus-gmbh.atlassian.net/wiki
diagramNameUntitled Diagram.drawio
pCenter1
width537578.5
linksauto
tbstylehidden
height628.5399

Preparation

Please follow Follow the instructions steps of the following checklists:

...

...

Codesys Checklist

...

Widget Connector
overlayyoutube
_templatecom/atlassian/confluence/extra/widgetconnector/templates/youtube.vm
width750px
urlhttps://www.youtube.com/watch?v=WF1SkyVNt2E
height458px

Create the CODESYS Project

Create a Codesys Project

Implementation

...

Note

  • The older version 1.2.1.0 is used here, as CODESYS version 3.5 SP17 is used.

  • If SP18 is used, the latest version 1.3.0.0 must be selected.

Widget Connector
overlayyoutube
_templatecom/atlassian/confluence/extra/widgetconnector/templates/youtube.vm
width750px
urlhttps://www.youtube.com/watch?v=2J9qEhq2Paw
height458px
Code Block
PROGRAM PLC_PRG
VAR
	status: BYTE;
	res1: BYTE;
	res2: BYTE;
END_VAR
Code Block
Output_EthernetIP_GW:=33;
Output_EthernetIP_Exclusive:=44;

res1:=Input_EthernetIP_GW;
res2:=Input_EthernetIP_Exclusive;