<< Prev        Next >>

ID : 9445

SysLog.Ctrl.Clear

Function

To initialize control log and servo log.

Syntax

SysLog.Ctrl.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.Ctrl.Start) and STOPLOG command (SysLog.Ctrl.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 "Logging" in Basic of Robot Motion Creation.

This command performs the same operation as ClearLog command.

Attention

Example

'!TITLE "Smart Control Log Recording"
' After initializing data of control log and servo log, start recording and stop
Sub Sample_SysLogCtrlStart

  ' Initialize data of control log and servo log
  SysLog.Ctrl.Clear

  ' Start control log and servo log recording
  SysLog.Ctrl.Start

  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
  SysLog.Ctrl.Stop

End Sub

ID : 9445

<< Prev        Next >>