556
BAND, BANDP, DBAND, DBANDP
F
unct
i
on
BAND
(1) Controls the output value to be stored at the device designated by by checking whether the input value (BIN 16 bits)
designated by is within the range of dead band upper and lower limit values specified by and or not.
Output value is controlled in the way shown below:
• When
..........................
-
• When
.........................
-
• When
.......0
(2) The values that can be designated by , , and are in the range of from -32768 to 32767.
(3) The output value stored at is a signed 16-bit BIN value. Therefore, if the operation results exceed the range of from
-32768 to 32767, the following will take place:
DBAND
(1) Controls the output value to be stored at the device designated by by checking whether the input value (BIN 32 bits)
designated by ( , +1) is within the range of dead band upper and lower limit values specified by ( , +1) and ( ,
+1) or not.
Output value is controlled in the way shown below:
(2) The values designated by ( , +1), ( , +1), or ( , +1) are within the range of from -2147483648 to 2147483647.
When :
Dead band lower limit value
..............
10
Input value
................................................
-32768
Output value -32768-10 8000
H
- A
H
7FF6
H
32758
D
S3
S1
S2
S1
Lower limit value
S3
Input value
S3
Input value
S1
Lower limit value
D
Output value
S2
Upper limit value
S3
Input value
S3
Input value
S2
Upper limit value
D
Output value
S1
Lower limit value
S3
Input value
S2
Upper limit value
D
Output value
D
Output
v
alue ( )
S3
Dead band upper
limit
v
alue ( )
S1
Dead band
lo
w
er limit
v
alue ( )
S2
Input
v
alue ( )
0
S1
S2
S3
D
S1
S3
D
S3
S3
S1
S1
S2
S2
+1
+1
+1
S2
S3
S2
S1
S3
S1
+1
S1
S1
+1
S3
S3
+1
S3
S3
Input
v
alue
Lo
w
er limit
v
alue
U
pper limit
v
alue
Input
v
alue
Lo
w
er limit
v
alue
Input
v
alue
U
pper limit
v
alue
Output
v
alue
Output
v
alue
Output
v
alue
0
Input
v
alue
Input
v
alue
Lo
w
er limit
v
alue
U
pper limit
v
alue
+1
D
D
+1
D
D
+1
D
D
+1
S1
S1
+1
S3
S3
+1
S3
S3
+1
S2
S2
+1
S2
S2
When
When
When
0
D
Output
v
a
l
ue
(
+
1,
)
D
S1
Dead
band
l
o
w
er
li
m
i
t
v
a
l
ue
(
,
+
1)
S1
S3
I
nput
v
a
l
ue
(
,
+
1)
S3
S2
Dead
band
upper
li
m
i
t
v
a
l
ue
(
,
+
1)
S2
S1
S1
S2
S2
S3
S3