Official GSK Agents in South Africa
Tel: +27 11 626 2720, [email protected]
Chapter Two Sequence Programming
7
Volume I
Programming
Fig. 2-3-1
PLC in the GSK218MC series is separately performed in the PLC-AVR SCM. The 1ms of each
8ms is the communication time for reading the PLC data from the CNC. The 5ms is that the PLC
gains the system control signal (F, X), and uploads the control result data (G and Y parameters)
external port I/O (X and Y). PLC is always performed the ladder diagram calculation other than the
interruption of the response exchange data.
Fig. 2-3-2
When the last partition number of the 2
nd
level program of the n is performed, the program then
executes from its beginning. In this case, when the partition number is n, the performance time of one
cycle is 8*n ms. The 1
st
level program performs once each 8ms; the 2
nd
level program performs once
each 8*n ms. If its steps of the 1
st
level program is increased, and therefore the steps of the 2
nd
level
program within 8ms should be reduced correspondingly; the partition number may be increased, and
the treatment time of the overall programs will be longer. So, the compilation of the 1
st
level program
should be shorter.
2.4 Sequence Program Structure
The ladder diagram compiles in turn in the traditional PLC. However, it owns the following
advantages in the ladder diagram language allowing the structured programming:
1. The program is easy to comprehend and compile.
2. It is more convenient to find the faults during the programming.