Data Area tab
In general, TcCOM objects can contain data areas that can be used by the environment (e.g., by a PLC instance or by the TwinCAT I/O area). For TwinCAT MC3 TcCOM objects, you have a choice of data structures to use via the Data Area tab.
Notice | |
Unlinked CDTs can cause a floating-point exception when accessed Comparisons with NaN values can lead to an exception, which results in the runtime stopping and potentially causing machine damage.
|
McToPlc (Output)
Enable (default) | Name | Type | Description |
|---|---|---|---|
| Std | POINTER TO MC.CDT_MCTOPLC_ENCODER_AXIS_STD | Standard cyclic data structure containing the Oid of the encoder axis and key status information. |
| Act | POINTER TO MC.CDT_MCTOPLC_ENCODER_AXIS_ACT | Optional cyclic data structure containing information about the current actual values of the encoder axis. Constants (Named Constants) |
| Modulo | POINTER TO MC.CDT_MCTOPLC_ENCODER_AXIS_MODULO | Optional cyclic data structure containing information about the module position of the encoder axis. To calculate the module position correctly, set the Is Modulo Axis parameter to TRUE in the Init Parameter tab. Constants (Named Constants) |

