![background image](http://html1.mh-extra.com/html/omron/sysmac-cs1d-cpu/sysmac-cs1d-cpu_reference-manual_742268738.webp)
699
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
719
GET RECORD NUMBER
GETR
636
721
DATA SEARCH
SRCH
181
723
SWAP BYTES
SWAP
637
726
FIND MAXIMUM
MAX
182
728
FIND MINIMUM
MIN
183
732
SUM
SUM
184
736
FRAME CHECKSUM
FCS
180
739
STACK NUMBER OUTPUT
SNUM
638
743
STACK DATA READ
SREAD
639
745
STACK DATA OVERWRITE
SWRIT
640
748
STACK DATA INSERT
SINS
641
751
STACK DATA DELETE
SDEL
642
754
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
Содержание SYSMAC CS1D-CPU**
Страница 3: ...iv...
Страница 29: ...xxx...
Страница 185: ...146 List of Instructions by Function Code Section 2 4...
Страница 193: ...154 3 35 4 MOVE BIT MOVBC 568 1274 3 35 5 BIT COUNTER BCNTC 621 1276 3 35 6 GET VARIABLE ID GETID 286 1278...
Страница 1389: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2...
Страница 1390: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits...
Страница 1391: ...1352 ASCII Code Table Appendix A...