EasyManuals Logo
Home>Omron>Controller>CPM1

Omron CPM1 Programming Manual

Omron CPM1
541 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 #337 background imageLoading...
Page #337 background image
316
Logic Instructions Section 5-23
5-23 Logic Instructions
5-23-1 COMPLEMENT – COM(29)
Limitations DM 6144 to DM 6655 cannot be used for Wd.
Description When the execution condition is OFF, COM(29) is not executed. When the
execution condition is ON, COM(29) clears all ON bits and sets all OFF bits in
Wd.
Precautions The complement of Wd will be calculated every cycle if the undifferentiated
form of COM(29) is used. Use the differentiated form (@COM(29)) or com-
bine COM(29) with DIFU(13) or DIFD(14) to calculate the complement just
once.
Example
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 the result is 0.
5-23-2 LOGICAL AND – ANDW(34)
Limitations DM 6144 to DM 6655 cannot be used for R.
Description When the execution condition is OFF, ANDW(34) is not executed. When the
execution condition is ON, ANDW(34) logically AND’s the contents of I1 and I2
bit-by-bit and places the result in R.
Wd: Complement word
IR, SR, AR, DM, HR, LR
Ladder Symbols Operand Data Areas
COM(29)
Wd
@COM(29)
Wd
1001100110011001
0110011001100110
15 00
15 00
Original
Complement
Ladder Symbols
ANDW(34)
I1
I2
R
@ANDW(34)
I1
I2
R
I1: Input 1
IR, SR, AR, DM, HR, TC, LR, #
I2: Input 2
IR, SR, AR, DM, HR, TC, LR, #
Operand Data Areas
R: Result word
IR, SR, AR, DM, HR, LR

Table of Contents

Other manuals for Omron CPM1

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CPM1 and is the answer not in the manual?

Omron CPM1 Specifications

General IconGeneral
BrandOmron
ModelCPM1
CategoryController
LanguageEnglish

Related product manuals