- Posts: 142
- Thank you received: 0
spindle.0.on already link to spindle-enable
2 years 5 months ago #301250
by greg23_78
spindle.0.on already link to spindle-enable was created 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
How can i connect spindle.0.on to my lube output ?
the error message is " spindle.0.on already link to spindle-enable "
my code
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 to join the conversation.
2 years 5 months ago #301254
by PCW
Replied by PCW on topic spindle.0.on already link to spindle-enable
replace
net spindle-running <= spindle.0.on
net spindle-running => and2.0.in1
with
net spindle-enable => and2.0.in1
net spindle-running <= spindle.0.on
net spindle-running => and2.0.in1
with
net spindle-enable => and2.0.in1
Please Log in to join the conversation.
2 years 5 months ago #301261
by greg23_78
Replied by greg23_78 on topic spindle.0.on already link to spindle-enable
thank you, it works perfectly.
But what's wrong with my programming?
Because I have the same problem with the message.comp
"hm2_5i25.0.7i77.0.0.input-09 is already link to lube-ps-float-sw"
But what's wrong with my programming?
Because I have the same problem with the message.comp
Code:
net lube-ps-float-sw <= hm2_5i25.0.7i77.0.0.input-09
net lube-ps-float-sw => oillow.trigger
Please Log in to join the conversation.
2 years 5 months ago #301263
by PCW
Replied by PCW on topic spindle.0.on already link to spindle-enable
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
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 to join the conversation.
Time to create page: 0.468 seconds
