ID : 10677
StartLog
Function
To start control log and servo log recording.
Syntax
StartLog
Description
Executing this command will specify the start timing of the log data that you can obtain.
The range of log data you can obtian is specified by the combination of this command and STOPLOG command (StopLog), or by the combination of this command and the parameter that specifies the logging-end timing.
If CLEARLOG command (ClearLog) has not been executed, the program automatically executes CLEARLOG process and then starts obtaining the log data.
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 smart 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 and Servo 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 : 10677

