EasyManua.ls Logo

HEIDENHAIN iTNC 530 HSCI - Push Word Accumulator Onto the Data Stack (PSW); Pull Logic Accumulator from the Data Stack (PLL)

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 1813
9.8.62 PUSH WORD ACCUMULATOR ONTO THE DATA STACK (PSW)
Syntax: PSW (PUSH WORDACCU)
Operands: None
Action:
The PSW command enables you to buffer the word accumulator. With the
PSW command, the iTNC copies the word accumulator onto the data stack.
The content of the word accumulator (32 bits) occupies two words on the data
stack. In the event of a stack overflow, the iTNC displays an error message.
Example:
Since the sequence is the same for all stack operations, this example also
applies to the commands PS, PL, PSW, PLL, PLW. The difference between
the individual operations lies merely in the transferred data width.
Call Module 15 at a certain place in the program. After returning to the main
program, restore the original accumulator content. Accumulator content
before the module call: 1A 44 3E 18
9.8.63 PULL LOGIC ACCUMULATOR FROM THE DATA STACK (PLL)
Syntax: PLL (PULL LOGICACCU)
Operands: None
Action:
The PLL command is the counterpart to the PSL command. Data that has been
buffered with the PUSH command can be restored from the data stack by
using the PULL command. The iTNC copies bit 7 of the data stack’s current
address into the logic accumulator. If the stack is empty, the iTNC displays an
error message.
Example:
See PSW command.
Function STL Accumulator
content
Data stack
Buffer the word
accumulator in the data
stack
PSW 1A443E18 1A443E18
Call subroutine 15 CM 15
Restore data stack into
word accumulator.
PLW 1A443E18 1A443E18

Table of Contents

Other manuals for HEIDENHAIN iTNC 530 HSCI

Related product manuals