Omron SYSMAC CS Series Instruction & Reference Manual page 507

Hide thumbs Also See for SYSMAC CS Series:
Table of Contents

Advertisement

PUSH
Instruction
PUSH ONTO STACK
Symbol
Applicable Program Areas
Function block
Area
definitions
Usage
OK
Operands
Operand
TB
First stack address
S
Source word
TB: First stack address
TB through TB+3: Stack control words
15
TB
15
TB+1
15
TB+2
15
TB+3
 Operand Specifications
Word addresses
Area
CIO
WR
HR
TB
OK
OK
OK
S
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Mnemonic
Variations
PUSH
@PUSH
Block program areas
Step program areas
OK
OK
Description
0
PC memory address of the last word
in the stack (rightmost 4 digits)
0
PC memory address of the last
word in the stack (leftmost 4 digits)
0
Stack pointer (rightmost 4 digits)
0
Stack pointer (leftmost 4 digits)
AR
T
C
DM
EM
OK
OK
OK
OK
OK
Function
code
632
Writes one word of data to the specified stack.
PUSH
PUSH(632)
TB
TB: First stack address
S
S: Source word
Subroutines
OK
Data type
UINT
UINT
TB+4 through TB+(N-1): Data storage region
TB+4
TB+(N–1)
Indirect DM/EM
addresses
Con-
stants
@DM
*DM
DR
@EM
*EM
---
---
OK
OK
OK
OK
3. Instructions
Function
SFC action or
Interrupt tasks
transition programs
OK
OK
Size
Variable
1
15
0
Data storage region
Registers
Flags
Pulse
bits
Indirect
IR
TK
CF
using IR
---
OK
---
---
3
TR
bits
---
---
473

Advertisement

Table of Contents
loading

Table of Contents