Push Data Onto The Data Stack (Ps) - HEIDENHAIN iTNC 530 HSCI Technical Manual

Hide thumbs Also See for iTNC 530 HSCI:
Table of Contents

Advertisement

9.8.59 PUSH DATA ONTO THE DATA STACK (PS)

Logic processing
with the PS
command
Word processing
with the PS
command
Data stack for byte, word, double word and constant [bit]
31 ....................... 24
x x x x x x x x
x x x x x x x x
D D D D D D D D
K K K K K K K K
July 2013
PS (PUSH)
Syntax:
M, I, O, T, C
Operands:
Action:
The PS command enables you to buffer data. The iTNC loads the addressed
operand onto the data stack. Because the data stack has a width of 32 bits,
you must write to it with a minimum width of one word. The iTNC copies the
operand value into bit 7 of the data stack's current address. The vacant bits of
the occupied memory remain undefined or unused. In the event of a stack
overflow, the iTNC outputs an error message.
Data stack [bit]
31 ...
14 13 12 11 10 9
x
...
x
x
x
Example:
See PSW command.
PS (PUSH)
Syntax:
B, W, D, K
Operands:
Action:
The PS command enables you to buffer data. The iTNC copies the addressed
operand value into the current address of the data stack. During the word
processing, the iTNC copies two words per PS command onto the data stack
and extends the operand—in accordance with the MSB—with the correct
algebraic sign. In the event of a stack overflow, the iTNC displays an error
message.
23 ....................... 16
x x x x x x x x
x x x x x x x x
D D D D D D D D
K K K K K K K K
Example:
See PSW command.
9.8 Command Set
8
7
6
5
x
x
x
L
x
x
15 ............................ 8
x x x x x x x x
W W W W W W W W
D D D D D D D D
K K K K K K K K
4
3
2
1
0
x
x
x
x
x
7 .............................. 0
B B B B B B B B
W W W W W W W W
D D D D D D D D
K K K K K K K K
1811

Advertisement

Table of Contents
loading

Table of Contents