<< Prev        Next >>

ID : 396

SysLog.Trace.Clear

Function

To clear trace log data.

Syntax

SysLog.Trace.Clear

Description

Deletes data retained in the ring buffer, and begins recording of logs.

Note that this command records the log in the ring-buffer only. To read the recorded log as log data, you need to set STARTLOG command (SysLog.Trace.Start) and STOPLOG command (SysLog.Trace.Stop).
STARTLOG command and STOPLOG command specifies the start timing and the stop timing of the target data logging, respectively. If STOPLOG command is not set, the end timing of the target data logging is the timing that have been specified by the parameter. On the other hand, if STARTLOG command is not set, the start timing of the target data logging will be the time that is back by the parameter-specified-length of time from the timing of STOPLOG command.

For details, refer to "Recording by Program Commands" in the "Logging" under the FUNCTION GUIDE.

Attention

Example

Sub Main 
	SysLog.Trace.Clear
	SysLog.Trace.Start
	
	TakeArm
	Motor On
	ExtSpeed 50
	Speed 100
	
	Move P, P1
	Move P, P2
	Move P, P3
	
	SysLog.Trace.Stop 
End Sub

ID : 396

<< Prev        Next >>