HC900 disabling a sensor input

archy

Member
Join Date
Jul 2014
Location
California
Posts
52
Hi,

I have many thermocouple inputs linked to a min-max-avg block. If I allow a user to disable an input via a digital variable, the value goes to the default zero. In other words, a valid number. Same for the failsafe. Is there a way to get a sensor input's value taken out of a calculation when it goes disabled, warn or fail? In other control systems I'd generally find a way to pass an NaN or +inf or some invalid value that the calculation objects would ignore. As it is, these default sensor values get calculated into the min, max and avg of that block.

Any help is greatly appreciated!

archy
 
The 'max' reading will still be valid

If you know how many have been disabled then the average can be corrected by multiplying the average by the total number of sensors then divide by the number of valid sensors.

The minimum is more difficult. it will be zero. Unless you get a sorted list which you can search you will possibly have to roll your own, ignoring the invalid zeroes.
 
Thanks, Bernie. I looks like I should be okay, then, with the max and average. Does the HC900 have a sorted list object or would this have to be done in code? I guess I'll have to put some thought into finding the lowest non-zero number.

Thanks, again, for your input.
 
If looks like Honeywell has already done the work to throw out deviant data:

11m4111.jpg
 

Similar Topics

How do I disable a HC900's PID's output using not the PV to the PID, but a second source?
Replies
5
Views
1,940
I'm upgrading an existing machine with a Honeywell HC900 controller, and I'm trying to do some data processing in the controller. I have variables...
Replies
0
Views
39
Hello everyone, My designer software as the 7.200 firmware, but when I go to download to the plc HC900 from honeywell the program I created...
Replies
0
Views
660
Hello everyone, In the designer softwar of the plc HC900, I used the function version control on the toolbar and it deleted files from my...
Replies
2
Views
349
Hey Guys, I am getting random rack/slot errors. I go to download and everything is ok but then it has a error. For example - Yesterday everything...
Replies
1
Views
359
Back
Top Bottom