On Thursday 02 April 2020 07:23:28 Ken Strauss wrote: > > -----Original Message----- > > From: Gene Heskett [mailto:ghesk...@shentel.net] > > Sent: Thursday, April 02, 2020 6:42 AM > > To: Enhanced Machine Controller (EMC) > > Subject: [Emc-users] wild hare continued. > > > > Greetings Andy; > > > > I have some of the data transfers working, but I then recall you > > said G33.1 ran in metric internally. > > > > So if I am capturing data during the execution, but its in inches at > > the nc_file origin, the captured data being passed back needs to be > > *25.4000000 to be usefull, both as a display and as a correction to > > the Z stroke. > > > > The fact that m66 Enn uses #5399 regardless of the nn is being an > > obstacle. It means that I'll have to use some digital outputs to > > tally whether or not #5399 has been read and by whom. > > > > Could this use be expanded to a memory location dependent on ENN? > > That would greatly simplicate the gcode. > > > > Thanks Andy. > > > > Cheers, Gene Heskett > > -- > > I like the suggestion. I believe that the docs say that M66 Enn is > limited to nn=0 to 3. Tormach's PathPilot appears to allow nn=0 to 7. > If so, you need to allocate more than four cells to hold the most > recently read value. Just a consideration to avoid breaking stuff. > But thats expandable at load module time (top of your main hal file) by passing the num_dio=NN and num_aio=NN arguments. Up to 16 of each I've seen someplace. 4 is the default though. But, I need to pass 2 floats to make what I want to do, works right. And I'll need to make sure that variable 00 never gets mixed with variable 01 by the sharing of a single #5399 placeholder for the gcode to retrieve and use. I'm sure there is a reason for the #5399, but so far I don't recall hearing it.
??? Thanks. Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis Genes Web page <http://geneslinuxbox.net:6309/gene> _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users