Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: geoff3881 on February 10, 2014, 06:28:16 AM

Title: Parallel Port Address
Post by: geoff3881 on February 10, 2014, 06:28:16 AM

I have a problem in that the PC running on Windows XP does not communicate with the CNC machine.
I want to eliminate the possibility of the wrong port 1 address.

The address found via the PC control panel is 0378-037F
The Mach 3 config setting screen shows 0x378
When I try to change the setting and "apply it" it just seems to default to the 0x378 setting.

Any help appreciated.
Title: Re: Parallel Port Address
Post by: Hood on February 10, 2014, 07:18:47 AM
That is fine.
Hood
Title: Re: Parallel Port Address
Post by: geoff3881 on February 10, 2014, 11:21:12 AM

Thanks.
 Are you saying that the two addresses are effectively the same ?
Title: Re: Parallel Port Address
Post by: Hood on February 10, 2014, 11:26:47 AM
Yes.

Hood
Title: Re: Parallel Port Address
Post by: Lotus Pack on February 10, 2014, 03:42:24 PM
As it doesnt sound like a port address, not sure what controller you are using but check out the following:
Must have at least one axis is set correctly on the Step and Dir don't forget the port setting for each.
Check:
The EStop is on the correct pin and port
The Card Enable is on the correct pin and port

The best way is to disable the Estop and make sure the card is active by using the jog controls.

What controller or breakout board are you using?

LP
Title: Re: Parallel Port Address
Post by: Hood on February 10, 2014, 04:38:05 PM
That is the default onboard parallel port address.
Hood
Title: Re: Parallel Port Address
Post by: geoff3881 on February 11, 2014, 11:55:57 AM
Thanks for your comments.
I have just checked the parallel port cable for continuity on all pins and it's OK

The stepper motor driver is from Routout in UK. I bought it around 10 years ago and it has been fine. My trouble started a few months ago when I suspected a PC problem, but this has been checked out OK but I reloaded the Mach3 software.

There is power to the driver box and I can set limit switches using the auto set facility so the PC is connecting to Mach 3.

I think I must have a setting in the config area wrong.

The e stop is port 1 pin 10.
The X,Y & Z axes are set as specified by Routout.Could you explain the comment ref. the card enable - where is this option located ?

Any help appreciated
Title: Re: Parallel Port Address
Post by: Hood on February 11, 2014, 02:31:49 PM
I think what is meant regards the Enable is some breakouts require an enable signal, yours mayor may not but should be in the documentation for it.
Hood
Title: Re: Parallel Port Address
Post by: geoff3881 on February 14, 2014, 04:11:42 AM

Still going thro checks.
It has been suggested that I check the output on the PC parallel port.
When I remove the parallel port cable from the driver box to access the pins I cannot operate the reset button in Mach 3.

In the config. set up for inputs it does not seem possible to de activate the e stop. I guess a safety default.
I get the message "external e stop requested" How do I override this ?

My next step would be to check the X direction pin to ground voltage whilst requesting X axis motion.

Any comments appreciated.






Title: Re: Parallel Port Address
Post by: Hood on February 15, 2014, 07:56:49 PM
Change the active state of the E-Stop instead of trying to disable it.
Hood
Title: Re: Parallel Port Address
Post by: geoff3881 on February 16, 2014, 12:52:47 PM
Many thanks.
I was sure I had tried that, but it has fixed it !!
I can now progress to checking the pins.
Title: Re: Parallel Port Address
Post by: geoff3881 on February 17, 2014, 08:03:01 AM
I have now checked the dir pins for X,Y & Z axes which are pins 3,5 & 7
I measure 4.32 V and 0.8V pin to ground which I guess is OK.

I still get no movement on any axis.

Although the e stop is designated to pin 10 when I look at the diagnostics screen, operating the e stop lights pin 7 green.
Pin 7 is designated as the Z dir pin !

As always - comments appreciated


I
Title: Re: Parallel Port Address
Post by: Hood on February 17, 2014, 08:12:11 AM
Dont look at the port state in Diagnostics, only Art I think knows what they mean :D

Check if its working by operating your E-Stop, Mach will go into Reset if it is.

Sounds like external issues, probably your breakout or wiring.
Hood
Title: Parallel Port Address
Post by: Fastest1 on February 17, 2014, 08:46:34 AM
Any input pin can be assigned to the EStop. In your case if pin 7 is being triggered on the diagnostics page. Reassign it in settings.
Title: Re: Parallel Port Address
Post by: Hood on February 17, 2014, 02:00:19 PM
Fastest, I may be mistaken but I am thinking it is the current state LEDs that he is meaning, ie these ones, see pic. If you can work out what they show you are way ahead of me ;)

Hood
Title: Re: Parallel Port Address
Post by: geoff3881 on February 18, 2014, 03:00:10 AM
Thanks for all the comments.
I have had a discussion with the driver box supplier and we have agreed that he will check it out. I posted it to him yesterday.
I will update you on it's return.