SmartPLC DataLine with EtherCAT slave interface
156
>
8.7.4
EtherCAT projection software: Programmers' notes
Content
Integrate the device into a TwinCAT project ........................................................................................156
Read cyclical data ................................................................................................................................157
Use acyclic services .............................................................................................................................157
41549
>
Integrate the device into a TwinCAT project
42135
To integrate the device into a TwinCAT project:
1 Integrate ESI file
►
Download device ESI file of the device (→
Download ESI file
►
Copy downloaded file to the following subdirectory of the TwinCAT installation directory:
..\3.1\Config\Io\EtherCAT
►
Start TwinCAT.
>
TwinCAT loads the device description to the device catalogue.
2 Integrate the device into the TwinCat project
►
Open a project or create a new project.
►
Add device as sub-device to the requested EtherCAT master.
►
Set EtherCAT address of the device (→
Configure the EtherCAT interface
(→ S.
►
Optional: Add the device to a hot connect group.
3 Configure cyclical data
►
Configure fieldbus slots (→
Read cyclical data
(→ S.
►
Load the configuration to the device.