7-325
BAND(P),DBAND(P)
1
2
3
4
6
6
7
8
7.13 Data Control Instructions
7.13.2 BIN 16-bit and 32-bit dead band controls (BAND(P),DBAND(P))
(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:
Output value 32768 10 8000
H
A
H
7FF6
H
32758
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.
(3) The output value stored at , +1 is a signed 32-bit BIN value. Therefore, if the operation
results exceed the range of from 2147483648 to 2147483647, the following takes place:
Output value 2147483648 1000 80000000
H
000003E8
H
7FFFFC18
H
2147482648
Operation Error
(1) In the following case, an operation error occurs, the error flag (SM0) turns ON, and an error
code is stored into SD0.
• The lower limit value designated by is greater than the upper limit value designated by
. (Error code: 4100)
When :
Dead band lower limit value .................10
Input value ............................................ 32768
When :
Dead band lower limit value ( , +1).....1000
Input value ( , +1) ............................... 2147483648
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 value
Lower limit value
Upper limit value
Input value
Lower limit value
Input value
Upper limit value
Output value
Output value
Output value
0
Input value
Input value
Lower limit value
Upper limit value
+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 value ( +1, )
D
S1
Dead band lower
limit value ( , +1)
S1
S3
Input value ( , +1)
S3
S2
Dead band upper
limit value ( , +1)
S2
S1 S1
S2 S2
S3 S3
D D
S1 S1
S3 S3
S1
S2