On Thu, 19 Sep 2019, John Dammeyer wrote:
Date: Thu, 19 Sep 2019 23:01:01 -0700
From: John Dammeyer <[email protected]>
Reply-To: "Enhanced Machine Controller (EMC)"
<[email protected]>
To: "'Enhanced Machine Controller (EMC)'" <[email protected]>
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)
-----Original Message-----
From: John Dammeyer [mailto:[email protected]]
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 doesn??t 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:[email protected]]
> 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 <[email protected]>
> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-users
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users
_______________________________________________
Emc-users mailing list
[email protected]
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users