DC provider
The DC provider obtains an offset through mapping from an EtherCAT master. It can be used to use time values from the I/O range as offset, such as those provided by the EtherCAT master (DC time) or an EL6695.
Configuration
The DC provider is implemented as TcCOM module TcDcExternalTimeProvider. This module is commissioned as a TcCOM module as follows:
- TwinCAT project
- 1. Insert a TcCOM module under System->TcCOM Objects and select type TcDcExternalTimeProvider in the category External Time Provider.
- 2. The module requires a task from which it is called. This is parameterized via the context tab of the module:
- The module can be parameterized:
The configuration takes place in the Parameters (Init) tab. The parameters have the following meanings:
- TimeType: The type of offset for which this module is to determine an offset.
- This module obtains the offset itself through mapping:
This module passes a determined offset to TwinCAT via the ITcSetExternalTime interface. In addition, outputs are available for mapping.