GSK988TA/GSK988TA1/GSK988TB Turning Center CNC System User Manual
【
Programming & Operation
】
146
Ⅰ
Programming
The read is the position value after the last block execution.
The unit digit from 1 to 5 of variable number corresponds the No. n axis.
(
8
)
Compensation value of workpiece coordinate system
The workpiece zero offset value can be read and written.
Variable number
Function
#5201--#5205
External zero offset value
#5221--#5225
G54 workpiece zero offset value
#5241--#5245
G55 workpiece zero offset value
#5261--#5265
G56 workpiece zero offset value
#5281--#5285
G57 workpiece zero offset value
#5301--#5305
G58 workpiece zero offset value
#5321--#5325
G59 workpiece zero offset value
The units digit from 1 to 5 of variable number corresponds the No. n axis.
(
9
)
Note
The system variable is the state value of the system, and is buffered in advance when multi
cycles are executed, so, the attained system variable is the value before the multi cycle code instead
of the current value to avoid using the system variable in the cycle body of the multiple cycles.
2.27.3 Operation and Jump Code
(1) Operation code
Variables can execute all kinds of operations, and their operation command format is as
follows.
#i=
<
Expression
>
The right <expression> of an operation code is a compose of constant, a variable, function and
operator.
GSK988TA/TB defines the following operations and logic codes:
Function Format
Use
assignment
#i=#j;
Assignment statement assigns #j value to #i
;
#i is Null when #j is Null;
addition
#i=#j+#k;
Addition. When #j value is Null, it it taken as 0.0 value,
and the following functions are the same that of it;
Subtraction #i=#j-#k;
Execute subtraction operation;
Multiplication #i=#j*#k; Execute division operation;
Division #i=#j/#k;
Execute addition;
Sine
#i=SIN[#j];
Execute sine operation;
Angle unit is degree;
Arc sine
#i=ASIN[#j];
Execute arc sine operation;
#j value is -1
~
1;
cosine
#i=COS[#j];
Execute cosine operation ;
Angle unit is degree
Содержание GSK988TA
Страница 6: ...GSK988TA GSK988TA1 GSK988TB Turning Center CNC System User Manual Programming Operation VI ...
Страница 19: ...1 Ⅰ Programming PROGRAMMING ...
Страница 20: ...GSK988TA GSK988TA1 GSK988TB Turning Center CNC System User Manual Programming Operation 2 Ⅰ Programming ...
Страница 176: ...GSK988TA GSK988TA1 GSK988TB Turning Center CNC System User Manual Programming Operation 158 Ⅰ Programming ...
Страница 227: ...209 Ⅱ Operation OPERATION ...
Страница 228: ...GSK988TA GSK988TA1 GSK988TB Turning Center CNC System User Manual Programming Operation 210 Ⅱ Operation ...
Страница 242: ...GSK988TA GSK988TA1 GSK988TB Turning Center CNC System User Manual Programming Operation 224 Ⅱ Operation ...
Страница 298: ...GSK988TA GSK988TA1 GSK988TB Turning Center CNC System User Manual Programming Operation 280 Ⅱ Operation ...
Страница 336: ...GSK988TA GSK988TA1 GSK988TB Turning Center CNC System User Manual Programming Operation 318 Ⅱ Operation ...
Страница 348: ...GSK988TA GSK988TA1 GSK988TB Turning Center CNC System User Manual Programming Operation 330 Ⅱ Operation ...
Страница 352: ...GSK988TA GSK988TA1 GSK988TB Turning Center CNC System User Manual Programming Operation 334 Ⅱ Operation ...
Страница 358: ...GSK988TA GSK988TA1 GSK988TB Turning Center CNC System User Manual Programming Operation 340 Ⅱ Operation ...
Страница 369: ...Chater 10 Machining Example 351 Ⅱ Operation ...
Страница 370: ...GSK988TA GSK988TA1 GSK988TB Turning Center CNC System User Manual Programming Operation 352 Appendix APPENDIX ...
Страница 371: ...353 Appendix ...
Страница 465: ...Appendix 1 Parameters 447 Appendix ...
Страница 479: ...Appendix 3 Interface Explanation 461 Appendix ...
Страница 527: ...Appendix 5 Installation Layout 509 Appendix ...