Omron C200HE Computer Hardware User Manual


 
181
Precautions TC numbers cannot be designated as D to change the PV of the timer or counter.
However, these can be easily changed using BSET(71).
Flags ER: Indirectly addressed DM word is non-existent. (Content of DM word is
not BCD, or the DM area boundary has been exceeded.)
EQ: ON when all zeros are transferred to D.
N: ON when bit 15 of D is set to 1.
5-16-3 BLOCK SET BSET(71)
S: Source data
IR, SR, AR, DM, HR, TC, LR, #
St: Starting word
IR, SR, AR, DM, HR, TC, LR
Ladder Symbols
Operand Data Areas
E: End Word
IR, SR, AR, DM, HR, TC, LR
BSET(71)
S
St
E
@BSET(71)
S
St
E
Limitations St must be less than or equal to E, and St and E must be in the same data area.
Description When the execution condition is OFF, BSET(71) is not executed. When the
execution condition is ON, BSET(71) copies the content of S to all words from St
through E.
2
S
3 4 5 2
St
345
2
St+1
345
2
St+2
345
2
E
345
BSET(71) can be used to change timer/counter PV. (This cannot be done with
MOV(21) or MVN(22).) BSET(71) can also be used to clear sections of a data
area, i.e., the DM area, to prepare for executing other instructions.
Flags ER: St and E are not in the same data area or St is greater than E.
Indirectly addressed DM word is non-existent. (Content of DM word is
not BCD, or the DM area boundary has been exceeded.)
Data Movement Section 5-16