Re: Re: Auto tool changers
Posted by
rehenry
on 2002-02-27 10:13:39 UTC
Ballendo
I snipped a bunch from your interesting reply. I hope this post gets to
the point that I was trying to make with respect to your suggestion that
tool change Txx words should be coded several blocks before the
corresponding tool change M6 is programmed.
Disclaimer -- This post applies primarily to machines that use a "next
tool ready" type of tool changer.
I did a little testing on the EMC. Four tools is probably overkill but
here is the program I ran.
-----tooltest.ngc-----
n1 g0 x0 y0 z0 (Tool change test program tooltest.ngc)
n2 t1 m6 (Preset and load tool 1)
n3 g1 f5 z-1
n4 x1
n5 y1
n6 x0
n7 y0
n8 g0 z0
n9 t2 m6 (Preset and load tool 2)
n10 g1 f5 z-1
n11 x1
n12 y1
n13 x0
n14 y0
n15 g0 z0
n16 t3 m6 ((Preset and load tool 3)
n17 g1 z-1
n18 x1
n19 y1
n20 x0
n21 y0
n22 g0 z0
n23 t4 m6 ((Preset and load tool 4)
n24 g1 z-1
n25 x1
n26 y1
n27 x0
n28 y0
n29 g0 z0
n30 m2
-----end of tooltest.ngc-----
I asked for full debugging so that all of the EMC commands would echo to
the terminal. Debug shows read ahead, look ahead, commands, and task
completion in the order that they occur.
The EMC uses an internal command EMC_TOOL_PREPARE to indicate that the
tool in pocket #xx needs to be moved into place. It uses a command
EMC_TOOL_LOAD to indicate that it is time to change the tool in the
spindle.
What we are looking for is the interval between the issuing of a
EMC_TOOL_PREPARE command and the EMC_TOOL_LOAD command. I'll ignore the
first tool change command since it can't be programmed to make any
difference for our discussion. The terminal output shown below is for
the second tool. Immediately before this quoted block there is a series
of motion commands as the interpreter looks ahead and begins to execute
lines numbered n3-n8.
-----debug output-----
...
Issuing EMC_TOOL_PREPARE -- (+1104,+16, +0, +2,)
Motion id 3 took 11.980118 seconds.
Motion id 4 took 11.979220 seconds.
Motion id 5 took 11.969769 seconds.
Motion id 6 took 11.959347 seconds.
Motion id 7 took 11.969727 seconds.
Motion id 8 took 0.949585 seconds.
Motion id 0 took 0.000005 seconds.
Issuing EMC_TOOL_LOAD -- (+1105,+12, +0,)
...
-----end-----
There it is as clear as you could want. While running this program the
command to prepare a tool is issued nearly a minute before the tool
change command even though they exist in the same program block. This
timing depends upon feedrate but it illustrates is that as soon as the
interpreter loads the tool change line into it's look ahead buffers, it
issues the tool prepare command! This timing is typical for subsequent
tool changes as well.
Now this brings up the question, "Okay so the command is issued early but
what does the machine do with the command." The answer is all PLC and
only PLC.
"Processing and completion sequences must be incorporated on the PLC side
for all T commands."
Your servant notion for the plc really denegrates a complex, symbiotic
relationship between these two systems. While there are many "hobby"
level machines that use little or no PLC, most CNC machines have
extensive PLC logic that intertwine Machine and motion. For example, in
this tool context, once the change tool (m6) command is given by the CNC,
it doesn't do jack until the PLC says, "I've got this tool in place and
it's ready for you to use." In that case who is the servant of whom?
Unless a CNC control has no look ahead or uses look ahead in the very
narrow, motion only way that you describe above, I can't see any value to
programming the way these experts suggest. In fact my initial thought
when I read your suggestion was that this was an urban legend that grew
from programming the first ever tool hive fitted to a 60's generation NC
controller running from punched tape. I really hope that even the hobby
level CNC units have moved past that.
I see your disclaimer "most good programers" but I guess that I program
using the exception 'cause a single line of tool change code is a lot
easier for a human to understand that a Txx block followed by a bunch of
blocks that RUN USING A TOOL OTHER THAN THE ONE indicated.
At the very least we can use the result of the test described above to
show that this programming technique has little value for the EMC.
HTH
RayH -- U.P. Michigan
I snipped a bunch from your interesting reply. I hope this post gets to
the point that I was trying to make with respect to your suggestion that
tool change Txx words should be coded several blocks before the
corresponding tool change M6 is programmed.
Disclaimer -- This post applies primarily to machines that use a "next
tool ready" type of tool changer.
> From: "ballendo" <ballendo@...><s>
> Most good programmers will list the "T" word at least A FEW BLOCKS<s>
> AHEAD OF THE M06, so the toolchange turret can "get ready"(rotate;
> talking 'bout mills here) so as to have the next tool in position for
> a quicker tool change WHEN THE M06 ACTUALLY INITIATES THE PHYSICAL
> CHANGE to the new tool.
> Lookahead exists to allow cutter radius comp, and to prevent crashes<s>
> and gouging from accel/decel issues.
I did a little testing on the EMC. Four tools is probably overkill but
here is the program I ran.
-----tooltest.ngc-----
n1 g0 x0 y0 z0 (Tool change test program tooltest.ngc)
n2 t1 m6 (Preset and load tool 1)
n3 g1 f5 z-1
n4 x1
n5 y1
n6 x0
n7 y0
n8 g0 z0
n9 t2 m6 (Preset and load tool 2)
n10 g1 f5 z-1
n11 x1
n12 y1
n13 x0
n14 y0
n15 g0 z0
n16 t3 m6 ((Preset and load tool 3)
n17 g1 z-1
n18 x1
n19 y1
n20 x0
n21 y0
n22 g0 z0
n23 t4 m6 ((Preset and load tool 4)
n24 g1 z-1
n25 x1
n26 y1
n27 x0
n28 y0
n29 g0 z0
n30 m2
-----end of tooltest.ngc-----
I asked for full debugging so that all of the EMC commands would echo to
the terminal. Debug shows read ahead, look ahead, commands, and task
completion in the order that they occur.
The EMC uses an internal command EMC_TOOL_PREPARE to indicate that the
tool in pocket #xx needs to be moved into place. It uses a command
EMC_TOOL_LOAD to indicate that it is time to change the tool in the
spindle.
What we are looking for is the interval between the issuing of a
EMC_TOOL_PREPARE command and the EMC_TOOL_LOAD command. I'll ignore the
first tool change command since it can't be programmed to make any
difference for our discussion. The terminal output shown below is for
the second tool. Immediately before this quoted block there is a series
of motion commands as the interpreter looks ahead and begins to execute
lines numbered n3-n8.
-----debug output-----
...
Issuing EMC_TOOL_PREPARE -- (+1104,+16, +0, +2,)
Motion id 3 took 11.980118 seconds.
Motion id 4 took 11.979220 seconds.
Motion id 5 took 11.969769 seconds.
Motion id 6 took 11.959347 seconds.
Motion id 7 took 11.969727 seconds.
Motion id 8 took 0.949585 seconds.
Motion id 0 took 0.000005 seconds.
Issuing EMC_TOOL_LOAD -- (+1105,+12, +0,)
...
-----end-----
There it is as clear as you could want. While running this program the
command to prepare a tool is issued nearly a minute before the tool
change command even though they exist in the same program block. This
timing depends upon feedrate but it illustrates is that as soon as the
interpreter loads the tool change line into it's look ahead buffers, it
issues the tool prepare command! This timing is typical for subsequent
tool changes as well.
Now this brings up the question, "Okay so the command is issued early but
what does the machine do with the command." The answer is all PLC and
only PLC.
> PLC's exist as a semi-I looked in a Meldas 50 control book that I have on hand. It says,
> intelligent "servant" OF the control, which distributes the "brain"
> power needed to run the machine. But I've not seen them work together
> to "predict/discern" the next tool and get it ready, tho' they
> could...
"Processing and completion sequences must be incorporated on the PLC side
for all T commands."
Your servant notion for the plc really denegrates a complex, symbiotic
relationship between these two systems. While there are many "hobby"
level machines that use little or no PLC, most CNC machines have
extensive PLC logic that intertwine Machine and motion. For example, in
this tool context, once the change tool (m6) command is given by the CNC,
it doesn't do jack until the PLC says, "I've got this tool in place and
it's ready for you to use." In that case who is the servant of whom?
Unless a CNC control has no look ahead or uses look ahead in the very
narrow, motion only way that you describe above, I can't see any value to
programming the way these experts suggest. In fact my initial thought
when I read your suggestion was that this was an urban legend that grew
from programming the first ever tool hive fitted to a 60's generation NC
controller running from punched tape. I really hope that even the hobby
level CNC units have moved past that.
I see your disclaimer "most good programers" but I guess that I program
using the exception 'cause a single line of tool change code is a lot
easier for a human to understand that a Txx block followed by a bunch of
blocks that RUN USING A TOOL OTHER THAN THE ONE indicated.
At the very least we can use the result of the test described above to
show that this programming technique has little value for the EMC.
HTH
RayH -- U.P. Michigan
Discussion Thread
John H.
2002-02-21 22:08:45 UTC
Auto tool changers
audiomaker2000
2002-02-22 03:33:21 UTC
Re: Auto tool changers
David M. Munro
2002-02-22 04:14:12 UTC
Re: [CAD_CAM_EDM_DRO] Auto tool changers
dave_ace_me
2002-02-22 04:25:26 UTC
Re: Auto tool changers
Smoke
2002-02-22 06:14:23 UTC
Re: [CAD_CAM_EDM_DRO] Re: Auto tool changers
wanliker@a...
2002-02-22 07:05:58 UTC
Re: [CAD_CAM_EDM_DRO] Auto tool changers
Marcus & Eva
2002-02-22 07:24:41 UTC
Re: [CAD_CAM_EDM_DRO] Auto tool changers
ballendo
2002-02-22 08:03:12 UTC
Re: Auto tool changers
Drew Rogge
2002-02-22 08:16:15 UTC
Re: [CAD_CAM_EDM_DRO] Auto tool changers
Alan Marconett KM6VV
2002-02-22 11:41:34 UTC
Re: [CAD_CAM_EDM_DRO] Auto tool changers
Drew Rogge
2002-02-22 11:49:37 UTC
Re: [CAD_CAM_EDM_DRO] Auto tool changers
Alan Marconett KM6VV
2002-02-22 13:07:10 UTC
Re: [CAD_CAM_EDM_DRO] Auto tool changers
John H.
2002-02-22 13:13:40 UTC
Re: [CAD_CAM_EDM_DRO] Auto tool changers
wanliker@a...
2002-02-22 14:09:18 UTC
Re: [CAD_CAM_EDM_DRO] Auto tool changers
wanliker@a...
2002-02-22 14:11:08 UTC
Re: [CAD_CAM_EDM_DRO] Auto tool changers
wanliker@a...
2002-02-22 14:59:20 UTC
Re: [CAD_CAM_EDM_DRO] Auto tool changers
wanliker@a...
2002-02-22 15:26:11 UTC
Re: [CAD_CAM_EDM_DRO] Auto tool changers
Chris Clough
2002-02-22 15:30:12 UTC
PLC Programming - anyone?
Raymond Heckert
2002-02-22 15:56:39 UTC
Re: [CAD_CAM_EDM_DRO] Auto tool changers
Doug Harrison
2002-02-22 16:02:18 UTC
Re: [CAD_CAM_EDM_DRO] PLC Programming - anyone?
dave_ace_me
2002-02-22 21:23:36 UTC
Re: PLC Programming - anyone?
Chris Clough
2002-02-22 22:35:29 UTC
RE: [CAD_CAM_EDM_DRO] Re: PLC Programming - anyone?
dave_ace_me
2002-02-23 05:26:56 UTC
Re: PLC Programming - anyone?
dave_ace_me
2002-02-23 05:41:56 UTC
Re: PLC Programming - anyone?
rekmac
2002-02-23 07:03:23 UTC
Re: PLC Programming - anyone?
ballendo
2002-02-23 08:18:48 UTC
Re: Auto tool changers
ballendo
2002-02-23 08:30:03 UTC
Re: Auto tool changers
Sven Peter
2002-02-23 08:32:07 UTC
Re: [CAD_CAM_EDM_DRO] PLC Programming - anyone?
Alan Marconett KM6VV
2002-02-23 10:17:03 UTC
Re: Auto tool changers
rekmac
2002-02-23 10:54:17 UTC
Re: Auto tool changers
Alan Marconett KM6VV
2002-02-23 11:36:16 UTC
Re: Auto tool changers
wanliker@a...
2002-02-23 12:40:59 UTC
Re: [CAD_CAM_EDM_DRO] Re: Auto tool changers
wanliker@a...
2002-02-23 12:49:28 UTC
Re: [CAD_CAM_EDM_DRO] Re: Auto tool changers
doug98105
2002-02-23 12:58:44 UTC
Re: Auto tool changers
Alan Marconett KM6VV
2002-02-23 14:11:37 UTC
Re: Auto tool changers
Smoke
2002-02-23 14:24:16 UTC
Re: [CAD_CAM_EDM_DRO] Re: Auto tool changers
wanliker@a...
2002-02-23 15:01:39 UTC
Re: [CAD_CAM_EDM_DRO] Re: Auto tool changers
doug98105
2002-02-23 15:36:57 UTC
Re: Auto tool changers
ballendo
2002-02-23 15:36:58 UTC
Re: Auto tool changers (more)
ballendo
2002-02-23 15:58:01 UTC
Re: Auto tool changers
ballendo
2002-02-23 16:04:10 UTC
Re: Auto tool changers
ballendo
2002-02-23 16:12:28 UTC
Re: Auto tool changers
John H.
2002-02-23 16:59:41 UTC
Re: [CAD_CAM_EDM_DRO] Re: Auto tool changers (more)
Alan Marconett KM6VV
2002-02-23 17:09:14 UTC
Re: Auto tool changers (more)
Alan Marconett KM6VV
2002-02-23 17:15:45 UTC
Re: Auto tool changers
Smoke
2002-02-23 18:13:47 UTC
Re: [CAD_CAM_EDM_DRO] Re: Auto tool changers
doug98105
2002-02-23 18:44:04 UTC
Re: Auto tool changers
Smoke
2002-02-23 20:32:04 UTC
Re: [CAD_CAM_EDM_DRO] Re: Auto tool changers
ballendo
2002-02-24 10:46:09 UTC
Re: Auto tool changers (more)
ballendo
2002-02-24 23:59:32 UTC
Re: Auto tool changers
rehenry
2002-02-25 06:11:10 UTC
Re: Re: Auto tool changers
imserv1
2002-02-25 08:04:28 UTC
Re: Auto tool changers
Brian Pitt
2002-02-25 09:28:25 UTC
Re: [CAD_CAM_EDM_DRO] Re: Re: Auto tool changers
Alan Marconett KM6VV
2002-02-25 10:57:02 UTC
Re: Auto tool changers
John H.
2002-02-25 14:39:40 UTC
Re: [CAD_CAM_EDM_DRO] Re: Auto tool changers
Raymond Heckert
2002-02-25 17:50:20 UTC
Re: [CAD_CAM_EDM_DRO] Re: Auto tool changers
ballendo
2002-02-26 02:24:49 UTC
Re: Auto tool changers
ballendo
2002-02-26 03:49:20 UTC
Re: Auto tool changers
stephen_stallings
2002-02-26 10:24:38 UTC
Re: Auto tool changers - preloading
imserv1
2002-02-26 14:53:04 UTC
Re: Auto tool changers - preloading
wanliker@a...
2002-02-26 16:07:22 UTC
Re: [CAD_CAM_EDM_DRO] Re: Auto tool changers - preloading
imserv1
2002-02-26 19:01:24 UTC
Re: Auto tool changers - preloading
John H.
2002-02-26 20:37:10 UTC
Re: [CAD_CAM_EDM_DRO] Re: Auto tool changers
rehenry
2002-02-27 10:13:39 UTC
Re: Re: Auto tool changers
Scot Rogers
2002-02-27 21:47:49 UTC
RE: [CAD_CAM_EDM_DRO] Re: Auto tool changers
ballendo
2002-02-28 03:31:40 UTC
Re: Auto tool changers