Global data types and MC3 types
Cyclic Data Types (CDTs)
CDTs define structures for the cyclic exchange between MC3 and PLC. The Data Area tab for each axis specifies which CDTs are mapped to the PLC for that axis and are therefore cyclically populated with data.
If there is a link between the MC3 axis and the PLC Tc3_Mc3PTP.AXIS_REF, then CDT_PLCTOMC_AXIS_STD and CDT_MCTOPLC_AXIS_STD are always linked. All other CDTs are optional. For optional CDTs, the IsConnected must be checked before any read or write operation. Only when IsConnected = TRUE may the PLC access the remaining structure.
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.
|