Standard
RLL
Instructions
5--43
Standard RLL Instructions
Accumulator / Stack Load and Output Data Instructions
DL105 PLC User Manual, 3rd Edition
Acc.
POP the 1st value on the stack into the
accumulator and move stack values
up one location
POP
X1
POP
POP
V2000
4 5 4 5
X X X X
X X X X
Acc.
0 0 0 0
4 5 4 5
Previous Acc. value
Current Acc. value
0 0 0 0 3 7 9 2
Level 1
0 0 0 0 7 9 3 0
Level 2
X X X X X X X X
Level 3
X X X X X X X X
Level 4
X X X X X X X X
Level 5
X X X X X X X X
Level 6
X X X X X X X X
Level 7
X X X X X X X X
Level 8
Accumulator Stack
0 0 0 0 7 9 3 0
Level 1
X X X X X X X X
Level 2
X X X X X X X X
Level 3
X X X X X X X X
Level 4
X X X X X X X X
Level 5
X X X X X X X X
Level 6
X X X X X X X X
Level 7
X X X X X X X X
Level 8
Accumulator Stack
X X X X X X X X
Level 1
X X X X X X X X
Level 2
X X X X X X X X
Level 3
X X X X X X X X
Level 4
X X X X X X X X
Level 5
X X X X X X X X
Level 6
X X X X X X X X
Level 7
X X X X X X X X
Level 8
Accumulator Stack
POP the 1st value on the stack into the
accumulator and move stack values
up one location
POP the 1st value on the stack into the
accumulator and move stack values
up one location
OUT
V2000
OUT
V2001
Acc.
V2001
3 7 9 2
0 0 0 0
4 5 4 5
Acc.
0 0 0 0
3 7 9 2
Previous Acc. value
Current Acc. value
Acc.
V2002
7 9 3 0
0 0 0 0
3 7 9 2
Acc.
X X X X
7 9 3 0
Previous Acc. value
Current Acc. value
OUT
V2002
Copy data from the accumulator to
V2000
Copy data from the accumulator to
V2001.
Copy data from the accumulator to
Copy data from the accumulator to
V2002
Many of the DL105 series instructions will allow V-memory pointers as a operand
(commonly known as indirect addressing). Pointers allow instructions to obtain data
from V-memory locations referenced by the pointer value.
NOTE:
DL105 V-memory addressing is in octal. However, the pointers reference a
V-memory location with values viewed as HEX. Use the Load Address (LDA)
instruction to move an address into the pointer location. This instruction performs the
Octal to Hexadecimal conversion automatically.
In the following simple example we are using a pointer operand in a Load instruction.
V-memory location 2000 is being used as the pointer location. V2000 contains the
value 440 which the CPU views as the Hex equivalent of the Octal address
V-memory location V2100. The CPU will copy the data from V2100 which in this
example contains the value 2635 into the lower word of the accumulator.
Using Pointers
Содержание DL105
Страница 2: ...DL105 PLC User Manual Manual Number D1 USER M...
Страница 308: ...1B DL105 Error Codes In This Appendix Error Code Table...
Страница 314: ...1C Instruction Execution Times In This Appendix Introduction Instruction Execution Times...
Страница 324: ...1D Special Relays In This Appendix DL105 PLC Special Relays...
Страница 327: ...1E PLC Memory In This Appendix DL105 PLC Memory...
Страница 329: ...1F European Union Directives CE In This Appendix European Union EU Directives Basic EMC Installation Guidelines...