7161
General Mach Discussion / Re: Using M-Codes to send signal to Arduino that controls solenoids
« on: December 02, 2010, 06:33:29 AM »
ceramics,
There is a good chance you have more available Parallel Port Outputs than just the two you have mentioned but if you are programing the Arduino yourself then you can easily multiplex the signals. Two outputs can provide 3 functions and three outputs 7 functions and so on. You can incorporate the M Codes (to switch outputs on/off) within your GCode program quite easily with a simple editor such as Notepad.
I have been using Mach for a few years now and it's versatility just keeps growing.
Tweakie.
There is a good chance you have more available Parallel Port Outputs than just the two you have mentioned but if you are programing the Arduino yourself then you can easily multiplex the signals. Two outputs can provide 3 functions and three outputs 7 functions and so on. You can incorporate the M Codes (to switch outputs on/off) within your GCode program quite easily with a simple editor such as Notepad.
I have been using Mach for a few years now and it's versatility just keeps growing.
Tweakie.