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

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

Advertisement

2. Summary of Instructions
Instruction
Symbol/Operand
Mnemonic
Code
STACK SIZE
READ (CJ2, CS1-
SNUM(638)
H, CJ1-H, CJ1M,
or CS1D only)
SNUM
@SNUM
638
TB: First stack
address
D: Destination
word
STACK DATA
READ (CJ2, CS1-
SREAD(639)
H, CJ1-H, CJ1M,
or CS1D only)
SREAD
@SREAD
639
TB: First stack
address
C: Offset value
D: Destination
word
STACK DATA
OVERWRITE
SWRIT(640)
(CJ2, CS1-H,
CJ1-H, CJ1M, or
CS1D only)
SWRIT
@SWRIT
640
TB: First stack
address
C: Offset value
S: Source data
STACK DATA
INSERT (CJ2,
SINS(641)
CS1-H, CJ1-H,
CJ1M, or CS1D
only)
SINS
@SINS
641
TB: First stack
address
C: Offset value
S: Source data
STACK DATA
DELETE (CJ2,
SDEL(642)
CS1-H, CJ1-H,
CJ1M, or CS1D
only)
SDEL
@SDEL
642
TB: First stack
address
C: Offset value
D: Destination
word
86
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
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Location
Page
Execution
condition
555
required
Output
557
required
Output
560
required
Output
563
required
Output
566
required

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

Subscribe to Our Youtube Channel

Table of Contents