Lenze PLC Designer PLC-Designer (R2-x) SoftMotion User Manual

Page 252

Advertising
background image

L-force | PLC Designer - SoftMotion

The SM_FileFBs.lib library

CNC function blocks

252

L

DMS 5.2 EN 03/2011 TD17

Size of the data area in bytes
fDefaultVel: LREAL
Selection of a velocity.
fDefaultAccel: LREAL
Selection of an acceleration.
fDefaultDecel: LREAL
Selection of a deceleration.

Outputs (VAR_OUT)
bDone : BOOL
Set once the program has been read in completely
bError : BOOL
TRUE: Error has occurred
ErrorID: SMC_ERROR
Error number
bExecuteDecoder: BOOL
Signal that is to trigger the Execute input of the SMC_NCDecoder program organisation

unit
ncprog: SMC_CNC_REF
CNC program. Input of the subsequent SMC_NCDecoder program organisation unit

Advertising