Machsupport Forum

Mach Discussion => Mach4 General Discussion => Topic started by: Cbyrdtopper on February 16, 2017, 02:56:02 PM

Title: Prechange Tool Change
Post by: Cbyrdtopper on February 16, 2017, 02:56:02 PM
I'm wanting to add a Tool Prechange to my machine.  I've got my tool magazine being controlled via a Click PLC.  I'm sending the Pocket information to the PLC through Modbus Registers, and that is working very well. 

I just can't seem to figure out how to change the requested tool (mc.mcToolGetSelected(inst)) information outside the M6 Macro.  I thought it was done by putting a T# without the M6 on a line of code.  That doesn't seem to do it for me. 

Any ideas on how this  is accomplished?
Title: Re: Prechange Tool Change
Post by: smurph on February 22, 2017, 12:40:31 PM
See here: https://www.machsupport.com/forum/index.php/topic,34068.msg236802.html#msg236802 (https://www.machsupport.com/forum/index.php/topic,34068.msg236802.html#msg236802)