× 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.

More
27 Jan 2021 16:07 #196776 by kofaki
Hello all,

i closed my plasma cutter project in year 2019 and now i want to open it and finish.

I reinstalled PC with "LinuxCNC 2.8.0 Debian 10 Buster PREEMPT-RT ISO" and then i use the toma-thc config.

I have still "joint 2 flolowing error" (i tested both variant :

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

Next, if i disable the Float switch in config, then i can start the machine and all axis (x,y,z) works fine.
I tried TEST on PROMA 150 and in LinuxCNC the first light indicator was green ARC OK. In the second step, if the THC tests go to "MOVE UP", then the green "MOVE UP" light will be in LinuxCNC. It looks fine, but this light will be solid green permanently. The THC test goes to "MOVE DOWN" in the next step and the light in LinuxCNC will be green and then will be too steady green.

The axis Z does not move in test of THC, nothing move. no error.

Ok, can you please some check my config ?

Many thanks,


File Attachment:

File Name: thc-toma.zip
File Size:53 KB



Attachments:

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

More
27 Jan 2021 16:31 #196778 by tommylight

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

More
27 Jan 2021 17:18 #196783 by kofaki
Hi Tommy,


thank you, which mode of PlasmaC is for THC from PROMA ?

Mode 0 ? (Uses an external arc voltage input to calculate both Arc Voltage (for Torch Height Control) and Arc OK.)

Thanks,

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

Time to create page: 0.279 seconds
Powered by Kunena Forum