The comments also help when you're having problems and you post your files so other folks can more easily figger out what's going on. ;-)
Mark On 4/22/2012 6:11 AM, Mike Bennett wrote: > I chose to put the lines in the custom HAL file as I still want to use the > stepconfig wizard for tuning max speed and acceleration. > > I take your point about the comments. > > Mike > > On 22 Apr 2012, at 11:00, Viesturs Lācis<viesturs.la...@gmail.com> wrote: > > >> 2012/4/22 Mike Bennett<mjb1...@gmail.com>: >> >>> Brilliant >>> >>> I've added the following to my custom.hal file and it works >>> >> You can safely put these lines in Your main HAL file as well. I >> usually have everything in one HAL file. They can be up to 400 lines >> long... >> Putting comments is very recommended, otherwise few months or even >> years later it might be difficult remembering, what does each line >> exactly mean, especially, if some complicated arrangements are >> created. >> >> >>> You've made my first venture into HAL very easy >>> >> Because HAL _is_ easy :) >> Your situation is easy to solve, but there are many situations, when >> lots of different HAL components need to be used together to perform >> particular function. And writing Your own custom HAL component is an >> alternative, which I find more difficult, because it actually requires >> some programming skills. >> >> Viesturs >> >> ------------------------------------------------------------------------------ >> For Developers, A Lot Can Happen In A Second. >> Boundary is the first to Know...and Tell You. >> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! >> http://p.sf.net/sfu/Boundary-d2dvs2 >> _______________________________________________ >> Emc-users mailing list >> Emc-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/emc-users >> > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users