Parameterization and commissioning
CXxxxx-B110
38
Version: 1.3
5.3
Parameterization with TwinCAT 3
This section illustrates how CANopen devices can be parameterized with the aid of TwinCAT 3. A total of
three devices are used for the sample, including a CANopen master, to which two CANopen slaves are
connected.
First, the process of finding and selecting a target system in TwinCAT is illustrated. Next, a CANopen slave
is added and parameterized in TwinCAT, and the CANopen address of the slave is set. Then a PLC project
is created and added in TwinCAT. Then, the variables from the PLC project are linked with the hardware,
and the finished configuration is loaded on the CANopen slave.
In the last step, the CANopen master is added in TwinCAT, and the two CANopen slaves are located via the
master.
5.3.1
Searching for target systems
Before you can work with the devices, you must connect your local computer to the target device. Then you
can search for devices with the help of the IP address or the host name.
The local PC and the target devices must be connected to the same network or directly to each other via an
Ethernet cable. In TwinCAT a search can be performed for all devices in this way and project planning
subsequently carried out.
Prerequisites for this step:
• TwinCAT 3 must be in Config mode.
• IP address or host name of the device.
Search for the devices as follows:
1. In the menu at the top click on
File > New > Project
and create a new TwinCAT XAE project.
2. In the tree view on the left click on
SYSTEM
, and then
Choose Target
.
3. Click on
Search (Ethernet)
.