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

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

Advertisement

3. Instructions
Sample program
In this case, the stack pointer indicates D7 and the offset value is 3, so the data is deleted from D4. The
remaining data is shifted up one word and the stack pointer is decremented from D7 to D6.
0.00
SDEL
D0
&3
D100
Stack
pointer
Last word
in stack
Stack
pointer
Last word
in stack
568
D0
PLC memory address
of last word in the stack
D1
D2
Stack pointer
D3
D4
A
D5
B
3
D6
C
D7
D8
D9
-1
D0
PLC memory address
of last word in the stack
D1
D2
Stack pointer
D3
D4
B
D5
C
D6
C
1
D7
D8
D9
PLC memory
address
(Delete/output)
D100
The stack pointer is decremented
by 1 after the data is deleted.
CS/CJ/NSJ Series Instructions Reference Manual (W474)
A

Advertisement

Table of Contents
loading

Table of Contents