MC_SetCoordinateTransform
TF5410 | TF5420 | |
---|---|---|
| MC Group with Pick-and-Place | MC Group Coordinated Motion |
Enables the coordinate transformation for subsequent movements. Success is indicated by Active
OR Done
.
Decouples subsequent movements from a conveyor (see MC_TrackConveyorBelt).
Subsequent movements (e.g.: MC_MovePath) are made relative to the coordinate transformation.
Use case for changing the reference system The |
VAR_INPUT
VAR_INPUT
Execute : BOOL;
CoordTransform : MC_COORD_REF;
END_VAR
Name | Type | Description |
---|---|---|
Execute | BOOL | The command is triggered by a rising edge at this input. |
CoordTransform | MC_COORD_REF | Reference to a coordinate system (see MC_COORD_REF). |
VAR_IN_OUT
VAR_IN_OUT
AxesGroup : AXES_GROUP_REF;
END_VAR
Name | Type | Description |
---|---|---|
AxesGroup | AXES_GROUP_REF | Reference to a group of axes (see Cyclic Group Interface). |
VAR_OUTPUT
VAR_OUTPUT
Done : BOOL;
Busy : BOOL;
Active : BOOL;
CommandAborted : BOOL;
Error : BOOL;
ErrorId : UDINT;
END_VAR
Name | Type | Description |
---|---|---|
Done | BOOL | This output becomes |
Busy | BOOL | This output becomes |
Active | BOOL |
Note: As per PLCOpen when |
CommandAborted | BOOL | This output becomes |
Error | BOOL | This output becomes |
ErrorId | UDINT | Contains the command-specific error code of the last executed command. Details of the error code can be found in the ADS error documentation or in the NC error documentation (error codes 0x4nnn and 0x8nnn). |
Requirements
Development Environment | Target System Type | PLC Libraries to be Linked |
---|---|---|
TwinCAT V3.1.4022.25 | PC or CX (x86 or x64) | Tc3_McCoordinatedMotion, Tc2_MC2 |