Official GSK Agents in South Africa
Tel: +27 11 626 2720, [email protected]
GSK218MC Series Machining Center CNC System PLC & Installation Connection Manual
28
Volume I
Programming
5.1 END1 (The 1
st
Level Sequence Program End)
Function:
This function can be specified once in sequence program at the end of the 1
st
level program, or
it can be performed at the beginning of the 2
nd
level program when the 1
st
level program does not
execute. The first program can be compiled up to 500 steps.
Format:
END1
Fig. 5-1-1
5.2 END2 (The 2
nd
Sequence Program End)
Function:
It specifies at the end of the 2
nd
level program.
Format:
END2
Fig. 5-2-1
5.3 CALL (Call Subprogram)
Function:
Call one specified subprogram
It owns the following characters and limitations:
Subprogram can be nested and called other subprograms up to 18 layers, as for the endless
repetition caused by the closure call, the system may alarm. The system allows that the maximum
subprogram call number is 100 for controlling the performance data value. The subprogram call can
not be performed at the 1
st
level program. The code or network wrote between END2 AND SP, or
after SPE, or before SP, the system can not be performed, and then alarms.
Format: