Function: This command opens the dialog box CNC information about program <name>.
Call:
CNC menu
Context menu of an object (type CNC program)
Requirement: A CNC program is open in the editor.
See also
Dialog box 'CNC information of <name> program'
The dialog box provides information about the specified CNC program.
Program name |
Example: Workpiece_1 |
Version of function blocks |
Example: 4.2.0.0 |
Number of lines |
Example: 5 |
Number of objects |
Example: 3 |
Path length [units] |
Example: 261.803398874992 |
Duration [s] |
Time (in seconds) for traveling the preprocessed path Example: 10.158 Requirement: Path preprocessing without errors and successfully generated interpolation points |
Show generated code |
The Generated code dialog box opens. Requirement: The program contains no errors. |
This dialog box shows the IEC initialization code of the active CNC program, depending on the compile mode for the function block SMC_OutQueue or SMC_CNC_REF.
Example: IEC initialization code
{attribute 'linkalways'}
VAR_GLOBAL
{attribute 'init_on_onlchange'}
{attribute 'init_on_onlchange'}
Example : SMC_CNC_REF := (nElements := 22, strProgramName := 'Example', piStartPosition := (iFrameNo:=0, wAuxData:=7, wSProfile:=0, dX:=0, dY:=0, dZ:=0, dA:=0, dB:=0, dC:=0, dA1:=0, dA2:=0, dA3:=0, dA4:=0, dA5:=0, dA6:=0), pgc := ADR(Example_D), xPartofLM := TRUE);
{attribute 'blobinit'}
{attribute 'init_on_onlchange'}
Example_D : ARRAY[0..21] OF SMC_GCODE_WORD := [
{p 35184372088832 }
(byLetter := 78, fValue:=0, diValue:=0),
{p 35184372088832 }
(byLetter := 70, fValue:=0, diValue:=0),
{p 35184372088832 }
(byLetter := 69, fValue:=100, diValue:=100),
{p 35184372088832 }
(byLetter := 69, fValue:=-100, diValue:=-100),
{p 35184372088832 }
(byLetter := 128, fValue:=1, diValue:=1),
{p 36283883716609 }
(byLetter := 78, fValue:=0, diValue:=0),
{p 36835250143233 }
(byLetter := 71, fValue:=1, diValue:=1),
{p 38486665068545 }
(byLetter := 88, pAdr := ADR(g_x), byVarType := ANY_TO_BYTE(__TYPEOF(g_x) + 32)),
{p 36291399909377 }
(byLetter := 89, fValue:=0, diValue:=0),
{p 36842766336001 }
(byLetter := 70, fValue:=50, diValue:=50),
{p 36844913819649 }
(byLetter := 69, fValue:=30, diValue:=30),
{p 37396817117185 }
(byLetter := 69, fValue:=-30, diValue:=-30),
{p 35184372088832 }
(byLetter := 128, fValue:=2, diValue:=2),
{p 36833639530498 }
(byLetter := 78, fValue:=10, diValue:=10),
{p 36835787014146 }
(byLetter := 71, fValue:=1, diValue:=1),
{p 36288178683906 }
(byLetter := 88, fValue:=0, diValue:=0),
{p 38488812552194 }
(byLetter := 89, pAdr := ADR(g_y), byVarType := ANY_TO_BYTE(__TYPEOF(g_y) + 32)),
{p 35184372088832 }
(byLetter := 128, fValue:=3, diValue:=3),
{p 36833639530499 }
(byLetter := 78, fValue:=20, diValue:=20),
{p 36835787014147 }
(byLetter := 71, fValue:=1, diValue:=1),
{p 36288178683907 }
(byLetter := 88, fValue:=0, diValue:=0),
{p 36289789296643 }
(byLetter := 89, fValue:=0, diValue:=0)];
END_VAR