Hello Guest it is October 23, 2019, 01:55:58 AM

Author Topic: Parallel port input problem  (Read 3892 times)

0 Members and 1 Guest are viewing this topic.

yercik

*
Parallel port input problem
« on: June 19, 2007, 08:36:19 AM »
Hello
I have a problem with the input of the parallel port. Home switch contacts pin 13 and pin 25. But when these pins are contacted, outputs (14,16...) have activated.
I mean when the machine goes to home, after 1-2 second spindle starts.

Thanks

Offline Chaoticone

*
  • *
  •  5,616 5,616
  • Precision Chaos
    • View Profile
Re: Parallel port input problem
« Reply #1 on: June 19, 2007, 09:26:20 AM »
You can't use pin 25 for an input.

Brett
;D If you could see the things I have in my head, you would be laughing too. ;D

My guard dog is not what you need to worry about!

Offline Chip

*
  • *
  •  2,056 2,056
  • Gainesville Florida USA
    • View Profile
Re: Parallel port input problem
« Reply #2 on: June 19, 2007, 09:56:13 AM »
Hi, Yercik

Post your Mach3Mill.XML file, Use the Reply button, Brett switch in between pins 25 to 13 is fine.

List your Pin usage for setup.

Thanks, Chip



Offline Chaoticone

*
  • *
  •  5,616 5,616
  • Precision Chaos
    • View Profile
Re: Parallel port input problem
« Reply #3 on: June 19, 2007, 10:01:01 AM »
Yes, if it is connected between pins 25 and 13, it is fine if that is the question.

Brett
;D If you could see the things I have in my head, you would be laughing too. ;D

My guard dog is not what you need to worry about!

Offline Chaoticone

*
  • *
  •  5,616 5,616
  • Precision Chaos
    • View Profile
Re: Parallel port input problem
« Reply #4 on: June 19, 2007, 10:01:17 AM »
Yes, if it is connected between pins 25 and 13, it is fine if that is the question.

Brett
;D If you could see the things I have in my head, you would be laughing too. ;D

My guard dog is not what you need to worry about!

yercik

*
Re: Parallel port input problem
« Reply #5 on: June 19, 2007, 10:17:34 AM »
switch between pin 13 and pin 25. OK but I have a problem with switch. When the machine go to home, spindle starts.
Any input (home switch or emergncy) activates outputs.

yercik

*
Re: Parallel port input problem
« Reply #6 on: June 19, 2007, 10:19:57 AM »
This is the xml file..

Offline Chip

*
  • *
  •  2,056 2,056
  • Gainesville Florida USA
    • View Profile
Re: Parallel port input problem
« Reply #7 on: June 19, 2007, 11:25:11 AM »
Hi, Yercik

Try setting your Outputs 1 & 4 to Active Low "Checked" (Pins 16, 14).

Hope this gets It, Chip

yercik

*
Re: Parallel port input problem
« Reply #8 on: June 20, 2007, 01:47:20 AM »
Output 1 & 4 is connected to a relay (optocoupler relay board). When I connect the spindle to the NO side of the relay and change to active low or connect to NC side and change to not active low, nothing changes. Everything works normal.
M3 starts the spindle, M5 stops, also the inputs work normal, emergency button works, home switches work but
after 2 seconds spindle starts and tool changer relay (output 4) opens.

Offline Chip

*
  • *
  •  2,056 2,056
  • Gainesville Florida USA
    • View Profile
Re: Parallel port input problem
« Reply #9 on: June 21, 2007, 01:04:00 AM »
Hi, Yercik

Looked at your XML, Nothing jumped out as being wrong.

As you stated "When the machine go to home, spindle starts. Any input ((home switch or emergency) activates outputs)."

If you press the E-Stop and your spindle turns ON then there is a logic Issue, Sounds like your spindle and Toolchanger relays power needs to be wired

through NO side then configure the ActiveLow Logic "X or Check."

When the E-stop/Reset is Red the Outputs Leds turn off, The logic state doesn't effect the output led flashing.

So with E-stop/Reset is flashing Red your spindle should be OFF, Then with it Reset/Green the outputs will be off untill you issue a M3 On and M5 Off.

Maybe I've missed something hear.

Hope this Helps, Chip