Having just messed with toolchange macros, I'd be willing to bet you'd HAVE to issue an M6 before any changes would take place. But you can do that through MDI.
Regards,
Ray L.
I'll have to play with it. My M6 macro sends the carriage to the tool change position. I'm curious what would happen when I then hit cycle start.
Vince
Vince,
I can see how you could probably Mickey Mouse it - Modify your M6 macros to distinguish between tools in different number ranges. So, for example, your normal tools are numbered 0-99. If you see a tool number from 100-199, then you subtract 100 from the tool number, and set a flag reminding you to skip the move.
The M6Start macro does something like this:
tool = GetSelectedTool()
SetUSerDRO(*********, 1) REM This tells you to do the move
if (tool > 99) then
tool = tool - 100
SetUSerDRO(*********, 0) REM This tells you to skip the move
end if
SetCurrentTool( tool )
The M6End macro does something like this:
Flag = GetUserDRO(*********)
if (Flag == 1) then
Do the move to toolchange position here, only if a "normal" toolchange
end if
When you change tools mid-stream, issue an MDI toolchange, but give a tool number of the actual number plus 100. It's Mickey Mouse, but I think it would work. I expect there's a "cleaner" way to do it, but I don't know enough about how toolchanges work to know what that might be.
Regards,
Ray L.