Topic: DMD0481

Help File Version: 2.9.4.37

RANGECHECK - Value In / Out of Range


The Value In / Out of Range (RANGECHECK) instruction is used to monitor a numeric input value will turn a bit ON or OFF based on whether that value is within the specified limits or outside of those limits.

 

 


Parameters:

Note: Use the F9 key to open the Default Element Selection Tool (the Element Picker or the Element Browser) or use the Down-Arrow key (Auto-Complete) on any parameter field to see a complete list of the memory locations that are valid for that parameter of the instruction.

 

Input Value is the value to monitor. This can be any readable numeric location.

 

High Limit is upper limit of the range. This can be any constant value or readable numeric location.

 

Low Limit is lower limit of the range. This can be any constant value or readable numeric location.

 

Turn Bit ON when selects when to turn the Range bit ON:

  • Select Out of Range to turn the Range bit ON when the Input Value is higher than the High Limit or Lower than the Low Limit.

  • Select In Range to turn the Range bit ON when the Input Value is between the High Limit and the Low Limit.

 

Out of Range / In Range Bit specifies the Bit location to turn ON / OFF. This can be any writable Bit location.

 


Status Display:

 

When the ladder status is ON (Debug- > All Status On), in addition to the standard status values being displayed, the RANGECHECK instruction also displays a small trend that shows the instruction's values graphically. To disable the display of the trend go to the View -> Options menu, select the Ladder tab, then uncheck the Show Trend Status selection.

 


See Also:

CLAMP - Limit Range

 

DEADBAND - Set Outside Deadband

 

RANGECHECK - Value In / Out of Range

 

TESTNUM - Classify Numeric Value Types