Hello Guest it is March 28, 2024, 03:59:03 AM

Author Topic: Manual Tool Change with TTS  (Read 5716 times)

0 Members and 1 Guest are viewing this topic.

Manual Tool Change with TTS
« on: November 04, 2013, 10:24:35 PM »
I finally got me some tool holders for repeating Zs. But I cant seem to get the control to accept the tool length offsets. Im using BobCADs no ATC Rev2 post. The code looks fine. Has the tool number along with a G43 H?. But when I run the program it uses tool 1s offset for all tools. I have set the tool length heights in the tool set up chart. The tool number box on the run program screen always shows tool 1 too. Shouldn't this change as the program calls for a different tool number? Also having a problem getting the machine to go to Z0 machine coordinate for the tool change position. It goes to some random spot (not the rapid plane but above a inch or so) above the part. I try setting the tool change position under the settings page but I'm not having any luck. What am I missing here?
Re: Manual Tool Change with TTS
« Reply #1 on: November 05, 2013, 07:57:08 AM »
I've read some other posts regarding manual tool changes. Im getting mixed answers on whether or not the automatic tool changer setting should be on or off?
Re: Manual Tool Change with TTS
« Reply #2 on: November 05, 2013, 09:23:52 AM »
Tool changes are done with M6Tn.  G43 simply applies the length offset.

Regards,
Ray L.
Regards,
Ray L.

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: Manual Tool Change with TTS
« Reply #3 on: November 05, 2013, 06:37:47 PM »
IF you are doing manual tool changes then select Manual tool changes in your config. THEN the tool change is controlled by the M6start and M6end macros. Mach3 will not automatically go to the tool change position you have to program it to do so in the M6start macro. Same with travel height for the tool change.

(;-) TP
Re: Manual Tool Change with TTS
« Reply #4 on: November 05, 2013, 08:53:28 PM »
Is there somewhere where I can get generic M6 macros? Or someone who has one for my application? I have no experience with these.

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: Manual Tool Change with TTS
« Reply #5 on: November 05, 2013, 10:13:45 PM »
Explain exactly how you want the tool change to work.  include all details(;-)

(;-) TP

Offline Fastest1

*
  •  920 920
  • Houston, TX
    • View Profile
Manual Tool Change with TTS
« Reply #6 on: November 06, 2013, 07:44:47 AM »
I have never changed a macro in mine.

  The sequence goes like this. First tool is in spindle, hit cycle start. Mach finishes with this tool, turns off spindle, goes to a preselected tool change position and waits for my manual change. Hitting cycle start confirms that the requested tool is installed (tools must be set up in the tool table). Repeat for each tool needed.

   I believe I run the ATC post processor. Will have to check.
I want to die in my sleep like my grandfather, not like the passengers in the car! :-)
Re: Manual Tool Change with TTS
« Reply #7 on: November 06, 2013, 09:09:06 AM »
Im wanting my tool change to work like this. Input all tool heights in the tool table. Have tool one run and then when the control sees T2 M6 G43 H2 to go to Machine Z0, wait for me to change the tool. Press cycle start then its off and running. No need to tell the machine to take the tool back to the start point. Most my programs the next tool will start in a different spot anyways.
Re: Manual Tool Change with TTS
« Reply #8 on: November 06, 2013, 10:26:19 AM »
I added the third line of code to the M6Start.m1s file (M6End.m1s is empty).

It looks like this:

tool = GetSelectedTool()
SetCurrentTool( tool )
code "G53 G00 Z0"

Im using a dial indicator in one of my holders (tool 1) to pick up my parts surface just like Tormach shows in their videos. However I ran this setup with tool 2 in the spindle and it crashed into the top of the wood stock. G code looks fine, has T2 M6 G43 H2. Doesn't seem to be loading a Z tool offset?
Re: Manual Tool Change with TTS
« Reply #9 on: November 06, 2013, 11:03:12 AM »
I got it working. Its has something to do with all the BS jargon crap that BobCADs post is outputting. The first program is the original. The second program has all the crap removed and now it is working as it should. Anyone see what exactly in the code is causing this?

Original Program that would not load Z offsets:

(BEGIN PREDATOR NC HEADER)
(MCH_FILE=4AXVMILL.MCH)
(MTOOL T1 S4 D4. H5. A90. C.1875 DIAM_OFFSET 1 = 2.)
(MTOOL T2 S4 D4. H5. A118. C0. DIAM_OFFSET 2 = 2.)
(SBOX X-2. Y-2. Z-1. L4. W4. H1.)
(END PREDATOR NC HEADER)

%
O100
(PROGRAM NUMBER)
(PROGRAM NAME - TESTDRILL.TAP)
(POST -  MACH 3 MILL NO ATC)
(DATE - SUN. 10/20/2013)
(TIME - 05:22PM)

N01 G20 G40 G49 G54 G80 G90 G91.1
;N02 G53 Z0.

(JOB 1  HOLE  RANDOM POINT PATTERN)
(FEATURE DRILL HOLE)

;N03 T2 M6
N04 S31 M03
N05 G00 G90 G54 X0. Y0.
;N06 G43 H2 Z.1 M08
N07 G81 G98 X0. Y0. Z-.08 R.1 F3.
N08 G80
N09 G80
N10 M09
N11 M05
;N12 G53 Z0.
;N13 G53 X0. Y0.
N14 M00

(JOB 1  HOLE  RANDOM POINT PATTERN)
(FEATURE DRILL HOLE)

;N15 T3 M6
N16 S43 M03
N17 G00 G90 G54 X0. Y0.
;N18 G43 H3 Z.1 M08
N19 G83 G98 X0. Y0. Z-1.2017 R.1 Q.03 F1.
N20 G80
N21 G80
N22 M05
;N23 G53 Z0.
;N24 G53 Y0.

(END OF PROGRAM)

N25 M30
%


Same program but with all the crap removed and it works as it should:

N03 T2 M6
N04 S2000 M03
N05 G00 G90 G54 X0. Y0.
N06 G43 H2 Z.3 M08
N07 G81 G98 X0. Y0. Z-.08 R.1 F3.0
N08 G80
N09 G80
N10 M09
N11 M05
N12 G53 Z0.
N13 G53 X0. Y0.
N14 M00



;N15 T3 M6
N16 S43 M03
N17 G00 G90 G54 X0. Y0.
;N18 G43 H3 Z.1 M08
N19 G83 G98 X0. Y0. Z-1.2017 R.1 Q.1 F3.0
N20 G80
N21 G80
N22 M05
;N23 G53 Z0.
;N24 G53 Y0.

(END OF PROGRAM)

N25 M30
%