Push Word Accumulator Onto The Data Stack (Psw); Pull Logic Accumulator From The Data Stack (Pll) - HEIDENHAIN iTNC 530 HSCI Technical Manual

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

Advertisement

9.8.62 PUSH WORD ACCUMULATOR ONTO THE DATA STACK (PSW)

9.8.63 PULL LOGIC ACCUMULATOR FROM THE DATA STACK (PLL)

July 2013
PSW (PUSH WORDACCU)
Syntax:
None
Operands:
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
Function
Buffer the word
accumulator in the data
stack
Call subroutine 15
Restore data stack into
word accumulator.
PLL (PULL LOGICACCU)
Syntax:
None
Operands:
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.
9.8 Command Set
STL
Accumulator
content
PSW
1A443E18
CM 15
PLW
1A443E18
Data stack
1A443E18
1A443E18
1813

Advertisement

Table of Contents
loading

Table of Contents