Assign; Logic Execution With The Assign Command - HEIDENHAIN TNC 415 Technical Manual

Hide thumbs Also See for TNC 415:
Table of Contents

Advertisement

3.1.7 ASSIGN (=)

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

Logic execution with the ASSIGN command

Operands: M, I, O, T, C
Operation:
ASSIGN in conjunction with the Logic-Operands (M, I, O, T, C) copies the contents of the Logic
Accumulator to the addressed operand. The = command is only used at the end of a logic chain in
order that a gating result is available. The command may be used several times in succession (see
example).
Example:
Input I4 and Input I5 should be gated with AND and the result assigned to Outputs O2 and O5.
Initial state:
Line Instruction
Bit
1
L I4
2
A I5
3
= O2
4
= O5
Line 1: The operand contents are loaded into the Logic Accumulator.
Line 2: The contents of the Logic Accumulator and Input I5 are gated with AND.
Line 3: The gating result is assigned to Output O2.
Line 4: The gating result is assigned to Output O5.
01.98
TNC 407/TNC 415/TNC 425
= (ASSIGN)
Logic
0.2 to 0.5
4
Input
I4 = 1
Input
I5 = 0
Output
O2 = ?
Output
O5 = ?
Accumulator Contents
31
. . .
... x x x x x x X x x x x x x x
... x x x x x x 1 x x x x x x x
... x x x x x x 0 x x x x x x x
... x x x x x x 0 x x x x x x x
... x x x x x x 0 x x x x x x x
3 Commands
Byte/Word
Double
0.2 to 0.5
0.2 to 0.5
4
4
7
0
Constant
----
Operand Contents
1
0
0
0
7-43

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tnc 425eTnc 415fTnc 407Tnc 415bTnc 425

Table of Contents

Save PDF