Parker EME
Motion control
192-121102 N04 June 2008 247
Starting a selected curve (MC_CamIn)
FB name MC_CamIn
Synchronization of the axis with the output of the curve generator without coupling
movement
VAR_IN_OUT
Master
INT Axis ID; constant: AXIS_REF_LocalCam
Slave
INT Axis-ID (library constants)
VAR_INPUT
Execute
BOOL Curve start with positive edge
VAR_OUTPUT
InSync
BOOL Synchronous operation active
CommandAborted
BOOL Command aborted
Error
BOOL
Command aborted
Error in the cam operation
EndOfProfile
BOOL
End of a cam cycle.
A pulse with the length of an IEC cycle indicates the end
of each cam cycle.
Suitable for setting up a loop counter.
Note:
Curve alignment:
Execute is followed by immediate coupling; the current curve setpoint value is
adapted to the current slave setpoint value. This adapts the curve to the current
position.
In order to avoid velocity jumps, the master should be at a standstill or the curve
should have an initial gradient (slope) of 0.
MC_CamIn can also be started by a C3_CamTableSelect, if the curve setpoint
value does not jump after the start of the C3_CamTableSelect
example 6:
Operation with curve segments and standstill area
(see page 276).
InSync : BOOL
MC_CamIn
CommandAborted : BOOL
Error : BOOL
EndOfProfile : BOOL
Master : AXIS_REF
Slave : AXIS_REF
Execute : BOOL
Master : AXIS_REF
Slave : AXIS_REF