SysLog.Ctrl.UserData
Function
To record the designated value to the control log.
Syntax
SysLog.Ctrl.UserData Setting value
Guaranteed Entry
- Setting value
-
Designate the arbitrary value by integer type data or single precision real number type data.
Description
Arbitrary values are recorded in the control log. Recorded in the log together with the command values and other values when the command values are created.
Even if values are changed more frequently than the command creation period, these changes are not reflected in the logs.
Related Terms
SysLog.Ctrl.Start, SysLog.Ctrl.Stop, SysLog.Ctrl.Clear, Logging
Attention
- See "Acquiring, Displaying and Saving Control Log" in "TEACH PENDANT OPERATION GUIDE" for about how to check the control log with a teach pendant.
- See "Acquisition of Log Data" in "WINCAPSⅢ GUIDE" for about how to export controller's log data to WINCAPSⅢ.
See "Displaying and Reading Project List" in "TEACH PENDANT OPERATION GUIDE" for about how to export controller's log data to a USB.
Example
Sub Main
TakeArm 0
ClrPathPoint 3
AddPathPoint 3,P31
AddPathPoint 3,P32
AddPathPoint 3,P33
AddPathPoint 3,P34
AddPathPoint 3,P35
AddPathPoint 3,P36
AddPathPoint 3,P37
AddPathPoint 3,P38
AddPathPoint 3,P39
AddPathPoint 3,P40
AddPathPoint 3,P41
AddPathPoint 3,P42
Speed Mps(700)
Move P,@E P30
'Start recording the control log
SysLog.Ctrl.Clear
SysLog.Ctrl.Start
Move S, @E 3, Next
'Record currently passed path point numbers in the control log in chronological order
Do
SysLog.Ctrl.UserData CurPathPoint(1)
Loop Until MotionComplete
'Stop recording the control log
SysLog.Ctrl.Stop
GiveArm
End Sub
