Acquire Data From The Data Stack (Pl); Load Logic Accumulator Onto The Data Stack (Psl); Logic Execution With The Pl Command - HEIDENHAIN TNC 415 Technical Manual

Hide thumbs Also See for TNC 415:
Table of Contents

Advertisement

3.11.2 Acquire Data from the Data Stack (PL)

Abbreviation for PLC Editor:
Execution time [µs]
Number of bytes

Logic Execution with the PL Command

Operands: M, I, O, T, C
Operation:
The PL command complements the PS command. Data which are saved with PUSH can be taken
from the Data Stack again with PULL. With logic execution, bit 7 is copied from the current address
of the Data Stack into the addressed operand with a PL command. If the Stack is empty, an error
message will be issued.
Logic Execution with the PL Command
Operands: B, W, D
Operation:
The PL command complements the PS command. Data which are saved with PUSH can be taken
from the Data Stack again with PULL. With Word execution, two Words are copied from the current
address of the Data Stack into the addressed memory area with a PL command. If the Stack is
empty, an error message will be issued.

3.11.3 Load Logic Accumulator onto the Data Stack (PSL)

Abbreviation for PLC Editor:
Execution time [µs]
Number of bytes
Operands: none
Operation:
The Logic Accumulator can be buffered with the PSL command. For this purpose, the Logic
Accumulator is loaded onto the Data Stack. Since the Data Stack is organised as 16 bits, it must be
written to with a minimum width of one Word. During this the content of the Logic Accumulator is
copied into the current address of the Data Stack. The free bits of the reserved memory are
undefined or unused. In the event of a Stack overflow, an error message will be issued.
Memory allocation in the Data Stack:
01.98
TNC 407/TNC 415/TNC 425
PL (PULL)
Logic
Byte/Word
1.1 to 1.5
0.9 to 1.3
20
PSL (PUSH LOGICACCU)
0.6 to 1.0
20
Bit 15
x x x x x x x x L x x x x x x x
3 Commands
Double
0.9 to 1.3
20
18
7
0
Constant
----
----
7-101

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tnc 425eTnc 415fTnc 407Tnc 415bTnc 425

Table of Contents