Appendices
A-20
CP2E CPU Unit Software User’s Manual(W614)
BCD ADD
WITHOUT
CARRY
+B
@
Adds 4-digit (single-word) BCD data and/or constants.
DOUBLE BCD
ADD WITH-
OUT CARRY
+BL
@
Adds
8
-digit (double-word) BCD data and/or constants.
BCD ADD
WITH CARRY
+BC
@
Adds 4-digit (single-word) BCD data and/or constants with the
Carry Flag (CY).
DOUBLE BCD
ADD WITH
CARRY
+BCL
@
Adds
8
-digit (double-word) BCD data and/or constants with the
Carry Flag (CY).
SIGNED
BINARY SUB-
TRACT WITH-
OUT CARRY
−
@
Subtracts 4-digit (single-word) hexadecimal data and/or constants.
DOUBLE
SIGNED
BINARY SUB-
TRACT WITH-
OUT CARRY
−
L
@
Subtracts
8
-digit (double-word) hexadecimal data and/or con-
stants.
Instruction
Mnemonic
Variations
Symbol/Operand
Function
+B(404)
Au
Ad
R
Au
: Augend word
Ad
: Addend word
R
: Result word
Au
Ad
R
CY
+
(BCD)
(BCD)
(BCD)
CY will turn
ON when
there is a
carry.
+BL(405)
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
(BCD)
(BCD)
(BCD)
CY will turn
ON when
there is a
carry.
+BC(406)
Au
Ad
R
Au
: Augend word
Ad
: Addend word
R
: Result word
CY
+
Au
Ad
R
CY
(BCD)
(BCD)
(BCD)
CY will turn
ON when
there is a
carry.
+BCL(407)
Au
Ad
R
Au
: 1st augend word
Ad
: 1st addend word
R
: 1st result word
Ad+1
R+1
CY
+
Au
Ad
R
CY
(BCD)
(BCD)
(BCD)
Au+1
CY will turn
ON when
there is a
carry.
−
(410)
Mi
Su
R
Mi
: Minuend word
Su
: Subtrahend word
R
: Result word
Mi
Su
R
CY
−
(Signed binary)
(Signed binary)
(Signed binary)
CY will turn
ON when
there is a
borrow.
−
L(411)
Mi
Su
R
Mi
: Minuend word
Su
: Subtrahend word
R
: Result word
Mi+1
Su+1
R+1
CY
Mi
Su
R
(Signed binary)
(Signed binary)
(Signed binary)
CY will turn
ON when
there is a
borrow.
−
Содержание SYSMAC CP Series
Страница 1: ...USER S MANUAL Cat No W614 E1 01 SYSMAC CP Series CP2E E D CP2E S D CP2E N D CP2E CPU Unit Software ...
Страница 3: ......
Страница 32: ...1 Overview 1 4 CP2E CPU Unit Software User s Manual W614 ...
Страница 44: ...3 CPU Unit Operation 3 8 CP2E CPU Unit Software User s Manual W614 ...
Страница 116: ...6 I O Allocation 6 8 CP2E CPU Unit Software User s Manual W614 ...
Страница 144: ...7 PLC Setup 7 28 CP2E CPU Unit Software User s Manual W614 ...
Страница 170: ...10 Interrupts 10 14 CP2E CPU Unit Software User s Manual W614 ...
Страница 200: ...11 High speed Counters 11 30 CP2E CPU Unit Software User s Manual W614 ...
Страница 272: ...12 Pulse Outputs 12 72 CP2E CPU Unit Software User s Manual W614 ...
Страница 278: ...13 PWM Outputs 13 6 CP2E CPU Unit Software User s Manual W614 ...
Страница 460: ...18 Programming Device Operations 18 28 CP2E CPU Unit Software User s Manual W614 ...
Страница 576: ...Revision 2 CP2E CPU Unit Software User s Manual W614 ...
Страница 577: ......