Index Manuals FANUC Series 30i/300i/300is-MODEL A. Machining Center System. User's manual (B-63944EN/03)
|
|
|
17.REAL-TIME CUSTOM MACRO PROGRAMMING B-63944EN/03
- 604 - Sample program The sample program below exercises the following three control peripheral axis A. (3) When the workpiece coordinate on the X-axis (#100101) is equal to or less than 50, the Y signal 2.3 is set to 1.
O0001 ; Workpiece
50
X Z RTM command (2) RTM command (3) Command for cutting on Peripheral axis A Signal switch Signal lamp
B-63944EN/03 PROGRAMMING 17.REAL-TIME CUSTOM MACRO
- 605 - 17.5 MACRO CALL Explanation In address P after G65, specify the program number of a real time NOTE 1 In argument P of G65, only a constant value can be used. No value can be specified through a Example: G01 X100.0 G65 Pp) is not allowed. If another 3 The G65 block for calling a real time macro does not make a single block stop. 4 On the other hand, a real time macro program called by real time macro calling makes a single
P : Number of real time macro program to be called O0001 ; O9010 ; G65
P p ; The execution of real time macro //1 including O9010 starts simultaneously Code real time macro |