![background image](http://html1.mh-extra.com/html/omron/sysmac-cs-series/sysmac-cs-series_reference-manual_742030738.webp)
698
Table Data Processing Instructions
Section 3-17
All of these instructions define or operate on a group of words. The group of
words in a stack are defined by SSET(630), the group of words in a record-
table are defined by DIM(631), and the group of words used in a range
instruction are defined independently in each instruction.
Stack Instructions
Stack instructions act on specially defined data tables called stacks. The first
two words of the stack contain the PLC memory address of the last word in
the stack and the second two words contain the stack pointer (the PLC mem-
ory address of the word that will be overwritten by the next PUSH(632)
instruction).
SET RECORD LOCATION
SETR
635
718
GET RECORD NUMBER
GETR
636
720
DATA SEARCH
SRCH
181
722
SWAP BYTES
SWAP
637
725
FIND MAXIMUM
MAX
182
727
FIND MINIMUM
MIN
183
731
SUM
SUM
184
735
FRAME CHECKSUM
FCS
180
738
STACK NUMBER OUTPUT
SNUM
638
742
STACK DATA READ
SREAD
639
744
STACK DATA OVERWRITE
SWRIT
640
747
STACK DATA INSERT
SINS
641
750
STACK DATA DELETE
SDEL
642
753
Group
Purpose
Instructions
Stack
Operate FIFO (first-in first-out) or LIFO
(last-in first-out) data tables.
SSET(630), PUSH(632),
FIFO(633), LIFO(634),
SREAD(639), SWRIT(640),
SINS(641), SDEL(642), and
SNUM(638)
Record-table
Operate tables of data made up of
records. (Record size is user-defined.)
DIM(631), SETR(635), and
GETR(636)
Range
Operates on a range of words to find
values such as the checksum, a particu-
lar value, the maximum value, or mini-
mum value in the range.
FCS(180), SRCH(181),
MAX(182), MIN(183),
SUM(184), and SWAP(637)
Instruction
Mnemonic
Function code
Page
I/O memory
Stack region
Summary of Contents for SYSMAC CS Series
Page 2: ......
Page 4: ...iv ...
Page 30: ...xxx ...
Page 186: ...146 List of Instructions by Function Code Section 2 4 ...
Page 1320: ...1280 Model Conversion Instructions Unit Ver 3 0 or Later Section 3 35 ...
Page 1390: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Page 1391: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits ...
Page 1392: ...1352 ASCII Code Table Appendix A ...
Page 1404: ...1364 Revision History ...