This is my first time here and I hope some clever people could help me.
Here are my Problems:
I have an maschine that works togehter with a mori-mill....for this
1)How could i start mach 3 with externel button-in this case by using a free input of mach 3 like it is possibly for the software PCNC.
2)I need a macro to turn on of an output by M-comand....in the moment the output is turned on the program had to stop so long till a signal from the end-switches come back
..in the maschine driven by mach 3 i use pneumatics with end-switches.....
For example when i use an output(here M8)to switch a valve the pneumatic cylinder will start to press......
Hope someone could help...thanks
You can map hard inputs (ports & pins) to a mach Button by using the OEM Trigger inputs and then define that trigger as a MACH button number in the Hotkeys section. You can get a list of the button numbers in the CODES section of the WIKI at www.Machsupport.com. The RUN button is one of those. You only have 5 inputs on the first parallel port so you may need to use a 2nd parallel port card to get 11 more inputs.
You can also use a macro and a GetOEMButton() call to do more complex logic (i.e test to see if a function is active by looking at a corresponding LED) and read it through the same OEMTrigger Inputs