ID : 10676
ClearLog
Function
To initialize control log and servo log.
Syntax
ClearLog
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 (StartLog) and STOPLOG command (StopLog).
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 "Logging" in Basic of Robot Motion Creation.
Attention
- See "Acquiring, Displaying and Saving Control Log" in Smart TP Operation Guide " for about how to check the control log with a tSmart TP.
- See "Acquiring and Displaying Servo Log" in Smart TP Operation Guide for about how to check the servo log with a tSmart TP.
- 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 Smart TP Operation Guide for about how to export controller's log data to a USB.
Example
'!TITLE "Srart Control Log Recording" ' After initializing data of control log and servo log, start recording and stop Sub Sample_StartLog ' Initialize data of control log and servo log ClearLog ' Start control log and servo log recordingStartLogMove P, Dev( CurPos, P( 50, 100, 150, 0, 0, 0, -1 ) ) Move L, Dev( CurPos, P( -100, 150, -100, 0, 0, 0, -1 ) ) ' Stop control log and servo log recording StopLog End Sub
ID : 10676

