beautypg.com

Yaskawa MotionWorks IEC Toolboxes User Manual

Page 159

background image

Cam Toolbox: Function Blocks

MotionWorks IEC61131-3 Toolboxes: 2013-09-13

146

VAR_INPUT

Default

B

Enable

BOOL

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

FALSE

B

DefaultSize

LREAL

Default length of the product in user
units

LREAL#0.0

B

DistanceAfterLatch

LREAL

The desired additional travel distance
after the registration mark is detected

LREAL#0.0

B

RecordedPosition

LREAL

Position where trigger event occurred
(in user units [u]). Used with
MC_TouchProbe.RecordedPosition.

LREAL#0.0

B

LatchInput

BOOL

Typically connected to
MC_TouchProbe.Done, signals the
function to calculate any required
correction amount

FALSE

B

MissedLatchLimit

UINT

The number of consecutive product
lengths that can occur without seeing a
mark in the window. Valid sensor
detections will reset the internal
counter. The next valid sensor detection
will reset the internal counter.

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

SensorMinimum

V

SensorMaximum

UINT#0
(interpreted
as infinite)

VAR_OUTPUT

B

Valid

BOOL

Indicates that the outputs of the function are valid.

V

ActualSize

LREAL

The actual indexed distance

V

AbsoluteCorrection

LREAL

The absolute value of the slave offset for use with
Y_SlaveOffset

V

LatchTableReference

LREAL

The position of the latch corresponding to the cam table

V

MakeCorrection

BOOL

Used to signal that the correction calculation is valid.
Typically used in conjunction with Y_SlaveOffset.Execute.
Note: this output will pulse for one scan.

V

MissedLatch

UDINT

Cumulative number of latches missed

V

LimitedPosCorrection

BOOL

Indicates that the MaxPosCorrection is limiting the
required correction.

V

LimitedNegCorrection

BOOL

Indicates that the MaxNegCorrection is limiting the
required correction.

V

MissedWindow

BOOL

Indicates that a latch occurred, but was ignored because
it was outside the range of SensorMinimum and