Hi all! I've been reading for a while, but this my first post.
I have inherited an MH-40 Mori Seik with a MF-M6 NC controller. I am at least the 4th programmer for this machine by looking at the different styles on existing programs. I want to decrease cycle time with improved sequencing. CAM is not an option.
G66P26 is being used to call out a generic drill/bore/tap Pcall macro. Here are three applications...
G66P26C83.Z-.293R.5975Q.375F45.A3. (pecking)
G66P26C81.Z-.564R-.1215F41.A1.2285 (drilling)
G66P26C84.Z-.150R.5719F83.A1.2219S1992 (tapping)
Here is the macro...
O0026(DRILL MACRO)
G0Z#1
IF[#19NE#0]GOTO20
N10G98G#3Z#26R#18Q#17F#9P#7
IF[#525EQ1]GOTO15
G91Y-7.75
Y-7.75
N15GOTO30
N20M29S#19
G98G#3Z#26R#18F#9
IF[#525EQ1]GOTO30
G91Y-7.75
Y-7.75
N30G80
G0G90Z12.5
M99
Here's what i get from the callout...
The S in the Pcall just sets it to the tapping section.
C#3 calls out the G code number
Z#26 calls out the bottom of the hole, tap, etc
Q#17 calls out the depth of each peck
Here's what i don't get...
R#18 calls out the R location over the part. Fine. But isn't it not used on the G81 since the G99 isn't used?
F#9 i think calls out feed. But F isn't the 9th character for a local parameter. How do they correlate?
P#7 call out dwell. Except you can't call out a P anything in the Pcall for the G66 or it barfs. I saw some other poor guy go thru something similar on the boards. For dwell (if it's applicable) i'll create a specific subprogram and add the P there.
A (???) nothing in the progamming manuals for this machine tell me anything about A. It doesn't seem to be additive, suctractive, or related to anything in the program. This is the brain melter.
Thanks in advance!