Hey folks, my project has been moving along slowly but surely, but I've run into a little bit of a "best programming practices" snag
The project: I have a turntable with 4 stations, parts are loaded at station 1, checked at 2 and 3, then put down a chute at 4 depending if they are good or not, right now I'm just doing one part at a time, tracking each station variable as it passes through, then resetting them to a resting state once it finishes
This all works fine, with one at a time, here's what I want to do.
I want each turntable location to be tracked so I can do ~3 parts at once, what station it is at, and what status that station is in, I can reset each turntable location to zero upon completion. So I started mapping this out in my mind and it turned into a huge goliath of dozens of variables, and then placeholder variables to hold onto them while they all copy over oneanother as the stations rotate, it was a total mess.
So I thought there's got to be a better way of keeping track of something like that beyond my caveman usage of ints! Maybe a string? I have no idea!