Have you tried "Q201=-"
Worth a try.
here is what I have: Cimatron 3X drill seq. out puts a positive Z. and my post out puts a positive Z. I need a negative Z???
thanks.
IF (VAR_SET (CYCLE_4)) // <Spot Drill>
OUTPUT $ "CYCL DEF 203 UNIVERSAL DRILLING ~";
OUTPUT \J TAB_ "Q200=" CYC_CLEAR TAB_ ";SET-UP CLEARANCE ~";
OUTPUT \J TAB_ "Q201=" CYC_DEPTH TAB_ ";DEPTH ~";
OUTPUT \J TAB_ "Q206=" MCH_FEED TAB_ ";FEED RATE FOR PLUNGING ~";
OUTPUT \J TAB_ "Q202=" CYC_PECK TAB_ ";PLUNGING DEPTH ~";
OUTPUT \J TAB_ "Q210=" "0" TAB_ ";DWELL TIME AT TOP ~";
OUTPUT \J TAB_ "Q203=" Z_CURPOS TAB_ ";SURFACE COORDINATE ~";
OUTPUT \J TAB_ "Q204=" CYC_DZINIT TAB_ ";2ND SET-UP CLEARANCE ~";
OUTPUT \J TAB_ "Q212=" CYC_REDUC TAB_ ";DECREMENT ~";
OUTPUT \J TAB_ "Q213=" "3" TAB_ ";BREAKS ~";
OUTPUT \J TAB_ "Q205=" CYC_REDUC TAB_ ";MIN. PLUNGING DEPTH ~";
OUTPUT \J TAB_ "Q211=" CYC_DWELL TAB_ ";DWELL TIME AT DEPTH ~";
OUTPUT \J TAB_ "Q208=" "200" TAB_ ";RETRACTION FEED RATE ~";
OUTPUT \J TAB_ "Q256=" "0.05" TAB_ ";DIST. FOR CHIP BRKNG ";
END_IF;
Have you tried "Q201=-"
Worth a try.
Best regards ---- Kevin Douglas
Thanks for the reply... yes I tried adding the minus... but it adds the negative even if it a positive drilled hole. Our WPC is not alway on the highest point possible. Thats why I have the problem.
Thanks,
I am not familiar with Cimatron but I am very familiar with Heidenhain and I have never had to use a positive for the depth of hole. I usually go to X & Y position then Z position which should be the same as Q200 (SET-UP CLEARANCE). So then the drill depth will always be minus. Hope this helps.
Best regards ---- Kevin Douglas
I do understand what you are saying, but lets say datum 1 has a boss above zero positive 1 inch. and gets a hole drill in it from the +1 inch to a depth 1/4 inch. the ending z will be a positive 3/4 inch. not a negative. Does that make more sense? I'm sorry I can't explain it real clear.
Thanks
You have explained it clearly. However you are not interpreting the right way. Heidenhain works and most other systems come to that by going to the Z position to start the hole and then giving a depth of hole from that position.
Which is a minus dimension.
If you do a move to start position of the hole as follows
L X+0 Y+0 R0 FMAX M3
Z+1.05 FMAX M99 (CALL DRILL CYCLE)
In your example Q201 should be -0.75
Best regards ---- Kevin Douglas
Ok, I will try it again with the minus sign added after "Q201=-"... I will post the results later in the morning.
Thanks.
Goodmorning...... Ok, my test model numbers are a little different. hole start is @ Z +2. ..... Z clear is @ 2.5.....random X Y position. My post is outputting M99 at end of cycle not begining???
Example:
0 BEGIN PGM HHWITHNEG INCH
1 CYCL DEF 247 DATUM SETTING Q339=+1 ; DATUM SETTING
2 ;( )
;( DRILL 3X )
;( NO TEXT )
;( TOOL NAME..........: 9/32 DRILL )
3 L Z0 FMAX M92
4 L X0 Y0 FMAX M92
5 TOOL CALL 47 Z S1200
6 M03
7 CYCL DEF 32.0 TOLERANCE
8 CYCL DEF 32.1 T0.0001
9 L X.9757 Y-.5906 FMAX
10 L Z4.466 FMAX
11 M08
12 L Z2.016 FMAX
13 CYCL DEF 205 UNIVERSAL PECKING ~
Q200=.05 ;SET-UP CLEARANCE~
Q201=-.25 ;DEPTH~
Q206=20 ;FEED RATE FOR PLNGNG~
Q202=.05 ;PLUNGING DEPTH ~
Q203=1.966 ;SURFACE COORDINATE~
Q204=2.5 ;2ND SET-UP CLEARANCE ~
Q212=.01 ;DECREMENT ~
Q205=.01 ;MIN. PLUNGING DEPTH ~
Q258=.05 ;UPPER ADV STOP DIST ~
Q259=0 ;LOWER ADV STOP DIST ~
Q257=0.2 ;DEPTH FOR CHIP BRKNG ~
Q256=0.01 ;DIST FOR CHIP BRKNG ~
Q211=0 ;DWELL TIME AT DEPTH ~
Q379=0 ;STARTING POINT ~
Q253=30 ;F PRE-POSITIONING
14 L M99
15 M05
16 M09
17 L Z0 FMAX M92
18 L X0 Y0 FMAX M92
19 CYCL DEF 32.0 TOLERANCE
20 CYCL DEF 32.1
21 M30
22 END PGM HHWITHNEG INCH
Example out put with Makino post:
%
O7000 (testheidy - No Text)
G49 G17 G54 G40 G80 G20 G90
(testheidy - No Text)
T47 M6
M1
S1200 M03
X0.97567 Y-0.59056
G43 H47 Z4.46599
Z4.46599
G98 G83 X0.97567 Y-0.59056 Z1.716 R2.016 Q0.05 F2.0 M08
G80 Z4.46599
G5P0
M5
G91 G28 Z0 M9
G90
G91 G28 X0.0 Y0.0
G90
G40 G49
M30
%
Sorry we have a bit of time delay because of different time zones
I was wrong Q201 should have been 0.25.
This is how I would lay your program out at the machine
1 TOOL CALL 47 Z S1200
2 M6
3 CYCLE DEF 1.0 PECKING
4 CYCLE DEF 1.1 SETUP0.05
5 CYCLE DEF 1.2 DEPTH-0.25
6 CYCLE DEF 1.3 PLNGNG0.05
7 CYCLE DEF 1.4 DWELL0
8 CYCLE DEF 1.5 FEED50
9 L X+0.9757 Y-0.5906 R0 FMAX M13
10 Z+2.016 FMAX M99
11 M05 M09
12 Z+0 FMAX M91
; WE HAVE THE PARAMETER SWITCHED ON TO RECOGNISE M6 FOR TOOL
; CHANGE ON OUR MACHINES
; WE ONLY USE CYCLE DEF 200 IF WE NEED TO DO DEEP HOLES WITH THRO
; COOLANT AS WE DO NOT RETRACT IF WE CAN GET AWAY WITH IT
Best regards ---- Kevin Douglas
Thats great I will give it a try....... Some of what I tested this am worked. I did get and error if I did not add a peck value to Q202 (plunging depth)... when it posted a zero, and error came up...... I'm still gona tinker with it till I get it right.
I am a mold-maker, we have 2 Makino's, one Hurco, and 2 Dynamic Speed W/HEIDENHAIN controls in our milling department.
Cheers,
Mitchell
PS I drive a 05 LR3...Rovers Rule
Is it a Land Rover
Hi Mitchell
If you think about it, put a zero in Q202 will give an error because the computer cannot peck zero. If you do not want to peck just add the same as
Q201 (the depth you are drilling) with no minus sign. If you want to peck twice put 0.125. If you want to peck 3 times put 0.1 and it will go down 0.1 on the first peck. 0.2 on the second peck. Then the last peck to 0.25.
Hope you don't think I am thick but what is a "05 LR3...Rovers Rule"
Best regards ---- Kevin Douglas
Ok, I will try that....
2005 Land Rover LR3 (Discovery 3) Automobile....
No problem.
I will msg back tomorrow.
Cheers