× Forum Header

Linuxcnc - plasma router - joint 2 flolowing error

More
30 Oct 2019 19:08 - 30 Oct 2019 19:10 #149204 by kofaki
No, i want to use only the float switch ...it is connected to parport pin 13 .

I tried new config, please check this ...

here is IO.hal
net MoveDown parport.0.pin-10-in => or2.0.in0
#net MoveDown parport.0.pin-10-in-not => or2.0.in0

net MoveUp parport.0.pin-11-in => or2.0.in1 mux2.1.sel
#net MoveUp parport.0.pin-11-in-not => or2.0.in1 mux2.1.sel

# Change the pins to corespond to Z-Home limit swith and ARCOK input from THC or BOB
# For negative inputs use the omited part

net FloatSwitch parport.0.pin-13-in-not => or2.1.in1 and2.4.in0 and2.5.in1 and2.6.in1
#net FloatSwitch parport.0.pin-13-in => or2.1.in1 and2.4.in0 and2.5.in1 and2.6.in1

net ArcOK parport.0.pin-12-in => or2.4.in1 xor2.1.in1 oneshot.2.in
#net ArcOK parport.0.pin-12-in-not => or2.4.in1 xor2.1.in1 oneshot.2.in 

net TorchOn => and2.3.out parport.0.pin-01-out oneshot.1.in not.2.in
Attachments:
Last edit: 30 Oct 2019 19:10 by kofaki.

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

More
30 Oct 2019 19:27 #149206 by andypugh

kofaki wrote: No, i want to use only the float switch ...it is connected to parport pin 13 .]



But do you want the float switch to trigger the Z limits?

That doesn't seem to make sense to me.

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

More
30 Oct 2019 20:05 #149210 by kofaki
Ok, i mistake, i don't write, that is the Z limit, because i want to use the float switch to detect the material.

Maybe this is not understanding.
Attachments:

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

More
30 Oct 2019 20:07 #149211 by kofaki
i thinked, that the Z limit switches = End switches. And the float switch is other function :) ... sorry.

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

More
30 Oct 2019 20:35 #149215 by tommylight

kofaki wrote: No, i want to use only the float switch ...it is connected to parport pin 13 .

I tried new config, please check this ...

here is IO.hal

net MoveDown parport.0.pin-10-in => or2.0.in0
#net MoveDown parport.0.pin-10-in-not => or2.0.in0

net MoveUp parport.0.pin-11-in => or2.0.in1 mux2.1.sel
#net MoveUp parport.0.pin-11-in-not => or2.0.in1 mux2.1.sel

# Change the pins to corespond to Z-Home limit swith and ARCOK input from THC or BOB
# For negative inputs use the omited part

net FloatSwitch parport.0.pin-13-in-not => or2.1.in1 and2.4.in0 and2.5.in1 and2.6.in1
#net FloatSwitch parport.0.pin-13-in => or2.1.in1 and2.4.in0 and2.5.in1 and2.6.in1

net ArcOK parport.0.pin-12-in => or2.4.in1 xor2.1.in1 oneshot.2.in
#net ArcOK parport.0.pin-12-in-not => or2.4.in1 xor2.1.in1 oneshot.2.in 

net TorchOn => and2.3.out parport.0.pin-01-out oneshot.1.in not.2.in

That is code from thc_toma config !!! That config does not have an io.hal file.
What is the issue, again please ?

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

More
30 Oct 2019 21:27 - 30 Oct 2019 21:28 #149220 by kofaki
yes, i start from beginning, use now the same config from your thc_toma, i edit only motor configuration in thc_toma.ini ( scale ) .

> join 2 on limit switch error
Attachments:
Last edit: 30 Oct 2019 21:28 by kofaki.

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

More
30 Oct 2019 22:11 #149227 by tommylight
You have in thc.hal
# Change the pins to corespond to Z-Home limit swith and ARCOK input from THC or BOB
# For negative inputs use the omited part

net FloatSwitch parport.0.pin-13-in-not => or2.1.in1 and2.4.in0 and2.5.in1 and2.6.in1
#net FloatSwitch parport.0.pin-13-in => or2.1.in1 and2.4.in0 and2.5.in1 and2.6.in1

should be
# Change the pins to corespond to Z-Home limit swith and ARCOK input from THC or BOB
# For negative inputs use the omited part

#net FloatSwitch parport.0.pin-13-in-not => or2.1.in1 and2.4.in0 and2.5.in1 and2.6.in1
net FloatSwitch parport.0.pin-13-in => or2.1.in1 and2.4.in0 and2.5.in1 and2.6.in1

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

Time to create page: 0.097 seconds
Powered by Kunena Forum