4 - 3
4 PROGRAM CODES
NJ/NY-series G code Instructions Reference Manual (O031)
4-1
Calcul
ation
and
Lo
gic Ope
ra
tion
4
4-
1-3 F
unctions
This operator is a binary operator that divides numbers.
This binary operator gives a surplus (remainder of division).
Division (/)
L3=L1/L2 // OK
L0=0/0 // nan
L0=1/0 // inf
L0=-1/0 // -inf
Modulo (%)
L0=7%3 // 1
L0=-7%3 // -1
L0=7%-3 // 1
L0=-7%-3 // -1
L0=7%4.5 //2.5
L0=7%0 // nan
4-1-3
Functions
Scalar function
Syntax
Operation
Domain [Unit]
Range [Unit]
abs({expression})
Absolute value
All real numbers
A real number that is not a
negative value
acos({expression})
Arc cosine (arccos) of trigono-
metric function
-1.0 to +1.0
0 to Pi [Radian]
acosd({expression})
Arc cosine (arccos) of trigono-
metric function
-1.0 to +1.0
0 to 180 [degree]
acosh({expression})
Inverse hyperbolic cosine
Positive real num-
ber > 1.0
Positive real number
[Radian]
asin({expression})
Arc sine (arcsin) of trigonomet-
ric function
-1.0 to +1.0
-Pi/2 to Pi/2 [Radian]
asind({expression})
Arc sine (arcsin) of trigonomet-
ric function
-1.0 to +1.0
-90 to +90 [degree]
asinh({expression})
Inverse hyperbolic sine
All real numbers
All real numbers [Radian]
atan({expression})
Arctangent (arctan) of trigono-
metric function
All real numbers
-Pi/2 to Pi/2 [Radian]
atan2({expression1},
{expression2})
Arctangent (arctan) of trigono-
metric function of two argu-
ments
All real numbers in
both arguments (but
never two become
zero at the same
time)
-Pi to +Pi [Radian]
atan2d({expression1},
{expression2})
Arctangent (arctan) of trigono-
metric function of two argu-
ments
All real numbers in
both arguments (but
never two become
zero at the same
time)
-180 to +180 [degree]
atand({expression})
Arctangent (arctan) of trigono-
metric function
All real numbers
-90 to +90 [degree]
Содержание NJ501-5300
Страница 13: ...11 CONTENTS NJ NY series G code Instructions Reference Manual O031...
Страница 28: ...Revision History 26 NJ NY series G code Instructions Reference Manual O031...
Страница 38: ...1 Basic Information on NC Programming 1 10 NJ NY series G code Instructions Reference Manual O031...
Страница 40: ...2 G Code 2 2 NJ NY series G code Instructions Reference Manual O031...
Страница 53: ...2 15 NJ NY series G code Instructions Reference Manual O031 2 Dwell Instruction Name Page G04 Dwell P 2 16...
Страница 72: ...2 G Code 2 34 NJ NY series G code Instructions Reference Manual O031...
Страница 108: ...3 M Code 3 2 NJ NY series G code Instructions Reference Manual O031...
Страница 112: ...3 M Code 3 6 NJ NY series G code Instructions Reference Manual O031...
Страница 124: ...3 M Code 3 18 NJ NY series G code Instructions Reference Manual O031...
Страница 128: ...3 M Code 3 22 NJ NY series G code Instructions Reference Manual O031...
Страница 136: ...4 PROGRAM CODES 4 8 NJ NY series G code Instructions Reference Manual O031...
Страница 141: ......