Hi Hood,
Here is another post on the topic:
http://www.machsupport.com/forum/index.php/topic,16607.0.htmlMy setup is almost identical.
Only thing is, I'm doing the button press with the plc, then Mach sends a pulse back to the plc and the plc resumes.
Scripts for OEM Triggers 1,2,3 & 4 are all in one macro. M915
M999 is in the initialization string and sets the trigger macro (915)
Under hotkeys, all 4 triggers are set to 301
.... just like in the example post above.
The plc runs some cylinders and monitors several inputs. It uses 4 outputs tied to 4 inputs on the CSMIO, 1 for each of the 4 triggers.
When conditions dictate, one of the 4 plc outputs will fire.( tried a 1 scan pulse and a 500ms pulse to assure that it's seen by the CSMIO and I can see the leds)
At the end of the 4 trigger scripts, Mach sends a 500ms pulse back to the plc and the plc resumes. (this part works)
As said, I can see the plc output led light up and the CSMIO input led light up simultaneously but none of the triggers (macro) will execute.
I had this method working well before installing the CSMIO .... but don't know if that's my problem or not.
Maybe the plugin affects something ? ? ?
Please let me know if you need more info.
Thanks for your attention Hood,
Russ