Assign Not; Assign Two's Complement; Logic Processing; Word Processing - HEIDENHAIN TNC 415 Technical Manual

Hide thumbs Also See for TNC 415:
Table of Contents

Advertisement

Line Instruction
Bit
1
L W8
2
W= O5
Line 1: The contents of Word W8 are loaded into the Accumulator.
Line 2: The contents of the Accumulator are assigned to the Outputs O5 to O20.
The Commands B= and D= are processed in the same way except that 8 or 32 bits are used
accordingly.
3.1.11 ASSIGN NOT (=N)
Abbreviation for the PLC Editor: =N (STORE NOT)

Logic processing

Operands: M, I, O, T, C
Operation:
An ASSIGN NOT in conjunction with a logic operand (M,I,O,T,C) copies the one's complement of the
contents of the logic accumulator to the addressed operand.
For example see ASSIGN command (=).

Word processing

Operands: B, W, D
Operation:
An ASSIGN NOT in conjunction with a word operand (B,W,D) copies the one's complement of the
contents of the word accumulator to the addressed operand.
For example see ASSIGN command (=).

3.1.12 ASSIGN TWO'S COMPLEMENT (= -)

Abbreviation for the PLC Editor: = - (STORE MINUS)
Operands: B, W, D
Operation:
An ASSIGN TWO'S COMPLEMENT copies the two's complement of the contents of the word
accumulator to the addressed operand.
For example see ASSIGN command (=).
7-46
TNC 407/TNC 415/TNC 425
Accumulator Contents
31 . . . 15
... x x x x x x x x x x x x x x x x x x
... 0 0 0 0 1 1 0 1 1 0 1 1 1 1 1 1 1 1
... 0 0 0 0 1 1 0 1 1 0 1 1 1 1 1 1 1 1
3 Commands
7
0
Operand Contents
15
8 7
0
00110110 11111111
O20
... ...
O5
00110110 11111111
01.98

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tnc 425eTnc 415fTnc 407Tnc 415bTnc 425

Table of Contents