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.
Содержание SYSMAC CJ Series
Страница 2: ......
Страница 70: ...Specifications Section 2 4 58...
Страница 84: ...FINS commands Section 3 4 72...
Страница 148: ...All BASIC commands Section 4 2 136 AXIS 1 AXIS 0...
Страница 277: ...Section 265 SECTION 5 Examples This chapter gives 2 categories of examples and tips How to s Practical examples...
Страница 370: ...Section 358...