Index Manuals FANUC Series 30i/300i/300is-MODEL A. Machining Center System. User's manual (B-63944EN/03)
|
|
|
10.EDITING PROGRAMS OPERATION B-63944EN/03
- 1364 - 10.7 EDITING OF CUSTOM MACROS Explanation When editing a custom macro already entered, the user can move the BPRNT, DPRNT and PCLOS On the screen, a blank is placed before each of the above characters N001 X-#100 ;
#1 =123 ;
N002 /2 X[12/#3] ;
N003 X-SQRT[#3/3*[#4+1]] ;
N004 X-#2 Z#1 ;
N005 #5 =1+2-#10 ;
IF[#1NE0] GOTO10 ;
WHILE[#2LE5] DO1 ;
#[200+#2] =#2*10 ;
#2 =#2+1 ; END1 ;
- Abbreviations of custom macro word When a custom macro word is altered or inserted, the first two → WH GOTO → GO XOR → XO AND → AN SIN → SI ASIN → AS COS → CO ACOS → AC TAN → TA ATAN → AT SQRT → SQ ABS → AB BCD → BC BIN → BI FIX → FI FUP → FU ROUND → RO END → EN POPEN → PO BPRNT → BP DPRNT → DP PCLOS → PC EXP → EX THEN → TH Example) Keying in WH [AB [#2 ] LE RO [#3 ] ] has the same effect as
WHILE [ABS [#2 ] LE ROUND [#3 ] ]
The program is also displayed in this way.
|