spindle.0.on already link to spindle-enable

More
23 May 2024 19:45 #301250 by greg23_78
I have a problem to linking my pin spindle.0.on to another signal.
the error message is " spindle.0.on already link to spindle-enable "

my code
# ---SPINDLE---

net spindle-enable             <=  spindle.0.on
net spindle-enable => gearchange.0.spindle-on => hm2_5i25.0.7i77.0.1.spinena

# ---LUBE---

net machine-is-enabled  <= motion.motion-enabled
net machine-is-enabled  => and2.0.in0

net spindle-running  <= spindle.0.on
net spindle-running  => and2.0.in1

net lube-run <= and2.0.out
net lube-run => hm2_5i25.0.7i77.0.0.output-00

net lube-ps-float-sw  <= hm2_5i25.0.7i77.0.0.input-09
net lube-ps-float-sw => oillow.trigger

How can i connect spindle.0.on to my lube output ?

Please Log in or Create an account to join the conversation.

More
23 May 2024 20:26 #301254 by PCW
replace

net spindle-running  <= spindle.0.on
net spindle-running  => and2.0.in1

with

net spindle-enable  => and2.0.in1

Please Log in or Create an account to join the conversation.

More
23 May 2024 21:27 #301261 by greg23_78
thank you, it works perfectly.
But what's wrong with my programming?
Because I have the same problem with the message.comp
net lube-ps-float-sw  <= hm2_5i25.0.7i77.0.0.input-09
net lube-ps-float-sw => oillow.trigger
"hm2_5i25.0.7i77.0.0.input-09 is already link to lube-ps-float-sw"

Please Log in or Create an account to join the conversation.

More
23 May 2024 21:55 #301263 by PCW
What you show is OK:net lube-ps-float-sw  <= hm2_5i25.0.7i77.0.0.input-09
net lube-ps-float-sw => oillow.trigger
There must be another connection to hm2_5i25.0.7i77.0.0.input-09
elsewhere in a hal file
 

Please Log in or Create an account to join the conversation.

Time to create page: 0.078 seconds
Powered by Kunena Forum