<< Click to Display Table of Contents >> Simple multiple flashing |
|
Let's assume we want an object to flash at multiple tag values and with different flash duration. In this case, we need to use the comparison type "Tag.PV in range". Let's look at an example.
1. Create a tag - State, which is responsible for the operating mode of the valve:
2. Create an ISA Valve object:
3. Set the Flash property as follows:
State |
Flash |
---|---|
0 |
0 |
1 |
1000 |
2 |
500 |
3 |
250 |
To do this, open Object properties on the Flash tab and set the flash ranges:
4. Let's Run simulation to check the settings:
You can download this project here.