Omron CS1G/H-CPUxxH Instructions Manual page 649

Sysmac cs series; sysmac cj series
Hide thumbs Also See for CS1G/H-CPUxxH:
Table of Contents

Advertisement

Table Data Processing Instructions
Description
D
D+1
D+2
D+3
Pointer
Flags
Precautions
628
Area
Index Registers
Indirect addressing
using Index Registers
PUSH(632) writes the content of S to the address indicated by the stack
pointer (TB+3 and TB+2) and increments the stack pointer by one.
PLC memory
address
n
m
Write A.
S
A
m
n
After PUSH(632) has been used to write data into a stack, FIFO(633) and
LIFO(634) can be used to read data from the stack.
Name
Label
Error Flag
ER
The stack must be defined in advance with SSET(630).
TB
---
,IR0 to ,IR15
–2048 to +2047 ,IR0 to –2048 to +2047 ,IR15
DR0 to DR15, IR0 to IR15
,IR0+(++) to ,IR15+(++)
,–(– –)IR0 to, –(– –)IR15
D
D+1
D+2
D+3
A
Pointer
Increment
pointer by 1.
ON if the address specified by the stack pointer (TB+3
and TB+2) exceeds the last word in the stack.
(This is a stack overflow error.)
OFF in all other cases.
Section 3-17
S
PLC
memory
n
m+1
A
m
m+1
n
Operation

Advertisement

Table of Contents
loading

Table of Contents