Setting up a plasma cutter and looking for some help.

More
6 years 7 months ago #162330 by phillc54

Oh by the way I did find a bug in the PNCconf wizard. If you tell it you have a para port and then on the page for that para port tell it that it is set for input it ignores it when you actually write the files. It sets the pins correctly but at the beginning of the hal file I have to change it from "out" to "in". And of course because the wizard overwrites any changes I have to do it every time I rerun it. And I ran it a lot setting up homing and limits.

You should report this on the pncconf section of the forum.

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

More
6 years 7 months ago #162332 by Birdman3131
The following user(s) said Thank You: phillc54

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

More
6 years 7 months ago #162359 by Birdman3131
So this is the mag head. Currently looking to see where to put the break away switch.

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.

More
6 years 6 months ago #162480 by Birdman3131
Quick question. Can the breakaway and home switches be the same? I am not using limits on z.

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.

More
6 years 6 months ago - 6 years 6 months ago #162489 by rodw
There is a pin joint.N.homing which goes true when homing.
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)
Code:
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
then use the mysensor signal for the float switch input

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)
Last edit: 6 years 6 months ago by rodw.

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

More
6 years 6 months ago - 6 years 6 months ago #162505 by phillc54

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)

Using names for them sorts this out, it makes for easier reading as well.
Last edit: 6 years 6 months ago by phillc54.

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

Moderators: snowgoer540
Time to create page: 0.092 seconds
Powered by Kunena Forum