beautypg.com

4 load word accumulator onto the data stack (psw) – HEIDENHAIN TNC 407 (243 020) Technical Manual User Manual

Page 563

background image


7-102

TNC 407/TNC 415/TNC 425

3 Commands

01.98

3.11.4 Load Word Accumulator onto the Data Stack (PSW)

Abbreviation for PLC Editor:

PSW (PUSH WORDACCU)

Execution time [µs]

1.0 to 1.1

Number of bytes

20

Operands: none

Operation:
The content of the Word Accumulator can be buffered with the PSW command. For this purpose,
the Word Accumulator is copied into the Data Stack. The content of the Word Accumulator (32 bit)
reserves two Words on the Data Stack. In the event of a stack overflow, an error message will be
issued.

3.11.5 Acquire Logic Accumulator from the Data Stack (PLL)

Abbreviation for PLC Editor:

PLL (PULL LOGICACCU)

Execution time [µs]

0.6 to 1.0

Number of bytes

16

Operands: none

Operation:
The PLL command complements the PSL command. With a PLL instruction, bit 7 from the current
address of the Data Stack is copied into the Logic Accumulator. If the stack is empty, an error
message will be issued.

3.11.6 Acquire Word Accumulator from the Data Stack (PLW)

Abbreviation for PLC Editor:

PLW (PULL WORDACCU)

Execution time [µs]

1.0 to 1.1

Number of bytes

16

Operands: none

Operation:
The PLW command complements the PSW command. With a PLW instruction, two Words are
copied from the Data Stack into the Word Accumulator. If the stack is empty, an error message will
be issued.