PDA

View Full Version : G160



chunkymonkey
02-14-2008, 08:12 AM
I am using a citizen M32. I would like to take advantage of G160. I have the #'s all figured out to do what i want them to do, but really need to know what torque numbers to base my G160 off of. Can anyone offer a little help with this? Thanx!!!

tejano4life72
02-14-2008, 11:46 AM
$1
(?MIN-?SEC)
#501=.312(MAJOR DIAMETER)
#502=2.75(2.75)(OAL)
#503=.2194(MINOR DIAMETER)
(7.5676=ANGLE-OF-WHIRL)(SET-WHIRL=.1311-BACK=Z2-G53Z4.3969)

IF[#502LE2.75]GOTO1
#3000=999(2.75MAX)

N1
M162(CLOSE-JBS)
M9
M87M97
G113
G99M52M6
G50Z-.005(.5/13MM EXTENDED)
(C/O=.6525SHIFT.0984W-WE-SET-G50-Z0-HERE/)
(.6525-.0984=.5541)
(TURN-TOOLS-.625-SO-WE-ARE-SHIFTING-THEM-.625-.5541=W-.0709)
(LIVE-TOOL-SHIFT=.5905-.5541=W-.0364)

G0G97Z-.05M3S1=1500

T300(FACE)
G50W-.0709S7000
G0X.475Z0T3
/B7
G96M3S300
G1X-.04F.002
G97S1=7000G0X.475Z-.05T0
G50W.0709
G0Z-.2T0(CLEAR-T6MILL)
/B7

(GOTO610)(SKIP ALL DRILLS)
T800X0Y0Q1(1.5MM STARTER DRILL)
G0Z-.05S1=7000(7000)T8
Z-.03
/B10
G1Z.05F.0003
G0Z-.03
Z.035
G1Z.23F.0008
G0Z-.05T0
/B10
M01
S1=3000

T900X0Y0Q1(SPOT)
M3S1=3000
(1/4IN 90DEG-SPOT)
G0Z-.05T9
Z-.03
G1Z.0314F.001
G4U.2
G0Z-.2T0

N610
G610

T2200(1.5MM DRILL-12X)
G0Z-.05S1=7000T22
/B2
G1Z.2F.005
Z.625F.002
Z-.03F.008
/B2
G0Z-.05M5T0
M01

(GOTO630)
T2100(CHECK-DRILL)

G140Z=Z2(M140Z/M141Z-NOT-WORKING)
G0W-.45
G140Z=Z1
G0Z.4
G140Z=Z2
G50Z-.05
G98
G160Z.35(Z.2)Q30.F10.
#100=#5042
G99
G0Z-.05
G140Z=Z1
G0Z-.05
G140Z=Z2
G0W.45

IF[#100EQ.35]GOTO2100(EQ.2)
#3000=999(-STARTER-DRILL-IS-BROKEN)
N2100(DRILL-OK)

G140Z=Z2(M140Z/M141Z NOT WORKING)
G0W-.65(GUNDRILL-IS-SET-.65-OUT)
G140Z=Z1
T2300(GUNDRILL)
M3S1=500
G0Z-.05T23
Z-.03
G1Z.1F.002
/B9
M3S1=7000
(Z.16)Z.58F.001
Z[#502-.125]F.0003
/B9
Z-.05F.02
G0Z-.05T0
M141
M01
N630
G630

(TURN TIP RADIUS/ANGLE)
G50S5000
T300(RH 55 DEG TURN)
G50W-.0709
G0X.475Z-.03T2
G96M3S250
/B7
X.1
G41G1X.15Z0F.0015
G1X.312+.04A20.F.0015
G1X.375F.003
G1W.03F.0025
G40G0X.475Z-.03
X-.03
G41G1X0Z0
G1X.07
G2X.146Z.0289R.0394F.001
G1X.312+.04A20.F.0025
G1X.375,C.006F.003
G1W.02
G97M5
G40G0X3.Z-.05T0
G50W.0709
/B7
M1

M5
G98M58S3=2200
T600(.25-EM)
G50W-.0364(.5905-.5541=W-.0364)
G19G0Z-.15Y-.62T6
M18C0

#100=0
WHILE[#100LE240]DO1
Y-.62C#100
X.16
G41G1Y0Z-.02F6.
Z.315-.125
G3Y-.2588Z.315R.125
G40G1Y-.62F20.
G0Z-.15
#100=#100+120.
END1

M60
G0Z-.15
G50W.0364
G0Z-.2T0

G0Z-.2(NEEDED-TO-CLEAR-WHIRL)
M3S1=22
T1000H4.(WHIRLING)
(SET-G53Z4.3969=.1311BACK)
G18G99
G0Y0T10
G50U-.472W-.12
G0X-[#503]
M58S3=4000
/B1
G0Z-.03
G32Z[#502-.25]F.111
X-.38F.15
/B1
M60
M163(OPEN/GB)
G0Z-.04
G50U.472W.12
G0Z-.2T0

T500(35-DEG.-NECK-TURN)
G98G1Z[#502-.35]F100.
M162(CLOSE/GB)

G99
G50W-.189(.625-.5541=.0709+.1181=.189)
G50S5000
/B3
G0X.425Z[#502-.4]T5
G96M3S200M97
G0X.4
G1G41X.312Z[#502-.3726]F.0015
G1X.1969Z[#502-.315]
Z#502-.1718
G2X.3692Z#502R.1574F.0007
G1Z#502+.03F.002
G1X.425F.005
G40G0X.475T0
G97M3S1=500
G50W.189
/B3
M1

/M5
/T700(ENGRAVE)
/G98M58S3=4500
/G50W-.0364(.5905-.5541=W-.0364)
/G0Z#502-.25T7
/M18C0
/M98P1001
/G0X.4T0
/G50W.0364
/G99M60

T100(LH 2.5MM CUT OFF)
G50S5000
G99G0X.475Z[#502+.0984]

!1!2L100
M3S1=500M24S2=500
M97M87
/B8
G814
G0X.475Z[#502+.0984]T1
G96M3S200

G650
!1!2L650
G1X.3F.002
G0X.425
W-.05
G1X.375W.02F.001
G2X.3742W.0118R.1574
G2X.3348W.0182R.0197
G1X.31F.002

G231X-.06A-.03F.002
M5M25
G113
/B8

M8
M8
/M98P8000
M9


M7
G0X-.1Z#530(-.005)T0
M56
G999
M5
N999
M2
M99

$2
G99G44M15
T3000
G50Z0
(/B4)

G610
G630
M98H10(BACK-SUB)

!1!2L100

G650

G0Z-.1-.5541(FROM-SPECIAL-GB-SHIFT)
G98G1Z[#502-.5541-.4375]F100.

M15(SUB-COLLET-CLOSE)


!1!2L650

G999
M98H10(BACK-SUB)
M53
N999

IF[#523EQ-1]GOTO1(#523=GUNDRILL-BROKE-FLAG)
M2
M99

N1
#3000=999(-GUNDRILL-IS-BROKEN)
M00

N10(BACK-WORK)
G99G44

T3100(.201-DRILL)
G0Z-.05M23S2=1800
G1Z.17F.0015
G0Z-.05T0

M25
T3300(CHECK-GUNDRILL)
G0Z-.05
G98
G160Z.4Q30.F10.
#100=#5042
G0Z-.05T0
#523=0
IF[#100EQ.4]GOTO3300
#523=-1
(#3000=999)(-GUNDRILL-IS-BROKEN)

IF[#100GE.14]GOTO3300
#3000=999(-PRE-DRILL-IS-BROKEN)

N3300(GUNDRILL-OK/PRE-DRILL-OK)


T3200(.059-BALL-MILL)
M48C30.
M174S7=5000(5000)
G98G0X.253Z-.03T32

G83Z.13Q.2F4.3K6H60.(.0005IPT/.001IPR)
G80G0Z-.03

M48C0
X0
G12.1D0E=C
G17
G42G1X.1134Y0F30.

#100=0
WHILE[#100LT.12]DO1
#100=#100+.01
G1Z#100F5.
G3X.1307Y-.0401R.0551F12.
G2X.1001Y-.0932R.0315
G3X.0307Y-.1333R.0551
G2X-.0307Y-.1333R.0315
G3X-.1001Y-.0932R.0551
G2X-.1307Y-.0401R.0315
G3X-.1307Y.0401R.0551
G2X-.1001Y.0932R.0315
G3X-.0307Y.1333R.0551
G2X.0307Y.1333R.0315
G3X.1001Y.0932R.0551
G2X.1307Y.0401R.0315
G3X.1134Y0R.0551
END1

G40G1X0Y0F20.
Z-.1
G13.1
M23S2=100(FORCE-C-ZERO?)
M25
(CHAMFER-PASS-DIFF-OFFSET)
M48C0
G0C0X0Z-.1T34
Z-.03
G12.1D0E=C
G17
G42G1X.1134Y0F30.
G1Z.015F5.
G3X.1307Y-.0401R.0551F12.
G2X.1001Y-.0932R.0315
G3X.0307Y-.1333R.0551
G2X-.0307Y-.1333R.0315
G3X-.1001Y-.0932R.0551
G2X-.1307Y-.0401R.0315
G3X-.1307Y.0401R.0551
G2X-.1001Y.0932R.0315
G3X-.0307Y.1333R.0551
G2X.0307Y.1333R.0315
G3X.1001Y.0932R.0551
G2X.1307Y.0401R.0315
G3X.1134Y0R.0551
G40G1X0Y0F20.
Z-.1
G13.1
M176
G18G99M25
G0Z-.1T0
M34
(/B4)
M99
$0
A
#814=0000003750
#815=0000001000
#816=0000001000
#817=0002000000
#822=0000000015
#824=-000001000
#818=0000030000
#819=0000001000
#820=0000000000
#821=0000004375
#990=0000029000
#991=0000051000
#992=0000061000
#893=0000000000
#25119=0000028530
%

chunkymonkey
02-14-2008, 12:57 PM
This looks good, but where do I get my Q value

cogsman1
02-15-2008, 08:07 AM
I start with Q30 and then raise it if I get false alarms. There is a load meter on the "Maint" page under servo. Then make sure you are looking at the axis you are going to monitor and run a part with a good tool and see where it is running at. When you get a failure it will spike way up and stop the machine.

PoiToi
02-15-2008, 07:32 PM
!!!!
that program makes my brain hurt right now....

i'd love to see the part that makes!!

question: what do the /B[number] blocks do?

is that so you can search to one when running a program?? I wish my A16 had that option....

ProProcess
02-16-2008, 08:33 AM
!!!!
that program makes my brain hurt right now....

i'd love to see the part that makes!!

question: what do the /B[number] blocks do?

is that so you can search to one when running a program?? I wish my A16 had that option....

Bcode is just like Mcode in that they both execute Misc functions.
In this case it's used to actuate high pressre coolant lines On and Off.

the"/" block skip is used run with oil off while dry running during set-up.

Chuckforce
03-22-2008, 08:16 AM
Thats the IMTS 2006 program for the L720. They were checking the gun drill pilot hole before running a 300.00 drill in to a hole that was not there(LOL).

We have experimented with using G160 to check size in process.

Some of the experiments included using the sub-spindle chuck axis. Not really reliable so we gave up.

One of the problems you run into is that the axis torque will spike up when it starts to move. You can not check torque below this spike valve or you will get "False triggers" as was said.

cogsman1
03-22-2008, 10:18 AM
The G160 should only be used during a feed move, that way you wouldn't get the "false" alarms.
I have used this for checking for a broken drill, Chuck pressure checking ,to catch an undersize or oversize pickoff diameter, watching load during cutting of many tools, when they get dull the load increases and will make bad parts or start a fire in some materials, Also I have used it to check for barstock on machines that do not have a magazine barfeed and on occasion run out of material during continous cycle. I also used this during pickoff to feed over a part up against a shoulder, this worked great but in soft material you may see a "Contact" mark.
There are limits to this but mostly if you are trying to look at a very slight change you may have a problem.

Pecker
03-23-2008, 09:23 PM
I try to read and respond as often as possible. To cogs: I have also noticed ? #952 and maybe #953 are your main and subspindle chuck pressure forces. This is what i use to macro for whether or not i have stock, but i like your idea as well. To chuck: Please do not take too much offense to what i say. I have just been around too many old farts that wont "share" so i feel what i have been given, i too will share. I enjoy all that all writes and enjoy opinions from everybody. Thanx to all