Sei sulla pagina 1di 13

machine fanuc

define word /
address letter = "/"
end define
define word N
address letter = "N"
end define
define word G1
address letter = "G"
end define
define word G2
address letter = "G"
end define
define word G3
address letter = "G"
end define
define word G4
address letter = "G"
end define
define word G5
address letter = "G"
end define
define word G6
address letter = "G"
end define
define word G7
address letter = "G"
end define
define word X
address letter = "X"
end define
define word Y
address letter = "Y"
end define
define word Z
address letter = "Z"
end define
define word I
address letter = "I"
end define
define word J
address letter = "J"
end define
define word K
address letter = "K"

end define
define word R
address letter = "R"
end define
define word R2
address letter = "R"
end define
define word Q
address letter = "Q"
end define
define word A
address letter = "A"
end define
define word B
address letter = "B"
end define
define word C
address letter = "C"
end define
define word U
address letter = "U"
end define
define word V
address letter = "V"
end define
define word W
address letter = "W"
end define
define word Z2
address letter = "Z"
end define
define word F
address letter = "F"
end define
define word S
address letter = "S"
end define
define word T
address letter = "T"
end define
define word M1
address letter = "M"
end define
define word M2
address letter = "M"

end define
define word L
address letter = "L"
end define
define word P
address letter = "P"
end define
define word D
address letter = "D"
end define
define word E
address letter = "E"
end define
define word H
address letter = "H"
end define
define word O
address letter = "O"
end define
define word MS
address letter = "("
end define
define word EM
address letter = ")"
end define
define word OP
address letter = "/"
end define
define word ID
address letter = ":"
end define
define word Q1
address letter = "Q"
end define
define word null
address letter = ""
end define
define format ( / G6 S T M1 M2 L P D E H O )
address width
= 1
field width
= 2
exponent width
= 0
scale factor
= 1
scale divisor
= 1
tape position
= 0
print position
= 1
sign
= none
not permanent

not modal
metric formats
leading zeros
trailing zeros
decimal point
decimal places
imperial formats
leading zeros
trailing zeros
decimal point
decimal places
end define
define format ( N )
address width
field width
exponent width
scale factor
scale divisor
tape position
print position
sign
not permanent
not modal
metric formats
leading zeros
trailing zeros
decimal point
decimal places
imperial formats
leading zeros
trailing zeros
decimal point
decimal places
end define

= false
= true
= false
= 0
= false
= true
= false
= 0

= 1
= 4
= 0
= 1
= 1
= 0
= 1
= none

= false
= true
= false
= 0
= false
= true
= false
= 0

define format ( G1 G2 G3 G4 G5 G7 )
address width
= 1
field width
= 2
exponent width
= 0
scale factor
= 1
scale divisor
= 1
tape position
= 0
print position
= 1
sign
= none
not permanent
modal
metric formats
leading zeros
= false
trailing zeros
= true
decimal point
= false
decimal places
= 0
imperial formats
leading zeros
= false
trailing zeros
= true
decimal point
= false
decimal places
= 0
end define
define format ( X Y Z R B C )

address width
field width
exponent width
scale factor
scale divisor
tape position
print position
sign
not permanent
modal
metric formats
leading zeros
trailing zeros
decimal point
decimal places
imperial formats
leading zeros
trailing zeros
decimal point
decimal places
end define
define format ( I J K )
address width
field width
exponent width
scale factor
scale divisor
tape position
print position
sign
not permanent
not modal
metric formats
leading zeros
trailing zeros
decimal point
decimal places
imperial formats
leading zeros
trailing zeros
decimal point
decimal places
end define

= 1
= 8
= 0
= 1
= 1
= 0
= 1
= if negative

= false
= false
= true
= 3
= false
= false
= true
= 4

= 1
= 8
= 0
= -1
= 1
= 0
= 1
= if negative

= false
= false
= true
= 3
= false
= false
= true
= 4

define format ( R2 Z2 Q1 )
address width
= 1
field width
= 8
exponent width
= 0
scale factor
= 1
scale divisor
= 1
tape position
= 0
print position
= 1
sign
= if negative
not permanent
not modal
metric formats
leading zeros
= false
trailing zeros
= false
decimal point
= true

decimal places
imperial formats
leading zeros
trailing zeros
decimal point
decimal places
end define

= false
= false
= true
= 4

define format ( Q A U V W )
address width
= 1
field width
= 2
exponent width
= 0
scale factor
= 1
scale divisor
= 1
tape position
= 0
print position
= 1
sign
= if negative
not permanent
not modal
metric formats
leading zeros
= false
trailing zeros
= true
decimal point
= false
decimal places
= 0
imperial formats
leading zeros
= false
trailing zeros
= true
decimal point
= false
decimal places
= 0
end define
define format ( F )
address width
field width
exponent width
scale factor
scale divisor
tape position
print position
sign
not permanent
modal
metric formats
leading zeros
trailing zeros
decimal point
decimal places
imperial formats
leading zeros
trailing zeros
decimal point
decimal places
end define

= 1
= 2
= 0
= 1
= 1
= 0
= 1
= if negative

= false
= true
= false
= 0
= false
= true
= false
= 0

define format ( MS EM OP )
address width
=
field width
=
exponent width
=
scale factor
=
scale divisor
=

1
0
0
1
1

tape position
print position
sign
not permanent
not modal
metric formats
leading zeros
trailing zeros
decimal point
decimal places
imperial formats
leading zeros
trailing zeros
decimal point
decimal places
end define
define format ( ID )
address width
field width
exponent width
scale factor
scale divisor
tape position
print position
sign
not permanent
not modal
metric formats
leading zeros
trailing zeros
decimal point
decimal places
imperial formats
leading zeros
trailing zeros
decimal point
decimal places
end define
define format ( null )
address width
field width
exponent width
scale factor
scale divisor
tape position
print position
sign
not permanent
not modal
metric formats
leading zeros
trailing zeros
decimal point
decimal places
imperial formats
leading zeros
trailing zeros
decimal point

= 0
= 1
= none

= false
= true
= false
= 0
= false
= true
= false
= 0

= 1
= 4
= 0
= 1
= 1
= 0
= 1
= none

= true
= true
= false
= 0
= true
= true
= false
= 0

= 0
= 0
= 0
= 1
= 1
= 0
= 1
= none

= false
= true
= false
= 0
= false
= true
= false

decimal places
end define

# linked words
define format ( MS )
link to EM
end define
word
word
word
word
word

order
order
order
order
order

=
=
=
=
=

(
(
(
(
(

+
+
+
+

OP
G6
I
H
Q1

N
G7
J
M1
Z2

G1
X
K
M2
R2

G2
Y
R
MS
ID

G3
Z
D
msg
F

define keys
blocknumber
preparatory function
aux function
x feedrate
y feedrate
z feedrate
circle angle
x coordinate
y coordinate
z coordinate
key i
key j
key k
feedrate
feedrate per revolution
spindle
tool number
cycle dwell
dwell
tool length
tool radius
drill peck depth
drill hole depth
clearplane
message start
message end
opskip
radius
program id
azimuth axis
elevation axis
3rd rotation axis
leader
x vector
y vector
z vector
error
end define

= N
= G1
= M1
not used
not used
not used
not used
= X
= Y
= Z
= I
= J
= K
= F
= F
= S
= T
not used
= X
= H
= D
= Q1
= Z2
= R2
= MS
= EM
= OP
= R
= ID
= B
= C
= null
not used
not used
not used
not used
not used

define codes
rapid
linear
circle cw
circle ccw

=
=
=
=

G1
G1
G1
G1

G4
B
S
EM
)

0
1
2
3

G5
C
T
Q

)
)
)
)

dwell
xy plane
zy plane
xz plane
compensation off
compensation on left
compensation on right
imperial data
metric data
absolute data
incremental data
from
feedrate per minute
feedrate per revolution
spindle rpm
constant surface speed
drill
break chip
deep drill
tap
bore 1
bore 2
bore 3
bore 4
bore 5
end of drill
macro start
macro end
macro call
cycle retract
tool length offset
spline
stop
opt stop
spindle on cw
spindle on cc
spindle off
spin coolant on cw
spin coolant on ccw
spin coolant off
change tool
coolant on mist
coolant on
coolant on flood
coolant off
clamp on
clamp off
end of tape
end of prog
gear range 1
gear range 2
gear range 3
constant contour speed
constant contour speed 2
word drill
word break chip
word deep
word tap
word bore 1
word bore 2

= G6
4
= G3 17
= G3 19
= G3 18
= G2 40
= G2 41
= G2 42
= G4 20
= G4 21
= G5 90
= G5 91
= G3 54
not used
not used
not used
not used
= G4 81
= G4 82
= G4 83
= G4 84
= G4 85
= G4 86
= G4 87
= G4 88
= G4 89
= G4 80
not used
not used
not used
= G6 99
= G6 43
not used
= M1
0
= M1
1
= M1
3
= M1
4
= M1
5
= M1 13
= M1 14
= M1
5
= M1
6
= M1
7
= M1
8
= M1
8
= M1
9
not used
not used
= M1
2
= M1 30
not used
not used
not used
not used
not used
not used
not used
not used
not used
not used
not used

word bore 3
word bore 4
word bore 5
azimuth clamp off
coolant on tap
rigid tap
helical drill
helical retract drill
deep drill 2
azimuth clamp on
end define

not
not
not
not
not
not
not
not
not
not

used
used
used
used
used
used
used
used
used
used

print header
= "Delcam Postprocessor"
machine name
= "Fanuc6m
version 1.2"
point
= "."
zero
= "0"
tape headers
=
1
integer 6
=
2
integer 7
=
1
integer 10
=
2
integer 11
=
1
integer 12
=
1
tool reset coordinates
=
2
cycle output
=
1
integer 20
=
1
block start
=
10
block increment
=
10
split move
=
0
integer 26
=
1
program id start
=
1
integer 34
=
3
integer 35
=
1
integer 36
=
1
integer 37
=
2
rapid feed code
=
0
maximum block number
=
0
maximum tape blocks
=
0
minimum tape blocks
=
0
segment type
=
0
counter start
=
0
counter increment
=
0
tape split retract distance = -999
workplane angle convention =
1
multiaxis coordinate transform = true
message output
= false
block order
= false
tlo output
= true
tape split on tool change = false
full circle
= true
incremental centre
= true
go home output
= false
use partid
= true
use progid
= true
spindle x motion
= false
spindle y motion
= false
spindle z motion
= true
spindle w motion
= false
spindle azimuth rotation = false
spindle elevation rotation = false
linearise multiaxis moves = true

use hole top in cycles


= false
retract at angular limit = false
unwind at tool change
= false
suppress xy arc
= false
suppress xz arc
= false
suppress yz arc
= false
transform workplane origin = false
previous multax rapid style = false
minimise multiaxis retractions = false
contact point based feedrate = false
multiaxis toollength used = true
full rewind at limit
= false
use fiveaxis always
= false
workplane origin shift
= true
expand helical drilling cycles = false
linearise first move
= true
output rapids in multiaxis = false
use toolpath safe heights = false
clear modal words for cycles = true
knot vector type
= none
units
= input
coordinates
= absolute
azimuth axis units
= degrees
azimuth axis direction
= positive
elevation axis units
= degrees
elevation axis direction = positive
spline type
= none
workplane angles
= none
option file units
= none
retract and reconfigure style = none
maximum feedrate
= 9999.0000
minimum feedrate
=
1.0000
rapid feedrate
= 9999.0000
maximum tape length
=
0.0000
plunge threshold angle
=
0.0000
maximum segment
=
0.0000
diameter
=
1.0000
withdrawal amount
=
50.0000
arc radius limit
= 10000.0000
retraction threshhold angle = 360.0000
arc minimum radius
=
0.0000
azimuth axis parameters
azimuth centre
elevation axis parameters
elevation centre
pcs origin
linear axis limits
rotary axis limits
move safe angles

=
=
=
=
=
=
=
=

(
0
0
0
0
0
0 )
(
0
0
0 )
(
0
0
0
0
0
0 )
(
0
0
0 )
(
0
0
0
0
0
0 )
( -99999 999999 -99999 999999 -99999 999999 )
( -99999 999999 -99999 999999
999
1 )
(
0
0
0
0 )

define block tape start


"O011"
N ; "G91 G21 G40 G54 G80 G17 "
N ; G5 90
; G1 0
; Z FromZ
end define
define block tape end
N ; Z SafeZ
N ; M1 30

N ; "%"
end define
define block go home preamble
end define
define block tool change first
N ; OP ; T ToolNum
G3 54
; G5 90
; G3 =C
end define

; G5 =C

define block tool change


N ; T ToolNumber
G5 90
; G3 54
; G5 =C
G3 54
; G5 90
; G3 =C
end define

; G3 =C
; G5 =C

;
;

; Z

; I

; J

; K

; F

; D

define block move rapid


N ; G1 ; G2 ; G3 ; G5 ; G6 ; X
M1 ; M2
end define

; Y

; Z

; T

; H

; S

define block tool change clear


end define
define block go home z move
end define
define block go home xy move
end define
define block move from
end define
define block move circle
N ; G1 ; G2 ; G3 ; X
end define

; Y

define block move linear


end define

define block move cycle


N ; G4 ; G6 ; X ; Y
end define

; Z2 ; R2 ; Q

; Q1 ; F

define block move tap


N ; G6 ; G4 ; X
end define

; Z2 ; R2 ; F

; M1 ; M2

; Y

define block tape segment


end define

; M2

define block tape split start


"O011"
ID ProgID
end define
define block tape split end
N ; G1 28
; G6 91
N ; G6 28
; X 0

; Z
; Y

0
0

; Z =C
; X =C

; Y =C

N ; M1 30
N ; "%"
end define
define block cycle start
N ; S ; M1
N ; G3 ; G5 ; M2
F =C
; G4 =C
; Z2 ; R2 ; Q
end define
define block cycle end
N ; G4 80
N ; Z SafeZ
end define
define block tape split move
end define
define block move spline
end define
define block datum shift
end define
define block multiaxis transition
end define
define block special record
end define
end

; Q1 ; G6 ;

Potrebbero piacerti anche