Hello Guest it is November 18, 2019, 11:03:30 AM

Author Topic: Z-Axis not responding / moving - Help debugging  (Read 1959 times)

0 Members and 1 Guest are viewing this topic.

Z-Axis not responding / moving - Help debugging
« on: February 20, 2018, 07:16:56 AM »
My DIY gantry is being uncooperative with the Z axis control. I had added a torch height controller a few months back so the control of the Z axis was now being done by the THC. From a physical standpoint the only change was the step and direction commands came from the THC unit instead of from MACH3. SO the THC decided to become uncooperative  and I removed it from the system.
Hooked the cable from the BOB back to the driver board and nothing from the Z axis controls.
Switched the cable from the Y axis to t he Z axis driver board and it drives the Z axis well.. Switching the cables back and changing the pin assignments in Ports and Pins and the "failure" follows the pins. They are enabled in Ports and Pins (6 and 7). I am certain that there is somewhere the pins are disabled but I am at a loss as to where.

I'm using Mach3, WinXP

Offline Tweakie.CNC

*
  • *
  •  8,002 8,002
  • Super Kitty
    • View Profile
    • Tweakie.CNC
Re: Z-Axis not responding / moving - Help debugging
« Reply #1 on: February 20, 2018, 07:22:30 AM »
Hi John,

If you could attach your .xml file then we may be able to spot the problem.
This file is in your Mach3 folder and it is called <your profile>.xml (typically Mach3Mill.xml)

Tweakie.
Success consists of going from failure to failure without loss of enthusiasm.  Winston Churchill.
Re: Z-Axis not responding / moving - Help debugging
« Reply #2 on: February 20, 2018, 11:43:19 AM »
The XML file

Offline Tweakie.CNC

*
  • *
  •  8,002 8,002
  • Super Kitty
    • View Profile
    • Tweakie.CNC
Re: Z-Axis not responding / moving - Help debugging
« Reply #3 on: February 21, 2018, 01:52:57 AM »
Hi John,

Your .xml file runs just fine here - there is nothing disabled.

Are you connecting your Z axis to the correct pins ?
You mention pins 6 & 7 - in your .xml the Z axis is set-up on pins 4 (step) & 8 (direction).

Tweakie.
Success consists of going from failure to failure without loss of enthusiasm.  Winston Churchill.
Re: Z-Axis not responding / moving - Help debugging
« Reply #4 on: February 21, 2018, 06:10:03 PM »
Interesting. Here is an image of the Ports and Pins page. You can see clearly that Z axis is pins 6 and 7,

Offline Tweakie.CNC

*
  • *
  •  8,002 8,002
  • Super Kitty
    • View Profile
    • Tweakie.CNC
Re: Z-Axis not responding / moving - Help debugging
« Reply #5 on: February 22, 2018, 01:25:20 AM »
Looks like the .xml you posted is not the same one you are using - perhaps check that you do not have a couple of .xml files with similar names ?

Tweakie.
Success consists of going from failure to failure without loss of enthusiasm.  Winston Churchill.
Re: Z-Axis not responding / moving - Help debugging
« Reply #6 on: February 22, 2018, 06:10:10 PM »
I don't know how that might happen. There was only one file named THC300.xml on the computer. I had to rename it before I could upload it because it said there was already a file named THC300.xml on the system. I am not very literate with all the files and programs. I use the programs to make parts so I need more coaching than the average poster.

Offline Tweakie.CNC

*
  • *
  •  8,002 8,002
  • Super Kitty
    • View Profile
    • Tweakie.CNC
Re: Z-Axis not responding / moving - Help debugging
« Reply #7 on: February 23, 2018, 01:37:30 AM »
Hi John,

Bottom right of the main Mach3 screen is your Profile.

Look in your mach3 folder for the file which has this Profile.xml

Tweakie.
Success consists of going from failure to failure without loss of enthusiasm.  Winston Churchill.
Re: Z-Axis not responding / moving - Help debugging
« Reply #8 on: February 23, 2018, 12:21:05 PM »
It says THC300 as the profile which was what I uploaded only having changed the name so it would upload.
I have tried reloading Mach3 and the problem follows pins 6 and 7.  Whatever is attached to them doesn't work. I have swapped cables and even the breakout board but pins 6 and 7 fail to work. I suppose it could be bad pins on the parallel card. I'll replace that and see.

Offline TPS

*
  •  1,407 1,407
    • View Profile
Re: Z-Axis not responding / moving - Help debugging
« Reply #9 on: February 23, 2018, 01:50:59 PM »
something is strange, if i look to XML,
it says something else:
 
anything is possible, just try it.
if you find some mistakes, in my bad bavarian english,they are yours.