Category: EtherCAT
I have spent a lot of time reading the manual but unfortunately I could not put togheter all the pieces to come up with a solution, I'm pretty new to LCNC and I would like to learn by doing, had the idea to turn on an output led on EL2809 when machine is turned on. (have succesfully installed following Rodw guide)
In HalShow I can turn on and off the led my hand with SET CLR buttons, so it works manually.
I found this info : motion.motion-enabled - (bit, out) TRUE when in machine on state.
Also from the manual: 5.2.1.4 net
The command net creates a connection between a signal and one or more pins. If the signal does not
exist net creates the new signal. This replaces the need to use the command newsig. The optional
direction arrows <=, => and <=> make it easier to follow the logic when reading a net command line
and are not used by the net command. The direction arrows must be separated by a space from the
pin names.
Syntax and Examples of net
net signal-name pin-name <optional arrow> <optional second pin-name>
net home-x joint.0.home-sw-in <= parport.0.pin-11-in
So I guess I have to combine these two, but I have no Idea how to do it.
Please Help!