On 18/02/2020 23:23, Peter C. Wallace wrote:
On Tue, 18 Feb 2020, Ed W wrote:
Date: Tue, 18 Feb 2020 22:48:08 +0000
From: Ed W <li...@wildgooses.com>
Reply-To: "Enhanced Machine Controller (EMC)"
<emc-users@lists.sourceforge.net>
To: emc-users@lists.sourceforge.net
Subject: [Emc-users] How to get 6i25 functioning?
Hi, new user with a 6i25 trying to get off the ground floor. I've
loaded firmware 5abobx2, then run through pncconf. However, when I
get to the motor tuning section for an axis I don't see any obvious
output on the external parallel port alike connector? I'm using a
meter (which has a basic scope type function as well), but I'm seeing
nothing happening on pins 2/3 (configured as x axis step/dir)?
Is there some way to debug the 6i25 and confirm it's being
assimilated correctly? Is there some utility to set/read pins so I
can confirm it's functioning? Any thoughts on why I'm not seeing any
output on the connector?
Background: new install on debian 9. Changed the sources to pull in
linux-cnc 2.8. Used mesa to load firmware something like 5i25-5abobx2
(yes, the firmware has 5i25, but the card is a 6i25). I see a
sensible pin output when I run
/mesaflash/ --device 5i25 --readhmid
I was intending to run this with a green china BOB, mainly because it
seems to be close to a drop in replacement for the USB thing that was
in my OmioCNC x6 (a slightly better quality 6040 alike). However, at
present I'm not seeing any life out of the card, so the bob isn't
connected and I'm just probing the output connector for now.
Mesa firmware came from here (6i25 page):
http://store.mesanet.com/index.php?route=product/product&product_id=58
However, the file name says 5i25.zip is this correct?
Any other thoughts appreciated!
Ed W
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users
If you are running linuxCNC, a very quick hardware check of step I/O pins
can be done by measuring the pin state with linuxCNC running and not
running
If the stepgens are enabled in the linuxCNC config and linuxcnc is
running,
the idle states of the 6I25 step pins will be low, if linuxcnc is not
running,
the step pin state should be high (pulled up to +5V with a 4.7K pullup)
Peter Wallace
Mesa Electronics
OK, well that's encouraging! Running through pncconf the pin is high
+5v, until I click into the motor tuning when it drops to close to 0V (I
read about 20mv)
OK, so how do I debug why I don't see any steps coming out..? Hmm. I am
really unsure what I should be doing here...
Final state is intended to have a cheap bob with step/dir to the chinese
cheapo clone drivers that came with the omio x6-2200. (I'm not welded to
the bob, just had it and it has convenient connectors in place). There
are no encoders, just a simple stepper driver and steppers.
I should show you the settings I have, but the machine isn't
conveniently close at present... The settings are on whatever defaults
pncconf gave. From memory P is set to 1000 (not sure what the PID
settings do with a stepper?), I have no encoders and then I have the
stepper set to 5,000 and 10,000 in the various stepper timing boxes.
If I click "run" or try and jog in the tuning screen then I see the
position params appear to change. However, I wonder if the issue could
be that something here thinks I have a servo and without an encoder it
isn't going to move and send some steps? Should this screen be showing
me values which look like servo config?? Have I made some error in
previous screens?
Thanks for such a fast response - appreciated. Further ideas would be
very gratefully received!
Ed W
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users