...
KUNBUS Gateway EtherNet/IP
Revolution PI Core 3 / (3+ / , S) or Connect / + / SE(+, S)
please connect your devices as shown in the illsutration illustration below
Drawio | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Preparation
Please follow the instructions of the checklists:
follow the checklist below
install Packages on Codesys IDE
Install runtime on the Revolution Pi Connect
1 hour test lizence.
When installing the runtime, a demo licence is automatically installed. This means that the system stops after 1 hour and has to be restarted.
Optional: install codesys lizence licence
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
Download the necessary ESI file → KUNBUS Gateway EtherNet/IP | EDS file
...
Create 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.
...
Code Block |
---|
PROGRAM PLC_PRG VAR status: BYTE; res1: BYTE; res2: BYTE; END_VAR |
...