Fanuc Power Mate i-D/H Operator Manual

3. HIGH–SPEED RESPONSE
FUNCTION
PROGRAMMING
(Power Mate i–H)
B–63174EN/03
276
NOTE
1 The value of a macro variable can not be referred just to
specify the G code, M code, and number of M code group.
Example) G#i ; NG
M#i P1 ; NG
M100 P#i ; NG
2 An expression as following is not available.
Example) X[#i + #j ]
CAUTION
As for the variables from #1245 to #1959 in addition to the
variables, which are described in the ”3.4.5 System
Variables”, the value of the variable can be referred to, too.
But the value of the system variables from #1245 to #1959
is referred only when the programs are compiled. So, if the
value of the macro variable is changed after compiling the
programs, the changed value of the macro variable will not
be reflected to the executing motion program.
Local variables from #1 to #33 are not available.
Common variables from #100 to #199, from #500 to #699 are not
available.
The following system variables are available in the motion program.
Variable number Function
#5021 to #5028 Current position (Machine coordinate system)
#5041 to #5048 Current position (Workpiece coordinate system)
#5061 to #5068 Skip position
#5101 to #5108 Deviated servo position
#1000000 to #1000296 Variable timer variable (T0 to T299)
#1010000 to #1010036 Keep relay variable (K0 to K39)
#1020000 to #1020196 Counter variable (C0 to C199)
#1051000 to #1051007 Built–in DI variable (X1000 to X1007)
#1200000 to #1207996 Data table variable (D0 to D7999)
#1300000 to #1302996 Internal relay variable (R0 to R2999)
3.4.3
Local Variables
3.4.4
Common Variables
3.4.5
System Variables

Leave a Reply

Your email address will not be published. Required fields are marked *