Hi. I want to use same wiring as you with I/O because it is working and I need only repeat it.
In case if I will do new thing than I will get lost. Where do I need put those codes that you posted on your WEB? In the EMC2 configure, than HAL ......? Next is an alternative way to connect of jog wheel. Am I right? To which (see the pinout in the manual) did you refer? Standard one that is from EMC2 or something from MESA electronic web site? Can you send link of that manual to me? So I need use either one, use I/O pins or use second encoder from MESA manual pinout. Am I right? Those diagram that on the last page of (> http://www.alldatasheet.com/datasheet-pdf/pdf/27887/TI/SN74HC148.html <https://owa.kyosys.com/exchweb/bin/redir.asp?URL=http://www.alldatasheet.com/datasheet-pdf/pdf/27887/TI/SN74HC148.html> > ) show encoder pins and it confused me! You connecting jog wheel with 4 wires only to I/O pins and here some kind encoder with 15 pins. Can you explain that part please? Thank you, Aram Kasparov ________________________________ From: [EMAIL PROTECTED] on behalf of Anders Wallin Sent: Mon 4/9/2007 12:08 AM To: Enhanced Machine Controller (EMC) Subject: Re: [Emc-users] Hardware Feedrate Override Control > Hi Anders > Thanks for response. > > I don't have strong electronics wiring background so I want to ask some > questions. > 5i20 card that I use has two parts, first is analog to drive axis and second > for I/O. > First part (axis drive) has capability to move 4 axes and I use only 3 of > them. > Where do I need wire my manual pulse generator (jog wheel)? > I believe that the right place is to use remaining connections for 4 axes, > because only this connector has area for > encoder with 15 pins. Actually remaining connector for 4 axes has 25 pins > (DB 25) and I believe that I need pick those that address encoder. > Am I right? The 'standard' Hostmot-4 config that most people use has four main hardware encoder counters (like you describe above), and four secondary encoder counters (see the pinout in the manual). You could connect your jogwheel A/B-quadrature signals to any of these hardware encoder counters. Your HAL code will then look a bit different from what I have on my blog. I connected the A/B signals to standard IO and used the HAL software encoder counter component. That works fine too, since the pulse rate from my jogwheel (100ppr) never exceeds 1 kHz or so (the encoder counter HAL component needs hooked up to a thread which updates at maybe 10kHz) > 6 and 4 position switches and 4 push type switches should be connected to I/O > area of 5i20. > Am I right? Yes. Any of the 16 inputs on the two IO connectors will do, you just have to remember where they are when you start HAL programming. Anders PS: someone should make a really cool pyvcp m5i20 test panel (hostmot-4 to start with). I think tomp already did something, is it in cvs yet? PS2: the integrator manual should contain case studies of the whole electrical + HAL wiring for machines that EMCers have converted. I'll try to contribute my own stuff in a month or so. Something like this: http://www.anderswallin.net/sandbox/servo.pdf along with HAL (net2dot images + descriptions) ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
<<winmail.dat>>
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
