How to check maximum value of REAL data type

RSLinx, RSLogix, RSView, LogixPro ...
rumun1990
Posts: 7
Joined: Fri Oct 19, 2012 12:51 pm

How to check maximum value of REAL data type

Post by rumun1990 »

Hi, how can i check the max value from real data type. It's data from pressure sensor and the range of value is 0-10,000. How to check the max value of pressure without trends ?

sorry for my bad english,

R.
szum
Posts: 4
Joined: Wed May 16, 2012 7:09 pm

Re: How to check maximum value of REAL data type

Post by szum »

In RSLogix 5000 MAXC instruction (not available in ladder)

Regards,
szum
almaz78
Posts: 108
Joined: Tue Dec 16, 2008 7:36 pm

Re: How to check maximum value of REAL data type

Post by almaz78 »

create tag "max_value" compare "max_value" with "real_time_reading" , if real time reading greater then max value, move "real time reading" to "max value".