Pull Data From The Data Stack (Pl); Push Logic Accumulator Onto The Data Stack (Psl) - HEIDENHAIN iTNC 530 HSCI Technical Manual

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

Advertisement

9.8.60 PULL DATA FROM THE DATA STACK (PL)

Logic processing
with the PL
command
Word processing
with the PL
command

9.8.61 PUSH LOGIC ACCUMULATOR ONTO THE DATA STACK (PSL)

1812
PL (PULL)
Syntax:
M, I, O, T, C
Operands:
Action:
The PL command is the counterpart to the PS command. Data that has been
buffered with the PUSH command can be taken from the data stack by using
the PULL command. The iTNC copies bit 7 of the data stack's current address
into the addressed operand. If the stack is empty, the iTNC displays an error
message.
Example:
See PSW command.
PL (PULL)
Syntax:
B, W, D, K
Operands:
Action:
The PL command is the counterpart to the PS command. Data that has been
buffered with the PUSH command can be taken from the data stack by using
the PULL command. During word processing, the iTNC copies with the PL
command two words of the current data stack address into the addressed
memory area. If the stack is empty, the iTNC displays an error message.
Example:
See PSW command.
PSL (PUSH LOGICACCU)
Syntax:
None
Operands:
Action:
The PSL command enables you to buffer the logic accumulator. With the PSL
command, the iTNC copies the logic accumulator 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.
Memory allocation data stack [bit]
31 ...
14 13 12 11 10 9
x
...
x
x
x
Example:
See PSW command.
8
7
6
5
x
x
x
L
x
x
HEIDENHAIN Technical Manual iTNC 530 HSCI
4
3
2
1
0
x
x
x
x
x

Advertisement

Table of Contents
loading

Table of Contents