Specifications
_____________________________________________________________________ 
_____________________________________________________________________ 
 CONCISE GUIDE FANUC 150 
13.12 HOW TO CREATE A NEW SUBPROGRAM 
The procedure followed when creating a subroutine is similar to the one used to create a programme. 
Subroutines and programmes are stored in the same memory. To make management easier, values 
should be included between O8001 and O9000 (main programmes range from O1 to O8000). Please note 
that all our subroutines end up with the function M99. For further details on subroutines see programming 
Ready Reference. 
To create a new subroutine, follow this procedure: 
1 -  Select EDIT MODE on the operator’s panel 
2 -  Press PROGRAMME PAGE 
3 -  Type in the code O followed by the desired number, ranging from 8001 to 9000 
4 -  Press the key INSERT then press the key EOB  
5 -  Insert the whole subroutine by pressing the key EOB at the end of each block; then press the key 
INSERT to store entered blocks. 
N.B. Spaces are not needed between two codes of the same subroutine. 
13.13 GRAPHIC SIMULATION OF A PROGRAMME 
This procedure is used to display graphically (with axes and spindle at a standstill) programmed 
movements before running the programme in AUTO mode. 
N.B. Only active programmes can be graphically displayed (for further details on how to select a 
programme see par. 13.11). The machine and the CNC must be switched on, the sliding guard must be 
open and no errors must have been detected when starting the graphic mode. 
1 -  Press the key GRAPHIC PAGE 
2 -  Press AUTOMATIC MODE on the operator’s panel 
4 -  Press the soft key GRAF 
5 -  Press the soft key OPER 
6-  Press the soft key HEAD to rewind the program 
Be sure to have the potentiometer of axes open and not to have active machine alarms. 
7-  Press soft key ESEG to start the program graphic in automatic mode or press SINGOL PATH to 
activate program graphic in singular mode. 
To change graphic window dimensions proceed as below: 
Press G.PRM 
Position the cursor on PIECE LENGHT W insert the value in micron and press INPUT 
Position the cursor on PIECE DIAMETER D insert the value in micron and press INPUT 
To exit the graphic page, press any key on the MDI panel (EDITING, POSITION, SETTING etc.) 










