135
4
4 Instructions 4.4.4 Table Operations
BZAND: Dead zone control
◆
Overview
The BZAND instruction controls an output value based on whether the input value is within the range (dened
by upper and lower limits) of the designated dead zone.
BZAND S1 S2 S3 D
Dead zone
control
Applicable model:
H3U
S1 Lower limit Lower limit of a dead zone (with no output zone)
16-bit instruction
(9 steps)
BZAND: Continuous
execution
BZANDP: Pulse
execution
32-bit instruction
(17 steps)
DBZAND:
Continuous execution
DBZANDP: Pulse
execution
S2 Upper limit Upper limit of a dead zone (with no output zone)
S3 Input value Input value subjected to dead zone control
D
Output
value
Number of the element that stores an output value
under dead zone control
◆
Operands
Operand
Bit Element Word Element
System·User System·User Bit Designation Indexed Address Constant
Real
Number
S1 X Y M T C S SM D R T C SD KnX KnY KnM KnS KnSM
V,Z
Modication K H E
S2 X Y M T C S SM D R T C SD KnX KnY KnM KnS KnSM
V,Z
Modication K H E
S3 X Y M T C S SM D R T C SD KnX KnY KnM KnS KnSM
V,Z
Modication K H E
D X Y M T C S SM D R T C SD KnX KnY KnM KnS KnSM
V,Z
Modication K H E
Note: The elements in gray background are supported.
◆
Function
1) 16-bit instruction
A dead zone range is set in [S1] and [S2] and applied to the input value in [S3]. The resulting value is
output to the element [D].
The output value is controlled as follows:
[S3] – [S1] -> [D] when [S1] > [S3];
[S3] – [S2] -> [D] when [S2] < [S3];
0 -> [D] when [S1] ≤ [S3] ≤ [S2].
Output value
Input value
Output value
[D]
[S3]
Input value
[S1]
Lower limit of the
dead zone
[S2]
Upper limit of the
dead zone