06.08.2013 Views

Technical Manual TNC 360 - heidenhain - DR. JOHANNES ...

Technical Manual TNC 360 - heidenhain - DR. JOHANNES ...

Technical Manual TNC 360 - heidenhain - DR. JOHANNES ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

3.1.2 LOAD NOT (LN) LN<br />

Abbreviation for the PLC Editor: LN (LOAD NOT)<br />

Logic Byte/Word Double Constant<br />

Execution time [µs] 1.6 2.4/2.0 2.2 1.8<br />

Number of bytes 6 8 6 8<br />

Logic execution with the LOAD NOT command<br />

Operands: M, I, O, T, C<br />

Operation:<br />

The complement of the addressed operand is loaded into the Logic Accumulator. A load command is<br />

always used at the start of a logic chain in order to enable subsequent gating commands. The same<br />

function is achieved when the gating commands AN, ON, XON are used at the start of a logic chain,<br />

however this should only be used when compatibility with <strong>TNC</strong> 355 is required.<br />

Example:<br />

The inverted logic state of Input I4 and Input I5 is to be gated with AND and the result assigned to<br />

Output O2. Thus the inverted logic state of Input I4 is loaded into the Accumulator to enable<br />

subsequent gating commands.<br />

Initial state: Input I4 = 0<br />

Input I5 = 1<br />

Output O2 = ?<br />

Line Instruction Accumulator Contents Operand Contents<br />

Bit 31 . . . 7 0<br />

... x x x x x x X x x x x x x x<br />

1 LN I4 ... x x x x x x 1 x x x x x x x 0<br />

2 A I5 ... x x x x x x 1 x x x x x x x 1<br />

3 = O2 ... x x x x x x 1 x x x x x x x 1<br />

Line 1: The inverted operand contents are loaded into the Logic Accumulator.<br />

Line 2: The contents of the Logic Accumulator and Input I5 are gated with AND.<br />

Line 3: The gating result is assigned to Output O2.<br />

8/95 <strong>TNC</strong> <strong>360</strong> 3 Commands 7-29

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!