Chapter
Ⅱ
G Commands
133
Ⅰ
Programming
"EX", "BIN", "BI", "BCD", "BC",
2
"AND", "AN", "*", "/",
1
"OR", "XOR", "XO","+", "-",
(
2
)
EXP function input value cannot be more than 80, otherwise, the system alarm;
(
3
)
”/” character in <expression>(in the right of assignment”=” or in the bracket []) is
taken as the division operator instead of optional block skip code;
(
4
)
The bracket “[]” can use 5-level, including the used bracket in the function, and the
system alarms when it exceeds 5-level;
(
5
)
The angle units of the triangle function SIN, COS, ASIN, ACOS, TAN and ATAN are
degrees, for example: 90°30
'
is 90.5 degree;
(
6
)
#i=ASIN[#j] value range:
When NO.6004 No. 0-digit NAT is set to 0: 90°
~
270°
When NO.6004 No. 0-digit NAT is set to 1: -90°
~
90°
When #j exceeds between -1 and 1, the system alarms and #j can be a constant.
(
7
)
#i=ACOS[#j] range: 0°
~
180°
。
When #j exceeds between -1 and 1, the system alarms and #j can be a constant.
(
8
)
In #i= ATAN[#j]/[#k], ATAN #j and #k are the weight length of two right-angle sides
as follows:
When NO.6004 No. 0-digit NAT is set to 0: 0°
~
360°
Example: when #1=ATAN[-1]/[-1] is specified, #1=225°.
When NO.6004 No. 0-digit NAT is set to 1: -180°
~
180°
Example: when #1=ATAN[-1]/[-1] is specified,#1=-135°
#j
,
#K can be the constant.
In division or TAN[90], the division is specified to 0, P/S alarms;
(
9
)
The function ROUND is used to NC command or macro statement, which rounds
the data with the decimal point. It is used to NC statement, which rounds according
to the least setting unit; when it is used to the macro statement, which rounds No.
1-digit decimal point;
In executing #2=ROUND[#3], when #3=1.2345, the variable #2 value is 1.
In ISB increment metric input, #2=1.2345, #3=2.5456:
G00 X#2
;
the tool moves to 1.235mm
G00 X#3
;
the tool moves to 2.546mm
(
10
)
For FUP, FIX, when the absolute value of the integer after execution is more than
that of the original, it is FUP; when it is less than that, it is FIX.
When #2=1.2
,
#3=-1.2
In executing #4=FUP[#2], 2.0 is assigned to #4
In executing #4=FIX[#2], 1.0 is assigned to #4
In executing #4=FUP[#3], -2.0 is assigned to #4
In executing #4=FUP[#3], -1.0 is assigned to #4
(
11
)
Logic operation OR, XOR, AND firstly are conversed the decimal into the binary,
and are executed in the binary by one-digit to one digit.
Range: 0
~
99999999
,
when it has the decimal point, it is ignored.
Example:
Содержание 988T
Страница 6: ...GSK988T Turning CNC System User Manual VI ...
Страница 14: ...GSK988T Turning CNC System User Manual XIV ...
Страница 15: ...Chapter 1 Programming Fundamentals 1 Ⅰ Programming Ⅰ PROGRAMMING ...
Страница 16: ...GSK988T Turning CNC System User Manual 2 Ⅰ Programming ...
Страница 194: ...GSK988T Turning CNC System User Manual 180 Ⅰ Programming ...
Страница 195: ...Chapter Ⅰ Overview 181 Ⅱ Operation Ⅱ OPERATION ...
Страница 196: ...GSK988T Turning CNC System User Manual 182 Ⅱ Operation ...
Страница 215: ...Chapter Ⅲ Windows 201 Ⅱ Operation Note It can be displayed after U disk is inserted in the U disk catalog ...
Страница 217: ...Chapter Ⅲ Windows 203 Ⅱ Operation ...
Страница 267: ...Chapter Ⅲ Windows 253 Ⅱ Operation Fig 3 51 Fig 3 52 ...
Страница 412: ...GSK988T Turning CNC system User Manual 398 Appendix Fig 3 5 Horizontal operation panel appearance dimension ...