NcToPlc
Data structure which is cyclically exchanged between NC and PLC. Some data is group-specific.
| Name | Type | Description | |||
|---|---|---|---|---|---|
| Common | 
 | 
 | |||
| 
 | GroupOID | OTCID | TcCOM object ID (OID) of this group | ||
| 
 | GroupType | MC_GROUP_TYPE | Type of group | ||
| 
 | GroupStatus | ST_GroupStatus | Status information about the group | ||
| 
 | 
 | State | MC_GROUP_STATE | State of the group, | |
| 
 | 
 | Flags | ST_GroupStatusFlags | Additional status information | |
| 
 | 
 | 
 | IsEnableRequested | BIT | Defines whether enabling or disabling of a group is requested. | 
| 
 | 
 | 
 | AllAxesStanding | BIT | Indicates whether all axes are physically stationary, i.e. the velocity and acceleration for all axes is zero, regardless of whether a motion command is active. | 
| 
 | 
 | 
 | InPosition | BIT | Indicates whether the group is in position. | 
| 
 | GroupErrorId | UDINT | Error code in the event of a group error | ||
| 
 | GroupAxesCount | UDINT | Number of axes that are currently part of this group (e.g. added via MC_AddAxisToGroup). | ||
| 
 | ActOverrideFactor | LREAL | Currently used override factor | ||
| PathVelo | LREAL | Only MC Group Coordinated Motion: Absolute value of cartesian velocity on the path | |||
| InvokeId | UDINT | Only MC Group Coordinated Motion: Segment ID for analysis purposes | |||
| IsInBlendingSegment | BIT | Only MC Group Coordinated Motion: Indicates if a blending segment is active. | |||
| RemainingTimeActiveJob | LREAL | Only MC Group Coordinated Motion: Remaining time of the current segment | |||
| RemainingCartesianDistanceActiveJob | LREAL | Only MC Group Coordinated Motion: Remaining distance for the current segment | |||
| ActiveBlockerId | UDINT | Only MC Group Coordinated Motion: Id of the active blocker. | |||
| RemainingTimeToSync | LREAL | Only MC Group Coordinated Motion: Remaining time until the axis group is synchronized with the conveyor belt during conveyor tracking. | |||
| RemainingCartesianTimeToSync | LREAL | Only MC Group Coordinated Motion: Remaining distance until the axis group is synchronized with the conveyor belt during conveyor tracking. | |||