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

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

Advertisement

Sample program
When CIO 0.00 is ON in the following example, SREAD(639) reads the data in the specified word in the
stack starting at D0 and outputs the data to D100. In this case, the stack pointer indicates D7 and the
offset value is 3, so the data is read from D4.
0.00
SREAD
Last word
in stack
Last word
in stack
CS/CJ/NSJ Series Instructions Reference Manual (W474)
D0
&3
D100
PLC memory address
D0
of last word in the stack
D1
D2
Stack pointer
D3
D4
Stack
pointer
D5
3
D6
D7
D8
D9
D0
PLC memory address of
last word in the stack
D1
D2
Stack pointer
D3
D4
Stack
pointer
D5
D6
D7
D8
D9
PLC memory
address
A
D100
A
The stack pointer position remains
unchanged after the data is read.
3. Instructions
A
3
559

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