Simple multiple flashing

<< Click to Display Table of Contents >>

Navigation:  Examples > Object flashing >

Simple multiple flashing

Previous pageReturn to chapter overviewNext page

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:

 

clip0030

 

2. Create an ISA Valve object:

clip0031

 

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:

 

commonmulflash

commonmulflashrange

 

 

4. Let's Run simulation to check the settings:

 

commonmulflash

 

You can download this project here.