![background image](http://html1.mh-extra.com/html/omron/trajexia-cj1w-mch72/trajexia-cj1w-mch72_operation-manual_742454089.webp)
Categories
Section 4-1
78
4-1-5
I/O commands, functions and parameters
/i
4-1-6
Mathematical functions and operands
/i
Name
Description
AIN
Holds the value of the analogue channel.
AOUT
Holds the value of the analogue channel.
GET
Waits for the arrival of a single character and assigns the
ASCII code of the character to variable.
IN
Returns the value of digital inputs.
OP
Sets one or more outputs or returns the state of the first 24
outputs.
Outputs a series of characters to a serial port.
PSWITCH
Turns on an output when a predefined position is reached,
and turns off the output when a second position is reached.
READ_OP
Returns the value of the digital outputs.
Name
Description
+ (ADDITION)
Adds two expressions.
- (SUBTRACTION)
Subtracts two expressions.
* (MULTIPLICATION)
Multiplies two expressions.
/ (DIVISION)
Divides two expressions.
^ (POWER)
Takes the power of one expression to the other expres-
sion.
= (IS EQUAL TO)
Checks two expressions to see if they are equal.
= (ASSIGNMENT)
Assigns an expression to a variable.
<> (IS NOT EQUAL
TO)
Checks two expressions to see if they are different.
> (IS GREATER THAN)
Checks two expressions to see if the expression on the left
is greater than the expression on the right.
>= (IS GREATER
THAN OR EQUAL TO)
Checks two expressions to see if the expression on the left
is greater than or equal to the expression on the right.
< (IS LESS THAN)
Checks two expressions to see if the expression on the left
is less than the expression on the right.
<= (IS LESS THAN OR
EQUAL TO)
Checks two expressions to see if the expression on the left
is less than or equal to the expression on the right.
ABS
Returns the absolute value of an expression.
ACOS
Returns the arc-cosine of an expression.
AND
Performs an AND operation on corresponding bits of the
integer parts of two expressions.
ASIN
Returns the arc-sine of an expression.
ATAN
Returns the arc-tangent of an expression.
ATAN2
Returns the arc-tangent of the non-zero complex number
made by two expressions.
Содержание trajexia CJ1W-MCH72
Страница 69: ...Specifications Section 2 4 58...
Страница 83: ...FINS commands Section 3 4 72...
Страница 147: ...All BASIC commands Section 4 2 136 AXIS 1 AXIS 0...
Страница 277: ...All BASIC commands Section 4 2 266...
Страница 278: ...267 SECTION 5 Examples This chapter gives 2 categories of examples and tips How to s Practical examples...
Страница 371: ...360 Index...
Страница 373: ...362...