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.
|
PlcToMc (Input)
Enable (default) | Name | Type | Description |
|---|---|---|---|
| Std | POINTER TO MC.CDT_PLCTOMC_AXIS_STD | Standard cyclic data structure for enabling the axis and setting the velocity override. |
McToPlc (Output)
Enable (default) | Name | Type | Description |
|---|---|---|---|
| Std | POINTER TO MC.CDT_MCTOPLC_AXIS_STD | Standard cyclic data structure containing the axis Oid and key status information. |
| Set | POINTER TO MC.CDT_MCTOPLC_AXIS_SET | Optional cyclic data structure containing information about the axis's current setpoints. Constants (Named Constants) |
| Act | POINTER TO MC.CDT_MCTOPLC_AXIS_ACT | Optional cyclic data structure containing information about the axis's current actual values. Constants (Named Constants) |
| Modulo | POINTER TO MC.CDT_MCTOPLC_AXIS_MODULO | Optional cyclic data structure containing information about the axis's module position. To calculate the module position accurately, set the Is Modulo Axis parameter to TRUE in the Axis Parameters (Init) section, and configure the Position Modulus and Position Modulo Tolerance Window parameters accordingly. Constants (Named Constants) |
| LoadControl | POINTER TO MC.CDT_MCTOPLC_AXIS_LOADCONTROL | Optional cyclic data structure. Constants (Named Constants) |
| Fluidpower | POINTER TO MC.CDT_MCTOPLC_AXIS_FLUIDPOWER | Optional cyclic data structure. Constants (Named Constants) |

