Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
PLC Basics
2-1
A PLC can then resume running a user program as soon as power is restored
The PLC may be programmed to require some operator action before resuming user program execution (for safety purposes)
The total time for one complete program scan is a function of processor speed, I/O modules used, and length of user program Typically, hundreds of complete scans can take place in 1 second
Electrical & Computer Engineering Dr. D. J. Jackson Lecture 2-4
2-2
Input scan
During the input scan, data is taken from all input modules in the system and placed into an area of PLC memory referred to as the input image area
Input module
PLC
Input module
User Program
2-3
Output scan
During the output scan, data is taken from the output image area and sent to all output modules in the system
Output module
PLC
Output Image Area
Output module
During the output scan, data associated with the output image area is transferred to output terminals
Electrical & Computer Engineering Dr. D. J. Jackson Lecture 2-8
2-4
Furthermore, data changes in the output table are not transferred to the output terminal during the input and program scans The transfer affecting the output devices takes place only during the output scan
Electrical & Computer Engineering Dr. D. J. Jackson Lecture 2-9
2-5
2-6
Rung scanning
RUNG 1 2 3 4 1 2 3 4 5 6
Column scanning
1 RUNG 1 2 3 4 2 3 4 5 6
2-7
Paint empty
Conveyor stopped
Operator alarm
Input Image User program Output image Operator control switch Part sensor
Alarm light
Motor
2-8
2-9
2-10