Official GSK Agents in South Africa
Tel: +27 11 626 2720, [email protected]
GSK980TDi Turning CNC System User Manual
182
Ⅰ
Programming
<Argument>: The data converted to the macro program, its value is assigned to the
corresponding local variable, it is same that the G65 calls macro program.
Code value and the setting of program number call:
Data parameter No.86~No.95 set the used G code in the macro command call, use
the set G code, that is, the macro program call using G code can be defined. If the
data parameters No.86~No.95 are set to 0, this function will be then disabled. The
callable macro programs are O9010~O9019, the corresponding relationships
between parameter number and program number are as follows:
Para. No.
Program No.
Para. No.
Program No.
86 O9010 91 O9015
87 O9011 92 O9016
88 O9012 93 O9017
89 O9013 94 O9018
90 O9014 95 O9019
For example:
№
.86
=
100,
№
.87
=
103, then:
G00 X0 Z0;
G100;
//Call the No. O9010 macro program
G103;
// Call the No. O9011 macro program
…;
M30;
Precaution:
The allowable range of the data parameters No. 86~No. 95 setting value is 0
~
9999,
when the setting value is identical with the G code, this function is automatically
disabled.
3.32 Editable Parameter Read/Write G10 L52
Code format:
G10 L52;
Set the parameter read or write method
N_/K_/D_/DT_/DC_ R(W)_; Read/write program of the system/K/D/DT/DC
parameters
N_ P_ R(W)_; Read/write program of axis, spindle or channel
parameter
…
G11;
Cancel the parameter read/write
Code explanation:
N_
:
Parameter number
;
K_
:
K parameter number of PLC
;
D_
:
D parameter number of PLC
;
DT_
:
DT parameter number of PLC
;
DC_
:
DC parameter number of PLC
;
R(W) _
:
R is the read address from parameter, which only can be regarded
as the macro variable number
;
W is the write-in value from parameter, which
can be treated as the constant or marco variable
;
When the read/write
parameter is the state one, its value from reading/writing is binary, and the
others are decimal system;
;
P_: The axis number 1 to the top controllable axis number (from 1 to the
Содержание 980TDi
Страница 17: ...Official GSK Agents in South Africa Tel 27 11 626 2720 design efamatic com 1 Programming I Programming...
Страница 225: ...Official GSK Agents in South Africa Tel 27 11 626 2720 design efamatic com 209 Operation II Operation...
Страница 379: ...Official GSK Agents in South Africa Tel 27 11 626 2720 design efamatic com 363 Connection III Connection...
Страница 539: ...Official GSK Agents in South Africa Tel 27 11 626 2720 design efamatic com 523 IV Appendix IV Appendix...