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.2.4 RESET NOT (RN) RN<br />

Abbreviation for the PLC Editor: RN (RESET NOT)<br />

Operand changed Operand unchanged<br />

Execution time [µs] 2.0 to 2.4 1.0 to 1.4<br />

Number of bytes 8 ( 6 )<br />

Byte value in parentheses:<br />

With certain preceding program sequences the command may be shortened.<br />

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

Operation:<br />

The function of the command is dependent upon the contents of the Logic Accumulator. If the Logic<br />

Accumulator = 0, then the addressed operand is set to 0, otherwise the operand remains<br />

unchanged. An RN command is used at the end of a logic chain, in order that a gating result may<br />

influence the operand. The command may be used several times in succession (see example).<br />

Example:<br />

Input I4 and Input I5 are to be gated with OR.<br />

If the gating result = 0, Output O2 and Marker M500 are reset.<br />

Initial state: Input I4 = 0<br />

Input I5 = 0<br />

Output O2 = ?<br />

Marker M500 = ?<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 L I4 ... x x x x x x 0 x x x x x x x 0<br />

2 O I5 ... x x x x x x 0 x x x x x x x 0<br />

3 RN O2 ... x x x x x x 0 x x x x x x x 0<br />

4 RN M500 ... x x x x x x 0 x x x x x x x 0<br />

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

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

Line 3: The gating result = 0: Output O2 is reset.<br />

Line 4: The gating result = 0: Marker M500 is reset.<br />

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

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

Saved successfully!

Ooh no, something went wrong!