Stack Data Insert: Sins(641) - Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 Reference Manual

Programmable controllers
Hide thumbs Also See for SYSMAC CJ - REFERENCE MANUAL 08-2008:
Table of Contents

Advertisement

Table Data Processing Instructions
000000
SWRIT
D00000
&3
D00100
Stack
pointer
Last word
in stack
Stack
pointer
Last word
in stack

3-17-17 STACK DATA INSERT: SINS(641)

Purpose
Ladder Symbol
Variations
Applicable Program Areas
750
case, the stack pointer indicates D00007 and the offset value is 3, so the data
in D00004 is overwritten.
D00000
PLC memory address of
last word in the stack
D00001
D00002
Stack pointer
D00003
D00004
B
D00005
3
D00006
D00007
D00008
D00009
D00000
PLC memory address of
last word in the stack
D00001
D00002
Stack pointer
D00003
D00004
A
D00005
D00006
D00007
D00008
D00009
Inserts the source data at the specified location in the stack and shifts the rest
of the data in the stack downward. The offset value indicates the location of
the desired data element (how many data elements before the current pointer
position).
This instruction is supported by CS1-H, CJ1-H, CJ1M, and CS1D CPU Units
only.
SINS(641)
TB
C
S
Variations
Executed Each Cycle for ON Condition
Executed Once for Upward Differentiation
Executed Once for Downward Differentiation Not supported.
Immediate Refreshing Specification
Block program areas
OK
PLC memory
address
(Overwrite)
D00100
The stack pointer position remains
unchanged after the data is written.
TB: First stack address
C: Offset value
S: Source word
Step program areas
Subroutines
OK
OK
Section 3-17
A
SINS(641)
@SINS(641)
Not supported.
Interrupt tasks
OK

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cs seriesSysmac one nsj seriesSysmac cj series

Table of Contents