Snuggly's Plasma Build

More
7 years 11 months ago #119850 by snugglylovemuffin
@rodw: I am running 2.8 master branch with end-stops/home at each of of every axis. The problem was that I hadn't added in HOME_SEQUENCE = 0 to my x1 & x2 scripts so it would only home one side of the axis at a time.

@Islander261: I did as you suggested but my switches aren't showing any signal at all. I made sure to disconnect the motors before moving the machine manually, don't need a fried driver. I don't know if these DM542A drivers have any protection.

All of my switches are normally closed (to mitigate any interference from the HF start). Here's my current machine files for you all to check out. I still haven't been able to fire the relay; I'll make another video walking you all through the endstops and relay wiring.

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

More
7 years 11 months ago #119852 by islander261
Replied by islander261 on topic Snuggly's Plasma Build
You must fix your limit switches so you can see the pins with Halmeter. If Halmeter can't see any changes in pin state then your controller can't either. Can you see all your I/O pins in Halshow? Can you see any of the switches operate using a VOM at the 7i96 connectors? The best use of your time at this point is to make a wiring diagram for your limit switches and then verify you actually wired it that way. I am of fto market now and won't be back until Sunday night.

John

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

More
7 years 11 months ago #119855 by snugglylovemuffin
@ Islander261: I have double checked the wiring on my limit switches, it's more than likely a problem with my software setup.

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

More
7 years 11 months ago #119862 by rodw
Replied by rodw on topic Snuggly's Plasma Build

snugglylovemuffin wrote: @rodw: I am running 2.8 master branch with end-stops/home at each of of every axis. The problem was that I hadn't added in HOME_SEQUENCE = 0 to my x1 & x2 scripts so it would only home one side of the axis at a time.


Your ini config is wrong. You joint axis is on joint 0 and 1 so you need to have
Code:
HOME_SEQUENCE = -1
You must also include a HOME_SEQUENCE value for the other joints (2 & 3)

For joint 3, I would use
Code:
HOME_SEQUENCE = 0
and for joint 2, use
Code:
HOME_SEQUENCE = 1

Read the docs carefully
linuxcnc.org/docs/2.7/html/config/ini-ho....html#_home_sequence

Umder the configuration, I have suggested, your Z axis will home first to clear anything on the table, then your Y axis will home, then your 2 gantry joints will home.

You could also use HOME_SEQUENCE = 0 for joint 3 and it will home with the Z but I found it was much safer to lift the Z axis before any other axes moved.

At the moment, there is nothing to tall Linuxcnc to treat joints 0 and 1 as a single axis so your homing cannot work!
The following user(s) said Thank You: snugglylovemuffin

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

More
7 years 11 months ago #119877 by snugglylovemuffin
I figured the sequence number had to do with order. I was able to get the gantry moving together but I don't know why my endstops aren't working.

I wired up the endstops to trigger low, gave them 24v. It's literally two wires, +24v to the common pin and NC pin to the TB3 header. It must be a software issue, I haven't found any literature that says anything about how to "wire" these switches in HAL

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

More
7 years 11 months ago - 7 years 11 months ago #119879 by rodw
Replied by rodw on topic Snuggly's Plasma Build
Here is an example of setting up hoe, max and min limits for a single joint using a 7i76e taken from this example config I shared forum.linuxcnc.org/47-hal-examples/34072...ranch-gantry-example
Code:
net home-1 <= hm2_7i76e.0.7i76.0.0.input-14-not net max-1 <= hm2_7i76e.0.7i76.0.0.input-15-not net min-1 <= hm2_7i76e.0.7i76.0.0.input-20-not net home-1 => joint.1.home-sw-in net min-1 => joint.1.neg-lim-sw-in net max-1 => joint.1.pos-lim-sw-in

Take the time to use halshow which is available from the menu system in axis and gmoccappy. As Islander261 has said, watch the 7i76e pins that you have used for your limit switches using this tool and confirm they toggle on and off when you trigger them by hand. Then connect them to joint.n.neg-lim-sw-in and joint.n.pos-lim-sw-in as shown above.

Then , adjust the working size of your machine so it falls inside your limit switches for each joint and axis using the ini file settings
Code:
MIN_LIMIT = -0.01 MAX_LIMIT = 1260.1

Remember, you machine will error if a limit switch is hit during operation so you might need a bit of trial and error to maximise your working envelope without hitting limit switches.
Last edit: 7 years 11 months ago by rodw.
The following user(s) said Thank You: snugglylovemuffin

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

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