Setting up a plasma cutter and looking for some help.
- Birdman3131
- Offline
- Senior Member
- Posts: 49
- Thank you received: 1
While looking for a viable break away switch I did find a stack of dc opto relays So thats good.
Please Log in or Create an account to join the conversation.
- Birdman3131
- Offline
- Senior Member
- Posts: 49
- Thank you received: 1
The switch on that linear stage is a www.ia.omron.com/product/item/2229/ which senses when something is passing through its slot. I plan on attaching a piece to the head so that it is in the slot all but the very top of Z. Only time it should come out of the slot is if it breaks away or during homing. This sounds viable but I figured id ask before doing it.
Please Log in or Create an account to join the conversation.
I would try using and2 with your input and this pin and use the output as input for the homing signal
Typos excluded, something like this (excluding loadrt and addf lines)
net mysensor <= mypin
net mysensor => and2.0.in0
net ishoming <= joint.3.homing
net ishoming => and2.0.in1
net zhome <= and2.0.out
net zhome => joint.3.home−sw−in
HINT: I always like to check the function of a new pin (eg. joint.3.homing) in hal show before doing something like this to make sure it functions as expected.
If you are already using and2, you will need to add an extra instance of it which might change the index (eg. and2.0 might become and2.1)
Please Log in or Create an account to join the conversation.
Using names for them sorts this out, it makes for easier reading as well.If you are already using and2, you will need to add an extra instance of it which might change the index (eg. and2.0 might become and2.1)
Please Log in or Create an account to join the conversation.
- Birdman3131
- Offline
- Senior Member
- Posts: 49
- Thank you received: 1
I am confused by one thing though. It lists Ohmic probe enable HAL pin as bit in and Ohmic probe HAL pin as bit out. However I was under the impression from the ohmic probe diagram that it was the other way around and the enable should be an output and the ohmic probe should be an input.
1drv.ms/u/s!Anw0aD8CF6Z_huJmsRidTnIu4XHoGQ?e=A9hV0b is a sreenshot.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- Birdman3131
- Offline
- Senior Member
- Posts: 49
- Thank you received: 1
Got the breakaway working. Ended up using a not instead cause I was not understanding your code at the time although I am fairly sure I know where I messed up and could make it work now. but its working so im not gonna mess with it.
1drv.ms/u/s!Anw0aD8CF6Z_huJsgwNfyZmV8594Gg?e=RgZjNG is my files. Maybe y'all can see why my ohmic refuses to do anything.
*90% sure thats true. Small chance the error was for the messed up encoder but I think I had that error after the pin swap. (Got the encoder fixed other than the fact I need to get it reading volts rather than freq but I assume thats in the setup instructions somewhere.) But the power is off to the machine now so ill have to check in the morning.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
HaHA, so it does. That just goes to show that not too many folk take notice of what is in front of them.I am confused by one thing though. It lists Ohmic probe enable HAL pin as bit in and Ohmic probe HAL pin as bit out. However I was under the impression from the ohmic probe diagram that it was the other way around and the enable should be an output and the ohmic probe should be an input.
I will fix that...
In my other reply I should have said that Ohmic Test does not cause any motion, all it does is turn on Ohmic Enable and test if the is a signal on Ohmic Probe.
Please Log in or Create an account to join the conversation.
- Birdman3131
- Offline
- Senior Member
- Posts: 49
- Thank you received: 1
As for paying attention to that part it has been one of the bigger headaches of this ordeal. For being an electronics tech and doing this sort of stuff for 10+ years now wiring stuff like this up is still not all that mentally easy.
At some point i will post a video of what all I have done on this for y'all to laugh at. Gotta get it working first though.
1drv.ms/u/s!Anw0aD8CF6Z_huJutaFU_u7f0dOkLw?e=JLSKH3 Incase y'all are interested this is my breakaway/home switch. Ill glue it later but for now magnets work well enough for testing. It comes out of the slot switch for just a little bit to allow it to home at the very top of the travel but stays in it the rest of the time so as to be a breakaway switch. (Just realized this might not work as planned. Hopefully the plasma arc does not trigger it.)
Please Log in or Create an account to join the conversation.