
476
7 APPLICATION INSTRUCTION
7.10 Data control instruction
Dead band control of 16-bit binary data
BAND(P)(_U)
These instructions control the output value to be stored in the device specified by (d) by checking the input value (16-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).
Setting data
■
Descriptions, ranges, and data types
■
Applicable devices
Processing details
• These instructions control the output value to be stored in the device specified by (d) by checking the input value (16-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.
• When the output value to be stored in the device specified by (d) is a 16-bit signed binary value and the operation result
exceeds the range of -32768 to 32767, the output value is calculated as follows.
Ladder diagram
Structured text
ENO:=BAND(EN,s1,s2,s3,d);
ENO:=BANDP(EN,s1,s2,s3,d);
ENO:=BAND_U(EN,s1,s2,s3,d);
ENO:=BANDP_U(EN,s1,s2,s3,d);
Operand
Description
Range
Data type
Data type (label)
(s1)
BAND(P)
Lower limit value of the dead band (no-output band)
-32768 to +32767
16-bit signed binary
ANY16
BAND(P)_U
0 to 65535
16-bit unsigned binary
(s2)
BAND(P)
Upper limit value of the dead band (no-output band)
-32768 to +32767
16-bit signed binary
ANY16
BAND(P)_U
0 to 65535
16-bit unsigned binary
(s3)
BAND(P)
Input value controlled by the dead band
-32768 to +32767
16-bit signed binary
ANY16
BAND(P)_U
0 to 65535
16-bit unsigned binary
(d)
BAND(P)
Head device number for storing the output value controlled
by the dead band
16-bit signed binary
ANY16
BAND(P)_U
16-bit unsigned binary
Operand
Bit
Word
Double word
Indirect
specification
Constant
Others
X, Y, M, L,
SM, F, B, SB
U
\G
T, ST,
C, LC
T, ST, C, D,
W, SD, SW, R
U
\G
Z
LC
LZ
K, H
E
$
(s1)
(s2)
(s3)
(d)
Condition
Output value
Lower limit value of the dead band (s1) > Input value (s3)
Input value (s3) - Lower limit value of the dead band (s1)
Upper limit value of the dead band (s2) < Input value (s3)
Input value (s3) - Upper limit value of the dead band (s2)
Lower limit value of the dead band (s1)
Input value (s3)
Upper limit value of the dead band (s2)
0
(s1)
(s2)
(s3)
(d)
0
Output value (d)
Input value (s3)
Lower limit value of
the dead band (s1)
Upper limit value of
the dead band (s2)
Summary of Contents for MELSEC iQ-F FX5 series
Page 1: ...MELSEC iQ F FX5 Series Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 21: ...19 PART 1 PART 1 OVERVIEW Part 1 consists of the following chapter 1 OVERVIEW ...
Page 98: ...96 4 STANDARD FUNCTIONS FUNCTION BLOCKS 4 2 Standard Function Blocks MEMO ...
Page 840: ...838 23 TIME DATA FUNCTIONS 23 4 Division MEMO ...
Page 887: ......