Omron CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009 Reference Manual page 590

Programmable controllers
Hide thumbs Also See for CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009:
Table of Contents

Advertisement

Sample program
LIFO
When CIO 0.00 is ON in the following example, LIFO(634) reads the content of the word indicated by
the stack pointer (D6) and writes that data to D300.
0.00
Last word
in stack
Last word
in stack
After the data is written to D300, the stack pointer is decremented by one. The content of D6 is left
unchanged.
CS/CJ/NSJ Series Instructions Reference Manual (W474)
D0
D300
TB:
D0
PC memory address
D1
of last word in stack
D2
Stack pointer
D3
D4
Stack
pointer
D5
D6
–1
D7
D8
D9
D0
PC memory address
of last word in stack
D1
D2
Stack pointer
D3
Stack
D4
pointer
D5
D6
D7
D8
D9
3. Instructions
Read by LIFO(634).
D: D300
3
553

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009 and is the answer not in the manual?

Questions and answers

Table of Contents