2 cam function blocks, 1 smc_readcam, 2 smc_writecam – Lenze PLC Designer PLC-Designer (R2-x) SoftMotion User Manual

Page 254: Cam function blocks, Smc_readcam, Smc_writecam, L-force | plc designer - softmotion

Advertising
background image

DMS 5.2 EN 03/2011 TD17

L

254

L-force | PLC Designer - SoftMotion

The SM_FileFBs.lib library

CAM function blocks

11.2

CAM function blocks

11.2.1

SMC_ReadCAM

This program organisation unit is used to load a cam that has been created with the CAM

editor and saved in a *.CAM file during runtime and to make it available to the

MC_CamTableSelect and MC-CamIn program organisation units.

The size of cam that can be loaded is limited by the gc_SMC_FILE_MAXCAMEL (number of

elements) and gc_SMC_FILE_MAXCAMTAP (number of tappet switch actions) global

constants.

11.2.2

SMC_WriteCAM

This POU of the SM_FileFBs.lib is used to save a cam which was created by means of the

CAM editor in a *.CAM file. (See also

SMC_ReadCAM

.)

Advertising