GSK988TA/GSK988TA1/GSK988TB Turning Center CNC System User Manual
【
Programming & Operation
】
142
Ⅰ
Programming
Note 1: The variable cannot be referred to address O and N. The system cannot use O#200
,
N#220 to execute
the programming;
Note 2: When the variable exceeds the max. code value defined by the address, it cannot be used; for example:
#230 = 120: M#230 exceeds the max. code value;
Note 3: The system cannot identify –0 and + 0. # 4 = - 0: X # 4 is taken as X 0;
Note 4: When the variable is used to the address data, the other except for the valid digit is rounded.
Note 5: The number followed by the address can use <Formular> to replace. The system takes “Word address
[<Formular>]” or word address-[<Formular>]” as a program, and take <Formular> value or its negative
value as the code value of the address.
Note 6: The decimal point which defines the variable in a program can be omitted. For example, #1=123 is
defined, the actual value of #1 is 123.000;
Note 7: The negative sign of variable value which changes the reference should be placed in the front of #,
such as G00X-#1;
Note 8:The variable #1
~
#33, #100
~
#199 are cleared out after they reset, which are set by NO.6001Bit7
(
CLV
)
and Bit6
(
CCV
)
, and which cannot be executed in MDI mode;
Note 9: When the variable value overflows, the code address referring to the variable is ignored.
Note 10: NO.6000 Bit5
(
SBM
)
sets whether the single block stop is valid in user macro program.
Note 11: The number in expression (including brackets) can be omitted. For example, X[10] actual value is
X10.000.
2.27.2 System Variable
The system variable is used to read and write NC internal data. For example, some system
variable only read the tool offset value and current position data. The system variable is the base
of the automatic control and general machining program development.
(
1
)
Interface signal
The interface signal can program the exchange message between the machine controller
and user macro programs, i.e. it completes the exchange with PLC by G, F signals and the
interfaces with I/O are defined by PLC.
The input signal can be only read, and the output signal can be read and written.
System variable of interface signal
Variable
number
Function
Corresponding G, F signals
#1000--#1031
Read the 32-bit signal according to
its bit from PLC to user macro
program
Corresponding to G54.0
~
G57.7 signal
state
#1032
Read 32-bit signal one time.
Corresponding to G54
~
G57 signal
state
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 ...