Appendix C
"
,
Name
Mnemonic
Operand Data Areas
Function
Symbol
ARITHMETIC
SHIFT RIGHT
ASR(26)
ASR(26)
Wd
Each bit within a single word of data (Wd)
is shifted one bit to the right, with zero
written to bit 15 and bit 00 moving to CY.
0
Wd
CY
15
00
Wd:
IR
Work bits (except word 12)
DM
ROTATE LEFT
ROL(27)
ROL(27)
Wd
Each bit within a single word of data (Wd)
is moved one bit to the left, with bit 15
moving to carry (CY), and CY moving to bit
00.
15
00
CY
Wd
Wd:
IR
Work bits (except word 12)
DM
ROTATE RIGHT
ROR(28)
ROR(28)
Wd
15
00
CY
Wd
Each bit within a single word of data (Wd)
is moved one bit to the right, with bit 00
moving to carry (CY), and CY moving to bit
15.
Wd:
IR
Work bits (except word 12)
DM
COMPLEMENT
COM(29)
COM(29)
Wd
Inverts bit status of one word (Wd) of data,
changing 0s to 1s, and vice versa.
Wd
Wd
Wd:
IR
Work bits (except word 12)
DM
BCD ADD
ADD(30)
ADD(30)
Au
Ad
R
CY
CY
Adds two 4-digit BCD values (Au and Ad)
and content of CY, and outputs the result to
the specified result word (R).
Au + Ad +
R
Au/Ad:
IR
SR
Work
bits
TC
DM
#
R:
IR
Work bits (ex-
cept word 12)
DM
BCD SUBTRACT
SUB(31)
SUB(31)
Mi
Su
R
Subtracts both the 4-digit BCD subtrahend
(Su) and content of CY, from the 4-digit
BCD minuend (Mi) and outputs the result to
the specified result word (R).
CY
Mi -- Su --
R CY
Mi/Su:
IR
SR
Work
bits
TC
DM
#
R:
IR
Work bits (ex-
cept word 12)
DM
AND WORD
ANDW(34)
ANDW(34)
I1
I2
R
Logically ANDs two 16-bit input words (I1
and I2) and sets the bits in the result word
(R) if the corresponding bits in the input
words are both ON.
I1/I2:
IR
SR
Work
bits
TC
DM
#
R:
IR
Work bits (ex-
cept word 12)
DM
OR WORD
ORW(35)
ORW(35)
I1
I2
R
Logically ORs two 16-bit input words (I1
and I2) and sets the bits in the result word
(R) when one or both of the corresponding
bits in the input words is/are ON.
I1/I2:
IR
SR
Work
bits
TC
DM
#
R:
IR
Work bits (ex-
cept word 12)
DM
Summary of Contents for C500-LDP01-V1
Page 1: ...C500 LDP01 V1 Ladder Program I O Unit Operation Manual Revised January 1992...
Page 2: ......
Page 4: ......
Page 5: ...0 1 1 1 2 1 2 1 3 2 2 2 4 12 2 1 56 7 02 5 1 8 1 1 7 5 2...
Page 7: ...02 4 8 02 3 3 3 8 8 3 4 3 3 4...
Page 11: ...8 9 4 8 8...
Page 18: ...8 3 8 02 5 02 5 8 02 2 2 3 0 5 0 1 1...
Page 29: ...8 4 6 6 02 8 2 4 12 2 1 56 7 02 02...
Page 37: ...3 8 4 8 4 3 5 1 8 1...
Page 56: ...1 6 0 0 1 7 8 8 02 1 7 8 1 02 3 0 5 02 02 02 2 02 2 02 5 02 02 6 7 12 2...