User Manual V 1-4.XX User guide

Table Of Contents
Parameters 11-63
202
Func 2 Mask/Val
1
Use Func 2 Mask/Val to enter a mask or value to compare
Function In2 (parameter 201) to, according to the value you
select in Func 2 Eval Sel (parameter 203).
1 Func 2 Mask/Val was added in Version 2.xx.
Parameter number 202
File:group Application:Prog Function
Parameter type linkable destination
Conversion 1 = 1
If Func 2 Eval Sel (parameter 203) is 0 or 6 11, then:
Display ±x
Factory default -1
Minimum value -32767
Maximum value +32767
If Func 2 Eval Sel (parameter 203) is 1 5, then:
Display bits
Factory default 11111111.11111111
Minimum value 00000000.00000000
Maximum value 11111111.11111111
If Func 2 Eval Sel (parameter 203) is 12 15, then:
Display x
Factory default 65535
Minimum value 0
Maximum value 65535
Refer to Chapter 10, Using the Function Block, for more
information.
203
Func 2 Eval Sel
1
Func 2 Eval Sel lets you choose how you want to evaluate
Function In2 (parameter 201).
1 Func 2 Eval Sel was added in Version 2.xx.
Parameter number 203
File:group Application:Prog Function
Parameter type destination
Display x
Factory default 0
Minimum value 0
Maximum value 17
Conversion 1 = 1
Refer to Chapter 10, Using the Function Block, for more
information.
Value Description
0 None
Pass the value directly on to the
function block.
1 Mask
Mask specic bits.
2 All Bits On
Check to make sure that all bits
that are set (on) in Func 2
Mask/Val (parameter 202) are set
in Function In2 (parameter 201).
3 All Bits Off
Check to make sure that all bits
that are set in Func 2 Mask/Val are
clear in Function In2.
4 Any Bit On
Check to make sure that at least
one of the bits that are set in
Func 2 Mask/Val is set in Function
In2.
5 Any Bit Off
Check to make sure that at least
one of the bits that are set in
Func 2 Mask/Val is clear in
Function In2.
Value Description
6 I=V
Check to see if Function In2 is
equal to Func 2 Mask/Val.
7 I Not = V
Check to see if Function In2 is not
equal to Func 2 Mask/Val.
8 Signed I<V
Check to see if the signed value of
Function In2 is less than the value
of Func 2 Mask/Val.
9 Signed I<=V
Check to see if the signed value of
Function In2 is less than or equal
to the value of Func 2 Mask/Val.
10 Signed I>V
Check to see if the signed value of
Function In2 is greater than the
value of Func 2 Mask/Val.
11 Signed I>=V
Check to see if the signed value of
Function In2 is greater than or
equal to the value of Func 2
Mask/Val.
Value Description
12 Unsign I<V
Check to see if the unsigned value
of Function In2 is less than the
value of Func 2 Mask/Val.
13 Unsign I<=V
Check to see if the unsigned value
of Function In2 is less than or
equal to the value of Func 2
Mask/Val.
14 Unsign I>V
Check to see if the unsigned value
of Function In2 is greater than the
value of Func 2 Mask/Val.
15 Unsign I>=V
Check to see if the unsigned value
of Function In2 is greater than or
equal to the value of Func 2
Mask/Val.
16 Invert
Pass the opposite value on to the
function block
17 Absolute
Pass a positive value on to the
function block.