7 APPLICATION INSTRUCTIONS
7.12 Data Control Instructions
867
7
Zone control of 32-bit binary data
DZONE(P)(_U)
These instructions add a bias value to the specified input value (32-bit binary).
■Execution condition
■Descriptions, ranges, and data types
■Applicable devices
Ladder ST
ENO:=DZONE(EN,s1,s2,s3,d);
ENO:=DZONEP(EN,s1,s2,s3,d);
ENO:=DZONE_U(EN,s1,s2,s3,d);
ENO:=DZONEP_U(EN,s1,s2,s3,d);
FBD/LD
Instruction Execution condition
DZONE
DZONE_U
DZONEP
DZONEP_U
Operand Description Range Data type Data type (label)
(s1) DZONE(P) Device for storing the negative bias value to be
added to the input value
-2147483648 to 2147483647 32-bit signed binary ANY32_S
DZONE(P)_U 0 to 4294967295 32-bit unsigned binary ANY32_U
(s2) DZONE(P) Device for storing the positive bias value to be
added to the input value
-2147483648 to 2147483647 32-bit signed binary ANY32_S
DZONE(P)_U 0 to 4294967295 32-bit unsigned binary ANY32_U
(s3) DZONE(P) Device for storing the Input value used for zone
control
-2147483648 to 2147483647 32-bit signed binary ANY32_S
DZONE(P)_U 0 to 4294967295 32-bit unsigned binary ANY32_U
(d) DZONE(P) Start device for storing the output value
controlled by zone control
32-bit signed binary ANY32_S
DZONE(P)_U 32-bit unsigned binary ANY32_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)