86
SECTION
2
Components
and Systems
Industrial Text & Video Company 1-800-752-8398
www.industrialtext.com
CHAPTER
4
Processors, the Power Supply,
and Programming Devices
The microprocessors used in PLCs are categorized according to their word
size, or the number of bits that they use simultaneously to perform operations.
Standard word lengths are 8, 16, and 32 bits. This word length affects the
speed at which the processor performs most operations. For example, a 32-
bit microprocessor can manipulate data faster than a 16-bit micro, since it
manipulates twice as much data in one operation. Word length correlates with
the capability and degree of sophistication of the controller (i.e., the larger the
word length, the more sophisticated the controller).
4-3 PROCESSOR SCAN
Figure 4-7. PLC total scan representation.
Update
Outputs
Read
Inputs
Program
Execution
EOS
Read input status
Solve the control
program and turn
internal coils ON/OFF
Update outputs
The basic function of a programmable controller is to read all of the field input
devices and then execute the control program, which according to the logic
programmed, will turn the field output devices ON or OFF. In reality, this last
process of turning the output devices ON or OFF occurs in two steps. First,
as the processor executes the internal programmed logic, it will turn each of
its programmed internal output coils ON or OFF. The energizing or de-
energizing of these internal outputs will not, however, turn the output devices
ON or OFF. Next, when the processor has finished evaluating all of the
control logic program that turns the internal coils ON or OFF, it will perform
an update to the output interface modules, thereby turning the field devices
connected to each interface terminal ON or OFF. This process of reading the
inputs, executing the program, and updating the outputs is known as the scan.
Figure 4-7 shows a graphic representation of the scan. The scanning process
is repeated over and over in the same fashion, making the operation sequential
from top to bottom. Sometimes, for the sake of simplicity, PLC manufacturers