My 2 cents. For some things non-realtime i/o is fine. I have seen too many times where someone is maybe controlling a spindle and wonders why a change in direction takes so long and or isn't consistent. Once they switch over to something realtime (+/-10v or pwm) the issue goes away.
With how cheap realtime i/o is - I don't see the a lure of modbus. Once you have a jog wheel hooked directly into motion in realtime - you will never go back. The only non-realtime i/o I have on our machines is an arduino measuring spindle temp. (OK if slow) Sam (Realtime snob) On Thu, Feb 6, 2020, 2:23 PM andy pugh <bodge...@gmail.com> wrote: > On Thu, 6 Feb 2020 at 19:05, John Dammeyer <jo...@autoartisans.com> wrote: > > > If someone submitted that page to a magazine as an article on how to use > MB2HAL do you think an editor would publish it as is? > > Not a chance. It is certainly one of the worst manual pages. > > > #Using HAL_MODULE_NAME=mb2hal or nothing (default): loadusr -W mb2hal > config=config_file.ini > > > Is the loadusr command entered in the HAL file, the INI file or entered > on the command line. Should LinuxCNC be running if it's entered on the > command line? > > It should be in the HAL file (but only the section after the colon). > But, actually, it would work at the command-line too, if LinuxCNC was > running. but then it would need to be > halcmd loadusr .... > (though if you use halcmd -kf to join a running HAL session, then you > can omit the "halcmd" and also benefit from tab-completion of commands > and pin names. > This is all documented, but it would take me a while to find it all, > and I know where to look and, more importantly, that it exists to look > for) > > > If the example config file named mb2hal.ini? I see loadrt commands in > the .hal file for my parallel port implementation. I don't see any load > files of type ini. > > It's a bit unusual in that mb2hal consumes an INI file, but it is not > the same INI file as defines the LinuxCNC machine config. > > loadusr -> load a user-space HAL component > -W -> wait for it to declare that loading has completed before > continuing with the HAL > config=config_file.ini -> configure the Modbus link according to the > definitions in the config_file.ini file. > > I have never used mb2hal, so don't really feel qualified to improve > the docs for the module. > > -- > atp > "A motorcycle is a bicycle with a pandemonium attachment and is > designed for the especial use of mechanical geniuses, daredevils and > lunatics." > — George Fitch, Atlanta Constitution Newspaper, 1912 > > > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users