Chapter 2 G Commands
147
Ⅰ
Programming
Arc cosine
#i=ACOS[#j];
Execute arc cosine;
#j value is -1
~
1
Function range: 0°
~
180°.
Tangent
#i=TAN[#j];
Execute tangent operation ;
Angle unit is degree
#j value cannot be 90, 270
Arc tangent
#i=ATAN[#j]/[#k];
Specify the lengths of two sides, execute the arc tangent,
#j is opposite with “/” to partition;
Square root
#i=SQRT[#j];
Execute square root operation;
#j cannot be less than zero
Absolute
value
#i=ABS[#j];
Execute absolute value operation;
Rounding
#i=ROUND[#j];
Execute rounding operation;
In macro program, execute the rounding of one-digit of
No., in NC statement, execute the rounding of the next
digit of the least increment
FUP
#i= FUP [#j];
Floating UP integer ;
In puls quantity, #i is more than or equal to #j
,
in the
negative,#i is less than or equal to #j
FIX
#i= FIX [#j];
Floating FIX integer;
In puls quantity, #i is less than or equal to #j
,
in the
negative,#i is more than or equal to #j
Natural
logarithm
#i=LN[#j];
Execute natural logarithm ;
The system alarms when #j is zero or less than zero
Exponential
function
#i=EXP[#j];
Execute #j exponent ;
#j value cannot be more than 80
OR
#i=#j OR #k;
XOR
#i=#j XOR #k;
AND
#i=#j AND #k;
Execute the binary logic operation of input data
#j, #k cannot be less than zero
When there are the decimal points in #j, #k, the decimal
parts are rounded
BCD to BIN
#i=BIN[#j];
Converse the decimal data into the binary;
The system alarms for the data which cannot the
converse
BIN to BCD
#i=BCD[#j];
Converse the binary into the decimal
Command explanation:
(
1
)
operation sequence:
Priority Operator and function
5
" [" , "]"
4 "#"
3
"SIN", "SI", "ASIN", "AS", "COS", "CO", "ACOS", "AC", "TAN",
"TA", "ATAN", "AT", "SQRT", "SQ", "ABS", "AB", "ROUND",
"RO", "FIX", "FI", "FUP", "FU", "LN", "EXP", "EX", "BIN", "BI",
"BCD", "BC",
Summary of Contents for GSK988TA
Page 6: ...GSK988TA GSK988TA1 GSK988TB Turning Center CNC System User Manual Programming Operation VI ...
Page 19: ...1 Ⅰ Programming PROGRAMMING ...
Page 227: ...209 Ⅱ Operation OPERATION ...
Page 369: ...Chater 10 Machining Example 351 Ⅱ Operation ...
Page 371: ...353 Appendix ...
Page 465: ...Appendix 1 Parameters 447 Appendix ...
Page 479: ...Appendix 3 Interface Explanation 461 Appendix ...
Page 527: ...Appendix 5 Installation Layout 509 Appendix ...