beautypg.com

Yaskawa MotionWorks IEC Toolboxes User Manual

Page 117

background image

Cam Toolbox: Function Blocks

MotionWorks IEC61131-3 Toolboxes: 2013-09-13

104

B

Slave

AXIS_REF

A logical reference to the slave axis

V

SlavePrms

AxisParameterStruct

User Defined DataType declared in the PLCopen
Toolbox.

E

TriggerData

TRIGGER_REF

Reference to the trigger signal source. Refer to
PLCopen Plus Function Block Manual for more
details.

VAR_INPUT

Default

B

Enable

BOOL

The function will continue to
execute while enable is held
high.

FALSE

V

ProductSize

LREAL

This value must be the same
as the total one way index of
the cam profile for this slave.

LREAL#0.0

V

DistanceAfterLatch

LREAL

The desired additional travel
distance after the registration
mark is detected

LREAL#0.0

V

MaxPosCorrection

LREAL

Limits the amount of positive
correction that can be applied

V

MaxNegCorrection

LREAL

Limits the amount of negative
correction that can be applied

V

AdjustMode

INT

An ENUM for TIME or range of
master correction, with the
following values:

V

MasterDistance

LREAL

Relative amount the master
will travel (in cam master
units) from when the function
block first executes until the
correction is complete. Only
used if AdjustMode =
Y_AdjustMode#MasterDistance.

V

Duration

LREAL

Time of the correction used if
AdjustMode is set for TIME
mode

V

StartCorrection

LREAL

Earliest master position where
the correction can begin.

LREAL#0.0

V

FinishCorrection

LREAL

Latest master position where
the correction must be
completed.

LREAL#0.0

V

SensorMinimum

LREAL

The earliest slave position
where a sensor position is valid
for correction.

LREAL#0.0

V

SensorMaximum

LREAL

The latest slave position where
a sensor position is valid for
correction.

LREAL#0.0
(function
block defaults
to