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
Name | Type | Description |
---|---|---|
MasterScalingMode | MC_CamScalingMode | Scaling mode for the master position of the cam plate |
MasterRelative | BOOL | If TRUE the cam plate operates relative to the current master position at the time of activation. |
MasterOffset | LREAL | 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 | LREAL | Scaling of the master position of the cam plate. Default is 1.0 |
SlaveScalingMode | MC_CamScalingMode | Scaling mode for the slave position of the cam plate |
SlaveRelative | BOOL | If TRUE the cam plate operates relative to the current slave position at the time of activation. |
SlaveOffset | LREAL | 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 | LREAL | Scaling of the slave position of the cam plate. Default is 1.0 |