Tracing parameters and variables (P-CHAN-00392)

P-CHAN-00392

Trace parameters and variables (debug data of NC programs)

Description

In systems that support debugging of NC programs, this parameter controls tracing of the values of parameters and variables and the expressions generated from them. Trace data is written to a file together with other information relevant to the NC block.

The output path of this file with the *.dbg extension is defined by P-CHAN-00403 . The debug file name is formed from the name of the main NC main program and the channel number.

Example:
Debug trace of the NC program prg_main.nc started in channel 1 is stored to file:

prg_main.nc_ch1.dbg

 

As of CNC Build V3.1.3100 a program enumerator is added to the file name.

Debug trace of the NC program prg_main.nc started in channel 1, first start, is stored to file:

prg_main.nc_ch1_pc1.dbg

 

Parameter

debug.prg_trace

Data type

BOOLEAN

Data range

0: Generate no debug trace data (default).

1: Create and generate debug trace data in a program-specific file.

Dimension

----

Default value

0

Remarks

When an NC program is started, any existing older debug file with the same name is deleted.

The parameter is available as of Build V3.1.3037.0.