EasyManuals Logo

Trio Motion Coordinator MC216 User Manual

Trio Motion Coordinator MC216
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 #328 background imageLoading...
Page #328 background image
8-138Trio BASIC Commands
Mathematical Operations and Commands
Trio Motion Technology
ABS
Type:
Function
Syntax:
ABS(expression)
Description:
The
ABS
function converts a negative number into its positive equal. Positive num-
bers are unaltered.
Parameters:
Example:
IF ABS(AIN(0))>100 THEN
PRINT "Analog Input Outside +/-100"
ENDIF
ACOS
Type:
Function
Syntax:
ACOS(expression)
Description:
The
ACOS
function returns the arc-cosine of a number which should be in the range
1 to -1. The result in radians is in the range 0..PI
Parameters:
Example:
>>PRINT ACOS(-1)
3.1416
AND
Type:
Logical and bitwise operator
Syntax
<expression1> AND <expression2>
Description:
This performs an AND function between corresponding bits of the integer part of
two valid Trio BASIC expressions.
The AND function between two bits is defined as follows:
Expression:
Any valid Trio BASIC expression
Expression:
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 MC216 and is the answer not in the manual?

Trio Motion Coordinator MC216 Specifications

General IconGeneral
BrandTrio
ModelMotion Coordinator MC216
CategoryController
LanguageEnglish

Related product manuals