Mitsubishi MELSEC Q Series Programming Manual page 698

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

BAND(P),DBAND(P)
(3) The output value stored at
exceed the range of from
DBAND
(1) Controls the output value to be stored at the device designated by
the input value (BIN 32 bits) designated by (
and lower limit values specified by (
Output value is controlled in the way shown below:
When
When
When
(2) The values designated by (
2147483648 to 2147483647.
(3) The output value stored at
results exceed the range of from
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
S2
7-324
is a signed 16-bit BIN value. Therefore, if the operation results
D
32768 to 32767, the following will take place:
Dead band lower limit value
When :
Input value
Output value
32768
S1
+1
S1
S3
+1
S3
Lower limit value
Input value
+1
S2
+1
S2
S3
S3
Upper limit value
Input value
S1
+1
S1
+1
S3
S3
Lower limit value
Input value
Output value (
Dead band lower
limit value (
S1
,
S1
,
S1
,
D
Dead band lower limit value (
When :
Input value (
Output value
7FFFFC18
.
.................10
S1
............................................ 32768
S3
10
8000
A
H
H
,
+1) is within the range of dead band upper
S3
S3
,
+1) and (
,
S1
S1
S2
S2
+1
S3
S3
S1
Input value
Lower limit value
+1
S3
S3
S2
Input value
Upper limit value
S2
+1
S2
Upper limit value
D
+1,
D
)
+1)
Input value (
0
Dead band upper
limit value (
,
+1)
S2
S2
+1), (
,
+1), or (
S1
S2
S2
S3
+1 is a signed 32-bit BIN value. Therefore, if the operation
D
2147483648 to 2147483647, the following takes place:
,
+1).....1000
S1
S1
,
+1) ............................... 2147483648
S3
S3
2147483648 1000 80000000
2147482648
H
is greater than the upper limit value designated by
S1
7FF6
32758
H
by checking whether
D
+1) or not.
+1
D
+1
D
S1
Output value
+1
D
+1
D
S2
Output value
D
D
+1
0
Output value
,
+1)
S3
S3
,
+1) are within the range of from
S3
000003E8
H
H
(Error code: 4100)

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents