Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: yercik 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
-
You can't use pin 25 for an input.
Brett
-
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
-
Yes, if it is connected between pins 25 and 13, it is fine if that is the question.
Brett
-
Yes, if it is connected between pins 25 and 13, it is fine if that is the question.
Brett
-
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.
-
This is the xml file..
-
Hi, Yercik
Try setting your Outputs 1 & 4 to Active Low "Checked" (Pins 16, 14).
Hope this gets It, Chip
-
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.
-
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