EasyManua.ls Logo

HEIDENHAIN iTNC 530 HSCI - Push Data Onto the Data Stack (PS)

HEIDENHAIN iTNC 530 HSCI
1966 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
July 2013 9.8 Command Set 1811
9.8.59 PUSH DATA ONTO THE DATA STACK (PS)
Logic processing
with the PS
command
Syntax: PS (PUSH)
Operands: M, I, O, T, C
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.
Example:
See PSW command.
Word processing
with the PS
command
Syntax: PS (PUSH)
Operands: B, W, D, K
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.
Example:
See PSW command.
Data stack [bit]
31...14131211109876543210
x... xxxxxxLxxxxxxx
Data stack for byte, word, double word and constant [bit]
31 ....................... 24 23 ....................... 16 15 ............................ 8 7 .............................. 0
xxxxxxxx xxxxxxxx xxxxxxxx BBBBBBBB
xxxxxxxx xxxxxxxx WWWWWWWW WWWWWWWW
DDDDDDDD DDDDDDDD DDDDDDDD DDDDDDDD
KKKKKKKK KKKKKKKK KKKKKKKK KKKKKKKK

Table of Contents

Other manuals for HEIDENHAIN iTNC 530 HSCI

Related product manuals