Fanuc Power Mate i-D/H Operator Manual

(Power Mate i–H)
Note) The value of a macro variable can be referred just to specify
the position, the distance or the feed rate. To refer to the value
of a macro variable in a program, specify a word address
followed by the variable number.
For referencing, specify a variable number after an address
Example: X#1245
However, the expression indicated in the following example
cannot be used:
Example: X[#1245+#1246]
The usable variables are #1245 through #1959. (Regardless of the
values of #1994 and #1995, only those areas that are equivalent to
those when #1994 and #1995 are set to 0 can be referenced. For
details of #1245 through #1959, see Chapter 13 in Part II.)
The value of a variable is referenced at compile time. Even
if the value of a variable is changed after compilation, the
new value is not reflected when the motion program is
(13) Optional block skip
At the start of a block, program a slash (/) followed by a number.
By setting an optional block skip signal (BDT1 to BDT9) to 1 during
motion program execution, the information of the block where /n
corresponding to the signal BDTn is specified is ignored.
1) BDTn becomes valid when the program is executed (when the
reading of each block is started). (BDTn cannot be made valid
at compile time.)
2) In one block, multiple optional block skips can be specified.
3) A common signal is used for a BDTn signal, regardless of the
program (path).
4) Be sure to place a slash (/) at the start of a block. Otherwise, a
compile error occurs.
5) In a block with a slash (/) specified, neither a modal G code
(G00/G01/G90/G91) nor feedrate F may be specified. (Specify
a modal G code and feedrate F in a block preceding a block with
a slash (/) specified.)
Oxxxx ;
G90 G00 X0 ;
/ G91 G01 X100 F500 ;
G91 G01 X200 F500 ;
Oxxxx ;
G90 G00 X0 ;
G91 G01 F500 ;
/ X100 ;
G91 G01 X200 F500 ;

Leave a Reply

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