beautypg.com

7 parentheses with arithmetic commands, 1 add [ ] (+[ ]), 2 subtract [ ] (–[ ]) – HEIDENHAIN TNC 407 (243 020) Technical Manual User Manual

Page 546: 3 multiplication [ ] (x[ ]), 4 division [ ] (/[ ])

background image


01.98

TNC 407/TNC 415/TNC 425

3 Commands

7-85

3.7 Parentheses with arithmetic Commands

Execution time and code length are summarised respectively for the "open-parentheses" and
corresponding "close-parentheses" commands.

3.7.1 ADD [ ] (+[ ])

Abbreviation for PLC Editor:

+ [ ] (PLUS [ ])

Logic

Byte/Word/Double

Execution time [µs]

-----

0.9 to 2.2

Number of bytes

-----

6

Operands: none

3.7.2 SUBTRACT [ ] (–[ ])

Abbreviation for PLC Editor:

– [ ] (MINUS [ ])

Logic

Byte/Word/Double

Execution time [µs]

-----

0.9 to 2.1

Number of bytes

-----

6

Operands: none

3.7.3 MULTIPLICATION [ ] (x[ ])

Abbreviation for PLC Editor:

x [ ] (MULTIPLY [ ])

Logic

Byte/Word/Double

Execution time [µs]

-----

3.7 to 4.7

Number of bytes

-----

12

Operands: none

Marker M3168 is set if an error occurs.

3.7.4 DIVISION [ ] (/[ ])

Abbreviation for PLC Editor:

/ [ ] (DIVIDE [ ])

Logic

Byte/Word/Double

Execution time [µs]

-----

6.5 to 7.5

Number of bytes

-----

16

In the event of an error (Divisor = 0) in the Division and MODULO functions, the execution time will
be in the range 0.9 to 1.3 µs.

Operands: none

Marker M3169 is set if an error occurs.