<< Prev        Next >>

ID : 393

SysLog.Ctrl.Clear

Function

To initialize control log data.

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 the "Logging" under the FUNCTION GUIDE.

Attention

Example

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

  ' Initialize data of control log
  SysLog.Ctrl.Clear

  ' Start control 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 recording
  SysLog.Ctrl.Stop

End Sub

ID : 393

<< Prev        Next >>