Interface ITcIoCyclic
Interface is implemented by TwinCAT modules which should be called on input update and on output update within a task cycle.
Syntax
TCOM_DECL_INTERFACE("03000011-0000-0000-e000-000000000064", ITcIoCyclic)
struct __declspec(novtable) ITcIoCyclic : public ITcUnknown
Required include: TcIoInterfaces.h
Methods
Name | Description |
---|---|
Is called at the beginning of a task cycle if the interface is logged on to a cyclic I/O caller. | |
Is called at the end of a task cycle if the interface is logged on to a cyclic I/O caller. |
Comments
ITcIoCyclic can be used to implement a TwinCAT module that acts as a fieldbus driver or I/O filter module.
This interface is passed to the ITcIoCyclicCaller::AddIoDriver method when a module logs on to a task, usually as the last initialization step at the transition from SafeOP to OP. After login, the methods InputUpdate() and OutputUpdate() of the module instance are called once per task cycle.