beautypg.com

Yaskawa MotionWorks IEC User Manual

Page 229

background image

PLCopenPlus Function Blocks for Motion Control 2013-04-13

221

VAR_INPUT

Default

B

Execute

BOOL

Upon the rising edge, all other
function block inputs are read and
the function is initiated. To modify
an input, change the value and
re-trigger the execute input.

FALSE

V

PhaseShift

LREAL

The relative amount of
adjustment required in Master
reference units.

LREAL#0.0

V

AdjustMode

Y_AdjustMode

AdjustMode is an integer with the
following values:
Y_AdjustMode#MasterDistance:
The adjustment starts
immediately and completes when
the master has travelled the
specified MasterDistance.
Y_AdjustMode#ElapsedTime: The
adjustment starts immediately
and completes within the
specified Time.
Y_AdjustMode#WithinRange: The
adjustment starts when the
master first crosses the
StartPosition and completes when
the master reaches the
EndPosition.

Y_AdjustMode#MasterDistance

V

MasterDistance

LREAL

Only used if AdjustMode =
Y_AdjustMode#MasterDistance.
This is the change in master
position from when the function
block first executes until the
adjustment is complete. Units are
those of the cam master.

LREAL#0.0

V

Duration

LREAL

Only used if AdjustMode =
Y_AdjustMode#ElapsedTime.
Units are seconds.

LREAL#0.0

V

StartPosition

LREAL

Only used if AdjustMode =
Y_AdjustMode#WithinRange. The
initial position of the master
where it is possible to start
making the adjustment. Units are
those of the cam master.

LREAL#0.0

V

EndPosition

LREAL

Only used if AdjustMode =
Y_AdjustMode#WithinRange. The

LREAL#0.0