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 (+, S, 4)

please Please connect your devices as shown in the illustration below

Drawio
zoom1
simple0
inComment0
pageId2858123303
custContentId2857861238
lbox0
diagramDisplayNameUntitled Diagram.drawio
contentVer5
revision5
baseUrlhttps://kunbus-gmbh.atlassian.net/wiki
diagramNameUntitled Diagram.drawio
pCenter1
width578.5
linksauto
tbstylehidden
height399

Preparation

Please follow Follow the instructions steps of the following checklists:

...

follow the checklist below

...

install Packages on Codesys IDE

...

Install runtime on the Revolution Pi Connect

...

Optional: install codesys licence

  • Revolution Pi Checklist

  • CODESYS Checklist

  • Set ETH 1 with a static IP 192.168.1.100

    • Code Block
      #sudo nano /etc/dhcpcd.conf
    • Code Block
      # Example static IP configuration:
      interface eth1
      static ip_address=192.168.1.100/24

    install KUNBUS EtherNet/IP EDS file into Codesys IDE/24

  • Since “Bullseye” Image, this works with the command “nmtui”:

...

...

title/etc/dhcpcd.conf

...

languagenone

...

  • Import it into CODESYS

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

Create

...

Implementation

...

the CODESYS Project

Note

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

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

...