Hello Guest it is March 29, 2024, 02:26:01 AM

Author Topic: Showing selected axis  (Read 11781 times)

0 Members and 1 Guest are viewing this topic.

Re: Showing selected axis
« Reply #20 on: November 04, 2015, 02:19:46 AM »
Patton, thanks very much for the insight that has cleared up a number of questions I had on the XHC pendant as I've not seen much written about them from an actual user, and you did get a really good deal on a ShuttlePro.

Thanks very much Blockhead for the info, I'll definatly be having a look into both those options.

Rob
Rob

Albert Einstein ― “If you can't explain it to a six year old, you don't understand it yourself.”

Offline Pedio

*
  •  200 200
    • View Profile
Re: Showing selected axis
« Reply #21 on: November 04, 2015, 09:12:33 AM »
My shuttlepro buttons are as followed:

Top row   X=0     Y=0    X=0    All=0
(these allow me to zero any axis from the pendant)

Second row  X    Y   Z   Move window
(the first three allow me to change the focus between the axis - the last button allows me to move the M4 window between the main computer and the touch screen by the CNC machine - the main computer is ~ 20 feet away from the table)

Button on left of wheels - Feedrate Minus

Button or right side of wheel - Feedrate Plus

Buttons below wheel on right - Go    and     Estop

Buttons below wheel on left - Jog rate increase   and    Jog rate decrease
(don't use these much - will probably change them for tool change or park head fot loading the table)

The wheels in the middle are preset
Outside wheel is for course moves - the farther over you turn the wheel the faster the selected axis moves. You move this wheel one way for one direction and the other way for the other direction.

The center wheel moves one increment at a time. It is set by the current Jog increment on the M4 screen. For example I leave mine at .01 and then you can spin the center knob and it will move the axis in a smooth manner in the direction you spin the knob (really cool to do touchoff or fine tuning of setting the 0,0,0 of the work piece.

One thing I found out when setting up the ShuttlePro is that you can use the ShuttlePro setup AND the M4 module at the same time. For example I had been doing previous testing to see if I could get keyboard inputs to work with the ShuttlePro. When I installed the M4 module I found I could move different Axis at the same time. For example the X and Y would both move. Just be careful about how you use the ShuttlePro interface. I used the ShuttlePro interface to configure my move window button and the M4 interface to program the rest of the buttons.

I mounted the ShuttlePro to my pendant on the machine using 2 sided tape. It is right beside my switch and POT for the spindle.

Very useful piece of equipment.
Re: Showing selected axis
« Reply #22 on: November 04, 2015, 09:49:46 AM »
Thanks Steve

yep there it is,  ;) I must have missed that in the release notes.  ::)

Offline Pedio

*
  •  200 200
    • View Profile
Re: Showing selected axis
« Reply #23 on: November 04, 2015, 10:05:57 AM »
I will check the version I use for the inner wheel programming. I am using one version older of M4. The lastest version crashes on startup for me.

Perhaps I can use the new version of the ShuttlePro module. I will check.
Showing selected axis
« Reply #24 on: November 06, 2015, 04:16:29 PM »
Arduino Pro Micro have native USB support.


Sent from my iPhone using Tapatalk

Offline dude1

*
  •  1,253 1,253
    • View Profile
Re: Showing selected axis
« Reply #25 on: November 06, 2015, 04:51:51 PM »
all 32u4 boards do, it just not that simple to use that`s why I use tennsy boards cheaper, faster, better code, and very small

Offline DazTheGas

*
  •  778 778
  • DazTheGas
    • View Profile
Re: Showing selected axis
« Reply #26 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
New For 2022 - Instagram: dazthegas

Offline DazTheGas

*
  •  778 778
  • DazTheGas
    • View Profile
Re: Showing selected axis
« Reply #27 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
New For 2022 - Instagram: dazthegas

Offline Pedio

*
  •  200 200
    • View Profile
Re: Showing selected axis
« Reply #28 on: November 09, 2015, 08:53:25 AM »
Thanks Daz - The shuttlepro is pretty slick.

Offline Pedio

*
  •  200 200
    • View Profile
Re: Showing selected axis
« Reply #29 on: November 09, 2015, 02:48:54 PM »
Daz,

I don't seem to  have the MPG tab that Ya-Nvr-No shows in his post on this thread. Thoughts?