CURFIG
(System variable)
Obtains the current value of the robot figure
CURFIG
The current robot figure is stored with integers. The relation between the integer value and the figure is listed in the following table.
Robot Figures
Value
|
Figure ( For 6-axes robots )
|
Figure ( For 4-axes robots )
|
---|---|---|
0
|
SINGLE4—SINGLE6—FLIP—ABOVE—RIGHTY
|
SINGLE— RIGHTY
|
1
|
SINGLE4—SINGLE6—FLIP—ABOVE—LEFTY
|
SINGLE— LEFTY
|
2
|
SINGLE4—SINGLE6—FLIP—BELOW—RIGHTY
|
|
3
|
SINGLE4—SINGLE6—FLIP—BELOW—LEFTY
|
|
4
|
SINGLE4—SINGLE6—NONFLIP—ABOVE—RIGHTY
|
|
5
|
SINGLE4—SINGLE6—NONFLIP—ABOVE—LEFTY
|
|
6
|
SINGLE4—SINGLE6—NONFLIP—BELOW—RIGHTY
|
|
7
|
SINGLE4—SINGLE6—NONFLIP—BELOW—LEFTY
|
|
8
|
SINGLE4—DOUBLE6—FLIP—ABOVE—RIGHTY
|
DOUBLE— RIGHTY
|
9
|
SINGLE4—DOUBLE6—FLIP—ABOVE—LEFTY
|
DOUBLE— LEFTY
|
10
|
SINGLE4—DOUBLE6—FLIP—BELOW—RIGHTY
|
|
11
|
SINGLE4—DOUBLE6—FLIP—BELOW—LEFTY
|
|
12
|
SINGLE4—DOUBLE6—NONFLIP—ABOVE—RIGHTY
|
|
13
|
SINGLE4—DOUBLE6—NONFLIP—ABOVE—LEFTY
|
|
14
|
SINGLE4—DOUBLE6—NONFLIP—BELOW—RIGHTY
|
|
15
|
SINGLE4—DOUBLE6—NONFLIP—BELOW—LEFTY
|
|
16
|
DOUBLE4—SINGLE6—FLIP—ABOVE—RIGHTY
|
|
17
|
DOUBLE4—SINGLE6—FLIP—ABOVE—LEFTY
|
|
18
|
DOUBLE4—SINGLE6—FLIP—BELOW—RIGHTY
|
|
19
|
DOUBLE4—SINGLE6—FLIP—BELOW—LEFTY
|
|
20
|
DOUBLE4—SINGLE6—NONFLIP—ABOVE—RIGHTY
|
|
21
|
DOUBLE4—SINGLE6—NONFLIP—ABOVE—LEFTY
|
|
22
|
DOUBLE4—SINGLE6—NONFLIP—BELOW—RIGHTY
|
|
23
|
DOUBLE4—SINGLE6—NONFLIP—BELOW—LEFTY
|
|
24
|
DOUBLE4—DOUBLE6—FLIP—ABOVE—RIGHTY
|
|
25
|
DOUBLE4—DOUBLE6—FLIP—ABOVE—LEFTY
|
|
26
|
DOUBLE4—DOUBLE6—FLIP—BELOW—RIGHTY
|
|
27
|
DOUBLE4—DOUBLE6—FLIP—BELOW—LEFTY
|
|
28
|
DOUBLE4—DOUBLE6—NONFLIP—ABOVE—RIGHTY
|
|
29
|
DOUBLE4—DOUBLE6—NONFLIP—ABOVE—LEFTY
|
|
30
|
DOUBLE4—DOUBLE6—NONFLIP—BELOW—RIGHTY
|
|
31
|
DOUBLE4—DOUBLE6—NONFLIP—BELOW—LEFTY
|
|
LETF, Robot figure (Appendix 2)
DIM li1 As Integer
|
|
li1 = CURFIG
|
'Assigns the current robot figure to integer variable li1.
|