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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

3.7 Parentheses with arithmetic commands<br />

Execution time and code length are summarized respectively for the "open parentheses" and<br />

corresponding "close parentheses" commands.<br />

3.7.1 ADDITION [ ] (+[ ]) + [ ]<br />

Abbreviation for PLC Editor: + [ ] (PLUS [ ])<br />

Logic Byte/Word/Double<br />

Execution time [µs] ----- 2.6<br />

Number of bytes ----- 6<br />

Operands: none<br />

3.7.2 SUBTRACTION [ ] (–[ ]) – [ ]<br />

Abbreviation for PLC Editor: – [ ] (MINUS [ ])<br />

Logic Byte/Word/Double<br />

Execution time [µs] ----- 3.2<br />

Number of bytes ----- 6<br />

Operands: none<br />

3.7.3 MULTIPLICATION [ ] (x[ ]) X [ ]<br />

Abbreviation for PLC Editor: x [ ] (MULTIPLY [ ])<br />

Logic Byte/Word/Double<br />

Execution time [µs] *) ----- 11.0<br />

Number of bytes ----- 12<br />

Operands: none<br />

3.7.4 DIVISION [ ] (/[ ]) / [ ]<br />

Abbreviation for PLC Editor: / [ ] (DIVIDE [ ])<br />

Logic Byte/Word/Double<br />

Execution time [µs] *) **) ----- 20.2<br />

Number of bytes ----- 16<br />

In the event of an error (Divisor = 0) in the Division and MODULO functions, the execution time will<br />

be in the range 0.9 to 1.3 µs.<br />

Operands: none<br />

*) See Multiplication<br />

**) See Division<br />

7-74 <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!