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

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

Advertisement

3. Instructions
Sample program
When CIO 0.00 is ON in the following example, SSET(630) secures a 10-word stack from D0 to D9. D0
and D1 contain the PLC memory address of the last word in the stack. D2 and D3 contain the stack
pointer. The stack itself begins in D4.
0.00
Last word
in stack
548
D0
&10
D0
PC memory address
D1
of last word in stack
D2
Stack pointer
D3
D4
Stack
D5
pointer
D6
D7
D8
D9
PC memory address
10 words
CS/CJ/NSJ Series Instructions Reference Manual (W474)

Advertisement

Table of Contents
loading

Table of Contents