I am working with a machine that has specific predetermined tags to read from. The machine has a tag for reading the results of the test that will last for a little bit, until returning to a 0 value. The machine is also able to run a test, which runs 2 tests back to back. Running this test causes the results tag to flip to the results of the first test, then to 0, then to the results of the second test, then back to 0.
Is there any way that I would be able to write the results of each of these tests to different individual tags so I can store the results value of each of the tests before it becomes a 0 again?
Can you get the machine fixed? Because that is just ridiculous.
Short of a proper fix, you will need to write a state machine that monitors for non-zero, then zero, then non-zero again. (And places the values into memory tags.)