EasyManuals Logo
Home>Omron>Controller>CJ - INSTRUCTIONS

Omron CJ - INSTRUCTIONS User Manual

Omron CJ - INSTRUCTIONS
1308 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #611 background imageLoading...
Page #611 background image
573
3. Instructions
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Table Data Processing Instructions
3
SINS
Example Programming
When CIO 0.00 is ON in the following example, SINS(641) inserts the source data in D100 at the
specified address in the stack starting at D0. In this case, the stack pointer indicates D7 and the offset
value is 3, so the source data is inserted in D4. The existing data is shifted down one word and the data
in D7 is overwritten. At the same time the stack pointer will be incremented from D7 to D8.
SINS
D0
#0003
D100
0.00
B
C
D
D0
D1
D2
D3
D4
D5
D6
D7
D8
D9
D0
D1
D2
D3
D4
D5
D6
D7
D8
D9
A
B
C
D
D100
A
−3
+1
PLC
memory
Stack
pointer
Stack pointer
Last word
in stack
Stack
pointer
Stack pointer
Last word
in stack
PLC memory address
of last word in the stack
The stack pointer is incremented
by +1 after the data is inserted.
(Insert)
+1
PLC memory address
of last word in the stack

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CJ - INSTRUCTIONS and is the answer not in the manual?

Omron CJ - INSTRUCTIONS Specifications

General IconGeneral
BrandOmron
ModelCJ - INSTRUCTIONS
CategoryController
LanguageEnglish

Related product manuals