Peter,

The firmware file is SVTP6_7I39.BIT.

The excerpt from the ini file is:

[HOSTMOT2]
DRIVER=hm2_pci
BOARD=5i20
CONFIG="firmware=hm2/5i20/SVTP6_7I39.BIT num_encoders=3 num_pwmgens=1
num_3pwmgens=2 num_stepgens=1"
[EMC]


Right now, if I comment out all the lines in the hal file that touch any of
the stepgen or pwmgen pins, the axis gui will start but there are no pins
created for the pwmgen or the stepgen. While the correct number of encoders
are created, the third (spindle through the 7i33TA) isn't showing any
movement when the spindle is turned by hand.


>From what I can tell from reading the 5i20/7i39/7i33TA manuals, hal file,
and looking at the wiring:

P2 on the 5i20 goes to the 7i39 and uses the pinout in the 7i39 manual.
This runs the X and Y BLDC servos and uses two of the encoders and the 2
3-phase pwmgens from the config line in the ini.

P3 on the 5i20 goes to the 7i33TA and uses the pinout in the 7i33TA manual.
This is used for the analog signal to the spindle drive and the spindle
encoder and uses the third encoder and the one regular pwmgen from the
config line in the ini. If the 5i20 doesn't have enough firmware space for
the other 3 pwms and encoders on the 7i33, no worries, I wasn't really
planning on using them anyway.

P3 on the 5i20 goes to a OPTO22 board. GPIO pins 48 and 49 are used for
step and direction from the stepgen. In the HAL file, they get set to open
drain and inverted but no other connections are made. Physically those two
pins go to the setp/dir pins on the Gecko drive that runs the Z-axis. The
remaining GPIO pins, 50 -71, are just used for regular field I/O (limit
switches, relays, solenoids, etc.).


-Chris


On Sat, Jan 30, 2016 at 10:04 AM, Peter C. Wallace <[email protected]> wrote:

> On Fri, 29 Jan 2016, Chris Kelley wrote:
>
> > Date: Fri, 29 Jan 2016 21:18:54 -0600
> > From: Chris Kelley <[email protected]>
> > Reply-To: "Enhanced Machine Controller (EMC)"
> >     <[email protected]>
> > To: "Enhanced Machine Controller (EMC)" <[email protected]
> >
> > Subject: [Emc-users] Firmware for Mesa 5i20+7i39+7i33TA+Opto22
> >
> > Greetings all,
> >
> > I recently "inherited" a little Smithy 622 CNC mill that had already been
> > converted to LinuxCNC.
> >
> > The machine has BLDC servos on the X and Y (run by the 7i39 on P1 of the
> > 5i20), a spindle encoder and analog drive (run from the 7i33TA on P2 of
> the
> > 5i20), and a stepper for the Z-axis (run along with the field I/O from
> the
> > Opto22 board on P3 of the 5i20).
> >
> > Before tonight, everything was working great. So, naturally, I had to
> mess
> > with it.
> >
> > The PC was running 2.5 on Ubuntu 10, so I decided to reload the machine
> > with a clean LinuxCNC 2.7/Debian Wheezy install (from the .iso).
> >
> > After the install, I copied over the (previously) working ini/hal config
> > files (attached). But, now when I try to start up LinuxCNC, I get an
> error
> > that the hm2_5i20.0.stepgen.00.enable pin cannot be found.
> >
> >> From what I can tell, even though the config is calling for 3 encoders,
> 2
> > 3-phase PWMs, 1 regular PWM, and 1 stepgen, only the encoders and 3-phase
> > PWMs are getting created.
> >
> > The only thing I can think of is that the previous owner was using a
> > modified version of the SVTP6_7I39.BIT firmware that allowed for the
> > creation of stepgens and regular pwmgens.
> >
> > Sadly, I did not think to back up the firmware folder before wiping the
> old
> > install.
> >
> > Am I missing something, or do I need some sort of custom firmware file?
> >
> > -Chris
> >
>
> What was the name of the firmware file? (should be in the hal or ini file)
> If I made the bitfile, I will have the PIN_XXX source to remake it (and the
> firmware name will help find the correct one)
> If not, the hal file will have some clues to the pinout that will help
>
> Peter Wallace
> Mesa Electronics
>
>
> ------------------------------------------------------------------------------
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
> _______________________________________________
> Emc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to