![background image](http://html1.mh-extra.com/html/omron/sysmac-cs1d-cpu/sysmac-cs1d-cpu_reference-manual_742268752.webp)
713
Table Data Processing Instructions
Section 3-17
Examples
When CIO 000000 is ON in the following example, FIFO(633) reads the con-
tent of D00004 (TB+4 for the stack beginning at D00000) and writes that data
to D00300.
After the data is written to D00300, the stack pointer is decremented by one
and the remaining data is shifted down. (The content of D00005 is shifted to
D00004 and the content of D00006 is shifted to D00005.)
3-17-4 LAST IN FIRST OUT: LIFO(634)
Purpose
Reads the last word of data written to the specified stack (the newest data in
the stack).
Ladder Symbol
Variations
Applicable Program Areas
TB:
D: D00300
TB
Read by FIFO(633).
Stack pointer
PC memory address
of last word in stack
Last word
in stack
Stack
pointer
D: D00300
–1
Last word
in stack
Stack
pointer
PC memory address
of last word in stack
Stack pointer
LIFO(634)
TB
D
TB
: First stack address
D
: Destination word
Variations
Executed Each Cycle for ON Condition
LIFO(634)
Executed Once for Upward Differentiation
@LIFO(634)
Executed Once for Downward Differentiation
Not supported.
Immediate Refreshing Specification
Not supported.
Block program areas
Step program areas
Subroutines
Interrupt tasks
OK
OK
OK
OK
Содержание SYSMAC CS1D-CPU**
Страница 3: ...iv...
Страница 29: ...xxx...
Страница 185: ...146 List of Instructions by Function Code Section 2 4...
Страница 193: ...154 3 35 4 MOVE BIT MOVBC 568 1274 3 35 5 BIT COUNTER BCNTC 621 1276 3 35 6 GET VARIABLE ID GETID 286 1278...
Страница 1389: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2...
Страница 1390: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits...
Страница 1391: ...1352 ASCII Code Table Appendix A...