8 the sm_cncdiagnostic.lib library, 1 function blocks for analysing smc_cnc_ref data, 1 smc_showcncref – Lenze PLC Designer PLC-Designer (R2-x) SoftMotion User Manual

Page 215: 2 function blocks for analysing smc_outqueue data, 3 smc_showqueue, The sm_cncdiagnostic.lib library, Function blocks for analysing smc_cnc_ref data, Smc_showcncref, Function blocks for analysing smc_outqueue data, Smc_showqueue

Advertising
background image

L-force | PLC Designer - SoftMotion

The SM_CNCDiagnostic.lib library

Function blocks for analysing SMC_CNC_REF data

215

L

DMS 5.2 EN 03/2011 TD17

8

The SM_CNCDiagnostic.lib library

This library contains tools that can be very useful during the commissioning phase as they

help the application programmer to display data that is exchanged between program

organisation units.

8.1

Function blocks for analysing SMC_CNC_REF data

8.1.1

SMC_ShowCNCREF

This function block can display the first ten lines of a CNC program, which is available in the

form of an SMC_CNC_REF data structure, as text strings (DIN 66025). An array of string

(cnostr) containing text lines is created as an output. The VISU_SMC_ShowCNCRef

visualisation template can display these outputs.

8.1.2

Function blocks for analysing SMC_OutQueue data

8.1.3

SMC_ShowQueue

This function block provides the first ten SMC_GeoInfo objects of an OutQueue in the form

of an ARRAY OF POINTER TO SMC_GeoInfo. Some important elements thereof can then be

displayed by the VISU_SMC_ShowQueue visualisation template, including the object

number, line number, object type, start position (X/Y/Z), end position (X/Y/Z), target

velocity and end velocity.

Advertising