3 greater than (>), 4 less than or equal to (<=), 5 greater than or equal to (>=) – HEIDENHAIN TNC 407 (243 020) Technical Manual User Manual

Page 581

Advertising
background image


7-120

TNC 407/TNC 415/TNC 425

3 Commands

01.98

3.15.3 GREATER THAN (>)

Abbreviation for PLC Editor:

> (GREATER THAN)

Execution time [µs]

< 100

Number of bytes

STRING memory

12

Immediate STRING

20 + n

STRING from error message or dialogue files

26

Operands: S <arg>

Operation:
With this command a direct transition from STRING- to logic execution takes place. The content of the
STRING Accumulator is compared with the STRING in the Argument.
If the STRING Accumulator is greater than the operand, the condition is true and the Logic Accumulator is
set to 1. If the STRING Accumulator is less than or equal to the operand the Logic Accumulator is set to 0.

3.15.4 LESS THAN OR EQUAL TO (<=)

Abbreviation for PLC Editor:

<= (LESS EQUAL)

Execution time [µs]

< 100

Number of bytes

STRING memory

12

Immediate STRING

20 + n

STRING from error message or dialogue files

26

Operands: S <arg>

Operation:
With this command a direct transition from STRING- to logic execution takes place. The content of the
STRING Accumulator is compared with the STRING in the Argument.
If the STRING Accumulator is less than or equal to the operand, the condition is true and the Logic
Accumulator is set to 1. If the STRING Accumulator is greater than the operand the Logic Accumulator is
set to 0.

3.15.5 GREATER THAN OR EQUAL TO (>=)

Abbreviation for PLC Editor:

>= (GREATER EQUAL)

Execution time [µs]

< 100

Number of bytes

STRING memory

12

Immediate STRING

20 + n

STRING from error message or dialogue files

26

Operands: S <arg>

Operation:
With this command a direct transition from STRING- to logic execution takes place. The content of the
STRING Accumulator is compared with the STRING in the Argument. If the STRING Accumulator is
greater than or equal to the operand, the condition is true and the Logic Accumulator is set to 1. If the
STRING Accumulator is less than the operand the Logic Accumulator is set to 0.

Advertising