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.
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 out-
put 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.
The Hardware
How PLCs Process Programs
Training Manual GX IEC Developer
2 - 5
M6
M2
M1 M8013
4
X000 X001
0
9
M0
Y000
M0
Y001
Store result
Program execution
Process stored result
Control output
Содержание FX2N-32CAN
Страница 1: ...MITSUBISHI ELECTRIC FACTORY AUTOMATION Programmable Logic Controllers GX IEC Developer ...
Страница 2: ......
Страница 4: ......
Страница 6: ......
Страница 10: ...IV MITSUBISHI ELECTRIC ...
Страница 18: ...Modular PLC Training Hardware Course Overview and Requirements 1 2 MITSUBISHI ELECTRIC ...
Страница 172: ...Monitoring Instances of Function Blocks Advanced Monitoring Functions 7 12 MITSUBISHI ELECTRIC ...
Страница 176: ...Device Edit 8 4 MITSUBISHI ELECTRIC ...
Страница 190: ...Assigning DUT Variables to Function Blocks Data Unit Types DUT 10 10 MITSUBISHI ELECTRIC ...
Страница 198: ...Array Example Single Dimension Array Arrays 11 8 MITSUBISHI ELECTRIC ...
Страница 219: ...Sequential Function Chart SFC SFC Elements Training Manual GX IEC Developer 14 3 ...
Страница 220: ...14 3 SFC configuration examples SFC configuration examples Sequential Function Chart SFC 14 4 MITSUBISHI ELECTRIC ...
Страница 230: ...Structured Text Program Example IEC Structured Text 16 4 MITSUBISHI ELECTRIC ...
Страница 248: ...Configuring GX IEC Developer to access the PLC on Ethernet Ethernet Communications 18 10 MITSUBISHI ELECTRIC ...
Страница 278: ...PLC Components Glossary Appendix A 18 MITSUBISHI ELECTRIC ...
Страница 283: ......