Back from the dead!.....
Started working on the lathe again. I had some noise issues with the turret wiring. I tried to use an all in one cable. Which was a bad idea, and I knew it but I tried it anyway. So I wound up running separate shielded cables for the stepper and the IO on the turret, tracing down all the shielding and making sure there were no ground loops. I managed to kill all the noise gremlins. Then work intruded.
So now I'm trying to get back in the swing of things.
I used Scott Shafer's diagnostics screen to make sure that all of my inputs are working properly. THANKS SCOTT!!!! You saved me from being committed because I thought for sure I was going insane.
I am going to have to write a macro or a brain to control the turret. So in keeping with the baby steps before running philosophy I thought I would start out by getting an LED to correspond to each input state for the turret.
I'm using OEM triggers 2-13. (I would have started with 1 but that causes a notepad screen to maddeningly appear. This is very disconcerting to be rotating the turret and have a bazillion notepad windows open up.
I've set them up in ports and pins, and confirmed they are working.
In screen designer what is the mysterious process used to interface the oem trigger to the LED? I have tried the OEM trigger number. I have tried the corresponding signal number from the wiki. What gives?
Nothing works.
After I get that to work I want to make a button that activates the locking solenoid on the turret. Then assuming I haven't run screaming from a cliff, I will attempt the brain or macro.
Monty