SmartPLC DataLine with EtherCAT slave interface
157
>
Read cyclical data
42940
To access the cyclical process data of the device the user has to configure the fieldbus slots of the
device.
►
In the Solutions Explorer: Double click on the device icon.
>
The editor window shows the configuration options of the device.
►
Select the tab [Slots].
>
Table shows device slots and available fieldbus modules.
►
Configure slots as requested.
►
Optional: Map the configured cyclical data to variables.
►
Save the project to apply changes.
►
Download device configuration to activate the changes.
>
Use acyclic services
42128
To access acyclic services from a TwinCAT application the user can use the following function blocks:
FB_EcCoESdoRead: read SDO of an EtherCAT slave
FB_EcCoESdoWrite: write SDO of an EtherCAT slave
To use both function blocks the function library
Tc2_EtherCAT.library
has to be added to
the project.
Description of the function blocks:
→ Help function of TwinCAT