Omron SYSMAC CJ - REFERENCE MANUAL 01-2008 Reference Manual page 117

Sysmac cs/cj/one nsj series programmable controllers
Table of Contents

Advertisement

Instruction Functions
Instruction
Symbol/Operand
Mnemonic
Code
STACK SIZE
READ (CS1-H,
SNUM(638)
CJ1-H, CJ1M, or
CS1D only)
SNUM
@SNUM
638
TB: First stack
address
D: Destination
word
STACK DATA
READ (CS1-H,
SREAD(639)
CJ1-H, CJ1M, or
CS1D only)
SREAD
@SREAD
639
TB: First stack
address
C: Offset value
D: Destination
word
STACK DATA
OVERWRITE
SWRIT(640)
(CS1-H, CJ1-H,
CJ1M, or CS1D
only)
SWRIT
@SWRIT
640
TB: First stack
address
C: Offset value
S: Source data
STACK DATA
INSERT (CS1-H,
SINS(641)
CJ1-H, CJ1M, or
CS1D only)
SINS
@SINS
641
TB: First stack
address
C: Offset value
S: Source data
STACK DATA
DELETE (CS1-H,
SDEL(642)
CJ1-H, CJ1M, or
CS1D only)
SDEL
@SDEL
642
TB: First stack
address
C: Offset value
D: Destination
word
78
Counts the amount of stack data (number of words) in the specified stack. Output
TB
D
Reads the data from the specified data element in the stack. The offset
value indicates the location of the desired data element (how many data
elements before the current pointer position).
TB
C
D
Writes the source data to the specified data element in the stack (overwrit-
ing the existing data). The offset value indicates the location of the desired
data element (how many data elements before the current pointer posi-
TB
tion).
C
S
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 loca-
tion of the insertion point (how many data elements before the current
TB
pointer position).
C
S
Deletes the data element at the specified location in the stack and shifts
the rest of the data in the stack upward. The offset value indicates the
location of the deletion point (how many data elements before the current
TB
pointer position).
C
D
Function
Section 2-2
Location
Page
Execution
condition
743
required
Output
745
required
Output
748
required
Output
751
required
Output
754
required

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SYSMAC CJ - REFERENCE MANUAL 01-2008 and is the answer not in the manual?

Questions and answers

Table of Contents