7 APPLICATION INSTRUCTIONS
7.12 Data Control Instructions
861
7
Dead band control of 16-bit binary data
BAND(P)(_U)
These instructions control the output value depending on whether the specified 16-bit binary bit value is within the upper and
lower limits of the dead band.
■Execution condition
■Descriptions, ranges, and data types
■Applicable devices
Ladder ST
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);
FBD/LD
Instruction Execution condition
BAND
BAND_U
BANDP
BANDP_U
Operand Description Range Data type Data type (label)
(s1) BAND(P) Lower limit of dead band (no-output band) -32768 to 32767 16-bit signed binary ANY16_S
BAND(P)_U 0 to 65535 16-bit unsigned binary ANY16_U
(s2) BAND(P) Upper limit of dead band (no-output band) -32768 to 32767 16-bit signed binary ANY16_S
BAND(P)_U 0 to 65535 16-bit unsigned binary ANY16_U
(s3) BAND(P) Input value to be controlled by dead band control -32768 to 32767 16-bit signed binary ANY16_S
BAND(P)_U 0 to 65535 16-bit unsigned binary ANY16_U
(d) BAND(P) Device for storing the output value controlled by
dead band control
16-bit signed binary ANY16_S
BAND(P)_U 16-bit unsigned binary ANY16_U
EN Execution condition Bit BOOL
ENO Execution result Bit BOOL
Operand Bit Word Double word Indirect
specification
Constant Others
X, Y, M, L,
SM, F, B, SB,
FX, FY
J\ T, ST, C, D, W,
SD, SW, FD, R,
ZR, RD
U\G, J\,
U3E\(H)G
Z LT, LST,
LC
LZ K, H E $
(s1)
(s2)
(s3)
(d)
RnCPU
RnENCPU
RnSFCPU RnSFCPURnPCPURnPCPU
(Standard) (Safety)
(Redundant)
(Process)