Index Manuals FANUC Series 30i/300i/300is-MODEL A. Machining Center System. User's manual (B-63944EN/03)
|
|
|
16.CUSTOM MACRO PROGRAMMING B-63944EN/03
- 516 - - Relational operators Relational operators each consist of two letters and are used to Table 16.6 (a) Relational operators Operator Meaning EQ Equal to(=) NE Not equal to( ≠ ) GT Greater than(>) GE Greater than or equal to( ≥ ) LT Less than(<) LE Less than or equal to( ≤ )
Sample program The sample program below finds the total of numbers 1 to 10. O9500; #1=0;................................ Initial value of the variable to hold the sum #2=1;................................ Initial value of the variable as an addend #2=#2+1;.......................... Next addend N2 M30;............................... End of program
|