Omron SYSMAC CS Series Instruction & Reference Manual page 511

Hide thumbs Also See for SYSMAC CS Series:
Table of Contents

Advertisement

Example Programming
 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
477

Advertisement

Table of Contents
loading

Table of Contents