Hi Peter,

See below.

> -----Original Message-----
> From: Peter C. Wallace [mailto:p...@mesanet.com]
> Sent: September-20-19 6:57 AM
> To: Enhanced Machine Controller (EMC)
> Subject: Re: [Emc-users] MESA 7i92H Power
> 
> On Thu, 19 Sep 2019, John Dammeyer wrote:
> 
> > Date: Thu, 19 Sep 2019 23:01:01 -0700
> > From: John Dammeyer <jo...@autoartisans.com>
> > Reply-To: "Enhanced Machine Controller (EMC)"
> >     <emc-users@lists.sourceforge.net>
> > To: "'Enhanced Machine Controller (EMC)'" <emc-
> us...@lists.sourceforge.net>
> > Subject: Re: [Emc-users] MESA 7i92H Power
> >
> > I've been bread boarding some circuits and mulling over the PWM to 10V
> connection.
> 
> Just to review, my project here is to take a WIN-XP (7) MACH3 parallel port
> based BoB system and convert it into LinuxCNC without changing any wiring.
> I've had that working without any problems.  I can get faster than parallel
> port stepping when I borrow my USB SmoothStepper from my CNC Router.
> 
> The equivalent approach was to buy the MESA 7i92H Ethernet to Parallel Port
> card plug the cable in place of the parallel port from the PC.
> 
> However the problem is that under MACH3 I can select which pin is the PWM
> and
> which pin is the direction and I can't do that with the 7i92H.  I've gone
> through the pin files that configure the MESA
> 
> They all assign
> IO Connections for P2
> Pin#  I/O   Pri. func    Sec. func       Chan      Pin func        Pin Dir
> 14      1   IOPort       PWM              0        PWM             (Out)
> 
> And in 7i92_C11Gx2D.pin
> 16      5   IOPort       None
> Or in 7i92_R990x2D.pin
> 16      5   IOPort       PWM              0        Dir             (Out)
> 
> Reading the docs I can't figure out how to swap the pin functions and create
> a
> new pin.  Has anyone writing a step by step guide?
> 
> Thanks
> John
> 
> 
> The pin files just list the current FPGA configuration, you would need a new
> bit
> file to change the configuration, but note that for parallel port BOBs,
> the PWM direction signal is usually left as GPIO, so as long as the PWM pin is
> correct you can control direction in the hal file.
> 
> Here are the current parallel port configs in the 7I92 zip file
> 7i92_5ABOB_Enc
> 7i92_MX3660x2D
> 7i92_5ABOBx2D
> 7i92_BENEZANx2D
> 7i92_MX4660x2D
> 7i92_C11Gx2D
> 7i92_R990x2D
> 7i92_C11x2D
> 7i92_DMMBOB1x2D
> 7i92_G540x2D
> 
> What is the PWM pin on your BOB and what is the BOB name?
> (I may already have it done)

I'm using the in 7i92_C11Gx2D.pin but I could use  7i92_R990x2D.pin which 
allocates PWM DIR to pin 16.

What would be best is a copy of 7i92_C11Gx2D or 7i92_R990x2D called 
7i92_PMDXx2D with the DB-25 pin 14 and 16 operation swapped so the PWM engine 
is applied to DB-25 pin 16 I/O5 and PWM Direction is applied to DB-25 pin 14 
I/O 1.  Now there may well be some systems out there that use PWM to 10V for 
spindle motor VFDs and do not use a direction signal so it should be possible 
to use the PWM DIR pin as a general output.

Here's a link to a photo of the PMDX-126.  The smaller J18 (10 pin) connector 
is for their option card which can generate 0-10V and DIR for VFD spindle 
applications using pins 16 and 14 of the input DB-25).  Unfortunately it cannot 
be changed to use alternate pins so it has to be done in the software of the 
FPGA.
https://www.pmdx.com/Images/PMDX-126_1200.jpg

https://www.pmdx.com/PMDX-107

I also have an older version called the PMDX-125 that uses the USB Smooth 
Stepper.  It's likely that if I can get the mill version totally converted to 
my satisfaction that I'd get another MESA 7i92H to replace the smooth stepper 
and run LinuxCNC on the JGRO CNC Router too.

Thanks
John

> 
> 
> > -----Original Message-----
> > From: John Dammeyer [mailto:jo...@autoartisans.com]
> > Sent: September-16-19 9:21 AM
> > To: 'Enhanced Machine Controller (EMC)'
> > Subject: Re: [Emc-users] MESA 7i92H Power
> >
> > Boards are on the way.  Should be here Wednesday.  Total cost so far,
> unless
> > there are duties and taxes, is $22 Cdn for 5 boards.
> >
> >      If all goes well the ENABLE button on the LinuxCNC display should now
> be
> > able reset the HP_UHU drives, I'll have 5V power for the MESA 7i92H, the
> > FAULT signal from the STMBL will be wire OR'd with the FAULT from the
> two
> > HP_UHU drives and the now isolated STEP/DIR/ENALE signals will be RS-422
> > from an RJ45 socket to the STMBL so I can use a short Shielded Ethernet
> > Cable.
> >
> >      Next step is to get the DB-25 to RJ45 adaptor board made so the
> Harmonic
> > drive doesnt have to sit 18" from the control cabinet.  And then finish
> the
> > crucible so I can cast the mount and faceplate for the Harmonic Drive.
> >
> >      This weekend I also designed a third board that isolates the PC
> > PWM/DIR/ENABLE signals and translates the PWM to 0V-10V for the
> spindle
> > speed control.  This is for the Bergerda AC Servo which will eventually also
> be
> > run with STEP/DIR off the second port of the MESA7i92H but I need to
> design
> > an adaptor board for that yet since the port pins aren't all used on the
> second
> > PMDX-126 BoB.   And my goal is first to transfer a single parallel port 
> > based
> > MACH3 system into LinuxCNC.
> >
> >      I'd have to buy a custom proprietary board from PMDX to use all the P1
> > parallel port pins and they consider that part of the board connection
> > proprietary for their own modules.  So I can't design anything that would
> plug
> > into it.  Instead I'll just design a board for the P1 Connector directly to 
> > the
> > MESA and I won't recommend PMDX.  Their loss.
> >
> > John
> >
> >
> >
> > > -----Original Message-----
> > > From: andy pugh [mailto:bodge...@gmail.com]
> > > Sent: September-15-19 3:20 PM
> > > To: Enhanced Machine Controller (EMC)
> > > Subject: Re: [Emc-users] MESA 7i92H Power
> > >
> > > On Sun, 15 Sep 2019 at 00:44, John Dammeyer
> <jo...@autoartisans.com>
> > > wrote:
> > >
> > > >
> > > > Done that before for RS232 to RS485 dongles.  What do yours do?
> > > >
> > >
> > > Those were RPi bidirectional GPIO level shifters,
> > >
> > > --
> > > atp
> > > "A motorcycle is a bicycle with a pandemonium attachment and is
> designed
> > > for the especial use of mechanical geniuses, daredevils and lunatics."
> > > ? George Fitch, Atlanta Constitution Newspaper, 1916
> > >
> > > _______________________________________________
> > > Emc-users mailing list
> > > Emc-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/emc-users
> >
> >
> >
> > _______________________________________________
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
> 
> 
> 
> _______________________________________________
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
> 
> Peter Wallace
> Mesa Electronics
> 
> (\__/)
> (='.'=) This is Bunny. Copy and paste bunny into your
> (")_(") signature to help him gain world domination.



_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to