Hello Guest it is March 28, 2024, 08:05:05 AM

Author Topic: problems with ports  (Read 5700 times)

0 Members and 1 Guest are viewing this topic.

problems with ports
« on: April 26, 2009, 11:08:19 PM »
  Hello I am trying to set up a router table. I am having trouble getting the motors to turn. They just bump 1 time when i try to jog them. when i use other software they work ok. When I open the diagnostics page in Mach there is no indication of a signal on the parallel port pins at all. I used the same settings that worked on my other software.  ???

   please help

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: problems with ports
« Reply #1 on: April 27, 2009, 02:18:13 AM »
Do you see a pulse frequency and a Time in Int on the Diagnostic page?
 Do you have the correct port address set up?
Can you attach the xml for the profile you are using, you will find it in the Mach3 folder. If you use the standard Mill profile it will be called Mach3Mill.xml, you will need to copy that to a different location on your drive and rename it before the forum will accept it, suggest you rename to wtxrcdog.xml

Hood
Re: problems with ports
« Reply #2 on: April 27, 2009, 11:52:37 AM »
  Hello I have a pulse freq. of 23776 and it stays steady. the port is set at 0x378 which is what is found in the device manager. the interrupts seem to be working also.
I have attached the .xml file.

 Thanks Bruce

Re: problems with ports
« Reply #3 on: April 27, 2009, 12:50:55 PM »
What is your jog settings? Is it continous jog mode or step jog mode?
Re: problems with ports
« Reply #4 on: April 27, 2009, 01:00:26 PM »
  My jog settings are continuous and the motor only moves one way and only one step. The DRO's move as they should.

 Bruce

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: problems with ports
« Reply #5 on: April 27, 2009, 01:30:26 PM »
Had a quick look at your xml and it looks fine.
 If you have a voltmeter you could remove the cable from the port and put it between  pins 3 and Gnd pin and jog the X axis one way then the other, the voltage should toggle between 5V and 0v  as you change directions.  If that checks out fine repeat for pins 5 and 7 jogging Y and Z respectively.
 If your voltage does change then put the cable back in and try at the other end of the cable.

 Do you use a breakout board?
Hood

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: problems with ports
« Reply #6 on: April 27, 2009, 01:31:32 PM »
Oh also meant to say try increasing the pulse width to 5 and see if that helps although I suspect it wont.
Hood
Re: problems with ports
« Reply #7 on: April 27, 2009, 10:00:55 PM »
  I increased the pulse width to 5 already. I do use a breakout board.

  Bruce

Offline Chip

*
  • *
  •  2,055 2,055
  • Gainesville Florida USA
    • View Profile
Re: problems with ports
« Reply #8 on: April 27, 2009, 11:12:48 PM »
Hi, Bruce

Try this xml, I changed your Active Low's and reversed step/dir pin's around in Ports & Pin's page.

Chip

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: problems with ports
« Reply #9 on: April 28, 2009, 02:05:40 AM »
Have you tested with a voltmeter?
Hood