Comparisons with Custom-Ranges Inputs

When defining custom-range for an input are subsequent comparisons based on the signal voltage, the % of full-scale, or the custom units??

For example I have a differential pressure sensor that produces 0-10V for 0-300Pa DP) and I have defined a custom range accordingly.
If I want to check a threshold (eg DP-High meaning a filter is too dirty, do I define the threshold as 50%, 150Pa or 5V (all meaning the same thing). ie which of the following?

10 IF INDP > 50 THEN…
20 IF INDP > 150 THEN…
30 IF INDP > 5 THEN…

I believe you have it right, the value of the input will evaluate to the pressure at a given pressure in your example, ie 5, 50, 150 Pa.

You can always test it with a test program:
10 VAR1 = IN1

Thanks for the test program tip. Very helpful.