Installation and configuration EdgeGateway on Device
The Buttons "install" and "remove" in the "Edge Gateway" Tool are not supported.
-
Install "CODESYS Edge Gateway for Linux" via CODESYS Installer.
-
Open CODESYS IDE
-
Open Tools → "Update Edge Gateway
-
Open path from Package Directory in a File Explorer
-
ARM32
-
Unzip codesysedge_edgearmhf_x.x.x_armhf
-
Unzip data.tar from "codesysedge_edgearmhf_x.x.x_armhf".
-
Upload with WinSCP or WebConfig->FileManager "data" content to device "/".
-
Linux console command: "chmod +x /etc/init.d/codesysedge".
-
Linux console command: "chmod +x /opt/codesysedge/bin/codesysedge.bin".
-
In BootScript add line: "/etc/init.d/codesysedge start".
-
-
ARM64
-
In the file "/opt/codesys/CODESYSControl.cfg" add the following lines:[CmpGwCommDrvTcp]ListenPort=1218
-
Sync, restart device
-
Open CODESYS IDE Tools → "Update Edge Gateway
-
Enter IP address, SSH username & password of the device and execute "Activate configuration mode
Connect device with Automation Server
-
Open CODESYS IDE
-
Tools → Edge Gateway → Open "Connect Edge Gateway
-
Edge GatewaySpecify device IPPort: 1217
-
CODESYS Automation ServerServer URL: Enter the link received from the store → Press Check/RefreshName on server: e.g. Test-ULLDescription: description of the gateway"Execute "Connect to Server"
-
Connection Device Gateway ↔ Automation Server is now created
!! ATTENTION: Device must have valid DATE, rtc or ntp !!!!!
Add PLC in Automation Server
-
Open custom Automation Server link in browser
-
SPSen→Open Network Scan
-
Run "Start scan" on all gateways
-
Check the box for the PLC found and execute "Add to server"
-
Execute Confirm in the opened dialog
-
PLC is now available via the "List view