69
CPU Unit Operation
Section 2-4
2-4
CPU Unit Operation
2-4-1
General Flow
The following flowchart shows the overall operation of the CPU Unit. First the
user program is executed and then I/O is refreshed and peripheral servicing is
performed. These processes are then repeated in cyclic fashion.
Startup
initialization
I/O refreshing
(even in
PROGRAM
mode)
Peripheral
servicing
Cycle time
Initialize hardware
memory and system work
area.
Detect I/O.
Automatically transfer data
from Memory Cassette.
Clear I/O memory.
Check user memory.
Clear forced status, etc.
Check the Battery.
Read DIP switch settings.
Check I/O bus.
Check user program
memory.
Overseeing
processing
Program
execution
Operation processing: Execute the user program.
Error processing: Turn OFF outputs. (Reset Units
for bus errors.)
After error: Clear I/O memory if an error occurs
(unless a FALS(007) instruction created the error).
Refresh data for the following Units.
CP-series Expansion Units and Expansion I/O Units
Perform the following servicing if any events have occurred.
Peripheral USB port servicing
Serial port servicing
Communications port servicing
Built-in flash memory access servicing
Memory Cassette access servicing
Online editing
Power ON
Summary of Contents for CP1L - 12-2007
Page 3: ...iv...
Page 9: ...x...
Page 13: ...xiv TABLE OF CONTENTS...
Page 21: ...xxii...
Page 33: ...xxxiv Conformance to EC Directives 6...
Page 65: ...32 Function Blocks Section 1 5...
Page 428: ...395 Clock Section 6 9...
Page 429: ...396 Clock Section 6 9...
Page 523: ...488 Troubleshooting Unit Errors Section 9 4...
Page 531: ...496 Replacing User serviceable Parts Section 10 2...
Page 563: ...528 Auxiliary Area Allocations by Function Appendix C...
Page 611: ...576 Auxiliary Area Allocations by Address Appendix D...
Page 638: ...603 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Page 639: ...604 Connections to Serial Communications Option Boards Appendix F...
Page 669: ...634 Index...
Page 671: ...636 Revision History...