donb9261,
Very interesting. I just started playing with PoBlocks this morning. I seen your program the graphical language is very interesting. I assume your POKEYS device only have this program inside of it correct? You must also be required to use the POKEYS plugin for MACH4. I actually did the FRO, RRO, SPO using LUA with several IF/ELSE which is checking up to five inputs on each switch with override. I wish LUA had standard C switch/case statements. I have seen postings on a LUA version of something that is supposed to simulate the Switch but they are about as clear as mud. LOL
My biggest issue is the POKEY plugin for MACH4 has been very buggy. Once Polabs invented the 57POKEYCNC unit that is where the focus is and they they have added all that functionality into the MACH4 plugin. In the process of doing that they have somehow stepped on all the code that use to work in the plain Jane pokeys often used for pendants and such. I have discovered after many hours of playing that I can get my pokeys devices to work perfect with their Pokeys application and everything works perfect, matrix keyboard, LCD, matrix LEDS, MPG, etc. Once I add the plugin to MACH4 and start it that process somehow corrupts the code in the POKEYS device and much of the stuff that worked perfect suddenly no longer works. If you exit MACH4 and test the pokeys device using their application you discover not everything is still working due to the corruption. You have clear the device program it again and it all works again with their application. I opened a ticket and have provided them my example which is completely repeatable, so hopefully they will find the bug. Anyway, I hate to write a program to access the pokeys device that does not use their plugin which would be much harder. Thanks for sharing.
Russ