2.3
How PLCs Process Programs
A PLC performs its tasks by executing a program that is usually developed outside the controller
and then transferred to the controller’s program memory. Before you start programming it is use-
ful to have a basic understanding of how PLCs process these programs.
A PLC program consists of a sequence of instructions that control the functions of the controller.
The PLC executes these control instructions sequentially, i.e. one after another. The entire pro-
gram sequence is cyclical, which means that it is repeated in a continuous loop. The time
required for one program repetition is referred to as the program cycle time or period.
Process image processing
The program in the PLC is not executed directly on the inputs and outputs, but on a “process
image” of the inputs and outputs:
Input process image
At the beginning of each program cycle the system polls the signal states of the inputs and stores
them in a buffer, creating a “process image” of the inputs.
How PLCs Process Programs
The Hardware
2 - 4
MITSUBISHI ELECTRIC
....
....
....
Switch on PLC
Delete output memory
Input terminals
Process image
of inputs
PLC program
Process image
of outputs
Output terminals
Transfer process image
to outputs
Instruction 1
Instruction 2
Instruction 3
Instruction n
Poll inputs and signal states
and save them in the process
image of the inputs
Input signals
Output signals
Summary of Contents for FX2N-32CAN
Page 1: ...MITSUBISHI ELECTRIC FACTORY AUTOMATION Programmable Logic Controllers GX IEC Developer ...
Page 2: ......
Page 4: ......
Page 6: ......
Page 10: ...IV MITSUBISHI ELECTRIC ...
Page 18: ...Modular PLC Training Hardware Course Overview and Requirements 1 2 MITSUBISHI ELECTRIC ...
Page 176: ...Device Edit 8 4 MITSUBISHI ELECTRIC ...
Page 190: ...Assigning DUT Variables to Function Blocks Data Unit Types DUT 10 10 MITSUBISHI ELECTRIC ...
Page 198: ...Array Example Single Dimension Array Arrays 11 8 MITSUBISHI ELECTRIC ...
Page 219: ...Sequential Function Chart SFC SFC Elements Training Manual GX IEC Developer 14 3 ...
Page 230: ...Structured Text Program Example IEC Structured Text 16 4 MITSUBISHI ELECTRIC ...
Page 278: ...PLC Components Glossary Appendix A 18 MITSUBISHI ELECTRIC ...
Page 283: ......