<< Prev        Next >>

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.

Related Terms

StartLog, StopLog

Attention

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 recording
   StartLog

  Move 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

<< Prev        Next >>