Programming manual.
CNC 8070
CR
EA
TING A PROGRAM.
1.
Arithmetic and
lo
gic ope
rato
rs an
d
fu
ncti
ons.
·51·
(R
EF
: 1709)
Boolean constants.
Trigonometric functions.
In these type of functions the following must be borne in mind:
• In the "TAN" function, the argument cannot take the values ...-90º, 90º, 270º...
• In the "ASIN" and "ACOS" functions, the argument must always be within ±1.
• There are two functions to calculate the arctangent:
Mathematical functions.
In these type of functions the following must be borne in mind:
• In the "LN" and "LOG" functions, the argument must be grater than zero.
• In the "SQRT" function, the argument must be positive.
Other functions.
In the "EXIST" function, programming "$IF EXIST[P1] == TRUE" is the same as
programming "$IF EXIST[P1]".
TRUE
True
$IF V.S.VAR == TRUE
FALSE
Not true
$IF V.S.VAR == FALSE
SIN[...]
Sine
P1 = SIN[30]
P1 = 0.5
COS[...]
Cosine
P2 = COS[30]
P2 = 0.866
TAN[...]
Tangent
P3 = TAN[30]
P3 = 0.5773
ASIN[...]
Arc-sine
P4 = ASIN[1]
P4 = 90
ACOS[...]
Arc-cosine
P5 = ACOS[1]
P5 = 0
ATAN[...]
Arc-tangent
P6 = ATAN[1]
P6 = 45
ARG[...]
Arctangent y/x
P7=ARG[-1,1]
P7=315
"ATAN"
It returns the result between ±90º.
"ARG"
It returns the result between 0º and 360º.
ABS[...]
Absolute value
P1 = ABS[-10]
P1 = 10
SQR[...]
Square function
P2 = SQR[4]
P2 = 16
SQRT[...]
Square root
P3 = SQRT[16]
P3 = 4
LOG[...]
Decimal logarithm
P4 = LOG[100]
P4 = 2
LN[...]
Neperian logarithm
P5 = LN[100]
P5 = 4.6051
EXP[...]
"e" function
P6 = EXP[1]
P6 = 2.7182
DEXP[...]
Decimal exponent
P6 = DEXP[2]
P7 = 100
INT[...]
Returns the integer
P1 = INT[4.92]
P1 = 4
FRACT[...]
Returns decimal portion
P2 = FRACT[1.56]
P2 = 0.56
ROUND[...]
Rounds up or down to the nearest
integer
P3 = ROUND[3.12]
P4 = ROUND[4.89]
P3 = 3
P4 = 5
FUP[...]
Returns the integer plus one. (If the
number is an integer, it returns it)
P5 = FUP[3.12]
P6 = FUP[9]
P5 = 4
P6 = 9
EXIST[...]
It checks whether the selected
variable or parameter exists or not
$IF EXIST[P1]
$IF EXIST[P3] == FALSE
Содержание 8070 BL
Страница 1: ... Ref 1709 8070 CNC Programming manual ...
Страница 8: ...BLANK PAGE 8 ...
Страница 12: ...BLANK PAGE 12 ...
Страница 14: ...BLANK PAGE 14 ...
Страница 26: ...BLANK PAGE 26 ...
Страница 28: ...BLANK PAGE 28 ...
Страница 30: ...BLANK PAGE 30 ...
Страница 60: ...Programming manual CNC 8070 2 MACHINE OVERVIEW Home search 60 REF 1709 ...
Страница 72: ...Programming manual CNC 8070 3 COORDINATE SYSTEM Coordinate programming 72 REF 1709 ...
Страница 80: ...Programming manual CNC 8070 4 WORK PLANES Select the longitudinal axis of the tool 80 REF 1709 ...
Страница 96: ...Programming manual CNC 8070 5 ORIGIN SELECTION Polar origin preset G30 96 REF 1709 ...
Страница 178: ...Programming manual CNC 8070 9 TOOL PATH CONTROL MANUAL INTERVENTION Variables 178 REF 1709 ...
Страница 304: ...Programming manual CNC 8070 16 C AXIS Machining of the turning side of the part 304 REF 1709 ...
Страница 440: ...Programming manual CNC 8070 22 STATEMENTS AND INSTRUCTIONS Flow controlling instructions 440 REF 1709 ...
Страница 442: ...Programming manual CNC 8070 23 CNC VARIABLES 442 REF 1709 ...
Страница 443: ...Programming manual CNC 8070 443 User notes REF 1709 ...