Fanuc Power Mate i-D/H Operator Manual

3. HIGH–SPEED RESPONSE
FUNCTION
PROGRAMMING
(Power Mate i–H)
B–63174EN/03
272
When high speed response function is used, this function enables to use
macro sentence and macro system variable in motion program. The
following macro sentence can be used.
Arithmetic command
Unconditional branch command (GO TO statement)
Conditional branch command (IF statement)
Reiterating command (WHILE statement)
Quotation of variable
NOTE
The following functions apply to the variables that are
described in the Subsection 3.4.5 System Variables.
The following arithmetic commands can be used. (i, j, k: System variable,
n: Integer)
Function Format
Definition #i = #j, #i = n
Addition #i =#j + #k, #i = #j + n
Subtraction #i =#j – #k, #i = #j – n
Multiplication #i =#j*#k, #i = #j*n
Division #i = #j / #k, #i = #j / n
Absolute value #i =ABS[#j]
Logical or #i =#j OR #k, #i =#j OR n
Exclusive logical or #i =#j XOR #k, #i =#j XOR n
Logical and #i =#j AND #k, #i =#j AND n
NOTE
1 The arithmetic commands except the above can not be
used.
2 The figures below the decimal place are omitted when the
decimal part remains as a result of division.
3 ”–” cannot be placed just before ”ABS”.
Ex.) The command such as ”#i = –ABS[#j]” is not permitted.
4 A constant cannot be placed in the square brackets ”[ ]” of
ABS command.
5 An operator can not be used in the left side of an equation
and the first term of the right side of equation.
Ex.) The command such as ”–#i= 100” cannot be used.
3.4
CUSTOM MACRO IN
THE HIGH
RESPONSE MODE
3.4.1
Macro Statement
Arithmetic command

Leave a Reply

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