![background image](http://html1.mh-extra.com/html/omron/sysmac-cs-series/sysmac-cs-series_reference-manual_742030752.webp)
712
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
Summary of Contents for SYSMAC CS Series
Page 2: ......
Page 4: ...iv ...
Page 30: ...xxx ...
Page 186: ...146 List of Instructions by Function Code Section 2 4 ...
Page 1320: ...1280 Model Conversion Instructions Unit Ver 3 0 or Later Section 3 35 ...
Page 1390: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Page 1391: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits ...
Page 1392: ...1352 ASCII Code Table Appendix A ...
Page 1404: ...1364 Revision History ...