Motion control C3F_T40
240 192-121102 N04 June 2008
5.10.6.3 Control of the cam generator (C3_CamTableSelect)
FB name C3_CamTableSelect
Control of the curve generator
VAR_IN_OUT
Master
INT Axis ID; constant: AXIS_REF_LocalCam
Slave
INT
VAR_INPUT
Execute
BOOL Curve selection with positive edge
CamTable
INT Curve number (beginning with 1)
Periodic
BOOL
=FALSE: run through curve once (Single operation)
=TRUE: cyclic run trough curve (periodic operation)
MasterAbsolute
BOOL
Select master reference of the curve
FASLE = relative
TRUE = absolute
Mastercycle
REAL
Value of the master segment distance [physical units] 3
decimal places are considered.
Slavecycle
REAL
Value of the slave segment distance [physical units] 3
decimal places are considered.
MasterOffset
REAL Absolute mode:
Offset at the start of the master position aquisition
relative mode:
Start delay, the master position acquisition starts if the
master signal reaches this value, see in the signal image
(see page 225).
If the input is o
pen the curve starts with Execute (without
delay)
LastSegment
BOOL Resets the display, see in the signal image (see page 225)
and is us
ed as reference signal for coupling.
VAR_OUTPUT
Done
BOOL Change of curves finished
Busy
BOOL Waiting for change of cams
EndOfSegment
BOOL Impulse at the end of a curve even if no Execute is present
Error
BOOL
Command aborted
Error in cam selection or master connection