SSCNC Manual Fanuc Oficial
SSCNC Manual Fanuc Oficial
SSCNC Manual Fanuc Oficial
com
NANJING SWANSOFT
SWAN NC SIMULATION
SOFTWARE
FANUC SYSTEM
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 1/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
PREFACE
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 2/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
CONTENTS
CHAPTER 1 SUMMARY OF SWAN NC SIMULATION SOFTWARE .....................................1
1.1 BRIEF INTOUCTION OF THE SOFTWARE..................................................................1
1.2 FUNCTION OF THE SOFTWARE...................................................................................1
1.2.1 CONTROLER .......................................................................................................1
1.2.2 FUNCTON INTRODUCTION..............................................................................3
CHAPTER 2 OPERATIONS OF SWANSC NC SIMULATION SOFTWARE ..........................5
2.1 STARTUP INTERFACE OF THE SOFTWARE ...............................................................5
2.1.1 STARTUP INTERFACE OF PROBATIONAL VERSION...................................5
2.1.2 STARTUP INTERFACE OF NETWORK VERSION...........................................5
2.1.3 SINGLE MACHINE VERSION STARTUP INTERFACE...................................7
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 3/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 4/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 5/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
SOFTWARE
1.1 BRIEF INTOUCTION OF THE SOFTWARE
Based on factories’ manufacturing and colleges’ teaching experience, Nanjing Swan
Software Technology Co., Ltd developed the following software: FANUC, SIMUMERIK,
MITSUBISHI, GSK, HNK, KND, DASEN, and simulation software. Through which, we can
attain the aim of enabling students to have the experience of practical manipulation on a
largely-reduced cost.
Swan series NC simulation software can be furthere devided in 8 major types, 28systems
and 62 controlling surfaces. Equipped with FANUC, SIMUMERIK, MITSUBISHI, GSK, HNK,
KND, DASEN software, swan NC simulation software can help students to learn operation of NC
milling tool, lathe and machining center of each system. Meanwhlie CAM NC program can be
programmed or read in by manual.By internet teaching,teachers can have the first-hand
information of their students’current manipulating condition .
1.2 FUNCTION OF THE SOFTWARE
1.2.1 CONTROLER
1. The screen configrations can be realized and all the functions are the same with CNC
machine used in the industrial system.
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 6/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
window.
(5)Coordinate Z workpiece nullpoint = current coordinate Z – length of reference mandril –
thickness of spacer gauge.
(6)Put the output:Z、Y、X axes workpiece nullpoint into G54~G59.
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 7/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 8/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 9/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
SIMULATION SOFTWARE
2.1 STARTUP INTERFACE OF THE SOFTWARE
2.1.1 STARTUP INTERFACE OF PROBATIONAL VERSION
Fig. 2.1-1
Fig. 2.1-2
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 10/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
Fig. 2.1-3
(8)After click the icon“CUSTOM STATUS” in toolbar,it will show all the custom
status,as the following graph show:
Fig. 2.1-4
(9)Choose a custom in Custom Statue List,and then click the icon "SET TEACHER’S
(10)After click the icon "CUSTOM MANAGEMENT" , a dialog box " CUSTOM
MANAGEMENT " will pop-up,as the following graph show:
Add custom name and its authority in the dialog box one by one or by batch.
a. In one by one pattern, input custom name ,name, secret code and code confirmation,and also
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 11/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
Fig. 2.1-5
Fig. 2.1-6
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 12/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
of workpiece
Clarity display
Open/close machine door
ACT display
Scrap iron display
Display tools spacing number
Screen arrange:change screen arrange
Cutter display
function by fixed sequence
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 13/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
Open
Open respective dialog box to choose the code file needed to disply the NC code in window.
Process step into auto way automatically after whole code is loaded; Schedule of code is showed
on the bottom of screen.
New
Delete NC code being edited and loaded.If code is alternated system will register that whether to
Save
Save the code edited on the screen.If execute this command to new loaded existing file nothing
will be changed and system will ask for a new file name in despite of whether the file is loaded
just now.
Fig.2.3-1
Save as
Save a file with a new file name known to the existing name.
Load project file
Save all the relevant data files(wp; nc; ct) into a engineering file (extension name:*.pj),called
project file. This function is used to load saved file in new condition..
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 14/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
Fig.2.3-2
Project file save
This function save all the handled data into file.The blamx block on screen can be modified.
2.3.1 MACHINE PARAMETER
a. Machine parameter setup:
Drag dieblock of diago box“Parameter Setup”to choose appropriate toochange rate.
Fig.2.3-3
10
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 15/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
Fig.2.3-4
Fig.2.3-5
11
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 16/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
Fig.2.3-6
b.Display color:
Click “Confirm” after choose feeding route and color of machineing.
Fig.2.3-7
12
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 17/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
Fig.2.3-8
Add
(1).Input the number of tool
(2).Input the name of tool
(3). End-milling tools、buttonhead tools、dome-end tools、aiguilles、boring tools can be choosed.
(4). Diameter、length of tool hoder、rotation rate、cutting feeding rate can be defined.
(5).Click“Confirm”to add them to tool management library.
Add tool to chief axes
(1).Choose the tool needed in the tool data-base, such as tool “01”.
(2).Press mouse left key and hode it, then pull it to machine library.
(3).Add to top rest, then click “confirm”.
b.lathe
add Fig.2.3-9
(1). Input the number of tool.
13
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 18/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
Fig. 2.3-10
(2)Choose bull-nose tool in diago box“add tool”,then popup “tool”, as the fowing graph show:
Fig. 2.3-11
(3)Choose the tool needed in diago “tool” and click “confiem”, then reverse back to “add tool”to
14
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 19/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
Fig. 2.3-12
(1)Define the length ,width and highness of workblank and its material.
(2)Define orgin of workpiece X、Y、Z.
(3)select changing machining orgin、changing workpiece.
b.Lathe
Fig. 2.3-13
15
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 20/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
Fig. 2.3-14
Workpiece placement
Fig. 2.3-15
16
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 21/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
Fig. 2.3-16
Coolant pipe adjusting
Fig. 2.3-17
2.3.4 RAPID SIMULATIVE MACHINING
(1)Programme by EDIT.
(2)Choose tool.。
(3)Choose workblank and workpiece null point.
(4)Placement mode AUTO.
(5)Press the key to rapid simulative machining without machining.
2.3.5 WORKPIECE MEASUREMENT
17
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 22/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
You can use Up, Down, Left and Right on keyboard to measure size, also you can input value
into diago box..
Fig. 2.3-18
Fig. 2.3-19
18
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 23/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
1. VULGAR WARINGS
Return to reference point!
19
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 24/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
20
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 25/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
21
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 26/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
22
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 27/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
Program running startup. when pattern selection knob point to “AUTO” and “MDI”
pressing is effective,otherwise ineffective.
23
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 28/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
Adjust feed-rate in program rinning. Adjustment range: 0~150% . Put cursor on the knob and
click mouse left key to choose.
SPINGDLE SPEED ADJUSTMENT KNOB
Put cursor on the knob, click mouse left key ,and move your mouse cursor. When the hand wheel
rotates clockwise, the machine moves along positive direction. Otherwise, on the contrary.
MACHINE LOCKING KEY
24
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 29/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
Number/letter key is used to input data into input ragion(as the following graph shows),and
system will distinguish which to adopt, letter or number by itself.
25
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 30/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
Fig. 3.2-3
Replace key. The data inputed replace the data curor pointing.
Delete key. Delete the data curor pointing;Or delete a NC program or all the programs.
Insert key. Insert the area behind curor with data which is in the input region.
Position display page. There are three display mode, and press button PAGE to choose.
Parameter input page. First press to login coordinate setup page. Second press to login tool
compensation setup page.Press button PAGE to switch different page.
Withdraw and linefeed key. End input of a row of program and then feed line.
PAGE TURNING KEY(PAGE)
26
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 31/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
INPUT KEY
Input key. Input data which is in input region in parameter page or Input a external NC
program.
OUTPUT KEY
MOVE
There are three methods for manual moving of machine:
Method 1: continuously move.It is used for long-distance mesa moving.
27
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 32/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
(2) Put cursor on “Hand Wheel” ,then hold pressing mouse for rotating. Loosen for
stoping moving of machine.
(3) Adjust distance of every lattice hand wheel rotating across by using single step amount of
feed control knob.
(4) Choose the axes to be moved.
START、STOP SPINDLE
Put mode knob at “JOG”, "JOG INC"or“MPG”.
28
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 33/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
TEST RUN
Just run program, no cutting.
press to start serch; “O7”displays at the corner of top right of screen, and NC program
displays on screen.
DELETE A NC PROGRAM
Set choosing mode at EDIT
29
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 34/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
Press
Press
To choose a NC program
Input the letter or code to be searched
Select
30
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 35/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
Press to insert the area behind the code specifyed by cursor with the data in input region.
Press to replace the code specifyed by cursor with the data in input region.
INPUT NC CODE BY HAND WITH CONTROL BOX OPERATION PANEL
Put mode switch at EDIT
Input sequentially after finish inputing of one line and get a new line with CRLF key .
INPUT A NC PROGRAM FROM COMPUTER
Set mode at DNC
Link PC and NC machine with 232 cable conductor to choose NC file for transmission.
Switch between No1~No3 and No4~No6 coordinate system page with PAGE
31
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 36/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
Fig. 3.2-4
Press to input the data in input region into the specifyed place.
INPUT CUTTER COMPENSATION PARAMETER
Fig. 3.2-5
32
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 37/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
There are three mode for position display, and switch them by PAGE and .
Workpiece coordinate system(absolute coordinate system)position:Display tool contact points
in current workpiece coordinate system.
Relative coordinate system:Display relative position preseted by operator.
Synthetic display:Display tool contact points position in following coordinate system at the same
time.
Fig. 3.2-6
33
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 38/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
3.START、STOP SPINDLE
(2) Press to start the spindle, while press to stop the spindle.
4.START PROGRAM AND MACHINE COMPONENT
(1) Choose a program under “EDIT”mode or “AUTO”mode.(please consult following process)
(3) Press
5.PROGRAM TEST RUN
Just run program, no cutting.
(1) Choose a program under “EDIT”mode or “AUTO”mode.(please consult following process)
34
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 39/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
(3) Press
(4)Press
6.SINGLE STEP RUN
(1) Choose a program under “EDIT”mode or “AUTO”mode.(please consult following process)
(4)Just one code block is executed every time press when program is running.
7.CHOOSE A PROGRAM
There are two methods to choose:
SEARCH ACCORDING TO PROGRAM NUMBERING
(1) Choose“EDIT”mode
(4) Press cursor to search;After found,“O7”is showed at the top right corner of screen ,
(3) Press to start searching .“O7” is showed at the top ight corner of screen.
8.DELETE A PROGRAM
(1) Set mode at “EDIT”
(3) Press to input number“7”. Key in the numbering of program to be deleted “O7”.
35
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 40/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
(3) Input“-9999”
(2)Press
(3)Choose a NC program
(4)Input the needed letter or code, such as “M”,“F”,“G03”
(2)Select
(4)Move cursor:
move cursor.
Method 2:Use the method serching a specifyed code to move cursor.
(5)Input data:Click number/letter key by mouse. is used to delete data in input region.
Delete、insert、replace:
Press to insert the place behind code specifyed by cursor with data in input region.
36
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 41/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
(3)Press ,and input“O7”program numbering (the numbering keyed in can’t be the same
with existing numbering).
(5)Just one section of code can be inputted in input region when input.
(6)Press to finish the input of current line and get a newline ,then input sequentially.
(3)Press to open NC file under the list of computer,and the program displays on current
screen.
14.INPUT COMPONENT ORGIN PARAMETER
(1)Put switch at the mode of“MDI”or“JOG”.
Switch between No1~No3 and No4~No6 coordinate system page by PAGE and ,and
No1~No6 and G54~G59 are one to one correspondence.
37
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 42/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
38
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 43/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
16.COORDINATE DISPLAY
Press to shift to coordinate display page.There are three methods for coordinate display:
Fig. 3.2-9
39
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 44/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
AUTO:Auto-processing mode.
EDIT:It is used to input NC program and edit code through operation panel directly 用.
INC:Increment feed.
40
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 45/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
DNC:Link PC and NC machine with 232 cable conductor to select program for transmission
and processing.
control switch
41
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 46/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
Adjust feed rate in program running, range of adjusting: 0 ~120% . Put cursor onknob, click
mouse left key for rotation.
Spindle speed adjusting knob
Put cursor on hand wheel to choose axial direction. Press mouse left key and move the mouse.
Clockwise rotation of hand wheel for positive direction moving of the corresponding
axes;anticlockwise rotation of hand wheel for negative direction moving of the corresponding
axes.
Dry running of machine
Press the button, and then each axes rotate at a fixed rate.
Manual teaching
42
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 47/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
Each axes is locked and only program can be runned after press this key .
M00 Program stop
43
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 48/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
Number/letter key is used to input data to input region(as the follwing graph shows).System will
44
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 49/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
Edit key
Replace key. The data inputed replace the data curor pointing.
Delete key. Delete the data curor pointing;Or delete a NC program or all the programs.
Insert key. Insert the area behind curor with data which is in the input region.
Position display page. There are three mode for position display, and press PAGE to
Parameter input page. First press to login coordinate setup page;second press to login tool
compensation page. Press PAGE to shift diferrent page.
45
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 50/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
Input key Input key. Input data in input region into input parameter page.
(2) Choose axeses. Press direction key and hold it to move machine,and release for
stop.
(2) Choose axeses. Each axes move one step every time press it.
Method 3:“Hand Pulse”using . It is for microadjustment. It’s easy foroperator to control and
observe the movement of machine. “Hand Pulse”is at the top-right corner of software interface
46
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 51/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
START、STOP SPINDLE
(1) Put mode knob at“JOG”.
(2) Press to make spingdle get positive and negative rotation. Press to stop
spingdle.
START PROGRAM TO MACHINE COMPONENT
(1)Set mode at .
(2)Only one command is executed, every time you press the button when program is
running.
CHOOSE A PROGRAM
There are two methods for choosing:
serch according to program numbering
(1) Choose“EDIT”mode
(4) Press CURSOR: to start searching;After found, “O7”is showed at the top right corner
47
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 52/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
(3)Press →
(3) Press to input number“7”. Key in the numbering of program to be deleted “O7”.
(2)Press
(3)Choose a NC program
(4)Input the needed letter or code, such as “M”,“F”,“G03”
(5)Press in to start searching
from current programs.
EDIT NC PROGRAM(DELETE、INSERT、REPLACE)
(1)Choose“EDIT” mode
48
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 53/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
(2)Choose
(4)Move cursor:
move cursor.
Method 2:Use the method serching a specifyed code to move cursor.
(5)Input data:Click number/letter key by mouse. is used to delete data in input region.
Fig.4.2-5
Delete、insert、replace:
Press to insert the place behind code specifyed by cursor with data in input region.
49
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 54/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
(3)Press ,and input“O7”program numbering (the numbering keyed in can’t be the same
(3)Press to open NC file under the list of computer,and the program displays on current
screen.
INPUT COMPONENT ORGIN PARAMETER
50
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 55/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
51
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 56/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
POSITION DISPLAY
(2) Press ,and then press → to Input block number “N10”,such the
input program:G0X50.
MIRRORIMAGE FUNCTION
52
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 57/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
Fig. 4.2-10
POSITION OF WORKPIECE COORDINATE SYSTEM (ABSOLUTE COORDINATE
SYSTEM)
Absolute coordinate system:Display the position of machine in current coordinate system.
Relative coordinate system:Display the coordinate of machine with respect of the last position.
Synthetic display:Display positions of machine in following coordinate system
at the same time.
53
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 58/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
Mode choosing: EDIT /MDI (manual data input) /JOG (auto) /INC
Program run start;when pattern selection knob point to “AUTO” and “MDI” pressing is
54
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 59/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
effective,otherwise ineffective.
When you choose moving axes of machine,the distance of every step: 1 - 0.001 mm, 10 - 0.01
mm, 100 - 0.1 mm, 1000 - 1 mm, 10000 - 10 mm. Put cursor on the knob and click mouse left
key to choose.
55
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 60/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
Adjust feed-rate in program rinning. Adjustment range: 0~120% . Put cursor on the knob and
click mouse left key to choose.
Make button be at effective statue. Put cursor on the knob, click mouse left key,and move
your mouse cursor. When the hand wheel rotate clockwise, the machine move along positive
direction.Otherwise on the contrary.
BLOCK SKIP
Press the button in Auto mode ,and all the program which has “ / ” in front of itself will be skiped
over.
COOLANT SWITCH
Press the button to open the coolant;Press again to close.
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 61/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
M ST LOCK
M 、 S 、 T code in program will not be xecuted when the button is in effective statue in program
running.
57
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 62/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
Number/letter key is used to input data to input region(as the follwing graph shows).
Fig. 5.2-2 FANUC 18i-M( milling machine ) input of number and symble
Edit key
Replace key. The data inputed replace the data curor pointing.
Delete key. Delete the data curor pointing;Or delete a NC program or all the programs.
Insert key. Insert the area behind curor with data which is in the input region.
Position display page. There are three mode for position display(absolute / relative /
integration).
58
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 63/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
Info page.Such“Alarm”.
Reset key.
Input key. Input data in input region into input parameter page.
move,release for stop. For example:After click ,machine move to positive direction of X
59
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 64/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
(1) Set mode at :Choose 1 、 10 、 100 、 1000 、 10000 for stepping amount.
(2) Choose axeses. Each axes move one step every time press it.
Method 3:“Hand Pulse”using ,It is for microadjustment. It’s easy foroperator to control
and observe the movement of machine. “Hand Pulse”is at the top-right corner of software
START、STOP SPINDLE
60
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 65/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
(2) Press to call out program after choose a program such as O0001.
(2) Only one command is executed, every time you press the button when program is
running.
CHOOSE A PROGRAM
There are two methods for choosing:
i.serch according to program numbering
(1) Choose“EDIT”mode
(4) Press CURSOR : to start serching;After found,“ O3 ” is showed at the top right corner
(3) Press
→ →
61
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 66/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
(4) You can input block number“N30”,and then press or to search program
block .
DELETE A PROGRAM
Set mode at “EDIT”
Press
Choose a NC program
Input the needed letter or code, such as “M”,“F”,“G03”
Press
in to
start searching from current programs.
EDIT NC PROGRAM(DELETE、INSERT、REPLACE)
62
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 67/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
Choose“EDIT” mode
move cursor.
Method 2:Use the method serching a specifyed code to move cursor.
Input data:Click number/letter key by mouse. is used to delete data in input region.
Press to insert the place behind code specifyed by cursor with data in input region.
Press ,and input“O3”program numbering (the numbering keyed in can’t be the same with
existing numbering)
63
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 68/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
New a program name “ Oxxxx ”, and then press to login programming page.
open NC file under the list of computer,and the program displays on current screen.
INPUT COMPONENT ORGIN PARAMETER
64
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 69/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
POSITION DISPLAY
MIRRORIMAGE FUNCTION
65
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 70/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
code instruction
M00 Program stop
M01 Choosing stop
66
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 71/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
5.4 EXAMPLES
Example 1:
Fig. 5.4-1
67
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 72/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
Fig. 5.4-2
Example 2:
Fig. 5.5-3
N10 G40 G49 G80 G17 M06 T1 ;exchange Ø20 aiguille,cancel fixed cycle
N20 G54 G90 G0 X-80 Y-80 ;call G54 as workpiece coordinate and move to hole site
N30 G43 H1 Z50
68
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 73/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
N40 M3 S800
N50 M8
N60 G99 G83 Z-30 R1 Q2 F200 ;run drilling circle
N70 G91 X40 K4 ;repeat drilling
N80 Y80
N90 G91 X-40 K4
N100 Y80
N110 X40 K4
N120 G80 G90 G0 Z50 ;cancel fixed cycle
N130 M5 M9
N140 G91 G28 Z0 Y0
N150 M30
Example 3:
N010 G94 G54 G90 G0 X0 Y0
N020 G43 Z50 H1
N030 M3 S1000
N040 M8
/N050 M95 ;selection of coordinate X mirrorimage
/N060 M96 ;selection of coordinate Y mirrorimage
N070 G0 X-100 Y-100
Fig. 5.5-4
69
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 74/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
PROGRAMMING
6.1 COORDINATE SYSTEM
The right-angle of descartes’ set of coordinates is used in programming coordinate.
Fig.6.1-1
Fig.6.1-2
70
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 75/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
The angle is positive when the first axis of the selected plane is anticlockwise, and negative when
it is clockwise.
Radius and angle can use the command of absolute value or increment value(G90,G91).
Format of command
G □□ G〇 〇 G16;Start the command of polar coordinates (polar coordinates mode)
G00 IP_; Order of polar coordinate.
G15 ;Cancel the order of polar coordinate.
G16 ;Order of polar coordinate.
G□□ Selection of the plane of the order of the polar coordinates (G17, G18 or G19).
G〇 〇 G90 Specify the zero of workpiece coordinate as the origin point of the polar
coordinates and measure the radius from this point.
G91 Specify the current position as the origin point of the polar coordinates, measure
71
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 76/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
72
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 77/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
G code Function
73
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 78/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
G92 Setting for work coordinate system or clamp at maximum spindle speed
(Codes with the sign of “*”means they can be initialized when boot-strap)
G00 X_ Y_ Z_
This order take the cutter move from the current place to the appointed place(in the condition of
absolute coordinates ), or to the position where have been given the distance(in the condition of
increment coordinates)
2. The positioning of the mode of cutting along un-straight line
Our definition is: we use the unattached speediness movement ratio to determine the position of
each axis. The path of the cutter is not a line, according to the sequence of arriving, in following,
the axis of the machine would stop at the place where the order has appointed.
74
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 79/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
Fig.6.2-1
G01
Feeding of linear cut(G01)
1. Format
G01 X_ Y_ Z_F_
This order will make the cutter move in line, the rate as the code F gives, from the current to the
aimed position. The rate of the code F is the recombination rate of the appointed axis in the
program.
Fig.6.2-2
Arc cutting(G02/G03)
Format
75
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 80/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
The plane of the arc is specified with the code of G17, G18, G19.But, if we have defined these
orders in the preparatory program, we can also need not these orders. The turning direction of the
arc like what shows in the following chart, specified with the order of G02 and G03.After the
turning direction of the arc is specified, we specify the coordinates of the end point of the cutting.
G90 is appointed in the condition of the absolute value while G91 is in the condition of the
increment value. And if G90/G91 has been given in the preparatory program, it can be overpass.
The end point of the arc is appointed by two axis’ coordinates value which are contained in the
plane of the order infliction.(For example , in the plane of XY, G17 use the value of X and Y) .
The end point’s value can be setup like G00 and G01. The position of the center of the arc or its
radius should be set only after the end point of the arc has been set. The center of the arc is set in
the form of the distance of the relative distance to the start point of the arc, and denote I 、J and K
in corresponding to the axis of X 、Y and Z. The result of the center value of the arc subtract the
value of the start point of the arc in corresponding to the axis of I、J and K.
2. Example
Fig.6.2-3
76
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 81/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
77
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 82/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
Specify the distance of 100mm and 120 degrees of the angle increment .
Cancel the order of the polar coordinates
G17/G18/G19 Selection of planes
Use the parameters to appoint the circumrotate axis is X Y or Z ,or the axis that parallel to these
axis , specify the G code to select the plane , to this plane , the circumrotate axis is the appointed
line axis. For example, when the circumrotate axis is the axis that parallel to the X axis ,G17
should specify the plane of X and –Y, and only circumrotate axis one can be set.
When we omit the address of the axis of X Y and Z , we consider the third axis’s address is
omitted
In the program, which are not appointed by the order of G17 G18 G19,the plane stay the same.
G28/G30
Return to orgin automatically(G28/G30)
1. Foemat
The first origin point return:
#P2, P3, P4: select the second, third and the fourth origin point return(if omitted , system will
Fig.6.2-4
78
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 83/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
G41 X_ Y_D_;
G42 X_ Y_D_;
When we process the workpiece (“A”), like showed in the following chart, the path of the
cutter(“B”) is the basic path, the distance to the work should not be less than half of the cutter’s
diameter. Here, the path “B” is called as the work’s compensatory path through R. so , the offset of
the cutter’s diameter can give the path “A” give by the program automatic and the cutter’s offset
value appointed separately, can work out the path “B” which has been compensated . In other
words, the customers can make the program by the figure of the work, and we can not consider the
cutter’s diameter. So, when do cutting, we set the diameter of the cutter as the offset value of the
cutter, they can get the accurate result, all because the system itself calculate the exact
compensated path.
Fig.6.2-5
In programming, the customer can only insert the direction of the offset vector and the address of
the offset. So the customer insert the number of the offset, and the machine will calculate the
diameter of the cutter , then get the radius.
2. Offset function
79
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 84/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
Codes Function
G40 Cancel the offset of
Offset at the left of moving direction of the
G41
cutter
Offset at the right of moving direction of
G42
the cutter
Table.6.2-1
G43/G44/G49
Length offset of cutter (G43/G44/G49)
1. Format
G43 Z_ H_;
G44 Z_ H_;
G49 Z_;
2. Offset function
First, we set a milling cutter as the basic cutter, and use the Z axis of the work’s coordinates, and
oriented it on the surface of the workpiece, and its position is z0. We should remember that if the
cutter’s radius is not long enough, then in the process the cutter may not attach the work, though
the machine tool can move to z0. But, if the cutter is longer than the basic cutter, the cutter would
hit the work and do harm to the machine tool. In order to not cause this happen, we can input the
increment value of each cutter and the basic cutter to the machine, and let the machine carry out
the function of the cutter’s offset in the program.
Codes Function
G43 Make the value of the cutter’s offset add to the value of
Z coordinates of the program
G44 Make the value of the cutter’s offset subtract the value of
Z coordinates of the program
G49 Cancel the offset of the length of the cutter
Table.6.2-2
In the process of setting the length of the offset, we use the sign of “+” “-”, if we change the
sign, the order of G43 and G44 will do in the opposite direction. So, this order has many different
kinds of expressions.
For example:
First, follow these steps to measure the length of the cutter
1 Put the workpiece on the table
2 Change the cutter to be measured
3 Adjust the axis line of the cutter, make it close to the work, and make the front of the cutter to
80
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 85/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
Once the command G43, G44 or G49 is sent, their function will keep in the program , for they
are belong to the “mode code ”. so , if the order of G43 or G44 in the program we use after the
change of the cutter , then G49 would be in use after this work , and in use of changing the cutter.
Attention 1) when we use G43(G44) H or G49 to omit the movement of the Z axis , the act of
the cutter’s offset would be like the order of G00 G90 Z0. In other words, the customer should be
care about this all the time.
Attention 2) Customer can use G49 to cancel the offset of the length of the cutter, we can also
use the offset number H0 (G43/G44 H0) to get the same result.
Attention 3) If we amend the number of the offset in the period of the compensation of the
cutter, the former value would be replaced by the new value.
G53
Select the coordinate of machine (G53)
1. Format
( G90 ) G53 X_ Y_ Z_ ;
2. Function
The order would move the cutter to the position of the coordinates of the machine tool, as G53
is the “common” code, and it would function only in the program where has G53. And it can be
used in the order of G90, but not in G91. In order to move the cutter to the fixed position of the
machine, like the position change the cutter, the program would be use in the coordinates has G53
Attention (1) Offset of the cutter’s diameter length and position should be cancelled in the
order of it use the order of G53.
Attention (2) When we use the order of G53, we should make the machine to the origin point
with G28. As a result of the coordinates of the machine should be setup before the order of G53.
G54~G59
Selection of workpiece coordinate(G54~G59)
81
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 86/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
1. Format
G54 X_ Y_ Z_;
2. Function
Fig.6.2-6
We can use G54-G59 to set at most six workpiece coordinates (one to six).
After we switch on the power and finish the return to the origin point , the system would select
the work’s coordinates1(G54), they are both mode order , we can keep its function after we
execute the order of one coordinate till the order of other coordinates are emitted.
Fig.6.2-7
G73
Rapid depth drill circle(G73)
1. Format
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 87/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
Fig.6.2-8
3. Example
Fig.6.2-9
83
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 88/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
the spindle rotates clockwise, and this action has produced a reversely whorl.
During this period, ratio of feeding is omitted. Whwn the supply is paused, the machine will
not stop till the return action is finished. Before we use G74, we can use the assistant to make the
principal axis spire anticlockwise.
When we have appointed the repeated times (K), this function would only play in the first
hole, and the others would be not.
If we specify the offset of the cutter’s length in the fixed cycle(G43,G44 or G49), the offset would
be added when oriented to the R point.
84
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 89/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
Fig.6.2-10
G76
Precision boring circle (G76)
1. Format
G76 X__Y__Z__R__Q__P__F__K__
G80;
2. Function
This order is used to delete the fixed cycle, and the machine tool return back to the usual state
of manipulation. The needed data the hole , including R point , Z point and so on , are all omitted,
but the ratio of the movement will still has its function.
Attention: In order to cancel the fixed cycle, except G80, the customer can also use the 01
group of G (G00,G01,G02,G03 and so on ) , and any of them could play its role.
85
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 90/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
G81
Fixed point boring circle (G81)
1. Format
G81 X_Y_Z_R_F_K_;
Fig.6.2-11
G82 X_Y_Z_R_P_F_K_;
86
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 91/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
Fig.6.2-12
Fig.6.2-13
87
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 92/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
G83 X_Y_Z_R_Q_F_K_;
Fig.6.2-14
G84 X_Y_Z_R_P_F_K_;
88
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 93/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
When G84 and code M are specified in one block, execute the first action of orientation,
meanwhile, the process of the R point we can add the increment.
Fig.6.2-15
G84 The spindle feeding to the bottom of the hole rotates reversely and withdraw quickly.
3. Example
Fig.6.2-16
89
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 94/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
1. Format
G85 X_Y_Z_R_F_K_;
X_ Y_: Depth of the bottom of hole(absolute coordinate)
R_: Starting point or raising point per time(absolute coordinate)
F_: Feeding rate of cutting
K_: Number of replication (if necessary)
2. Function
Fig.6.2-17
90
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 95/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
N060 M05
N070 M30
G86
Boring cycle(G86)
1. Format
G86 X_Y_Z_R_F_K_;
Fig.6.2-18
G86 The spindle feeding to the bottom of the hole rotates reversely and withdraw quickly.
3. Example
As Fig.5.2-9 showes
N005 G80 G90 G0 X0 Y0 M06 T1 ;change the boring cutter of Ø20
N010 G55 ;call workpiece coordinate of G55
N020 M03 S1000
N030 G43 H1 Z50 ;call length compensation
N040 G86 Z-30 R1 F200 ;boring cycle
N050 G80 G0 Z50 ;cancel fixed circle
N060 M05
N070 M30
G87
Anti- boring cycle (G87)
91
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 96/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
1. Format
G87 X_Y_Z_R_Q_P_F_K_;
Fig.6.2-19
G87 Feed to bottom of hole and spindle rotates positive and withdraw quickly
3. Example
As Fig.5.2-9 shows
N005 G80 G90 G0 X0 Y0 M06 T1 ;change the boring cutter of Ø20
N010 G55 ;call workpiece coordinate of G55
N020 M03 S1000
N030 G43 H1 Z50 ;call length compensation
N040 G87 Z-30 R1 Q2 P2000 F200 ;anti-boring cycle
N050 G80 G0 Z50 ;cancel fixed circle
N060 M05
N070 M30
G88
Fixed point dring cycle (G88)
1. Format
G88 X_Y_Z_R_P_F_K_;
92
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 97/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
Fig.6.2-20
G88 Pause when feeding to bottom and spindle stops then withdraw quickly
G89
Boring cycle(G89)
1. Format
G89 X_Y_Z_R_P_F_K_;
93
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 98/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
Fig.6.2-21
G89 Pause when feeding to bottom and spindle stops then withdraw quickly
3. Example
As Fig.5.2-9 shows
N005 G80 G90 G0 X0 Y0 M06 T1 ;change the boring cutter of Ø20
N010 G55 ;call workpiece coordinate of G55
N020 M03 S1000
N030 G43 H1 Z50 ;call length compensation
N040 G89 Z-30 R1 P2000 F200 ;boring cycle
This command set the value of X Y and Z in the program is absolute value or increment value,
not consider their order before.The block containing G90 and the following block are assigned by
absolute command;While block with G91 and its following block are assigned by increment
command.
G98/G99 plane of return point
When the tool gets to the bottom of the hole, it can return back to the plane of R point and the
initialized plane initialized by G98/G99. Generally speaking, G99 is used in the first drilling plane
while G98 is used in the last drilling, even though we use G99 to drill, the plane of the initialized
position would keep the same.
94
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 99/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
Fig.7.1-1
95
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 100/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
Fig.7.1-3
Fig.7.1-4
96
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 101/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
Fig.7.1-5
G00 Positioning
G04 Dwell
00
G09 Exact stop
97
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 102/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
1. Format
G00 X_ Z_
The G00 command moves a tool to a appointed position(in the method of absolute coordinate
mode), or to some distances(in incremental coordinate mode).
98
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 103/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
Fig.7.2-1
4. Example
N10 G00 X-100 Z-65
G01
Linear Interpolation(G01)
1. Format
Linear interpolation makes tool move from current position to commang position by linear
Fig.7.2-2
99
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 104/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
Fig.7.2-3
①
G02(G03) X(U)__Z(W)__I__K__F__ ;
G02(G03) X(U)__Z(W)__R__F__ ;
Fig.7.2-4
2. Example
100
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 105/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
Fig.7.2-5
①
G02 X100. Z90. I50. K0. F0.2 ;absolute coordinate program
or G02 X100. Z90. R50. F0.2
②
G02 U40. W-30. I50. K0. F0.2 ;incremental coordinate program
or G02 U40. W-30. R50. F0.2
G04 Dwell
Format:G04X_; or G04U_; or G04P_;
X: Specified time(decimal point is permitted)
U: Specified time(decimal point is permitted)
P: Specified time(decimal point is unpermitted)
Explanation:G04 command dwell. The execution of the next block is delayed by the
specified time, and Bit 1 (DWL) of parameter No. 3405 can specify dwell for each rotation in feed
per rotation mode
G27 Reference position return check
The reference position return check (G27) is the function which checks whether the tool has
correctly returned to the reference position as specified in the program. If the tool has correctly
returned to the reference position along a specified axis, the lamp for the axis goes on.
G28/G53 Reference position return
G28/G53 reference position return command is executed when the tool position is offsetted.
G30
nd
2 orgin return(G30)
nd
The coordinate system can be setted by 2 orgin function
1. Use parameter(a, b) to set coordinate value of start point of tool. “a” and “b” is the distance
101
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 106/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
1. Format
G32 X(U)__Z(W)__F__ ;
Fig.7.2-6
G00 X29.4
G32 Z-23. F2 ;1 cutting cycle
G00 X32
Z4.
X29.
G32 Z-23. F2 ;2 cutting cycle
G00 X32.
Z4.
G40/G41/G42
Tool radius compensation (G40/G41/G42)
1. Format
G41 X_ Z_;
G42 X_ Z_;
102
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 107/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
Fig.7.2-7
When the edge is a imaginary tool nose, cutting prosess which is executed according to the shape
specified by program will not be error. But, real edge is composed by arc as the Fig.7.2.7 shows,
and path of tool nose will make error in the case of circular interpolation.
2. Offset function
Table.7.2-2
Principle of compensation is lied on movement of the arc center of tool nose, and it is always
mismatched with normal radius vector of cutting sutface. Therefore, the reference point is the
center of tool nose. Generally, the reference point of compensation is the center of tool nose.
When the principle is used in cutter compensation, radius of tool nose should be measured by
the reference points of X and Z.There are some type numbers used for radius compensation of
imaginary tool nose(1-9).
Fig.7.2-8
lapse the executing path whatever if it is with circular interpolation.Therefore, nose radius offset
should be finished before cutting starts;And can avoid over cutting. Contrarily,the cancel of
103
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 108/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
G54~G59
Workpiece coordinate system selection(G54~G59)
1. Format
G54 X_ Z_;
2. Function
Fig.7.2-9
At most six workpiece coordinate systems can be setted by using G54 ~G59.
When the power is on and orgin is returned, system will select coordinate system automaticly 1
(G54).They keep the validity before“modality”change these coordinate.
G70
Finish turning cycle(G70)
1. Format
104
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 109/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
Fig.7.2-10
1. Format
G71U(△d)R(e)
G71P(ns)Q(nf)U(△u)W(△w)F(f)S(s)T(t)
N(ns)……
………
F__ Program segments from ns to nf specify moving commands from A to B
S__
T__
N(nf)……
△d: Cutting depth(radius specifing)
Sign symbol is not specified. Cutting direction is determined by direction of AA’,and it will not
change before a value is specified.FANUC system parameter(NO.0717)specifing.
f,s,t: Any F, S or T function included in nsto nf is ignored in cycle.While in G71, F,S is valid.
2. Function
105
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 110/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
As the last Fig shows, finish maching shape from A to A’to B is determined byprogram,and finish
machining obligated amount △u/2 and △w is obligated in specified area turned by △d(cutting
depth).
G72
Face cutting canned cycle(G72)
Fig.7.2-11
1. Format
G72W(△d)R(e)
G72P(ns)Q(nf)U(△u)W(△w)F(f)S(s)T(t)
The meanings of △d,e,ns,nf, △u, △w,f,s and t are the same with G71.
2. Function
As last Fig shows, this cycle except parallel with X is the same with G71.
G73
Contour machining multiple system cycle(G73)
Fig.7.2-12
1. Format
G73U(△i)W(△k)R(d)
G73P(ns)Q(nf)U(△u)W(△w)F(f)S(s)T(t)
106
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 111/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
N(ns)………
…………
F__ Program segments from ns to nf specify moving commands from A to B
S__
T__
N(nf)………
△i: Distance of back off in X direction(radius specifing), FANUC system parameter(NO.0719)
specifing.
△k: Distance of back off in Z direction(radius specifing), FANUC system parameter(NO.0720)
specifing.
d: Times of division
This value is the same with repeat times of machining, FANUC system parameter(NO.0719)
specifing.
ns: First segment number of finish maching shap program
nf: Last segment number of finish maching shap program
△U: Distance and direction of finish machining obligated amount in X direction.
(diameter/radius)
△W: Distance and direction of finish machining obligated amount in Z direction.
f,s,t: Any F, S or T function included in nsto nf is ignored in cycle.While in G71, F,S is valid.
2. Function
This function is for repeat cutting of a canned format changing slowly.This cycle can cut a
shaped workpiece machined by rough maching methods effectively.
G74
Endface pecking drilling cycle(G74)
Fig.7.2-13
1. Format
G74 R(e);
G74 X(u) Z(w) P(△i) Q(△k) R(△d) F(f)
107
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 112/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
This command is state command.It will not change before a value is specified. FANUC system
parameter(NO.0722)specifing.
x: X coordinate of B
u: Increment from A to B.
z: Z coordinate of C
w: Increment from A to C
△i: distance of moving in X direction(no symbol)
△k: distance of moving in Z direction(no symbol)
△d: Amount of back off when cutting bottom. Symbol of △d must be(+).But, if X(U)and △I
are ignored, direction of back off can be specified.
f: Feedrate
2. Function
As the last Fig shows, the cycle can process break cutting.If X(U)and P are ignored,just Z axis is
processing for drilling.
G75
External diameter / internal diameter pecking drilling cycle(G75)
Fig.7.2-14
1. Format
G75 R(e);
G75 X(u) Z(w) P(△i) Q(△k) R(△d) F(f)
2. Function
As last Fig shows,the cycle can process break cutting, and can cut channel in X axis and pecking
drill.
G76
Q(△dmin) R(d)
G76 P(m)(r)(a)108
G76 X(u) Z(w) R(i) P(k) Q( △d) F(L)
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 113/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
G90 X(U)___Z(W)___F___ ;
109
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 114/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
Press swith to login single block.As Fig shows, 1→2→3→4 cycle.The symble (+/-) of U and W
change according to direction changing of 1 and 2 in incremental coordinate program.
Cone cutting cycle:
“R” value of cone must be appointed.The function is similary with linear cutting cycle.
2. Function
Lathe turning cycle
Fig.7.2-15
Fig.7.2-16 Fig.7.2-17
Fig.7.2-18 Fig.7.2-19
G92
110
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 115/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
1. Format
Straight thread cutting cycle:
G92 X(U)___Z(W)___F___ ;
Thread range and spindle steady control RPM(G97) is similary with G32(thread cutting). In this
cycle, back off as [Fig. 9-9] shows;Size of chamfer is setted 0.1L units in 0.1L~12.7L
according to assigned parameter.
Taper thread cutting cycle:
G92 X(U)___Z(W)___R___F___ ;
2. Function
Thread cutting cycle
Fig.7.2-20
111
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 116/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
Fig.7.2-21
G94
Step cutting cycle(G94)
1. Format
Flat step cutting cycle:
G94 X(U)___Z(W)___F___ ;
2. Function
Step cutting
Fig.7.2-22 Fig.7.2-23
G96/G97
112
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 117/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
Spindle of NC machine is divided into low speed and high speed area;Rate can be changed freely
in each area.
G96 is used to execute constant linear rate control, and control changing of diameter of work to
keep constant cutting rate by changing rotate speed only.It is used with G50.
G97 is used to cancel constant linear rate control, and control the stasdy of rotate speed only.
G98/G99
Feedrate per minute/feedrate per minute setting(G98/G99)
Fig.7.2-24
Moving rate per minute(mm/m) = rate of displacement per round(mm/r) x spindle speed
Code Function
M00 Program stop
M01 Optional stop
M02 End of program
M30 End of program reset
113
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 118/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
(1)firstly use billmpse tool to cut one excircle, measure excircle diameter, press
→ input “MX out round diameter value”,click key,and then inputs to cutting
(2)again use billmpse tool to cut excircle end surface,press → input“MZ 0”,
(1) use billmpse tool to cut one excircle,select 、press 、press key to reset
G30 U0 W0
G50 X150 Z150
114
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 119/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
(7) In FANUC system, set second reference point in the parameters ,machine presetting
finishes(X150 Z150 ),press mouse right-key to appear dialog box.
3、 set workpiece zero point
(1) In FANUC0-TD system such as ,there is a workpiece moving interface,can input zero
point excursion value.
(2) use billmpse tool to test cut workpiece end face firstly,now the position of X、Z coordinate as
follows:X-260 Z-395,directly input to excursion value.
(3) select ,then press ,here workpiece zero point coordinate system is
founded.
(4) Attention:hold on this zero point,so long as reset to excursion value Z0,this can be deleted.
(1) Use billmpse tool to test cut a excircle,then measure the diameter ,press
(1) Use billmpse tool to test cut a section of excircle,press then press →
(3) select MDI mode,input G0 X150 Z150 ,make tool out of workpiece。
115
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 120/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
(1) in FANUC0 system such as ,there is a interface of workpiece moving,and you can
(4) attention:hold on zero point,so long as reset excursion value Z0 ,it can be cleared。
4、 G54~G59 sets workpiece zero point
Fig.7.5-1
116
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 121/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
Fig.7.5-2
M03 S100
G0 X102 Z10
G92 X98 Z-80 F0.3 ;calling Thread cutting cycle
X96 ;repeat calling Thread cutting cycle
X94
X92 ;size of thread cutting
G0 X200 Z100
T0100 ;cutter compensation cancel
M05
M30
G94 step cutting cycle
117
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 122/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
Fig.7.5-3
Fig.7.5-4
118
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 123/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
N020 M3 S800
N030 G0 X45 Z2
N040 G71 U2 R1 ;calling rough turning cycle format
N050 G71 P060 Q130 U0.25 W0.1 F0.25 ;calling program N number
N060 G0 X15.8
N070 G1 X23.8 Z-2
N080 Z-25
N090 X28
N100 X34 Z-33
N110 Z-48
N120 X42
N130 Z-58
Fig.7.5-5
119
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 124/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
Fig.7.5-6
120
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 125/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
N170 G0 X80 Z1
N180 G70 P70 Q160 ;calling finish maching cycle
N190 G0 X200 Z200
N200 M05
N210 T0100 ;cutter compensation cancel
N220 M30
G74 Endface pecking drilling cycle
Fig.7.5-7
121
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 126/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
Fig.7.5-8
M3 S800
G0 X105 Z2
X105 Z-22
G75 R2 ;calling drilling cycle format
G75 X90 Z-60 P3000 Q3000 R0 F0.1
G0 X100 Z100
T0100;cutter compensation cancel
M05
M30
G76 Thread cutting cycle
Fig.7.5-9
122
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 127/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
Fig.7.5-10
U-10
G0 X100 Z100
T0100 ;cutter compensation cancel
M05
M30
M98/M99 calling subprogram
Fig.7.5-11
123
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 128/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
Mainprogram:
O0012
N010 M03 S1000
N020 T0101 ;1# cutter compensation
N030 G00 X40 Z2
N040 M98 P20090 ;calling secondary subroutine name O 0090
N050 G00 X120 Z80
N060 M05
N070 M30
%
Subprogram:
O0090
Fig.7.5-12
Program:
N010 G30 U0. W0. ;Return to 2nd reference point
N015 G50 X0. Z0. T0100 ;Establishing workpiece coordinate system,
changing tool T01
N020 G96 S1500 M03 ;Spindle turning, constant linear rate
N025 G00 X60 Z0. T0101 ;calling T01 cutter compensation
N030 G01 X-1. F0.5
124
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 129/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
125
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 130/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
N185 X150. Z150. T0300 ;back off and bring tool compensation down
N190 M05 ;spindle stops
N195 M30 ;program stops
Fig. 7.5-13
126
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 131/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
127
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 132/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
common variable can use both of the trails at one time according to the setting of
parameter N0.6036 and 6037.
● Undefined variable
When variable value is undefined, the variable becomes vacant variable. Variable #0 is
aways vacant variable,and it is for reading only.
(a) Quotation
When a undefined variable is quotated, the address itself is ignored too.
when#1=<vacant> when#1=0
G90 X100 Y#1 G90 X100 Y#1
↓ ↓
G90 X100 G90 X100 Y0
(b) Operation
<Vacant> is the same with 0 except the condition that you assign <vacant>.
when#1=<empyt> when#1=0
#2=#1 #2=#1
↓ ↓
#2=< empyt > #2=0
128
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 133/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
#2=#*5 #2=#*5
↓ ↓
#2=0 #2=0
#2=#1+#1 #2=#1+#1
↓ ↓
#2=0 #2=0
(c) Conditional expression
< vacant > in EQ and NE is different with 0.
when#1=< vacant > when#1=0
#1EQ#0 #1EQ#0
↓ ↓
true error
#1 NE #0 #1 NE #0
↓ ↓
true error
#1 GE #0 #1 GE #0
↓ ↓
true error
#1 GT #0 #1 GT #0
↓ ↓
error error
● Restriction
Program number,sequence number and jump number of optional block can’t use variable.
For example:Variable is unusable in such situation:
0#1;
/ #2G00X100.0;
N#3Y200.0;
8.2 ARITHMETIC AND LOGIC OPERATION
The operations listed in the following list can be executed in variable.The expression at the
right of operators can include constant and the variable composed with functions or
operators.Variable # j and #k can be assigned with constant.And the left variable can be assigned
with expression too.
function format remark
definition #i=#j
129
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 134/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
Illustration:
● Angle unit
Angle unit of functions: SIN, COS, ASIN, ACOS, TAN and ATAN is degree. 90°30’for
90.5 degree.
● ARCSIN # i= ASIN[#j]
130
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 135/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
(2) Overflow and P/S warning NO.111 will accur when result of operation overtops
131
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 136/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
TAN[90].
8.3 MACRO SENTENCE AND NC STATEMENT
Following blocks are macro statements:
◆ Blocks including arithmetic or logical operation (=).
◆ Program blocks including control statements
◆ Program blocks including call instruction of macro.
All program blocks except macro are NC statements.
Illustration:
132
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 137/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
Operator is composed with two letters,and used to compare magnitude of two value .Note:
symbol NO can’t be used.
operator meanings
EQ equal
NE unequal
GT greater than
GE Less than or Equal to
LT less than
09500;
#1=0; store the initial value of sum variable
#2=1; initial value of summand variable
N1 IF[#2 GT 10]GOTO 2; move to N2 when summand is more than 10
133
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 138/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
When the specifyed condition is satisfied,execute program from D0 to END.Otherwise goto the
block after END.This instruction format applys IF locution.The number after D0 and END is the
sign of program execution range,and the value of sign is: 1,2,3.If the value out of 1,2,3 is used, P/S
warning NO.126 will occur.
● NEST
The signs in DO-END circle can be used for many times according to requisition.But when
there is crossed recirculation (superposition in DO), P/S warning NO.126 will occur.
Illustration:
◆Endless loop when DO is specifyed but WHILE is not, endless loop will occur from
DO to END.
◆Handling time Sequence number is retrieved when there is label transfer statement in
GOTO statement. Retrospective retrieval is slower than forward search.WHILE statement can
WHILE[#2LE10]DO 1;
#1=#1+#2;
#2=#2+1;
END 1;
M30;
8.5 MACRO CALL
Call macro using following methods:
Macro call ------------ modeless call(G65)
----------- mode call(G66,G67)
------------ macro call by G code
------------ macro call by G code
------------ subprogram call by M code
------------ subprogram call by T code
LMT
● The differences between macro call and subprogram call
Macro call(G65) is different from subprogram call(G68),as the following words show:
(1) Independent variable can be specifyed by (G65), not by M98.
(2) When block M98 include another NC file,call subroutine after command is executed. By
134
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 139/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
(3) When use independent variable specifying, its value is assigned to corresponding
local variable.
●Independent variable specifying
There are two modes of independent variable specifying. Independent variable specifying I
uses letters expect G, L, O, N and P, and each letter is used for once. Independent variable
specifying II uses letters A,B,C and I,J and K(I is 1-10).Type specifyed by independent
variable is changed automatically according to the used letters.
Independent variable specifying I
135
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 140/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
Suffix of I,J,K is used to confirm the independent variable specifying sequence,and is not
writed in actual pargramming.
Limitation:
◆ Format: G65 must be specifyed before every independent variable.
◆ Commixture of Independent variable specifying I, II CNC interior identify
independent variable specifying I & II automatically. If independent variable
136
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 141/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
137
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 142/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
● call
1. Use the mode call program number specifyed by address P after G66.
2. When repeat is asked, specify the number of replication from 1 to 9999after address L.
3. It’s same with modeless call(G65) that data specifyed by independent variable is
transferred to macro body.
● Cancel Latter block won’t execute mode call of macrowhen G97 code is specifyed.
● Nesting call:Call can be nested for 4 levels , and so dose modeless call(G95)and mode
call (G66). Subprogram call(M98) is not.
Limitation:
1. Multi-macro cann’t be called in G66 block.
2. G66 must be specifyed before independent variable.
3. Macro can not be called in some segements such as those only having auxiliary
138
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 143/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
modeless call(G65).
Illustration: Set G code of custom macro(09010 to 09019) call in parameter (NO.6050 to
NO.6059),and the call mede is the same with G65.For example: Parameter setting.It make
G81 call 09010,and call processing circle programmed by custom macro without reworking
processing program.
● Corresponding relation between program number parameter number
program number parameter number
09010 6050
09011 6051
09012 6052
09013 6053
09014 6054
09015 6055
09016 6056
09017 6057
09018 6058
09019 6059
139
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 144/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
Use the same method with subprogram call(M98) to set M code for call
subprogram(macro) in setup of parameter.
Illustration: Set M code(from 1 to 99999999) call subprogram in parameter (NO.6071 to
NO.6079),and use the same way with M98 to call corresponding custom macro(from 09001 to
09009).
● Relationship between program number and parameter number
140
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 145/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
09001 6071
09002 6072
09003 6073
09004 6074
09005 6075
09006 6076
09007 6077
09008 6078
09009 6079
processing program, macro 09000 can be called.T code specifyed in processing program
is assigned to common variable #149.
● Limitation: Multi-macros can not be called by just one M code in macro called by G code
or in subprogram called by M or T code. T code in this program or in this macro is
processed to normal T code.
8.5.7 TYPICAL PROGRAM
Use the function for M code call subprogram to call macro for measuring
accumulative hours of use of tool.
Condition: 1.Measure accumulative hours of use of each tool from T01 to T05.The
tools whose tool number is over T05 won’t be measured.
2.The following variable is used to store tool number and measure
time.
#501 accumulative hours of use of tool
number 1
#502 accumulative hours of use of tool
number 2
#503 accumulative hours of use of tool
number 3
141
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 146/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
M03;
M05; change#504
T05 M06;
M03;
M05; change#505
M30;
◆ Macro(the called program)
09001 (M03); start macro for computing
N01;
IF[#4120 EQ 0]GOTO9; no specifyed tool
IF[#4120 GT 5]GOTO9; over range of tool number
#3002=0; clear calculator
N9 M03; spindle rotate along positive
M99;
09002(M05); stop macro for computing
M01;
IF[#4120 EQ 0]GOTO9; no specifyed tool
IF[#4120 GT 5]GOTO9; over range of tool number
142
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 147/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
Illustration:
● When the next statement isn’t buffered(unbuffered M code,G31 and so on)
● Buffer next statement in the modes except tool radius compensation mode (G41,G42).
143
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 148/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
When N1 is executed, the NC statements in next two statements(till N5) are read into buffer
register. The macro statements(N2,N4) between N1 and N5 are processed during N1 is
processed.
● When next block includes unmoved segement in tool radius compensation mode
C(G41,G42).
When N1 is executed, the NC statements in next two statements(till N5) are read into buffer
register.But crossing point can not be computed because N5 is not moving segement.Here, the
NC statements in next three statements(till N7) are read in. The macro statements(N2,N4 and
N6) between N1 and N7 are processed during N1 is processed.
8.7 STORAGE OF CUSTOM MACRO
Custom macro is similar with subprogram, and it can use the same way to store and
programme.The amount of storage is determined by total volume of macro and subprogram.
144
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 149/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
8.8 LIMITATION
● MDI running Call command of macro can be specifyed in MDI mode.But during
Auto-running,macro call cann’t shift to MDI mode.
● Sequence number retrieving
In single program segement mode, when programisexecuted, the
segement can stop.
In the program segements including macro call command(G65,G66 or
G67),it can not stop even in single program segement mode.When set 5 th
bit of parameter of SBM() NO.6000 1,the segements including arithmetic
operation command and control command can stop.
Single program segement running is used to debug custom macro.Note
that,In tool radius compensation mode C,When single program segement
145
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 150/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
APPENDIX
Nanjing Swan Software Technology Company trys to satisfy consumers.It aimed at so many
machines intergrates many panels of different companys and the new Swan panel into NC
simulation software. And it is easy to change panel for different panel in this software.
Operational approach:Click to execute Swan software,then select NC lathe or mill.The
linking interface shows on Low Right side , then click pulldown list at the corner of Low Right
to select panel of required machine.
INTRUCTION OF OPERATION PANEL:
146
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 151/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
handweel ratio/quickmove
speed Axes direction moving
147
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 152/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
Fig.1
raising speed of
spindle deceleration spindle setting spindle
machine gate
program protection locking chuck clamping
148
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 153/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
off
origin
quick adjustment
Fig.2
149
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 154/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
test
150
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 155/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
151
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 156/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
program run/stop
cutting fluid switch
152
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 157/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
153
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 158/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
collet
154
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 159/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
Fig 1
Feeding keeping
155
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 160/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
156
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 161/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
157
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 162/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
Fig 1
Fig 2
158
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 163/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
Fig 3
159
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 164/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
Key of protecting
Start Stop programe inputing
Handwheel OVR(Speed of
feeding adjusting)
160
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 165/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
161
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 166/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
162
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 167/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
Feeding Connect pc and numerical control machine with cable 232 and then
opt input programe for process.
Slect step length: ×1 is 0.001mm, ×10 is 0.01mm, ×100 is 0.1mm, ×100 is 1mm. Put cursor on the
goal then press left key of mouse.
163
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 168/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
Step run Press this button, every axis will rotate constantly.
Cooling Cooling
164
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 169/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
cursor on the knob then press left key of mouse and rotate.
165
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 170/171
5/25/2018 133312399SscncManualFanuc-slidepdf.com
http://slidepdf.com/reader/full/133312399-sscnc-manual-fanuc 171/171