Hello Guest it is March 28, 2024, 12:49:01 PM

Author Topic: MPG on ModBus (not ModIO)  (Read 4653 times)

0 Members and 1 Guest are viewing this topic.

MPG on ModBus (not ModIO)
« on: January 13, 2008, 07:54:43 PM »
Hi,

i just get a ModBus-device to work with Mach3.

I'm able to switch any Mach3-Button by the pendant and to light any LED on my pendant.
Pots for Speed- and Feedoverride work too, but:

how get running jogging by a MPG ?

I'm using a CubLoc because ModIO was to small by In and Outs.

Has anyone tried to get MPG working on ModBus without ModIO ?
Have i to setup the MPG in Ports&Pins ?

Regards
Frank (without any idea what to do ...)

Offline poppabear

*
  • *
  •  2,235 2,235
  • Briceville, TN, USA
    • View Profile
Re: MPG on ModBus (not ModIO)
« Reply #1 on: January 13, 2008, 08:57:38 PM »
Yes you can do it with Aurturos boards the M1 series
fun times
Re: MPG on ModBus (not ModIO)
« Reply #2 on: January 14, 2008, 10:24:28 PM »
Hi,

i just get a ModBus-device to work with Mach3.

I'm able to switch any Mach3-Button by the pendant and to light any LED on my pendant.
Pots for Speed- and Feedoverride work too, but:

how get running jogging by a MPG ?

I'm using a CubLoc because ModIO was to small by In and Outs.

Has anyone tried to get MPG working on ModBus without ModIO ?
Have i to setup the MPG in Ports&Pins ?

Regards
Frank (without any idea what to do ...)


Frank,

You should have used a ModIO. ;D (Only joking)

The problem is most likely to be that you are not providing Mach with a 16 bit counter value. The counter is used to determine the how fast you are turning the MPG. Set up a counter in the Cubloc that just counts up at about 2KHz or so. Then read this in with the MPG count. Have a look at the ModIOMPG brain in Mach.

Cheers,

Peter.
----------------------------------------------------
Homann Designs
http://www.homanndesigns.com
email: peter at homanndesigns.com