Parameterization and commissioning
CXxxxx-M510/B510
43
Version: 1.0
5.2
Parameterization with TwinCAT 2
This section illustrates how CANopen devices can be parameterized with the aid of TwinCAT 2. 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.2.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 the 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 2 must be in Config mode.
• IP address or host name of the device. The host name is composed of CX- and the last 3 bytes of the
MAC address. The MAC address is located on the side of the device.
Search for the devices as follows:
1. Click on
File > New
in the menu at the top.
2. Click on
Choose Target System
in the toolbar at the top.
3. Click on
Search (Ethernet)
.
Содержание CX-B510 Series
Страница 2: ......
Страница 36: ...TwinCAT tabs CXxxxx M510 B510 36 Version 1 0 4 3 CANopen slave 4 3 1 CAN node 1 3 7 11 13 5 6 2 12 8 9 4 10...
Страница 80: ......