Camslave_windowcheck, Parameters – Yaskawa MotionWorks IEC Toolboxes User Manual
Page 146

Cam Toolbox: Function Blocks
MotionWorks IEC61131-3 Toolboxes: 2013-09-13
133
CamSlave_WindowCheck
This function block is used by the CamSlave_FeedToLength function blocks to determine when the
MC_TouchProbe output is valid and should be used for correction. It compares the CamTableOutput parameter
1520 to the SensorMinimum and SensorMaximum, not the actual slave feedback.
Parameters
*
Parameter
Data Type
Description
VAR_IN_OUT
V
Prms
User Defined DataType declared in the PLCopen
Toolbox.
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
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
VAR_OUTPUT
B
Valid
BOOL
Indicates that the outputs of the function are valid.
V
InWindow
BOOL
Indicates the slave output