View Full Version : M Code For Chuck


phoodieman
04-21-2006, 05:35 PM
What is the M code for opening and closing the chuck on a Puma 8 S.
M10 M11
M68 M69

Doesn't work on my controller. Daewoo gave me the 68 and 69 command, but they don't work from MDI.

Phoodieman

tikj
05-05-2006, 11:08 PM
The open chuck command should be m69 and the the closed should be m68, the problem may be that the machine does not have prox switches on the spindle,these are optional equip. , not certain though, if you are running a bar feeder on the machine, the switches are a must...

phoodieman
05-06-2006, 08:37 AM
The machine knows if the chuck is open or closed. It won't cycle if the chuck is open. I think there is a parameter setting that needs to be changed. Know where that is in a Meldas 500 controller?

Phoodieman

M-man
05-27-2006, 01:29 PM
You need to enter a G code to aprove the chuck to open/close in automatic operation. I could check it out on monday.

phoodieman
05-27-2006, 02:41 PM
If it won't open in MDI then it ain't gonna happen anywhere else

phoodieman

M-man
05-28-2006, 01:51 AM
You have to bypass the cuck. Try m31 and then m10/m69, this will enable cycle start to be executed even with an open chuck. Use m32 after you have clamped the cuck..

TopperCNC
05-28-2006, 03:20 PM
Are you sure you closed the lathe's door? At my last job, it would not work until I shut the door, then it would run (had M69 to open the chuck, then bar puller sub-program, then M68 to close chuck). I used a Lynx lathe with GE Fanuc 21T.

Good luck!

troyswood
05-28-2006, 04:48 PM
valve it manually see if your valve is shifting pressure check to see in mdi if the paramerter bits are turning on and off

M-man
05-31-2006, 01:32 PM
This is the code for our bar loading..

m19 - spindel orentation
m31 - cuck bypass
m69 - open chuck
2/m98p8501 - new bar?
m68 - close chuck
m32 - chuck bypass off
m99 - return to main

If you open the chuck by prog. you cant clamp it manually, until you have clamped it by prog again.

Alan B
06-06-2006, 03:54 AM
You can not close the chuck in M.D.I. The open / close codes are for program running only so you can only close in the memory mode. You should be able to open in M.D.I. Safety reasons won't allow the machine to run in M.D.I. with an open chuck.
Alan B

phoodieman
06-06-2006, 07:15 PM
OK. I'm not running a bar feeder from the spindle. I have a puller mounted on the turret, so there's no code to run a bar feeder. I just need code to to get the turret down to the stock, open the chuck, pull the stock and then clese the chuck. I have the code to get the turret down there, but then I get a fault. I might need the M31 int there I'm not sure. To get by I'm just using a square to set the stock out after each cycle. It works, but I have done the same thing on an American Way Lathe a

TopperCNC
06-06-2006, 08:58 PM
At my last job, I used to set the bar puller offset at X0.0 inthe center of the puller's jaws. Z0.0 is obvious. You must use G98 to feed the puller because the chuck's not spinning. Then I used this:

This was used on a Daewoo Lynx 200
In my case, I used G56, so replace with your own.
G98 because you need IPM, not based on chuck's RPM (it's not spinning)
P3 is an alternate home pos I set for closer tool changes
You can use P1 through P4 for every G54~G59 home pos
If you don't specify any, it uses P1

G40G98G56G00G30P3U0.0W0.0 (don't use P3, or use your own if you have set one)
T1010 (the bar puller was in turret #10)
G00X4.0Z-0.675 (this brings the puller just above bar stock)
G01X0.0F150.0 (this brings the puller to X0.0, at 150 IPM feed -> G98)
M69 (opens the chuck)
G01W1.001F100.0 (could not use G00 because the bar stock would not grip)
M68 (closes the chuck)
G01X4.0F150.0 (brings the puller back above bar stock, X axis only)
G00G99G30P3U0.0W0.0 (back in G99 mode, and back to custom P3 home pos)

This did it for me everytime.
Hope it helps.

David

EDIT: All this is in automatic mode, with the door shut. Won't work in MDI, or with the door open.

janitor
12-07-2006, 05:55 PM
write a program like this
N0010 M69(OPEN COLLET)
N0020 G04X.5 (DWELL)
N0030 M68(CLOSE COLLET)
N0040 M30

CHUCK SHOULD OPEN AND CLOSE IN CYCLE START
MY NAKAMURA USES M10 TO OPEN AND M11 TO CLOSE. IT WILL ONLY CLOSE IN AUTOMATIC MODE. IT WILL NOT INPUT THE M11 IN MDI MODE