EasyManua.ls Logo

Fagor CNC 8070 - Detailed description of the CNC status bar

Fagor CNC 8070
556 pages
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...



Programming manual
20
CNC 8070
1.
CREATING A PROGRAM
Parameters, constants and expressions
(SOFT V02.0X)
16
1.5.2 Operators and functions
An operator is a symbol that indicates the mathematical or logic
operations to carry out. The CNC offers the following types of
operators.
Arithmetic
To perform arithmetic operations.
In the operation, when using the parameter or variable storing the
result, the add, subtract, multiply and divide operators may be used
as follows:
Relational
Used for doing comparisons.
Binary
Used for doing binary comparisons between constants and/or
arithmetic expressions.
If the constant or the result of the arithmetic expression is a decimal
number, the decimal portion will be ignored.
+ Add P1 = 3+4 P1=7
- Subtract
Change sign
P2 = 5-2
P2 = -[3+4]
P2=3
P2 = -7
* Multiply P3 = 2*3 P3=6
/ Divide P4 = 9/2 P4=4.5
MOD Module or remainder of a division P5 = 5 MOD 2 P5=1
** Exponent P6 = 2**3 P6=8
+= Compounded addition P1 += 3 P1=P1+3
-= Compounded subtraction P2 -= 5 P2=P2-5
*= Compounded multiplication P3 *= 2 P3=P3*2
/= Compounded division P4 /= 9 P4=P4/9
== Equal to P1 == 4
!= Different from, other than P2 != 5
>= Greater than or equal to P3 >= 10
<= Smaller than or equal to P4 <= 7
> Greater than P5 > 5
< Smaller than P6 < 5
&Binary AND P1 = P11 &
P12
| Binary OR P2 = P21 | P22
^ Exclusive OR (XOR) P3 = P 31 ^
P32
INV[...] Inverse P4 = INV[P41]

Table of Contents

Other manuals for Fagor CNC 8070

Related product manuals