![background image](http://html1.mh-extra.com/html/omron/sysmac-cs-series/sysmac-cs-series_reference-manual_742030743.webp)
703
Table Data Processing Instructions
Section 3-17
The following diagram shows the basic structure of a record table. Each
record in a table has the same number of words.
Index Registers (IR) can be used to indirectly reference table data. Address
calculation of the record can be easily made by using the SETR(635) (SET
RECORD NUMBER) instruction and GETR(636) (GET RECORD NUMBER).
Range Instructions
The range instructions included here act on a specified range of words to find
the maximum value (MAX(182)) or minimum value (MIN(183)), search for a
particular value (SRCH(181)), calculate the sum (SUM(184)) or FCS
(FCS(180)), or swap the contents of the leftmost and rightmost bytes in the
words (SWAP(637)).
3-17-1 SET STACK: SSET(630)
Purpose
Defines a stack of the specified length beginning at the specified word.
Ladder Symbol
Variations
Applicable Program Areas
Operands
TB through TB+3: Stack control words
The first four words of the stack contain the PLC memory address of the last
word in the stack and the stack pointer (the PLC memory address of the next
word to be overwritten by PUSH(632)).
Record
Record
Record
Table
Same number of words
in each record
Range
specified in
instruction
MAX or
MIN
search
SRCH
search
SWAP
operation
SUM
calculation or
FCS
calculation
SSET(630)
TB
N
TB
: First stack address
N
: Number of words
Variations
Executed Each Cycle for ON Condition
SSET(630)
Executed Once for Upward Differentiation
@SSET(630)
Executed Once for Downward Differentiation Not supported.
Immediate Refreshing Specification
Not supported.
Block program areas
Step program areas
Subroutines
Interrupt tasks
OK
OK
OK
OK
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 ...