Data type ST_CamScalingData
The structure ST_CamScalingData contains information for scaling a cam plate and is used with the function block MC_CamIn_V2.
TYPE ST_CamScalingData :
STRUCT
(* scaling of the X axis of the cam (master scaling) *)
MasterScalingMode : MC_CamScalingMode;
MasterRelative : BOOL;
MasterOffset : LREAL;
MasterScaling : LREAL := 1.0;
(* scaling of the Y axis of the cam (slave scaling) *)
SlaveScalingMode : MC_CamScalingMode;
SlaveRelative : BOOL;
SlaveOffset : LREAL;
SlaveScaling : LREAL := 1.0;
END_STRUCT
END_TYPE
MasterScalingMode |
Scaling mode for the master position of the cam plate |
MasterRelative |
If TRUE the cam plate operates relative to the current master position at the time of activation. |
MasterOffset |
Master offset for orientation of the cam plate in the axis coordinate system. MasterOffset takes effect in absolute mode from the master axis position 0 and in relative mode from the current position at the time of activation. |
MasterScaling |
Scaling of the master position of the cam plate. Default is 1.0 |
SlaveScalingMode |
Scaling mode for the slave position of the cam plate |
SlaveRelative |
If TRUE the cam plate operates relative to the current slave position at the time of activation. |
SlaveOffset |
Slave offset for orientation of the cam plate in the axis coordinate system. SlaveOffset takes effect in absolute mode from the slave axis position 0 and in relative mode from the current position at the time of activation. |
SlaveScaling |
Scaling of the slave position of the cam plate. Default is 1.0 |