Hello Guest it is July 19, 2019, 01:15:39 PM

Author Topic: Modbus / MPG help...  (Read 9220 times)

0 Members and 1 Guest are viewing this topic.

Offline Hood

*
  •  25,849 25,849
  • Carnoustie, Scotland
    • View Profile
Re: Modbus / MPG help...
« Reply #20 on: February 17, 2014, 02:55:46 AM »
Ok I think I can see how they are doing it, can you load the screenset attached and see if it does as you want.
Hood

Offline Hood

*
  •  25,849 25,849
  • Carnoustie, Scotland
    • View Profile
Re: Modbus / MPG help...
« Reply #21 on: February 17, 2014, 03:45:56 AM »
Ok try this one instead, last one didnt seem to work as I expected, hopefully this one will.
Hood

Offline Hood

*
  •  25,849 25,849
  • Carnoustie, Scotland
    • View Profile
Re: Modbus / MPG help...
« Reply #22 on: February 17, 2014, 03:50:26 AM »
BTW the origin button on the pendant is actually meant to be GoToZero rather than set origin but I think you want it to be the latter. If that is the case then that is the way it should work in the above screenset, if not let me know and I can easily change it.
Hood

Offline Davek0974

*
  •  2,556 2,556
    • View Profile
    • DD Metal Products Ltd
Re: Modbus / MPG help...
« Reply #23 on: February 17, 2014, 04:03:50 AM »
Brilliant, that zero's just how i expected it to.

However, between that update and the previous one, something has altered the jog wheel, it now whizzes the axes up and down at super-rapid speed???


Dave
Bridgeport Mill, Mach3 V062, CSMIO-IP/A controller, AC Servo Drives

Offline Hood

*
  •  25,849 25,849
  • Carnoustie, Scotland
    • View Profile
Re: Modbus / MPG help...
« Reply #24 on: February 17, 2014, 04:17:15 AM »
Ok I probably changed some of the jog settings by the tab screen, either press the buttons on the Pendant to change to the settings you want or take off of Cont Jog mode by using the Tab screen,
Hood

Offline Davek0974

*
  •  2,556 2,556
    • View Profile
    • DD Metal Products Ltd
Re: Modbus / MPG help...
« Reply #25 on: February 17, 2014, 04:19:02 AM »
Ignore that last post, the jog speed on the screen pullout had jumped from 10 to 100, stuck it back down and we're all good to go.


Many thanks for the fix, I am most impressed with the support.

BTW what was the change ?

Dave
Bridgeport Mill, Mach3 V062, CSMIO-IP/A controller, AC Servo Drives

Offline Hood

*
  •  25,849 25,849
  • Carnoustie, Scotland
    • View Profile
Re: Modbus / MPG help...
« Reply #26 on: February 17, 2014, 04:51:18 AM »
The pendant uses a keyboard emulator so its sending keystrokes to Mach. Some of the buttons in Mach have default HotKeys set and Go To Zero is one and that is what the Origin button is actually meant to do on your Pendant. It is meant to send the Axes to work offset Zero position. That is not what you were wanting however so I modified the HotKeys for the GoToZ button and added an Origin button and assigned the HotKey to it.

The Plasma screenset however has a mix up in the HotKey assignment and instead of the GoToZ button only having the hotkey  Ctrl + O assigned the ToGo also had the same Hotkey assigned.
that is one of the reasons i personally detest hotkey setups as it is hard to work out where problems lie and can lead to all sorts of unexpected things, others however love them and once upon a time it was really the only way to get extra I/O into Mach for button presses.
Hood

Offline Davek0974

*
  •  2,556 2,556
    • View Profile
    • DD Metal Products Ltd
Re: Modbus / MPG help...
« Reply #27 on: February 17, 2014, 05:35:57 AM »
Brilliant, thanks again
Bridgeport Mill, Mach3 V062, CSMIO-IP/A controller, AC Servo Drives

Offline stirling

*
  • *
  •  2,188 2,188
  • UK
    • View Profile
    • www.razordance.co.uk
Re: Modbus / MPG help...
« Reply #28 on: February 17, 2014, 06:33:36 AM »
Nice one Hood - how did you ascertain it uses a keyboard emulator? I assume it's using the USB for that i.e. it's emulating a USB keyboard - yes? So why's it using the macropump and modbus for a select few keys at all? i.e. why not handle them all via keyboard emulation? and what's handling the handwheel i.e. the MPG clicks?

Ian

Offline Hood

*
  •  25,849 25,849
  • Carnoustie, Scotland
    • View Profile
Re: Modbus / MPG help...
« Reply #29 on: February 17, 2014, 07:03:16 AM »
Ian, it was the only other option it could be. I looked at the xml and it was not using a Brain or a Plugin so had to be doing it some way.
I knew it wasnt the analogue inputs so only thing left I could think of was HotKeys with a keyboard emulator. and that will be why the USB is needed.

The MPG itself  is using the ModIO internal settings originally implemented for the ModIO board from  Peter Homann.
Hood