EasyManuals Logo
Home>Omron>Controller>CQM1H - PROGRAM

Omron CQM1H - PROGRAM User Manual

Omron CQM1H - PROGRAM
602 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #297 background imageLoading...
Page #297 background image
272
Data Movement Instructions Section 5-18
5-18-4 BLOCK SET – BSET(71)
Limitations St must be less than or equal to E, and St and E must be in the same data
area.
DM 6144 to DM 6655 cannot be used for St or E.
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.
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. It can also
be used to clear words by transferring all zeros.
Flags ER: St and E are not in the same data area or St is greater than E.
Indirectly addressed EM/DM word is non-existent.
(Content of *EM/*DM word is not BCD, or the EM/DM area boundary
has been exceeded.)
Example The following example shows how to use BSET(71) to copy a constant
(#0000) to a block of the DM area (DM 0000 to DM 0500) when IR 00000 is
ON.
S: Source data
IR, SR, AR, DM, EM, HR, TIM/CNT, LR, #
St: Starting word
IR, SR AR, DM, EM, HR, TIM/CNT, LR
Ladder Symbols
Operand Data Areas
E: End Word
IR, SR, AR, DM, EM, HR, TIM/CNT, LR
BSET(71)
S
St
E
@BSET(71)
S
St
E
2
S
3 4 5 2
St
3 4 5
2
St+1
3 4 5
2
St+2
3 4 5
2
E
3 4 5
@BSET(71)
#0000
DM 0000
DM 0500
00000
Address Instruction Operands
00000 LD 00000
00001 @BSET(71)
# 0000
DM 0000
DM 0500

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CQM1H - PROGRAM and is the answer not in the manual?

Omron CQM1H - PROGRAM Specifications

General IconGeneral
BrandOmron
ModelCQM1H - PROGRAM
CategoryController
LanguageEnglish

Related product manuals