Hello Guest it is April 26, 2024, 05:32:51 AM

Author Topic: going from 3 to 4v2. Motion controller selection  (Read 2612 times)

0 Members and 1 Guest are viewing this topic.

Offline Bill_O

*
  •  563 563
    • View Profile
Re: going from 3 to 4v2. Motion controller selection
« Reply #10 on: June 09, 2021, 08:42:34 AM »
Phando,

I think this is what you are looking for.
Yes the limits and motors are connected to the correct places as long as you have them wired correct and set up correct.

Bill
Re: going from 3 to 4v2. Motion controller selection
« Reply #11 on: June 09, 2021, 09:59:38 AM »
Thank you!
Yes, your setup had some trick stuff in it, but it was great to see what I can add later. Your labels make sense for the limit switches. Since port 1 and 2 only refer to the J11 and J12 jumper blocks, how do I refer to the pins my motor controllers are connected to?

Offline Bill_O

*
  •  563 563
    • View Profile
Re: going from 3 to 4v2. Motion controller selection
« Reply #12 on: June 09, 2021, 11:06:42 AM »
This is how my motors are hooked up.
Most of my extra is in the screen so you are not seeing that.
Re: going from 3 to 4v2. Motion controller selection
« Reply #13 on: June 09, 2021, 11:29:19 PM »
Great day in the morning, my mill is moving, thank you!
@BILL_O you are a badass

There are two limit switches per axis that move with the machine. They hit bumpers as they move along. One switch hits a bumper on each end. The other hits one bumper on one end. I have the two bumper switch mapped to limit ++ and limit --. The switch that hits one bumper is mapped to axis home. Is that correct? Where do I map the combo of the two switches to denote the machine being at the ++ limit vs the -- limit?


Offline Bill_O

*
  •  563 563
    • View Profile
Re: going from 3 to 4v2. Motion controller selection
« Reply #14 on: June 10, 2021, 08:43:56 AM »
Not sure what exactly you are asking but i will try.

If one switch is for limits on both ends then both the ++ and -- limit are the same pin.
If the above is true then the home switch is a different pin.

If one switch is the home and limit for one direction then they are the same pin and the limit for the other direction is a different pin.

Bill
Re: going from 3 to 4v2. Motion controller selection
« Reply #15 on: June 10, 2021, 11:44:02 AM »
That is exactly how the mill is configured. Is there a way or do I need to let the mill know when it is at limit++ or limit--?

Does the machine need to know these states?
limit and home = limit++
limit w/0 home = limit--

Offline Bill_O

*
  •  563 563
    • View Profile
Re: going from 3 to 4v2. Motion controller selection
« Reply #16 on: June 10, 2021, 11:53:18 AM »
You do not have to do a home to limits i just think it is a good idea.
You have to set it up so the limits & home are configured to the correct pins in Mach and the ESS
Re: going from 3 to 4v2. Motion controller selection
« Reply #17 on: June 14, 2021, 10:49:41 PM »
Moving to the spindle now...

The ESS is working with the PMDX-126 and Mach4. The limit switches and motors are working, now it is time for the spindle via a Delta VFD-E. I would like to use the relays onboard the PMDX-126 to denote spindle direction. I believe my wiring is correct, but I need some help with the configuration. Looking at the setup below, can you please tell me how to configure the ESS and Mach4?

JP1 - Multimode
K1 Com --> VFD - DCM -- Input signal
K1 N/O --> VFD - M1 --> ESS - Clockwise

JP2 - Multimode
K2 Com --> VFD - DCM --> Input Signal
K2 N/O --> VFD - M2 --> ESS Counter Clockwise

J6 - 1 = PC5v+ --> VFD - ACM --> ESS - Spindle COM
J6 - 16 = Port 1 Pin 16 --> VFD - AVI --> ESS - Spindle PWM

Motor 5 is set up as a CW/CCW. When I run test commands (M3 and M4), I do not hear the relays on the board clicking. If you have any setup suggestions I would love to hear about them.

Offline Bill_O

*
  •  563 563
    • View Profile
Re: going from 3 to 4v2. Motion controller selection
« Reply #18 on: June 15, 2021, 08:20:11 AM »
Sorry I just turn a spindle on and off.
I use the same relays and I have the K1 relay jumper to the Pin "1" side and they work.
Re: going from 3 to 4v2. Motion controller selection
« Reply #19 on: June 18, 2021, 02:00:41 PM »
Almost there...
I moved my jumpers from multimode back to Pin 1 and Pin 14. The relays are working and the VFD is showing fwd and rev!

The last step for the spindle is getting it to spin. In my Mach3 setup Spindle Motor Output and Spindle Motor Control were checked. For the new setup I am using a CW/CCW PWM motor. I am using the motor-on mapping in Mach4 but I would really like to see a motor-pwm mapping. Am I missing something?