Hi, Hello to all guys,
I have a problem to ask. Plz help me.
I have made a Global DB (named as DB1), in which i have define an ARRAY of 4 Elements. In which i have define the Hi_Limit, Low_limit and Intermediate values of my TT( Temperture Transmitter).
like here, Lets my array name is "DATA".
Data[1] = 10.0
Data[2] = 20.0
Data[3] = 30.0
Data[4] = 40.0
I have a Function (FC1), in which I have performed scaling of TT using FC105. Now, I want to compare my scaled value with the VALUES defined in Global DB1.
> If Scaled Temp is less than Data[1] then Q5.0 should blink.
> If Scaled Temp is greater than Data[1] & less than Data[2]then Q5.1 should become high.
> If Scaled Temp is greater than Data[2] & less than Data[3]then Q5.2 should become high.
.....
....
....
.....
And so on ...
> If Scaled Temp is less than Data[4] then Q5.4 should blink.
I m trying to do but i m not succeeding. Kinldy tell me how it is possibel ...?
I have a problem to ask. Plz help me.
I have made a Global DB (named as DB1), in which i have define an ARRAY of 4 Elements. In which i have define the Hi_Limit, Low_limit and Intermediate values of my TT( Temperture Transmitter).
like here, Lets my array name is "DATA".
Data[1] = 10.0
Data[2] = 20.0
Data[3] = 30.0
Data[4] = 40.0
I have a Function (FC1), in which I have performed scaling of TT using FC105. Now, I want to compare my scaled value with the VALUES defined in Global DB1.
> If Scaled Temp is less than Data[1] then Q5.0 should blink.
> If Scaled Temp is greater than Data[1] & less than Data[2]then Q5.1 should become high.
> If Scaled Temp is greater than Data[2] & less than Data[3]then Q5.2 should become high.
.....
....
....
.....
And so on ...
> If Scaled Temp is less than Data[4] then Q5.4 should blink.
I m trying to do but i m not succeeding. Kinldy tell me how it is possibel ...?