6 mc_gearinpos, Mc_gearinpos, L-force | plc designer - softmotion – Lenze PLC Designer PLC-Designer (R2-x) SoftMotion User Manual
Page 152

L-force | PLC Designer - SoftMotion
The SM_PLCopen.lib library
POUs for the synchronised motion control (multi-axis)
152
L
DMS 5.2 EN 03/2011 TD17
6.3.6
MC_GearInPos
This POU of SM_PLCopen.lib couples the slave axis to the master axis in a position and
speed-synchronous manner. Via inputs positions can be defined, from which the slave axis
is coupled in and is in the position specified.
Inputs/outputs (VAR_IN_OUT)
Master : AXIS_REF
Master axis
Slave : AXIS_REF
Slave axis
Inputs (VAR_IN)
Execute : BOOL (default: FALSE)
At the rising edge the POU starts the coupling process. If MasterStartDistance 0, the
coupling process is started immediately and the slave axis accelerates via polynomial
function. At the master position set the slave axis then is speed-synchronous and is placed
in the slave position specified. If MasterStartDistance is greater 0, the slave axis waits until
the master is within the coupling window and then starts with the acceleration.
Depending on the slave speed before the coupling process, the synchronous speed, and the
master or slave position specified, or the coupling path, the axis can also move opposite to
the actual direction of rotation for a short time, as only like this the conditions specified can
be maintained.
RatioNumerator: INT (Default: 1)
By this the numerator of a ration can be set.
RatioDenominator: INT (Default: 1)
By this a denominator of the ration can be defined.
MasterSyncPosition: REAL (Default: 0)
From this position the slave is coupled in completely.
SlaveSyncPosition: REAL (Default: 0)
The position of the slave when the master is in the MasterSyncPosition.
MasterStartDistance: REAL (Default: 0)
The desired coupling path, or if 0, then the accelertion process is started immediately.