High−level Instructions
3 − 600
Explanation of example
When the specified bit position n = 10
0 0 0 1 1 1 01 0 1 0 1 0 1 0 1
15 0
S
1
15
0
D
0
D+1
10
0
D+2
1
D+3
1
D+4
0
D+5
1
D+6
1
D+7
1
D+8
0
D+9
0
D+10
0
D+11
1
D+12
0
D+13
1
D+14
0
D+15
Description
The bit data at the position specified by “n” of the 16-word data area with the head address D is rewritten using
the 16-bit data of the area specified by S.
The contents of the bits of the 16-word data area with head address D that are not specified do not change.
“n” can be between 0 and 15.
Flag conditions
・Error flag (R9007): Turns on and stays on when:
・Error flag (R9008): Turns on for an instant when:
− The area specified using the index modifier exceeds the limit.
− If the specified bit position [n] is not in the range 0 n 15.
− If the result of the conversion overflows the storage area specified with D.