EasyManuals Logo

Trio Motion Coordinator MC224 User Manual

Default Icon
566 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #327 background imageLoading...
Page #327 background image
Motion Coordinator Technical Reference Manual
Trio BASIC Commands 8-137
Mathematical Operations and Commands
< Less Than
Type:
Arithmetic Comparison Operation
Syntax
<expression1> < <expression2>
Description:
Returns
TRUE
if expression1 is less than expression2, otherwise returns false.
Note:
TRUE
is defined as -1, and
FALSE
as 0
Parameters:
Example:
IF AIN(1)<10 THEN GOSUB rollup
If the value returned from analog input 1 is less than 10 then execute subroutine
rollup
<= Less Than or Equal
Type:
Arithmetic Comparison Operation
Syntax
<expression1> <= <expression2>
Description:
Returns
TRUE
if expression1 is less than or equal to expression2, otherwise returns
false.
Note:
TRUE
is defined as -1, and
FALSE
as 0
Parameters:
Example:
maybe=1<=0
1 is not less than or equal to 0 and therefore variable
maybe
holds the value 0
Expression1:
Any valid Trio BASIC expression
Expression2:
Any valid Trio BASIC expression
Expression1:
Any valid Trio BASIC expression
Expression2:
Any valid Trio BASIC expression

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Trio Motion Coordinator MC224 and is the answer not in the manual?

Trio Motion Coordinator MC224 Specifications

General IconGeneral
BrandTrio
ModelMotion Coordinator MC224
CategoryController
LanguageEnglish

Related product manuals