Double Decrement Binary: Dcbl(097) - Omron SYSMAC CVM1 Series Operation Manual

Duplex system
Hide thumbs Also See for SYSMAC CVM1 Series:
Table of Contents

Advertisement

Increment/Decrement Instructions
Flags
Example
0000
00

5-22-8 DOUBLE DECREMENT BINARY: DCBL(097)

Ladder Symbol
Variations
j DCBL(097)
Description
Precautions
Flags
Example
0000
00
Content of *DM word is not BCD when set for BCD.
ER (A50003):
EQ (A50006):
The result is 0.
N (A50008):
Shows the status of bit 15 of Wd+1 after execution.
When CIO 000000 is ON in the following example, the content of CIO 0500 and
CIO 0501 is incremented by 1 as a binary value.
(096)
INBL
0500
Wd+1: CIO 0501 Wd: CIO 0500
0 0 0 0
Operand Data Area
(097)
Wd: Word
DCBL Wd
When the execution condition is OFF, DCBL(097) is not executed. When the ex-
ecution condition is ON, DCBL(097) decrements the 8-digit binary number con-
tained in Wd+1 and Wd, without affecting carry (CY). Wd+1 contains the 16
5
6
7
16
, 16
, and 16
digits.
Refer to page 101 for general precautions on operand data areas.
Content of *DM word is not BCD when set for BCD.
ER (A50003):
EQ (A50006):
The result is 0.
N (A50008):
Shows the status of bit 15 of Wd+1 after execution.
When CIO 000000 is ON in the following example, the content of CIO 1200 and
CIO 1201 is decremented by 1 as a binary value.
(097)
DCBL
1200
Wd+1: CIO 1201
0 0 0 1
Address Instruction
Wd+1: CIO 0501 Wd: CIO 0500
+ 1
F F F F
0 0 0 1
0
CIO, G, A, DM
Address Instruction
Wd: CIO 1200
Wd+1: CIO 1201
– 1
0 0 0 0
0 0 0 0
0
N
Section 5-22
Operands
00000
LD
000000
00001
INBL(096)
0500
0 0 0 0
N
Operands
00000
LD
000000
00001
DCBL(097)
1200
Wd: CIO 1200
F F F F
4
,
305

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cv seriesSysmac cvm1d series

Table of Contents