11 the sm_filefbs.lib library, 1 cnc function blocks, 1 smc_readncqueue – Lenze PLC Designer PLC-Designer (R2-x) SoftMotion User Manual
Page 250: The sm_filefbs.lib library, Cnc function blocks, Smc_readncqueue, Using one of the, For this reason it should not be

DMS 5.2 EN 03/2011 TD17
L
250
L-force | PLC Designer - SoftMotion
The SM_FileFBs.lib library
CNC function blocks
11
The SM_FileFBs.lib library
This library provides program organisation units relating to file functionality.
11.1
CNC function blocks
11.1.1
SMC_ReadNCQueue
This program organisation unit reads in an OutQueue file from the control file system,
which has been created by the CNC editor, and provides an OutQueue structure that is
typically processed by the interpolator.
Inputs (VAR_IN)
bExecute: BOOL
The program organisation unit starts to read the queue in on a rising edge.
sFileName: STRING(80)
File path and name
pBuffer: POINTER TO BYTE
Pointer to a sufficiently large, available data area reserved in the IEC application
dwBufferSize: DWORD
Size of the data area in bytes
Note!
The use of the SM_FileFBs.lib library requires the 3S system libraries
SysLibFile.lib and Standard.lib!