> Let us know IF you get stuck, (;-) TP
Well, here I am over a year later finally trying to implement this (don't ask)... AND... I am stuck.
I set myself the simpler task of, upon an M7 Mist On code, moving the Z axis by any amount. I ran into two problems:
1) I first set up a brain that works exactly like the sample brain in the intro to brains tutorial video. That brain sets output 2 if the X feed rate is greater than zero. All I did was change the input from X Feed Rate to Mist On. The brain broke. When I watch it in the viewer I can see that the input block shows Mist Coolant On is 1 when I enter an M7 code, however the Compare Immediate lobe fails to light up.
2) I then decided to try modifying the output side, so that on X Feed Rate > 0 the Z axis would start moving. I cannot figure out what sort of termination block to create to do that. I tried for example to issue a Jog Z Right button press, which resulted in no movement when I started the X axis moving. Perhaps this is because the jog buttons are ignored when G code is running? In any event, I am not sure how I should be getting the Z axis to move in tandem with ongoing X/Y movements coming from my G code.
I appreciate any help anyone can provide...
Thanks.