Okuma OSP-P200L Programming Manual page 316

Hide thumbs Also See for OSP-P200L:
Table of Contents

Advertisement

5-3-2. Rules of Operation Expression and Evaluation of Values
Example:
Expression C = A ∗ B
Calculation result
Type of
Expression
Arithmetic
expression
Comparison
expression
Logical
expression
Abbreviations:
[I] ⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅Integer type
[R] ⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅Real type
[I] ⋅⋅⋅⋅⋅⋅⋅⋅⋅Change to real type
[R]
[R] ⋅⋅⋅⋅⋅⋅⋅⋅Change to integer type
[I]
[b] ⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅Logical type
Element 2
Element 1
Operator
Meaning
+
Addition
-
Subtraction
+
Positive sign
-
Negative sign
*
Multiplication
/
Division
LT
Less than <
Less than or
LE
equal to ≤
EQ
Equal to =
Not equal to ≠
NE
GT
Greater than >
Greater than
GE
or equal to ≥
EOR
Exclusive OR
OR
Logical sum
AND
Logical product
NOT
Negation
Type of
Type of
Element 1 "A"
Element 2 "B"
[I]
[I] → [R]
[I] → [R]
[R]
[R]
[I]
[R]
[I] → [R]
[I] → [R]
[R]
[I]
[I] → [R]
[I] → [R]
[R]
[R]
[I]
[R] → [I]
[R] → [I]
(cutting off
(cutting off
fractions)
fractions)
[I] or [R] → [I]
(cutting off
fractions)
5238-E P-303
SECTION 12 USER TASK
LE33013R0301400470001
Type of Result
of Operation
"C"
[I]
[I]
[R]
[R]
[R]
[R]
[R]
[I]
[R]
[R]
[R]
[I]
[R]
[b]
[R]
[I]
[I]
[I]
LE33013R0301400470002

Advertisement

Table of Contents
loading

This manual is also suitable for:

Osp-p20l-rOsp-p20lOsp-p200l-r

Table of Contents