EasyManua.ls Logo

Okuma OSP-P20L - Page 312

Okuma OSP-P20L
364 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
5238-E P-299
SECTION 12 USER TASK
Boolean Expressions
Functions
Operator Meaning Example Rule
OR Logical sum VDKN [11] OR VDIN [12]
Provide a space on either
side of the operator.
AND Logical product VDIN [11] AND VDIN [12]
EOR Exclusive OR VDIN [11] EOR VDIN [12]
NOT Negation
Function Meaning Example Rule and Remark
SIN Sine X = 15 * SIN [22.5] 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
COS Cosine Z = 15 * COS [22.5]
TAN Tangent Z = 15 * TAN [12.5]
ATAN
Arctangent (1)
Value range: -90 to 90
X = 15 * ATAN [22.5]
ATAN2
Arctangent (2)
Angle of point defined by
coordinate value (a, b).
Value range -180 to 180
ATAN2 [10.15]
SQRT Square root X = 15 * SQRT [224.5]
ABS Absolute value ABS [V15]
BIN Decimal to binary conversion
BIN [V15]
4BYTE
BCD Binary to decimal conversion
BCD [V20]
4BYTE
ROUND Rounding off fractions ROUND [V5]
FIX Cutting off fractions FIX [V7]
FUP
Counting fractions as a whole
number
FUP [V15]
DROUND
Rounding off fractions to three
decimal places (metric system) or
to four decimal places (inch
system)
DROUND [V20]
DFIX
Cutting off fractions below the
third decimal place (metric
system) or below the fourth
decimal place (inch system)
DFIX [V20]
DFUP
Count the figures below the third
decimal place (metric syst em) or
below the fourth decimal place
(inch system) as a whole number
DFUP [V21]
MOD
Remainder
(a - fix[a/b]*b)
MOD [a,b]

Table of Contents

Related product manuals