GSK983Ma Milling Machine Center CNC System User Manual
162
Part 1 Programming
command, and the sequence number n must be written at the beginning of this block.
Note 2: The further the Nn block along with the direction is, the longer of the performance time is, when
the GOTOn is executed.
The performance time is increased in terms of the sequence of the
, so,
①②③④
the GOTOn with multiple
performances along the direction which is high effective with the short interval of the Nn block.
For example 10.5.1, when #1
≥
10, the No. 150 alarm occurs.
┆
IF[#1GE10]GOTO150
;
Without alarm
M99
;
┆
N150 #3000=150
;
M99
;
(When the BIT3 (NEOP) of the parameter 306 is set to 1, the program is also stored in the memory, and
the M99 is not regarded as the end-of-program.)
Note 3: The alarm may occur in the performance of the GOTO, which is shown below:
The Macro program operation can not be performed correctly in one address.
①
If the GOTO is performed when #1=-1.
The No. 119 alarm may generate in the block of X[SQRT[#1]]
;
When Conditional Exp
②
ress specified by WHILE can not be performed.
If the GOTO is performed when #1=0.
The No.112 alarm may generate in the block of the WHILE[10/#1 GE 2]D0 1.
In this case, the following programs should be modified.
#2=SQRT[#1]
①
;
x#2
;
#2=10/#1
②
WHILE[#2 GE 2]D0 1
;
┆
#2=10/#1
;
END 1
;
The operation command alarm may not occur even if the GOTO is performed.
3.10.5.2 Repeat the WHILE (Macro program B)
WHILE[
<
Conditional Express
>
]DOm
(
m=1,2,3
)
ENDm
The blocks from DOm to the ENDm are performed repeated when the <Conditional Express> is
met, that is, the Conditional Express is judged by the DOm block. The program is turned to the next
block when the <Conditional Express> is met, if it is not, the block after ENDm should be performed
successionally.
When WHILE <Conditional Express> and IF are same, or they can be omitted. The program will
successionally repeat from the DOm to the ENDm if it is ignored.
WHILE[<Conditional Express>] DOm and ENDm must be used in pairs, and they are identified
each other by the identification number m.
For example: 10.5.2
#120=1
;
N1 WHILE [ #120LE10 ] DO1
;
Содержание GSK983Ma
Страница 124: ......
Страница 130: ...GSK983Ma Milling Machine Center CNC System User Manual 118 Part 1 Programming Rapid traverse Cutting feed ...
Страница 133: ...Chapter Three Programming 121 Part 1 Programming Rapid traverse Cutting feed 6 G82 Drilling cycle boring ...
Страница 143: ......
Страница 185: ......
Страница 209: ...Chapter Four Operation 197 Part 2 Operation ...
Страница 239: ...Chapter Four Operation 227 Part 2 Operation ...
Страница 242: ......
Страница 279: ......
Страница 296: ...GSK983Ma Milling Machine Center CNC System User Manual 284 Part 2 Operation ...
Страница 297: ...Appendix 285 APPENDIX Appendix 1 System Version Display The system version is displayed immediately after power on ...
Страница 371: ...Appendix 11 USB Interface Parameter Transfer Operation ...