Dead Band Control Of 32-Bit Binary Data - Mitsubishi MELSEC iQ-F FX5 series Programming Manual

Melsec iq-f fx5 series
Hide thumbs Also See for MELSEC iQ-F FX5 series:
Table of Contents

Advertisement

Dead band control of 32-bit binary data

DBAND(P)(_U)
These instructions control the output value to be stored in the device specified by (d) by checking the input value (32-bit binary
data) in the device specified by (s3) with the upper and lower limit values of the dead band specified by (s1) and (s2).
Ladder diagram
(s1)
(s2)
Setting data
■Descriptions, ranges, and data types
Operand
Description
(s1)
DBAND(P)
Lower limit value of the dead band (no-output
band)
DBAND(P)_U
(s2)
DBAND(P)
Upper limit value of the dead band (no-output
band)
DBAND(P)_U
(s3)
DBAND(P)
Input value controlled by the dead band
DBAND(P)_U
(d)
DBAND(P)
Head device number for storing the output value
controlled by the dead band
DBAND(P)_U
■Applicable devices
Operand
Bit
X, Y, M, L,
SM, F, B, SB
(s1)
(s2)
(s3)
(d)
Processing details
• These instructions control the output value to be stored in the device specified by (d) by checking the input value (32-bit
binary data) in the device specified by (s3) with the upper and lower limit values of the dead band specified by (s1) and (s2).
The output value is controlled as follows.
Condition
Lower limit value of the dead band ((s1), (s1)+1) > Input value ((s3), (s3)+1)
Upper limit value of the dead band ((s2), (s2)+1) < Input value ((s3), (s3)+1)
Lower limit value of the dead band ((s1), (s1)+1)  Input value ((s3), (s3)+1)  Upper limit value of
the dead band ((s2), (s2)+1)
Output value (d+1, d)
Lower limit value of the
dead band (s1+1, s1)
• When the output value to be stored in the device specified by (d) is a 32-bit signed binary value and the operation result
exceeds the range of -2147483648 to 2147483647, the output value is calculated as follows.
7 APPLICATION INSTRUCTION
478
7.10 Data control instruction
(s3)
(d)
Word
U\G T, ST,
T, ST, C, D,
C, LC
W, SD, SW, R
Input value (s3+1, s3)
0
Upper limit value of the
dead band (s2+1, s2)
Structured text
ENO:=DBAND(EN,s1,s2,s3,d);
ENO:=DBANDP(EN,s1,s2,s3,d);
Range
-2147483648 to +2147483647
0 to 4294967295
-2147483648 to +2147483647
0 to 4294967295
-2147483648 to +2147483647
0 to 4294967295
Double word Indirect
U\G
Z
LC
LZ
Output value
Input value ((s3), (s3)+1) - Lower limit value of the dead
band ((s1), (s1)+1)
Input value ((s3), (s3)+1) - Upper limit value of the dead
band ((s2), (s2)+1)
0
ENO:=DBAND_U(EN,s1,s2,s3,d);
ENO:=DBANDP_U(EN,s1,s2,s3,d);
Data type
Data type (label)
32-bit signed binary
ANY32
32-bit unsigned binary
32-bit signed binary
ANY32
32-bit unsigned binary
32-bit signed binary
ANY32
32-bit unsigned binary
32-bit signed binary
ANY32
32-bit unsigned binary
Constant
specification
K, H
E
Others
$

Advertisement

Table of Contents
loading

Table of Contents