On 12 March 2010 21:47, robin turner <[email protected]> wrote: > Edit your .Hal file to include something like: > net xenable => parport.0.pin-04-out > net zenable => parport.0.pin-05-out > net yenable => parport.0.pin-17-out
Just as a general point, that bit of HAL-code doesn't do anything. The first term in a "net" line is a freely-chosen signal name. To do anything the signal name needs to be "net"-ed to both an input and an output pin (or signal source and signal sink, if you prefer) A "net" statement can only contain one output pin, but many input pins. As all the axis-enables go true at the same time the shortest line would be: net signal-name axis.0.emp-enable-out => parport.0.pin-04-out parport.0.pin-05-out parport.0.pin-17-out However you probably also need to enable the relevant stepgens too. I am not at all clear if you can use the signal name as a signal source, ie whether a following line net signal-name => stepgen.0.enable stepgen.1.enable stepgen.2.enable is a valid syntax or not. I suspect not. You could add all the stepgen enables to the same line as the amp-enables, but that would make for a very unwieldy "net" statement. It is probable that I haven't looked hard enough, but I haven't found a good description of the "net" command in the documentation. I remain confused by it. -- atp ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
