A-19
Appendices
CP2E CPU Unit Software User’s Manual(W614)
A
-1 In
struction
Fu
nctio
n
s
App
A-1-9 Symbol Math In
str
uctions
DOUBLE
INCREMENT
BCD
++BL
@
Increments the
8
-digit BCD content of the specified words by 1.
DECREMENT
BCD
−
−
B
@
Decrements the 4-digit BCD content of the specified word by 1.
DOUBLE DEC-
REMENT BCD
−
−
BL
@
Decrements the
8
-digit BCD content of the specified words by 1.
A-1-9
Symbol Math Instructions
Instruction
Mnemonic
Variations
Symbol/Operand
Function
SIGNED
BINARY ADD
WITHOUT
CARRY
+
@
Adds 4-digit (single-word) hexadecimal data and/or constants.
DOUBLE
SIGNED
BINARY ADD
WITHOUT
CARRY
+L
@
Adds
8
-digit (double-word) hexadecimal data and/or constants.
SIGNED
BINARY ADD
WITH CARRY
+C
@
Adds 4-digit (single-word) hexadecimal data and/or constants with
the Carry Flag (CY).
DOUBLE
SIGNED
BINARY ADD
WITH CARRY
+CL
@
Adds
8
-digit (double-word) hexadecimal data and/or constants
with the Carry Flag (CY).
Instruction
Mnemonic
Variations
Symbol/Operand
Function
++BL(595)
Wd
Wd
:
1st word
Wd+1
Wd
Wd+1
Wd
− −
B(596)
Wd
Wd
: Word
−
1
Wd
Wd
− −
BL(597)
Wd
Wd
: 1st word
Wd+1
Wd
Wd+1
Wd
+(400)
Au
Ad
R
Au
: Augend word
Ad
: Addend word
R
: Result word
Au
Ad
R
CY
+
(Signed binary)
(Signed binary)
(Signed binary)
CY will turn
ON when
there is a
carry.
+L(401)
Au
Ad
R
Au
: 1st augend word
Ad
: 1st addend word
R
: 1st result word
Ad+1
R+1
CY
+
Au
Ad
R
Au+1
CY will
turn ON
when there
is a carry.
(Signed binary)
(Signed binary)
(Signed binary)
+C(402)
Au
Ad
R
Au
: Augend word
Ad
: Addend word
R
: Result word
CY
+
Au
Ad
R
CY
CY will turn
ON when
there is a
carry.
(Signed binary)
(Signed binary)
(Signed binary)
+CL(403)
Au
Ad
R
Au
: 1st augend word
Ad
: 1st addend word
R
: 1st result word
Ad+1
R+1
CY
+
Au
Ad
R
CY
Au+1
(Signed binary)
(Signed binary)
(Signed binary)
CY will
turn ON
when there
is a carry.
Summary of Contents for SYSMAC CP Series
Page 3: ......
Page 32: ...1 Overview 1 4 CP2E CPU Unit Software User s Manual W614 ...
Page 44: ...3 CPU Unit Operation 3 8 CP2E CPU Unit Software User s Manual W614 ...
Page 116: ...6 I O Allocation 6 8 CP2E CPU Unit Software User s Manual W614 ...
Page 144: ...7 PLC Setup 7 28 CP2E CPU Unit Software User s Manual W614 ...
Page 170: ...10 Interrupts 10 14 CP2E CPU Unit Software User s Manual W614 ...
Page 200: ...11 High speed Counters 11 30 CP2E CPU Unit Software User s Manual W614 ...
Page 272: ...12 Pulse Outputs 12 72 CP2E CPU Unit Software User s Manual W614 ...
Page 278: ...13 PWM Outputs 13 6 CP2E CPU Unit Software User s Manual W614 ...
Page 460: ...18 Programming Device Operations 18 28 CP2E CPU Unit Software User s Manual W614 ...
Page 576: ...Revision 2 CP2E CPU Unit Software User s Manual W614 ...
Page 577: ......