83
Instruction Support and Operand Restrictions Section 2-6
PUSH ONTO
STACK
PUSH
@PUSH
632 Not supported in func-
tion blocks
TB: 1st stack
address
--- ---
S: Source word --- ---
FIRST IN FIRST
OUT
FIFO
@FIFO
633 Not supported in func-
tion blocks
TB: 1st stack
address
--- ---
D: Destination word --- ---
LAST IN FIRST
OUT
LIFO
@LIFO
634 Not supported in func-
tion blocks
TB: 1st stack
address
--- ---
D: Destination word --- ---
DIMENSION
RECORD TABLE
DIM
@DIM
631 N: Table number # + decimal
only
---
LR: Length of each
record
UINT ---
NR: Number of
records
UINT ---
TB: 1st table word UINT Yes (not
fixed)
SET RECORD
LOCATION
SETR
@SETR
635 Not supported in func-
tion blocks
N: Table number --- ---
R: Record number --- ---
D: Destination
Index Register
--- ---
GET RECORD
NUMBER
GETR
@GETR
636 Not supported in func-
tion blocks
N: Table number --- ---
IR: Index Register --- ---
D: Destination word --- ---
DATA SEARCH SRCH
@SRCH
181 C: 1st control word UDINT ---
R1: 1st word in
range
UINT Yes (not
fixed)
Cd: Comparison
data
WORD ---
SWAP BYTES SWAP
@SWAP
637 N: Number of
words
UINT ---
R1: 1st word in
range
UINT Yes (not
fixed)
FIND MAXIMUM MAX
@MAX
182 C: 1st control word UDINT ---
R1: 1st word in
range
UINT Yes (not
fixed)
D: Destination word UINT ---
Instruction Mnemonic Function
code
Symbol Operands Supported
variable
data types
AT
setting or
array
variable
required
(Required
word data
size
shown in
parenthe-
ses.)
DIM
N
LR
NR
TB
SRCH
C
R1
Cd
SWAP
N
R1
MAX
C
R1
D