Omron CS1G/H-CPUxxH Instructions Manual page 650

Sysmac cs series; sysmac cj series
Hide thumbs Also See for CS1G/H-CPUxxH:
Table of Contents

Advertisement

Table Data Processing Instructions
Examples
Stack
Last word
pointer
in stack
Last word
in stack
3-17-3 FIRST IN FIRST OUT: FIFO(633)
Purpose
Ladder Symbol
Variations
Applicable Program Areas
When CIO 000000 is ON in the following example, PUSH(632) copies the
content of D00200 to the stack beginning at D00000. In this case, the stack
pointer indicates D00007.
PC memory address
of last word in stack
Stack pointer
PC memory address
of last word in stack
Stack pointer
A
Reads the first word of data written to the specified stack (the oldest data in
the stack).
Variations
Executed Each Cycle for ON Condition
Executed Once for Upward Differentiation
Executed Once for Downward Differentiation Not supported.
Immediate Refreshing Specification
Block program areas
OK
OK
PC memory address
Write A.
PC memory address
After the data is written to
D00007, the stack pointer
is incremented by one.
FIFO(633)
TB
TB: First stack address
D
D: Destination word
Step program areas
Subroutines
OK
Section 3-17
FIFO(633)
@FIFO(633)
Not supported.
Interrupt tasks
OK
629

Advertisement

Table of Contents
loading

Table of Contents