Okuma OSP-P200L Programming Manual page 312

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

Advertisement

Boolean Expressions
Operator
OR
AND
Logical product
EOR
NOT
Functions
Function
SIN
Sine
COS
Cosine
TAN
Tangent
Arctangent (1)
ATAN
Value range: -90 to 90
Arctangent (2)
Angle of point defined by
ATAN2
coordinate value (a, b).
Value range -180 to 180
SQRT
Square root
ABS
Absolute value
BIN
Decimal to binary conversion
BCD
Binary to decimal conversion
ROUND
Rounding off fractions
FIX
Cutting off fractions
Counting fractions as a whole
FUP
number
Rounding off fractions to three
decimal places (metric system) or
DROUND
to four decimal places (inch
system)
Cutting off fractions below the
third decimal place (metric
DFIX
system) or below the fourth
decimal place (inch system)
Count the figures below the third
decimal place (metric syst em) or
DFUP
below the fourth decimal place
(inch system) as a whole number
Remainder
MOD
(a - fix[a/b]*b)
Meaning
Logical sum
VDKN [11] OR VDIN [12]
VDIN [11] AND VDIN [12]
Exclusive OR
VDIN [11] EOR VDIN [12]
Negation
Meaning
Example
Example
X = 15 * SIN [22.5]
Z = 15 * COS [22.5]
Z = 15 * TAN [12.5]
X = 15 * ATAN [22.5]
ATAN2 [10.15]
X = 15 * SQRT [224.5]
ABS [V15]
BIN [V15]
4BYTE
BCD [V20]
4BYTE
ROUND [V5]
FIX [V7]
FUP [V15]
DROUND [V20]
DFIX [V20]
DFUP [V21]
MOD [a,b]
5238-E P-299
SECTION 12 USER TASK
Rule
Provide a space on either
side of the operator.
Rule and Remark
Numbers after function
operation symbols must be
enclosed in square
brackets.
When two elements are
specified within square
brackets, place a comma
between them.
The position of the decimal
point is determined in
accordance with the unit
system selected.
The unit systems for angle
commands are:
1 deg. for 1mm and 1 inch
unit system
0.001 deg. for 1m unit
system
0.0001 deg. for 0.0001 inch
system

Advertisement

Table of Contents
loading

This manual is also suitable for:

Osp-p20l-rOsp-p20lOsp-p200l-r

Table of Contents