VERICUT Users' Forum

Due to relentless spammers, we are no longer automatically accepting new forum registrations. If you wish to register for this forum, please send an e-mail to: info@cgtech.com

You are not logged in.

#1 2014-04-11 13:51:07

ecapatto
Member
Registered: 2010-05-27
Posts: 11

Tool Change

Hi folks,

I would like o know why this works:

CGTECH_MACRO "ActivateToolSubsystem" "" 1004
CGTECH_MACRO "UnMountTool" "T2001"
CGTECH_MACRO "MountTool" "T1004" #TL

And this doesn't:

CGTECH_MACRO "ActivateToolSubsystem" "" 1004
CGTECH_MACRO "UnMountTool" "T2001"
T=TL M6

VC simply doesn't mount the tool with the tool change, just with mount macro, this works partially because the tool is mounted on the TOOL component BUT no material removal.

Is there a way to complete the Mount macro change without the M6 or "ToolChangeAlpha" in order to get the mounted tool ready for the duty?

My tool component, one of many, is "T1004" index 1004, the tool is a string that cames from the TL variable, just the mount macro is capable to load the tool on the TOOL component while ToolChangeAlpha and ToolChange just can't even using correctly the ToolCode and ToolCodeAlpha.

Thank you in advance,
Eduardo


E.Capatto
NC Programer - CAV Support - Software Developer
GE Oil and Gas Brazil

Offline

#2 2014-04-15 10:30:00

Tony
Moderator
From: Crewe, England
Registered: 2007-02-20
Posts: 181
Website

Re: Tool Change

The important thing to remember about the Un/MountTool macro is that it is not a tool change.

All its for is moving the tool on to/from a specified tool component, nothing else.


Tony

Offline

#3 2014-04-19 11:14:29

ecapatto
Member
Registered: 2010-05-27
Posts: 11

Re: Tool Change

You're right, it's supposed to put the tool somewhere, very usefull on complex tool changes. For some reason even using just a single subsystem on my project I needed to call the "ChangeSubSystemID" macro just before the T=bla M6, that done I just moved the tool arround the grippers arms and chain with the MountTool/UnMountTool macros and finally assembled it on the active TOOL component with the M6 (basically "ToolChangeAlpha" macro).

The question at that time was if was there a way to activate the Mounted tool in order to get it full functional, I mean, doing the things step by step.

In other words it is working right now, but what is the "ToolChangeAlpha" made of? Could it get broken into several other macros or routines that tell to VC, this tool will be active and will remove material... or whatever.

Thank you very much,
Eduardo


E.Capatto
NC Programer - CAV Support - Software Developer
GE Oil and Gas Brazil

Offline

#4 2014-04-22 08:59:05

Tony
Moderator
From: Crewe, England
Registered: 2007-02-20
Posts: 181
Website

Re: Tool Change

ToolchangeAlpha is the same as Toolchange except is uses the Tool ID.  There is no current way to break these macros down further.

Using the macro ToolChangeAlphaIfDifferentMachineSubroutine helps making/resolving toolchange subroutines easier.  These are usually called by M6 or similar and looks for a subroutine called toolchangalpha.

In the toolchangealpha subroutine you can use CGTECH_MACRO "OverrideText" "OverrideValue" to call each macro.


Tony

Offline

Board footer