Hello Guest it is March 28, 2024, 11:26:57 AM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - DazTheGas

621
Mach4 General Discussion / Re: Auto Tool Zero
« on: November 23, 2015, 07:10:18 PM »
what version are you using?

Daz

622
Mach4 General Discussion / Re: Showing selected axis
« on: November 19, 2015, 09:53:33 AM »
can u post what you have the button assigned to and what mpg in mach4 you have set and i will duplicate locally.


Daz

623
Mach4 General Discussion / Re: Mach4 New Tabs
« on: November 12, 2015, 08:44:12 AM »
Actually just remembered, in 2686 it had to be moved to the PLC script and done in the first run section at the bottom of the script.

Daz

624
Mach4 General Discussion / Re: Mach4 New Tabs
« on: November 12, 2015, 07:34:57 AM »
Its not bad install 2686 had a bug and using the set tab cures it.

scr.SetProperty('MainTabs', 'Current Tab', '0')  needs to be in startup script

Daz

625
Mach4 General Discussion / Re: Mach4 New Tabs
« on: November 12, 2015, 01:55:21 AM »
on some versions the mach remembers what tab was showing when you leave the screen editor, if you go into screen editor highlight the start screen change something and then use the save screen from the drop down menus, this normally corrects the problem for me.

Daz

626
Mach4 General Discussion / Re: Showing selected axis
« on: November 09, 2015, 05:16:00 PM »
I will have a look tmoro but as far as I know the shuttle plugin has changed again since I did that code.

Daz

627
Mach4 General Discussion / Re: Showing selected axis
« on: November 09, 2015, 02:57:30 PM »
Go to ftp and d/l development version

Daz

628
Mach4 General Discussion / Re: Showing selected axis
« on: November 07, 2015, 08:22:54 AM »
Right Pedio, Ive setup my shuttle as follows

In the mach configuration/MPGs - Ive got the innerwheel set to mpg1

In the shuttle plugin config I have assigned the axis keys to MPG1 Select X - MPG1 Select Y - MPG1 Select Z

In the PLC script is

Just change to what you need..

Code: [Select]
if mc.mcMpgGetAxis(inst,1) == 0 then
scr.SetProperty('droCurrentX', 'Bg Color', 'Red')
else
scr.SetProperty('droCurrentX', 'Bg Color', 'Black')
end

if mc.mcMpgGetAxis(inst,1) == 1 then
scr.SetProperty('droCurrentY', 'Bg Color', 'Red')
else
scr.SetProperty('droCurrentY', 'Bg Color', 'Black')
end

if mc.mcMpgGetAxis(inst,1) == 2 then
scr.SetProperty('droCurrentZ', 'Bg Color', 'Red')
else
scr.SetProperty('droCurrentZ', 'Bg Color', 'Black')
end

Got to admit, I do like this shuttle :-)

Daz

629
Mach4 General Discussion / Re: Machine Position 0,0,0 reset???
« on: November 07, 2015, 03:46:24 AM »
As a quick way of doing things cant you use the buttons on the stock screen (Remember Position and Return to Position)

Daz

630
Mach4 General Discussion / Re: Showing selected axis
« on: November 06, 2015, 05:33:59 PM »
Just for Pedio, I've figured out your original question but will have to explain when I get home, not this one finger iPad on a typical Friday night.

Daz