Omron trajexia CJ1W-MCH72 Operation Manual page 98

Sysmac cj-series programmable controller
Hide thumbs Also See for trajexia CJ1W-MCH72:
Table of Contents

Advertisement

All BASIC commands
4-2-10 >= (Is greater than or equal to)
4-2-11 < (Is less than)
4-2-12 <= (Is less than or equal to)
/i
Type
Mathematical function
Syntax
expression1 >= expression2
Description
The operator >= returns TRUE if expression1 is greater than or equal
to expression2, otherwise it returns FALSE.
Arguments
expression1
Any valid BASIC expression.
expression2
Any valid BASIC expression.
Example
IF a >=10 THEN GOTO label1
If variable a contains a value greater than or equal to 10, program exe-
cution continues at label label1. Otherwise, program execution contin-
ues with the next statement.
See also
N/A
/i
Type
Mathematical function
Syntax
expression1 < expression2
Description
The operator < returns TRUE if expression1 is less than expression2,
otherwise it returns FALSE.
Arguments
expression1
Any valid BASIC expression.
expression2
Any valid BASIC expression.
Example
IF a < 10 THEN GOTO label1
If variable a contains a value less than 10, program execution continues
at label label1. Otherwise, program execution continues with the next
statement.
See also
N/A
/i
Type
Mathematical function
Syntax
expression1 <= expression2
Description
The operator <= returns TRUE if expression1 is less than or equal to
expression2, otherwise it returns FALSE.
Arguments
expression1
Any valid BASIC expression.
expression2
Any valid BASIC expression.
Example
IF a <= 10 THEN GOTO label1
If variable a contains a value less than or equal to 10, program execu-
tion continues at label label1. Otherwise, program execution continues
with the next statement.
See also
N/A
Section 4-2
87

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents