beautypg.com

2 mc_camin, Mc_camin – Lenze PLC Designer PLC-Designer (R2-x) SoftMotion User Manual

Page 148

background image

L-force | PLC Designer - SoftMotion

The SM_PLCopen.lib library

POUs for the synchronised motion control (multi-axis)

148

L

DMS 5.2 EN 03/2011 TD17

6.3.2

MC_CamIn

This program organisation unit from SM_PLCopen.lib implements a cam selected in

MC_CAMTABLESELECT.
The start mode can be defined as well as the offsets and scalings. Please note that the

ramp_in, ramp_in_pos and ramp_in_neg modes can only be used if the VelocityDiff,

Acceleration and Deceleration parameters have been specified. If the slave's actual value

and the cam start value do not match at the start, these modes will ensure that the slave's

setpoint is constantly fed to the cam.
This program organisation unit also provides an additional function: it detects tappets and

can pass tappet information on to one or more SMC_GetTappetValue function POUs via

the Tappets output (see SMC_GetTappetValue). Please note that the CamIn program

organisation unit can detect a maximum of three tappets at the same time per cycle. The

SMC_CAMRegister program organisation unit is not subject to this restriction.

Inputs/outputs (VAR_IN_OUT)
Master : AXIS_REF
Master axis
Slave : AXIS_REF
Slave axis