beautypg.com

Data type: camsyncstruct, Data type declaration, Camsyncstruct – Yaskawa MotionWorks IEC Toolboxes User Manual

Page 76

background image

Cam Toolbox: DataTypes

MotionWorks IEC61131-3 Toolboxes: 2013-09-13

63

Data Type: CamSyncStruct

For use with the

CamControl

and

CamShift_Control

function blocks

Data Type Declaration

CamSyncStruct: STRUCT

Mode:INT;

(* User Input. 1 = Rotary Knife; 2 = Linear Flying Shear, 3 = Rotary Placer or

Reciprocating Drill *)

StartSyncPosition:LREAL;

(* User Input. The first master position where the slave must be synchronized

with the master *)

EndSyncPosition:LREAL;

(* User Input. The final master position where the slave must be synchronized

with the master, adjustments can start after. *)

DecisionPosition:LREAL;

(* User Input. Key location in the process where the machine must decide to

start the disengage process, or continue camming and CamShift to the next product. *)

MaxShift:LREAL;

(* User Input. If Mode = 3, this value is used to determine if the slave should

advance or retard to synchronize with the next product. *)

SafeEngageDistance:LREAL;

(* Distance traveled from the sensor until the product is less than one machine

cycle away from the synchronization point. *)

Shifting:BOOL;

(* System Output flag set by the CamShift_Control function block *)

Pause:BOOL;

(* System Output flag set by the CamControl function block if the system was

temporarily disengaged *)

END_STRUCT;