Machsupport Forum
Mach Discussion => Mach SDK plugin questions and answers. => Topic started by: ya@somik.com on September 07, 2012, 09:34:45 AM
-
I will make a vacuum cleaner for the machine control unit cleaner through USB.
I want to make sure that it is switched on / off by pressing the button Flood
For the task downloaded SDK, and has collected a standard framework plugin "Blank Plugin".
Via variable Engine-> estop can read and change the state of the buttons.
When you click on "Flood" in the field of object do not change:
TrajectoryControl * MainPlanner;
CMach4View * MachView;
TrajBuffer * Engine;
setup * _setup;
If you enter a command in MDI Input M8 and M9, then changes accordingly _setup-> flood
Ie when entering the G-code can I find the inclusion of cooling, and by pressing a button - no.
Tell me something I do wrong? and / or is there another way to find the button to change the Flood?
Thank you.
PS
If you are interested - I'll post pictures.
Runs very cool