<< Prev        Next >>

ID : 399

SysLog.Servo.Clear

Function

To initialize Servo logs.

Syntax

SysLog.Servo.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.Servo.Start) and STOPLOG command (SysLog.Servo.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 "Start Servo Log Recording"
' After initialize servo data, start recording and stop recording
Sub Sample_SysLogServoStart

  TakeArm Keep = 1

  ' Initialize servo data
  SysLog.Servo.Clear

  ' Start servo data recording
  SysLog.Servo.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 servo data recording
  SysLog.Servo.Stop

End Sub

ID : 399

<< Prev        Next >>