Hi, I am new to the Pi community and is excited to be part of it.
I am currently working on a project with OSI Pi integration with a MES system. The scope of the project is fairly simple. I need to simulate values in the Pi tag I created. Then MES will retrieve the values in Pi. As of now the requirement is to create tags for temperature, pH level and state of a tank.
For the temperature and pH simulation, I was able to use Ramp Soak Simulator to generate values. The issue I am encountering is how can I generate random state for my tank? I am using digital as a point type. Let's say I have 5 States setup in my digital states
0 = Running
1 = Idle
2 = Error 1
3 = Error 2
4 = End
What I need the interface to do is start at a state "Running" for x amount of time then randomly go into another state (1-4) for x amount of time then go back into "Running". Rinse and repeat for lets say 1 hour.
Currently, I have access to Ramp Soak, Random, CMF simulators. I read the user manuals for all three interface and I was not successful in configuration the tags to do what I need.
Is there anything I can do to achieve the state requirement?
Any help is much appreciated.