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.
Related Terms
SysLog.Trace.Start, SysLog.Trace.Stop,Logging, TP Trace logging screen
Attention
- See "Displaying the Trace Log" in "TEACH PENDANT OPERATION GUIDE" for about how to check the trace log with a teach pendant.
- See "Acquisition of Log Data" in "WINCAPSIII GUIDE" for about how to export controller's log data to WINCAPSIII.
See "Displaying and Reading Project List" in "TEACH PENDANT OPERATION GUIDE" for about how to export controller's log data to a USB.
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