3 smc_cameditor / smc_camvisu, Smc_cameditor / smc_camvisu – Lenze PLC Designer PLC-Designer (R2-x) SoftMotion User Manual

Page 159

Advertising
background image

DMS 5.2 EN 03/2011 TD17

L

159

L-force | PLC Designer - SoftMotion

The SM_PLCopen.lib library

Additional program organisation units

6.4.3

SMC_CAMEditor / SMC_CAMVisu

An online cam editor can be generated using these program organisation units.
SMC_CAMEditor must be called in the SoftMotion task, whereas SMC_CAMVisu should be

called in a slower task of lower priority.
Both program organisation units should be connected to the corresponding visualisation

template (SMC_CAMEditor) that represents the defined cam and allows the user to modify

it, even during its runtime.

The red circle marks the current cam point, which can be changed using the arrows at the

bottom left. The buttons at the bottom right can be used to select whether the position,

velocity or acceleration will be displayed. The arrows at the top can be used to shift the

master/slave position, slave velocity and slave acceleration by the specified increment.

Inputs/outputs (VAR_IN_OUT) of the SMC_CAMEditor program organisation unit
CAM: MC_CAM_REF
Cam to be displayed and modified

Advertising