Hello Guest it is October 22, 2019, 09:18:18 PM

Author Topic: MPG on ModBus (not ModIO)  (Read 3623 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,233 2,233
  • Briceville, TN, USA
    • View Profile
    • S S Systems, LLC
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
Commercial Mach3 & Mach 4, Design/Build/Retrofit CNC and Industrial machines.
http://www.ss-systems-llc.com/
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