GSK218M CNC System Connection and PLC Manual
18
3.When an operation error occurs, the cause can be found easily.
Three major structured programming capabilities are supported:
1
)
Subprogram
A subprogram can consist of a ladder sequence as the processing unit.
2) Nesting
Ladder subprograms established are combined to structure a ladder sequence.
3) Conditional branch
The main program loops and checks whether conditions are satisfied. If a condition is satisfied, the
corresponding subprogram is executed. If the condition is not satisfied, the subprogram is skipped.
Job A
Job B
Job A1
Job An
Job A12
Job A11
Main program
Subprogram 2
Subprogram 1
State 1
State 2
Process 1
Process 2
Process 12
Process 11
Main program
Subprogram 1
Process 13
A
C
A
B
C
Job A
Job B
Summary of Contents for 218M
Page 3: ...GSK 218M CNC System Connection and PLC Manual...
Page 15: ...GSK218M CNC System Connection and PLC Manual 12 Volume one Programming...
Page 70: ...GSK218M CNC System Connection and PLC Manual 67 Volume Two Function...
Page 140: ...GSK218M CNC System Connection and PLC Manual 137 Volume Three Operation...
Page 160: ...GSK218M CNC System Connection and PLC Manual 157 Volume Four Connection...