Well, I spent some time playing with brains, and inputs. I made a brain as per TP's suggestion, and it tested ok watching all the stuff flash on the brain view. However, with the spindle running, nothing happened.
Next, I wrote a simple brain that turned on (Output 3) as the brain terminator, and this worked OK, but now the M5 from the MDI line would not stop the running spindle. So, I checked the the brain enable box, to disable the brain, and now M5 worked again, when the spindle runs.
Apparently, using Modbus + a brain to activate Output 3 with my panel push-button, interferes with the M5, which also has to activate Output 3. I also tested M3 with my panel buttons, and the same thing happened.
The Spindle CW push-button brain was a short one line, like Spindle Stop push-button brain, only difference was Output 1 as the terminator. This Spindle CW push-button would start the spindle, but now entering M3 on the MDI would not start the spindle. As before, I disabled the Spindle CW push-button brain, and now the M3 worked again from the MDI.
As TP says, I can use the block delete for test runs.
The M3 macro is the standard M3.
The M5 macro contains;
ActivateSignal(Output 3)
Sleep(4000)
DeActivateSignal(Output 3)
Both M3, and M5 macros would stop working when I used the Modbus/Brain enabled buttons to Start Spindle, and Stop Spindle.
To use the push-buttons, in addition to the standard start/stop functions, I will have to forego using Modbus. After all, it is just turning on/off two small relays.
The additional code in the M5 macro was necessary to get the M5 to function with Modbus. This was implemented a couple of years ago, when I retro-fitted the controller, and the Cubloc Modbus hardware. My first screen set was the MSM set.
I believe if the panel Spindle ON/OFF pushbuttons are wired into the dspmc I/O board, and set-up in ports and pins to activate a trigger #, they would not interfere with the regular function of M3 and M5.
At least, I learned what works. As things stand, my machine and Ger's 2010 screen are working superbly.
Thanks again for all the good suggestions.
John