Advanced Function Instruction
7-101
FUN114 P
Z-WR
ZONE WRITE
FUN114 P
Z-WR
D : Starting address of being set or reset
N : Quantity of being set oe reset, 1~511
D 、 N operand can combine V 、 Z 、 P0~P9 for index
addressing while word operation
Y M S WY WM WS TMR CTR HR IR OR SR ROR DR K XR
Range
Operand
Y0
∣
Y255
M0
∣
M1911
S0
∣
S99
WY0
∣
WY240
WM0
∣
WM1896
WS0
∣
WS984
T0
∣
T255
C0
∣
C255
R0
∣
R3839
R3840
∣
R3903
R3904
∣
R3967
R3968
∣
R4167
R5000
∣
R8071
D0
∣
D4095
V、Z
P0~P9
D ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○
○
N
○ ○ ○ 1-511 ○
● When operation control "EN"=1 or "EN↑" ( P instruction)changes from 0→1, it will perform the write
operation according to the input status of write selection, the specified area of registers or bits will all be reset
to 0 ("1/0"=0) or set to 1("1/0"=1).
X0
EN
114.Z-WR
R0
N : 10
I/O
D :
ERR
˙Above example, registers R0~R9 will be reset to 0 while X0=1.
X0
EN
114.Z-WR
M5
N :
7
I/O
D :
ERR
˙Above example, bits M5~M11 will be reset to 0 while X0=1.