Internal ISG command

Syntax:

#INFO [ TO SCHEDULER_CMD S0 = TRACE [ S1 = <filename> ] [ I0 = <max_number> ] ]

TRACE

Start logging until the specified number of CNC cycles

<filename>

Optionally, you can specify the filename used for the output of scheduling events.
Default:
<TwinCATInstallation>\Components\Mc\Cnc\Diagnostics\MultiCore-Startup.log

<max_number>

Defines the number of CNC cycles logged. Logging is deactivated with a value=0.

Syntax:

#INFO [ TO SCHEDULER_CMD S0 = HISTORY [ S1 = <filename> ] ]

HISTORY

Writes the past schedule events (history) to the specified file. A fixed logging time is specified.

<filename>

Optionally, you can specify the filename used for the output of past scheduling events (history).
Default:
<TwinCATInstallation>\Components\Mc\Cnc\Diagnostics\MultiCore-History.log

Programming Example

Using the #INFO command

%MultiCore
P1 = 1
N090 V.E.string = "C:\TwinCAT\3.1\Components\Mc\CNC\Diagnostics\MultiCore-Loop" + ".txt"
N100 #FILENAME [ MSG = V.E.string]
$WHILE P1
N010 G01 X0 Y0 Z0 F10000
N040 #INFO[TO SCHEDULER_CMD S0=TRACE S1 = C:\TwinCAT\3.1\Components\Mc\CNC\Diagnostics\MultiCore-Test.log I0=300 ]
N100 X300
N110 Y400
N240 #INFO[TO SCHEDULER_CMD S0=HISTORY S1 = C:\TwinCAT\3.1\Components\Mc\CNC\Diagnostics\MultiCore-History.log    ]
N110 Z500
N110 #MSG SAVE["%s MultiCore-Test.nc Loop %d", V.G.TIME_STAMP, P1]
N600 #FLUSH WAIT
N400 P1 = P1 + 1
$ENDWHILE
M30