1 mc_camtableselect, Mc_camtableselect, L-force | plc designer - softmotion – Lenze PLC Designer PLC-Designer (R2-x) SoftMotion User Manual
Page 146

L-force | PLC Designer - SoftMotion
The SM_PLCopen.lib library
POUs for the synchronised motion control (multi-axis)
146
L
DMS 5.2 EN 03/2011 TD17
6.3
POUs for the synchronised motion control (multi-axis)
6.3.1
MC_CamTableSelect
This program organisation unit from SM_PLCopen.lib is used to select a cam, determine
the master and slave axes and make certain presettings. The CamTableID object, which is
available as an output, will be passed onto the MC_CamIn cam program organisation unit
at a later time.
The master axis can be virtual, i.e. it does not have to physically exist. If the bRegulatorOn
variable is set to TRUE, the setpoints will be used, otherwise the actual values will be used.
The cam to be traversed can either be programmed manually in an object of the
MC_CAM_REF structure or created by means of the cam editor integrated in the »PLC
Designer«.
The Periodic variable determines whether or not the cam will be started again from the
beginning once it has been completed.
The MasterAbsolute and SlaveAbsolute variables define whether the cam mapping of the
master axis to the slave axis is to refer to absolute values or increments.
Inputs/outputs (VAR_IN_OUT)
Master : AXIS_REF
Master axis
Slave : AXIS_REF
Slave axis
CamTable : MC_CAM_REF
Description of the cam