EasyManuals Logo

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 #340 background imageLoading...
Page #340 background image
319
Increment/Decrement Instructions Section 5-24
Description When the execution condition is OFF, XNRW(37) is not executed. When the
execution condition is ON, XNRW(37) exclusively NOR’s the contents of I1
and I2 bit-by-bit and places the result in R.
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-24 Increment/Decrement Instructions
5-24-1 BCD INCREMENT – INC(38)
Limitations DM 6144 to DM 6655 cannot be used for Wd.
Description When the execution condition is OFF, INC(38) is not executed. When the exe-
cution condition is ON, INC(38) increments Wd, without affecting Carry (CY).
Precautions The content of Wd will be incremented every cycle if the undifferentiated form
of INC(38) is used. Use the differentiated form (@INC(38)) or combine
INC(38) with DIFU(13) or DIFD(14) to increment Wd just once.
Flags ER: Wd is not BCD
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 incremented result is 0.
5-24-2 BCD DECREMENT – DEC(39)
Limitations DM 6144 to DM 6655 cannot be used for Wd.
Description When the execution condition is OFF, DEC(39) is not executed. When the
execution condition is ON, DEC(39) decrements Wd, without affecting CY.
1001100110011001
15 00
0101010101010101
0011001100110011
15 00
15 00
I1
I2
R
Wd: Increment word (BCD)
IR, SR, AR, DM, HR, LR
Ladder Symbols Operand Data Areas
INC(38)
Wd
@INC(38)
Wd
Wd: Decrement word (BCD)
IR, SR, AR, DM, HR, LR
Ladder Symbols Operand Data Areas
DEC(39)
Wd
@DEC(39)
Wd

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
ModelCPM1
ManufacturerOmron
Instruction SetBasic and advanced instructions
Power Supply100 to 240 VAC or 24 VDC
CommunicationRS-232C
I/O Points10, 20, 30, or 40 points depending on the model
TimersYes, multiple timers available
CountersYes, multiple counters available
Input Voltage24V DC
Output TypeRelay or transistor
Number of I/O Points10, 20, 30, 40
Communication PortsRS-232C (optional)
Operating Temperature0°C to 55°C
Storage Temperature-20°C
Humidity10% to 90% (non-condensing)
DimensionsVaries depending on the model
WeightVaries depending on the model
Program Memory2048 steps (2K steps)

Related product manuals