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
Содержание 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: ......