MC_SetCoordinateTransform
TF5410 | TF5420 | |
---|---|---|
| MC Group with Pick-and-Place | MC Group Coordinated Motion |
|
The function block MC_SetCoordinateTransform activates a coordinate transformation for successor movements. The successful activation is indicated by Active
or Done
.
Decouples the successor movements from a transport system (see MC_TrackConveyorBelt).
Successor movements (e.g. MC_MovePath) take place relative to the coordinate transformation.
Use case for changing the reference system The |
Inputs
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). |
Inputs/outputs
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). |
Outputs
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: According to the PLCopen definition, |
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 platform | PLC libraries |
---|---|---|
TwinCAT V3.1.4022.25 | PC or CX (x64) | Tc3_McCoordinatedMotion, Tc2_MC2 |