Mitsubishi MELSEC System Q Manual page 19

Hide thumbs Also See for MELSEC System Q:
Table of Contents

Advertisement

Programmable Logic Controllers
Program execution
After this the program is executed, during which the PLC accesses the stored states of the
inputs in the process image. This means that any subsequent changes in the input states will
not be registered until the next program cycle!
The program is executed from top to bottom, in the order in which the instructions were pro-
grammed. Results of individual programming steps are stored and can be used during the cur-
rent program cycle.
Program execution
Output process image
Results of logical operations that are relevant for the outputs are stored in an output buffer – the
output process image. The output process image is stored in the output buffer until the buffer is
rewritten. After the values have been written to the outputs the program cycle is repeated.
Differences between signal processing in the PLC and in hard-wired controllers
In hard-wired controllers the program is defined by the functional elements and their connec-
tions (the wiring). All control operations are performed simultaneously (parallel execution).
Every change in an input signal state causes an instantaneous change in the corresponding
output signal state.
In a PLC it is not possible to respond to changes in input signal states until the next program
cycle after the change. Nowadays this disadvantage is largely compensated by very short pro-
gram cycle periods. The duration of the program cycle period depends on the number and type
of instructions executed.
MELSEC System Q Beginners Manual
How PLCs Process Programs
X000 X001
0
M6
M1 M8013
4
M2
M0
9
Process stored result
M0
Store result
Y000
Control output
Y001
2 – 3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents