ID : 9890
SetVirtualTracePos
Function
To specify the origin return position to the specified origin return number.
Syntax
SetVirtualTracePos Origin return number
Guaranteed Entry
- Origin return number
- Specify the origin return number by integer type data of 1 or more.
Description
Obtain the current robot position by position type data, and specify the current robot position as the origin return position to the specified origin return number.
If you specify the same origin return number continuously, the current position specified at first is recorded. If you want to overwrite, specify another origin return number and then specify the origin return number that you want to overwrite again.
Example 1
Specify the origin return number 1, record at P1. After that, if you also record at P2, the origin recorded to the origin return number 1 is P1.
Example 2
Specify the origin return number 1, record at P1. After that, specify the origin return number 2 and record at P2. If you specify the origin return number 1 again and record at P3, the origin recorded to the origin return number 1 is P3.
Related Terms
Attention
After executing this command, if you stop the log recording within 8ms, the origin return position will not be recorded. Also, if you change a value within 8ms, the change will not be recorded.
Example
Sub Sample_SetVirtualTracePos
' Specify the current position as the origin return position to the origin return number 10
SetVirtualTracePos 10
End Sub
ID : 9890

