Mitsubishi Electric MELSEC-Q/L Programming Manual page 668

Hide thumbs Also See for MELSEC-Q/L:
Table of Contents

Advertisement

■DBAND
• Controls the output value to be stored at the device designated by (D) by checking whether the input value (BIN 32 bits)
designated by ((S3), (S3)+1) is within the range of dead band upper and lower limit values specified by ((S1), (S1)+1) and
((S2), (S2)+1) or not. Output value is controlled in the way shown below:
Condition
Lower limit value ((S1)+1, (S1)) > Input value ((S3)+1, (S3))
Upper limit value ((S2)+1, (S2)) < Input value ((S3)+1, (S3))
Lower limit value ((S1)+1, (S1))  Input value ((S3)+1, (S3))  Upper limit
value ((S2)+1, (S2))
Output value (
Dead band lower
limit value (
,
+1)
S1
S1
0
• The values designated by ((S1), (S1)+1), ((S2), (S2)+1), or ((S3), (S3)+1) are within the range of from -2147483648 to
2147483647.
• The output value stored at (D), (D)+1 is a signed 32-bit BIN value. Therefore, if the operation results exceed the range of
from -2147483648 to 2147483647, the following will take place:
Ex.
When the dead band lower limit value ((S1), (S1)+1) is 1000 and the input value ((S3), (S3)+1) is -2147483648
-2147483648-1000 = 80000000H-000003E8H = 7FFFFC18H = 2147482648
Operation error
• In the following case, an operation error occurs, the error flag (SM0) turns ON, and an error code is stored into SD0.
Error
Error details
code
4100
The lower limit value specified in (S1) is greater than the upper limit value
specified in (S2).
7 APPLICATION INSTRUCTIONS
666
7.13 Data Control Instructions
D
+1,
D
)
Input value (
Dead band upper
limit value (
,
+1)
S2
S2
Result
Input value ((S3)+1, (S3)) - Lower limit value ((S1)+1, (S1))  Output value
((D)+1, (D))
Input value ((S3)+1, (S3)) - Upper limit value ((S2)+1, (S2))  Output value
((D)+1, (D))
0  Output value ((D)+1, (D))
,
+1)
S3
S3
Q00J/
Q00/
Q01
QnH
QnPH
QnPRH
QnU
LCPU

Advertisement

Table of Contents
loading

Table of Contents