beautypg.com

2 computing the cycle time, 2-1 cpu unit operation flowchart, 4 monitoring and computing the cycle time – Omron SYSMAC CP CP1E-N@@D@-@ User Manual

Page 451

background image

4-3

4 Monitoring and Computing the Cycle Time

CP1E CPU Unit Instructions Reference Manual(W483)

4-2

Com

pu
ting

th
e Cyc

le Tim

e

4

4-2-1 C

P

U

Unit Ope

ration

Flo

wchar

t

4-2

Computing the Cycle Time

The CPU Unit processes data in repeating cycles from the overseeing processing up to peripheral
servicing as shown in the following diagram.

4-2-1

CPU Unit Operation Flowchart

Power ON

Check OK?

End of program?

Sets error flags

Calculates cycle time

I/O refresh

I/O refresh

Peripheral servicing

NO

YES

Error

Normal

Checks Unit connection status

Checks hardware and user
program memory

ERR/ALM
indicator ON or
flashing?

Flashing (non-
fatal error)

Lit (fatal error)

Star

tup initialization

Ov

erseeing processing

Prog

ram e

x

ecution

Cycle time calculation

PLC cycle time

P

e

ripher

al

ser

vicing

User program executed
Cyclic task executed

Waits until the set cycle time

has elapsed (when the

minimum cycle time is valid)

This manual is related to the following products: