CPU
S
pecifications
and
Operation
4--11
CPU Specifications and Operation
DL105 PLC User Manual, 3rd Edition
CPU Operation
Achieving the proper control for your equipment or process requires a good
understanding of how DL105 CPUs control all aspects of system operation. There
are four main areas to understand before you create your application program:
S
CPU Operating System — the CPU manages all aspects of system
control. A quick overview of all the steps is provided in the next section.
S
CPU Operating Modes — The two primary modes of operation are
Program Mode and Run Mode.
S
CPU Timing — The two important areas we discuss are the I/O
response time and the CPU scan time.
S
CPU Memory Map — DL105 CPUs offer a wide variety of resources,
such as timers, counters, inputs, etc. The memory map section shows
the organization and availability of these data types.
At powerup, the CPU initializes the
internal electronic hardware. Memory
initialization starts with examining the
retentive memory settings. In general, the
contents
of
retentive
memory
is
preserved, and non-retentive memory is
initialized to zero (unless otherwise
specified).
After the one-time powerup tasks, the
CPU begins the cyclical scan activity. The
flowchart to the right shows how the tasks
differ, based on the CPU mode and the
existence of any errors. The
“scan time”
is
defined as the average time around the
task loop. Note that the CPU is always
reading the inputs, even during program
mode. This allows programming tools to
monitor input status at any time.
The outputs are only updated in Run
mode. In program mode, they are in the off
state.
Error detection has two levels. Non-fatal
errors are reported, but the CPU remains
in its current mode. If a fatal error occurs,
the CPU is forced into program mode and
the outputs go off.
YES
Power up
Initialize hardware
Initialize various memory
based on retentive
configuration
Update input
Service peripheral
PGM
Mode?
RUN
Execute program
Update output
Do diagnostics
OK
NO
NO
Fatal error
Force CPU into
PGM mode
OK?
Report error, set flag
register, turn on LED
YES
Update Special Relays
CPU Operating
System
Содержание DL105
Страница 2: ...DL105 PLC User Manual Manual Number D1 USER M...
Страница 308: ...1B DL105 Error Codes In This Appendix Error Code Table...
Страница 314: ...1C Instruction Execution Times In This Appendix Introduction Instruction Execution Times...
Страница 324: ...1D Special Relays In This Appendix DL105 PLC Special Relays...
Страница 327: ...1E PLC Memory In This Appendix DL105 PLC Memory...
Страница 329: ...1F European Union Directives CE In This Appendix European Union EU Directives Basic EMC Installation Guidelines...