On 22 January 2013 01:53, John Stewart <alex.stew...@crc.ca> wrote: > Can anyone tell me why it is so difficult to configure a G540 to run with a > 5i25?
At least partly because PCW develops hardware so fast. PNCConf was started back when the Mesa landscape was simpler and more static. Now there are very many more variations available, and you can potentially have 24 daughter cards per FPGA card rather than the original 3. All of which dynamically create their own HAL pins. > Now, I have, in the past, gone through the HAL manual to add/change things, > but, come on, this is not something you expect normal, everyday people to do > if you want to run a mill with touch probe and mpg, with, cross fingers, > maybe spindle speed control. I think I have to disagree with you here. I don't think there should be an expectation not to have to manually edit the HAL file. I think it will always be the main interface where integration takes place. The 5i25 / G540 combination ought to run with almost the same INI file as the software-stepping setup, and with only a few modifications to the HAL file. The first thing I would do is get a full list of all the pins and parameters that the 5i25 has in G540 mode. You can do this most readily from the command-line: halrun loadrt hostmot2 loadrt hm2_pci show pin This will create a list of all the pins. There is probably a traditional way to do this, but I tend to copy-and-paste into a spreadsheet rather than mess about with pipes and files. show param Will create a list of all the parameters. Now you have the basic information needed about pin names, you can start to edit the HAL file. 1) In the "loadrt" section: Add: loadrt hostmot2 loadrt hm2_pci Remove: loadrt stepgen 2) In the "addf" section Add: (at the very beginning) addf hm2_5i25.0.read (at the very beginning) addf hm2_5i25.0.pet-watchdog addf hm2.5i25.0.write (at the very end) 3) Now replace every instance of "stepgen" with "hm2_5i25.0.stepgen..." This should get you close, but not all the way there. I think the main issue remaining will be the G540 charge-pump, and the enable logic. It should be possible to figure out the correspondence from the list of HAL pins create earlier. -- atp If you can't fix it, you don't own it. http://www.ifixit.com/Manifesto ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users