Hello Guest it is March 28, 2024, 05:16:02 AM

Author Topic: Mach3/Galil DMC-2160 initial set up  (Read 3924 times)

0 Members and 1 Guest are viewing this topic.

Mach3/Galil DMC-2160 initial set up
« on: July 02, 2014, 11:41:08 PM »
Hi Guys,
I'm working on a mill with the following (from memory here):
-1 PacSci BLDC servo on Z w/600p/r encoder and Hall commutator
-2 Parker compumotor z610 BLDC servos on x and y, w/600p/r encoder and Hall commutator
-1 MPC Brushed gear reducer servo on the knee, no encoder added yet

-2.8 GHz PC w/ Mach3, Galil plug in (current latest version), Galil Suite
-DMC 2160
-ICM 2900
-4 AMC B25A20ACQ servo amps (could be a bit light for the z610's but may be upgraded later if so)

So far I have the PacSci servo commutated, and have an identically configured spare on the bench connected to an AMC servo amp, which is configured and balanced with the hall inputs. The encoder is connected back to the ICM 2900. It is a dual channel unit with no index pulse. Enable and signal leads are connected. The 2160 is connected to the PC via ethernet cable, shows connect light and Tx/Rx lights. Not a crossover cable.

I seem to be having some troubles getting things to act right and not being familiar with the equipment is not helping of course. Currently the PacSci motor is connected to the Z axis. in the Galil plug-in config I have only the z axis mapped.  In the Mach ports & pins menu I have unchecked the port boxes. (What kernel speed will it support with the 2.8G processor and how do I know if the speed is too high?) Only the Z drive is enabled, step/dir ports/pins are zero. Only input enabled is E-stop and the 2900 is jumpered.

On "Jog" (Page up/d) I get Error 22 limits. I've tried every combination I can think of wiring those using just simple micro-switches. Obviously I am missing something there.

Other attempts to move the axis by other methods fail, I'm guessing for the same reason but there seem to be other things the software may not be doing correctly, I will take some more careful notes tomorrow, but for instance, switching the limit and home switches has no effect on the indicator boxes (LED?) in the diagnostics screen.

But for now, could you point me to some detailed instructions on how to configure the limit switches? I just know I'm simply missing a setting somewhere.

Jim

Offline smurph

*
  • *
  •  1,544 1,544
  • "That there... that's an RV."
    • View Profile
Re: Mach3/Galil DMC-2160 initial set up
« Reply #1 on: July 12, 2014, 12:49:51 AM »
Jim,

The limits are a bit complicated.  This is because they can be wired as sourcing or sinking.  Meaning either + or - to LSCOM.  This will change the way the limits are "seen".  Wired one way, the limits will be seen as low active.  Wired the other way, the limits will be seen as high active.  So you task is to figure out what your system is and set CN appropriately.  CN is set in the plugin config with "Limits active low" check box.  The quickest way to resolve this is to see what works in the Galil Tools/Suites terminal while looking at the limit switches in the watch window.

Steve
Re: Mach3/Galil DMC-2160 initial set up
« Reply #2 on: July 12, 2014, 11:45:11 AM »
Thanks Steve, LCOM was the problem. 3 wire Proxes installed across +5v/GND/limit inputs with CN1. Works good in ST. May consider using the +12v source if it can increase reliability. (High signal return is about 3-1/2v) Greatly appreciate the help.

Jim