Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 Reference Manual page 740

Programmable controllers
Hide thumbs Also See for SYSMAC CJ - REFERENCE MANUAL 08-2008:
Table of Contents

Advertisement

Table Data Processing Instructions
Stack
B
A
Pointer
A is the last word
stored in the stack.
-n
(n=3)
Pointer
Data in pointer position - n
(n=3 in this example.)
700
LIFO(634)
Reads the last (most recent) word of data that was stored in the stack. Decre-
ments the pointer by one and reads the data at this address (the most recent
data stored in the stack). The read data will not be cleared.
Pointer
Data region
SREAD(639)
Reads the data from the specified data element in the stack. The offset value
indicates the location of the desired word (the number of words before the cur-
rent pointer position).
Stack
Pointer to last
word in stack
Pointer
:
A
B
Data region
C
Pointer
(Unchanged)
Last word of
data in stack
Stack
B
A
Data region
Decrements the pointer by one
and reads content of A.
Stack
:
A
B
C
Reads data from pointer
position - n.
(n=3 in this example.)
Section 3-17
Data region
A

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cs seriesSysmac one nsj seriesSysmac cj series

Table of Contents