Jeff164 Posted December 5, 2019 Report Share Posted December 5, 2019 Hello I've got a new twist to an older project. I have a sampling system that I'm looking to automate so that instead of sampling A & B sides on a switch-over process, it will sample an entire batch of samples; one at a time in sequence. The user will select how many samples they will need to run at the start of the routine. The sample results will be displayed on the HMI as Red / Green radio buttons, one for each sample station; on a final results page at the end of the batch. I may have as many as 30 sample stations on the system active in the batch, and I didn't want to have to run through sets of sampling routine, rather have the same sample loop repeat itself until the sample counter clicked off. I was thinking that the Load Indirect (MI) would enable me to load the results from each test into a new MI location. A snip of code is attached. MI-15 will be my Go/No Go sample results integer, that value will be loaded into a MI location assigned by the STI dialog box in Rung 27. Am I on the right track &/or is there a better way to do this? thanks, Jeff Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.