beautypg.com

Notes, Error description – Yaskawa MotionWorks IEC Toolboxes User Manual

Page 138

background image

Cam Toolbox: Function Blocks

MotionWorks IEC61131-3 Toolboxes: 2013-09-13

125

V

SensorMaximum

LREAL

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

LREAL#0.0
(function
block defaults
to
ProductSize if
left
unconnected.)

V

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.

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

LatchPosition

LREAL

The slave's position in the CamTable when the
latch occurred

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

Adjusting

BOOL

Indicates that an adjustment is currently taking
place (Busy output of Y_SlaveOffset)

V

MissedLatch

UDINT

Cumulative number of latches missed

B

Error

BOOL

Set high if error has occurred during the execution
of the function block. This output is cleared when
'Execute' or 'Enable' goes low.

B

ErrorID

UINT

If Error is true, this output provides the Error ID.
This output is reset when 'Execute' or 'Enable'
goes low.

Notes

This function block is an adaptation of

CamSlave_FeedToLength

. The main difference is that this function is

designed for reciprocating slave motion, and uses the Y_CamScale function block instead of the Y_SlaveOffset
function block.

Error Description