Quick Start Guide
Table Of Contents
41 IC695CPL410 Rackless CPU w/Field Agent Quick Start Guide GFK-3053C
PLC: 192.168.180.2
Linux: 192.168.180.1
Network Mask: 255.255.255.0
OPC-UA Server Port: 4840
The network part of the IP-Address as well as the PLC IP-Address cannot be
changed by user. The Linux IP-Address of this network can be changed in
the /etc/init.d/ rthinitVirt script, but it is not recommended to do so.
Note: As the network 192.168.180.0/24 is used for the virtual network
between the CPL410 VMs, this network must not be used on any physical
Ethernet port.
Note: OPC-UA is the only way to exchange data with the PLC over the VNIC.
OPCUA-Server is listening not only on the VNIC, but also on the front-panel
Ethernet ports.
To demonstrate the OPC-UA communication, CPL410 has installed the
freely available Python Library “Pure Python OPC-UA”. This library is
distributed under the LGPL license and can be found here:
https://github.com/FreeOpcUa/python-opcua .
“Pure Python OPC-UA” library documentation is available on CPL410 via the
CPL410 Web page.
In the home directory of user admin, a very basic example, based on the
“Pure Python OPC-UA” library, is provided (/home/admin/opc2sqlite.py),
demonstrating how to read a variable named Cosine form PLC and store the
content of this variable in a SQLite database.
Execute this Python script as user admin by the following command line
sequence:
python /home/admin/opc2sqlite.py










