Appendix C
"
/
Name
Mnemonic
Operand Data Areas
Function
Symbol
COMPARE
CMP(20)
CMP(20)
Cp1
Cp2
Compares
the
data
in
two
4-digit
hexadecimal words (Cp1 and Cp2) and
outputs result to the GR, EQ, or LE Flags.
Cp1/Cp2:
IR
SR
Work bits
TC
DM
#
MOVE
MOV(21)
MOV(21)
S
D
Transfers data from source word, (S) to
destination word (D).
S:
IR
SR
Work
bits
TC
DM
#
D:
IR
Work bits (ex-
cept word 12)
DM
MOVE NOT
MVN(22)
MVN(22)
S
D
Transfers the inverse of the data in the
source word (S) to destination word (D).
S:
IR
SR
Work
bits
TC
DM
#
D:
IR
Work bits (ex-
cept word 12)
DM
BCD TO BINARY
BIN(23)
BIN(23)
S
R
Converts 4-digit, BCD data in source word
(S) into 16-bit binary data, and outputs
converted data to result word (R).
S
x10
0
x10
1
x10
2
x10
3
x16
0
x16
1
x16
2
x16
3
(BCD
)
(
BIN
)
R
S:
IR
SR
Work
bits
TC
DM
R:
IR
Work bits (ex-
cept word 12)
DM
BINARY TO BCD
BCD(24)
BCD(24)
S
R
Converts binary data in source word (S)
into BCD, and outputs converted data to
result word (R).
x16
0
x16
1
x16
2
x16
3
x10
1
x10
2
x10
3
S
R
(
BIN)
(BCD
)
x10
0
S:
IR
SR
Work
bits
DM
R:
IR
Work bits (ex-
cept word 12)
DM
ARITHMETIC
SHIFT LEFT
ASL(25)
ASL(25)
Wd
Each bit within a single word of data (Wd)
is shifted one bit to the left, with zero written
to bit 00 and bit 15 moving to CY.
Wd
15
00
CY
0
Wd:
IR
Work bits (except word 12)
DM
Содержание C500-LDP01-V1
Страница 1: ...C500 LDP01 V1 Ladder Program I O Unit Operation Manual Revised January 1992...
Страница 2: ......
Страница 4: ......
Страница 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...
Страница 7: ...02 4 8 02 3 3 3 8 8 3 4 3 3 4...
Страница 11: ...8 9 4 8 8...
Страница 18: ...8 3 8 02 5 02 5 8 02 2 2 3 0 5 0 1 1...
Страница 29: ...8 4 6 6 02 8 2 4 12 2 1 56 7 02 02...
Страница 37: ...3 8 4 8 4 3 5 1 8 1...
Страница 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...
Страница 57: ...3 4 6 2 1 3 0 3 4 7 02 6 7 6 02 8 2 8 0 5 7...