4 smc_camregister, Smc_camregister – Lenze PLC Designer PLC-Designer (R2-x) SoftMotion User Manual
Page 161

DMS 5.2 EN 03/2011 TD17
L
161
L-force | PLC Designer - SoftMotion
The SM_PLCopen.lib library
Additional program organisation units
6.4.4
SMC_CAMRegister
This program organisation unit represents a tappet control unit. It works (like MC_CamIn)
on an MC_CAM_REF structure, negating the actual cam information and only reading the
tappet information.
Inputs/outputs (VAR_IN_OUT)
Master : AXIS_REF
Shows the axis structure that will switch the tappets.
CamTable : MC_CAM_REF
Description of a (possibly empty) cam containing the description of the tappets.
bTappet : ARRAY [1..MAX_NUM_TAPPETS] OF BOOL
Tappet bits
Inputs (VAR_IN)
Enable : BOOL (default: FALSE)
The program organisation unit starts to switch the tappets on TRUE.
MasterOffset : REAL
Offset to the master position
MasterScaling : REAL (default: 1)
General scaling factor for the master axis
TappetHysteresis : REAL
Hysteresis around tappets
DeadTimeCompensation : REAL
Dead time in seconds. The expected position of the master axis will be calculated in
advance using linear extrapolation.