PLC Processors
Objectives
Describe the function of the processor.
Describe processor operating modes.
Explain the function of the watchdog timer.
Input Scan
During the input scan, the processor scans
each input module for the ON or OFF states
of each input point.
Input status information is stored in the input
status file.
Program Scan (1 of 2)
Processor scans ladder program starting at
rung zero at the left power rail, working left to
right, evaluating one instruction at a time until
the output instruction is reached.
The output instruction will be either true or
false.
Program Scan (2 of 2)
A logical 1 or 0 will be placed in the output
status table address referenced by the
particular output instruction.
With a rung completed, the processor goes
on to the next rung, sequentially until the last
rung of the program has been executed.
Output Scan
The output scan is where the processor
writes the ON or OFF status, one word at a
time, to the associated output module.
Output module updates each field devices
status.
Service Communications
After all output modules have been updated,
the processor services communications.
Updates hand-held or personal computer
monitor screens
Sends communications to other devices on
the network
Serial Communications
The simplest method to communicate
between a PLC processor and a computer is
serial communications.
Connect proper serial cable between
computers COM port and processors RS232 communications port.
Not all processors have RS-232
communications port.
Selecting Proper
RS-232 Interface Cable
Most serial communication problems
between computer and PLC are due to
incorrect cable.
Two types of serial cables
Straight-through cable
Null-modem cable
Null-Modem Cable
Crosses Pin 2 to Pin 3
Program Mode
In program mode, the processor is accepting
new instructions, either as a new program or
as changes (edits) to an existing program.
Run Mode
When the creating or editing of a program is
complete, the processor is put into run mode
to run or execute the program.
In run mode, the processor executes the
operating cycle called the scan or sweep.
Test Mode
Test mode is used to test a program during
installation, maintenance, or troubleshooting.
Test mode reads inputs and solves ladder
program, but does not allow field devices to
be energized.
Processor Communications
The physical connection between a
processor and the outside world is called a
communication port.
5/01 processor
DH-485
5/02 processor
DH-485
5/04 processor
Serial and DH Plus
5/05 processor
Serial and Ethernet
Processor Capabilities
A processors capabilities are determined by
Memory size
Instruction set
I/O supported
Communication ports
GE Series 90-30
Embedded Processors