
10-10-2008, 05:43 PM
|
| | | Join Date: Jan 2006 Location: USA
Posts: 3
| |
Help with Xylotex and Mach 3 | | I need some advise on what is needed to be able to turn a spindle motor and a coolant pump on and off within Mach 3. I thought I had this all figured out as I found a schematic on the net to build a relay box that will control a 120V unit with only receiveng a 5Volt DC control voltage. I built this box and tested it with a variable voltage power supply. My 120V became active when the relay received 3 VDC. This is where I thought all was good. I got into Mach 3 and set my pins, ports, and output to pin 16 and 17 ( 16 was to be my spindle and 17 was to be my coolant pump). i tested this with a volt meter and when I toggle the spindle on in Mach 3 I get 4.7 VDC at pin 16, Toggle the coolant and I get 4.7 also. Now when I connect the relay box and toggle the spindle or coolant nothing happens. A quick check of the voltage shows only 1.7 VDC. Sounds like the relay is pulling down the voltage too much. The relays I am using were purchased from Digikey Part # Z175-ND. These are Omron solid state relays with a input voltage of 4 to 6 volts. How are others connecting a spindle and coolant pumps to the machines, I have a breakout board here if that helps or is needed also. I did have a Xylotex relay board that I tried as well. Something was wrong from the beginning as I fried the relay as soon as I applied power. A quick check on the Xylotex site shows the wiring different from what was sent to me. Have to contact Xylotex on that one. Anyhow I wanted to get some feedback from others as to the proper way to connect these two devices and control them through Mach 3 with the M3 M4 M8 & M9 commands. |