12. RANGE FUNCTION BLOCK
The RANGE function block is added to the Relation set. It has the following form:
The RANGE function has four inputs: a boolean enable (EN), limit 1 (L1), limit 2 (L2),
and an input (IN). It has one output, a boolean (Q). The available types on which the
RANGE function block can be performed are INT, DINT, WORD, and DWORD.
When enable (EN) is true, the RANGE function block will compare the (IN) value
against the range specified by the (L1) and (L2) values. The (Q) output is set true when
the (IN) value is within the range specified by the (L1) and (L2) inclusive. Otherwise
(Q1) is set to false.
(L1) and (L2) merely represent the end points of a range. There isn’t any
fixed min/max or hi/lo connotation assigned to either of them. That is to
say, a desired range or (1 - 100) could be specified by assigning 0 to (L1) and
100 to (L2) or by assigning 100 to (L1) and 0 to (L2)
Warning: include_once(/js/tracking.php): failed to open stream: No such file or directory in /var/www/series/revision.php on line 248
Warning: include_once(): Failed opening '/js/tracking.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/series/revision.php on line 248