![background image](http://html1.mh-extra.com/html/omron/sysmac-cs-series/sysmac-cs-series_reference-manual_742030118.webp)
78
Instruction Functions
Section 2-2
STACK SIZE
READ (CS1-H,
CJ1-H, CJ1M, or
CS1D only)
SNUM
@SNUM
638
Counts the amount of stack data (number of words) in the specified stack. Output
required
742
STACK DATA
READ (CS1-H,
CJ1-H, CJ1M, or
CS1D only)
SREAD
@SREAD
639
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).
Output
required
744
STACK DATA
OVERWRITE
(CS1-H, CJ1-H,
CJ1M, or CS1D
only)
SWRIT
@SWRIT
640
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-
tion).
Output
required
747
STACK DATA
INSERT (CS1-H,
CJ1-H, CJ1M, or
CS1D only)
SINS
@SINS
641
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
pointer position).
Output
required
750
STACK DATA
DELETE (CS1-H,
CJ1-H, CJ1M, or
CS1D only)
SDEL
@SDEL
642
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
pointer position).
Output
required
753
Instruction
Mnemonic
Code
Symbol/Operand
Function
Location
Execution
condition
Page
SNUM(638)
TB
D
TB: First stack
address
D: Destination
word
SREAD(639)
TB
C
D
TB: First stack
address
C: Offset value
D: Destination
word
SWRIT(640)
TB
C
S
TB: First stack
address
C: Offset value
S: Source data
SINS(641)
TB
C
S
TB: First stack
address
C: Offset value
S: Source data
SDEL(642)
TB
C
D
TB: First stack
address
C: Offset value
D: Destination
word
Содержание SYSMAC CS Series
Страница 2: ......
Страница 4: ...iv ...
Страница 30: ...xxx ...
Страница 186: ...146 List of Instructions by Function Code Section 2 4 ...
Страница 194: ...154 3 35 4 MOVE BIT MOVBC 568 1273 3 35 5 BIT COUNTER BCNTC 621 1275 3 35 6 GET VARIABLE ID GETID 286 1277 ...
Страница 1320: ...1280 Model Conversion Instructions Unit Ver 3 0 or Later Section 3 35 ...
Страница 1390: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Страница 1391: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits ...
Страница 1392: ...1352 ASCII Code Table Appendix A ...
Страница 1404: ...1364 Revision History ...