Cammaster_lookup, Parameters – Yaskawa MotionWorks IEC Toolboxes User Manual
Page 107

Cam Toolbox: Function Blocks
MotionWorks IEC61131-3 Toolboxes: 2013-09-13
94
CamMaster_Lookup
This function block provides the master position given a slave position by searching the referenced CamTable. If
there may be two or more master positions for the slave, as in the case of out and back slave motion, a range
of slave positions can be specified to limit the search for the corresponding master position. This function block
is useful for E-Stop recovery routines.
Parameters
*
Parameter
Data Type
Description
VAR_IN_OUT
B
CamTable
Cam data structure
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
SlaveMin
LREAL
The smallest slave position to include
when searching for the master.
LREAL#0.0
V
SlavePosition
LREAL
The current slave position
LREAL#0.0
B
SlaveMax
LREAL
The largest slave position to include
when searching for the master.
LREAL#0.0
VAR_OUTPUT
B
Done
BOOL
Set high when the commanded action has been
completed successfully. If another block takes control
before the action is completed, the Done output will