Chapter
Ⅱ
G Commands
131
Ⅰ
Programming
system
#5061--#5065 Skip
signal position
Workpiece
coordinate
system
including
#5081--#5085 Tool
length
compensation
value
The read is the position value after the last block execution.
The units 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 command
instead of the current value to avoid using the system variable in the cycle body of the multi
cycles.
2.22.3 Operation and jump command
(
1
)
Operation command
Variables can execute all kinds of operations, and their operation command format is as
following.
#i=
<
Expression
>
The right <expression> of an operation command is a compose of constant, a variable,
function and operator.
GSK988T defines the following operations and logic commands:
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;
Summary of Contents for 988T
Page 6: ...GSK988T Turning CNC System User Manual VI ...
Page 14: ...GSK988T Turning CNC System User Manual XIV ...
Page 15: ...Chapter 1 Programming Fundamentals 1 Ⅰ Programming Ⅰ PROGRAMMING ...
Page 16: ...GSK988T Turning CNC System User Manual 2 Ⅰ Programming ...
Page 194: ...GSK988T Turning CNC System User Manual 180 Ⅰ Programming ...
Page 195: ...Chapter Ⅰ Overview 181 Ⅱ Operation Ⅱ OPERATION ...
Page 196: ...GSK988T Turning CNC System User Manual 182 Ⅱ Operation ...
Page 217: ...Chapter Ⅲ Windows 203 Ⅱ Operation ...
Page 267: ...Chapter Ⅲ Windows 253 Ⅱ Operation Fig 3 51 Fig 3 52 ...