570
Table Data Processing Instructions Section 3-16
Examples When CIO 0.00 is ON in the following example, SSET(630) secures a 10-word
stack from D0 to D9. D0 and D1 contain the PLC memory address of the last
word in the stack. D2 and D3 contain the stack pointer. The stack itself begins
in D4.
3-16-2 PUSH ONTO STACK: PUSH(632)
Purpose Writes one word of data to the specified stack.
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)).
&10
0.00
D0
D0
D1
D2
D3
D4
D5
D6
D7
D8
D9
PLC memory address
Last word
in stack
Stack
pointer
PLC memory address
of last word in stack
Stack pointer
10 words
PUSH(632)
TB
S
TB: First stack address
S: Source word
Variations Executed Each Cycle for ON Condition PUSH(632)
Executed Once for Upward Differentiation @PUSH(632)
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