Cpu Unit Operation; General Flow - Omron CP1L Operation Manual

Sysmac cp series
Hide thumbs Also See for CP1L:
Table of Contents

Advertisement

CPU Unit Operation

2-4
CPU Unit Operation
2-4-1

General Flow

Cycle time
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.
Power ON
Startup
Initialize hardware
initialization
memory and system work
area.
Detect I/O.
Automatically transfer data
from Memory Cassette.
Overseeing
Check the Battery.
processing
Read DIP switch settings.
Check I/O bus.
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).
I/O refreshing
Refresh data for the following Units.
(even in
CP-series Expansion Units and Expansion I/O Units
PROGRAM
mode)
Perform the following servicing if any events have occurred.
Peripheral
Peripheral USB port servicing
servicing
Serial port servicing
Communications port servicing
Built-in flash memory access servicing
Memory Cassette access servicing
Online editing
Clear I/O memory.
Check user memory.
Clear forced status, etc.
Check user program
memory.
Section 2-4
81

Advertisement

Table of Contents
loading

Table of Contents