
DMS 5.2 EN 03/2011 TD17 L 207
L-force | PLC Designer - SoftMotion
The SM_CNC.lib library
Structures of SM_CNC.lib
7.16.5 SMC_OUTQUEUE
The SMC_OUTQUEUE structure in SMC_CNC.lib helps you to manage GEOINFO objects in
a list of a defined size.
The program organisation units use the wOUTQUEUEStructID variable, which has a fixed
value, to check internally whether the structure variable provided is of type
SMC_OutQueue or not.
The byGenerator variable describes the originator of the queue. The interpolator uses this
information to check whether the SMC_CheckVelocities program organisation unit has
been processed last as prescribed. The following values are defined:
TYPE SMC_OUTQUEUE :
STRUCT
wOUTQUEUEStructID: WORD;
pbyBuffer: POINTER TO BYTE;
nSize: UDINT;
nReadPos: UDINT;
nWritePos: UDINT;
bFull: BOOL;
bEndOfList: BOOL;
byGenerator: BYTE;
END_STRUCT
END_TYPE
Originator Value
SMC_NCDecoder 1
SMC_AvoidLoop 10
SMC_LimitCircularVelocity 11
SMC_RoundPath 12
SMC_SmoothPath 13
SMC_ToolCorr 14
SMC_RotateQueue2D 30
SMC_ScaleQueue3D 31
SMC_TranslateQueue3D 32
SMC_CheckVelocities 254
CNC editor 255
Comentarios a estos manuales