Appendix C
"
0
Name
Mnemonic
Operand Data Areas
Function
Symbol
EXCLUSIVE OR
XORW(36)
XORW(36)
I1
I2
R
Exclusively ORs two 16-bit input words (I1
and I2) and sets the bits in the result word
(R) when the corresponding bits in input
words differ in status.
I1/I2:
IR
SR
Work
bits
TC
DM
#
R:
IR
Work bits (ex-
cept word 12)
DM
EXCLUSIVE NOR
XNRW(37)
I1
I2
R
XNRW(37)
Exclusively NORs two 16-bit input words
(I1 and I2) and sets the bits in the result
word (R) when the corresponding bits in
both input words have the same status.
I1/I2:
IR
SR
Work
bits
TC
DM
#
R:
IR
Work bits (ex-
cept word 12)
DM
INCREMENT
INC(38)
INC(38)
Wd
Increments the value of a 4-digit BCD word
(Wd) by one, without affecting carry (CY).
Wd:
IR
Work bits (except word 12)
DM
DECREMENT
DEC(39)
DEC(39)
Wd
Decrements the value of a 4-digit BCD
word by 1, without affecting carry (CY).
Wd:
IR
Work bits (except word 12)
DM
SET CARRY
STC(40)
STC(40)
Sets the Carry Flag (i.e., turns CY ON).
None
CLEAR CARRY
CLC(41)
CLC(41)
Clears the Carry Flag (i.e, turns CY OFF). None
ONE DIGIT SHIFT
LEFT
SLD(74)
SLD(74)
St
E
Shifts all data, between the starting word
(St) and ending word (E), one digit (four
bits) to the left, writing zero into the
rightmost digit of the starting word. St and
E must be in the same data area.
E
St
St + 1
0
St/E:
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...