Download CPU Specifications and Operations

Transcript
CPU Specifications and Operation
3--17
Scan
Scan
Solve
Program
Solve
Program
Read
Inputs
Solve
Program
Solve
Program
Write
Outputs
Field Input
CPU Reads
Inputs
Input Module
Off/On Delay
CPU Writes
Outputs
Output Module
Off/On Delay
I/O Response Time
Improving
Response Time
Scan
Scan
Solve
Program
Solve
Program
Normal Read
Input
Read
Input
Immediate
Solve
Program
Write
Output
Immediate
Solve
Program
Normal
Write
Outputs
Field Input
Input Module
Off/On Delay
Output Module
Off/On Delay
I/O Response Time
In this case, you can calculate the response time by simply adding the following
items.
Input Delay + Instruction Execution Time + Output Delay = Response Time
The instruction execution time is calculated by adding the time for the immediate
input instruction, the immediate output instruction, and all instructions in between.
NOTE: When the immediate instruction reads the current status from a module, it
uses the results to solve that one instruction without updating the image register.
Therefore, any regular instructions that follow will still use image register values. Any
immediate instructions that follow will access the module again to update the status.
DL350 User Manual, 2nd Edition
CPU Specifications
and Operation
There are a few things you can do the help improve throughput.
S Choose instructions with faster execution times
S Use immediate I/O instructions (which update the I/O points during the
ladder program execution segment)
S Choose modules that have faster response times
Immediate I/O instructions are probably the most useful technique. The following
example shows immediate input and output instructions, and their effect.