![background image](http://html1.mh-extra.com/html/omron/cp1h-cpu-05-2006/cp1h-cpu-05-2006_operation-manual_742082117.webp)
86
CPU Unit Operating Modes
Section 2-5
2-5
CPU Unit Operating Modes
2-5-1
Operating Modes
The CPU Unit has three operating modes that control the entire user program
and are common to all tasks.
PROGRAM:
Programs are not executed and preparations, such as initial-
izing the PLC Setup and other settings, transferring pro-
grams, checking programs, force-setting and force-resetting
can be executed prior to program execution.
MONITOR:
Programs are executed, but some operations, such as online
editing, forced-set/reset, and changes to present values in I/O
memory, are enabled for trial operation and other adjust-
ments.
RUN:
Programs are executed and some operations are disabled.
2-5-2
Status and Operations in Each Operating Mode
The following table lists status and operations for each mode.
Note The following table shows the relationship of operating modes to tasks.
Operation
PROGRAM mode
RUN mode
MONITOR mode
Program execution
Stopped
Executed
Executed
I/O refreshing
Executed
Executed
Executed
External I/O status
OFF
According to program
According to program
I/O memory
Non-holding memory
Cleared
According to program
According to program
Holding memory
Held
CX-Programmer
operations
I/O memory monitoring
OK
OK
OK
Program monitoring
OK
OK
OK
Program
transfers
From CPU Unit
OK
OK
OK
To CPU Unit
OK
X
X
Checking program
OK
X
X
Setting PLC Setup
OK
X
X
Changing program
OK
X
OK
Force-setting/resetting
OK
X
OK
Changing timer/counter SV OK
X
OK
Changing timer/counter PV OK
X
OK
Change I/O memory PV
OK
X
OK
Mode
Cyclic task status
Interrupt task
status
PROGRAM
Disabled status (INI)
Stopped
RUN
• Any task that has not yet been executed, will be in disabled status (INI).
• A task will go to READY status if the task is set to go to READY status at star-
tup or the TASK ON (TKON) instruction has been executed for it.
• A task in READY status will be executed (RUN status) when it obtains the
right to execute.
• A status will go to Standby status (WAIT) if a READY task is put into Standby
status by a TASK OFF (TKOF) instruction.
Executed if inter-
rupt condition is
met.
MONITOR
Summary of Contents for CP1H-CPU - 05-2006
Page 2: ...CP1H X40D CP1H XA40D CP1H Y20DT D CP1H CPU Unit Operation Manual Revised May 2006...
Page 3: ...iv...
Page 11: ...xii TABLE OF CONTENTS...
Page 15: ...xvi...
Page 19: ...xx...
Page 31: ...xxxii Conformance to EC Directives 6...
Page 71: ...40 Function Blocks Section 1 5...
Page 133: ...102 Computing the Cycle Time Section 2 7...
Page 169: ...138 CPM1A Expansion I O Unit Wiring Section 3 6...
Page 411: ...380 Clock Section 6 8...
Page 519: ...488 Replacing User serviceable Parts Section 10 2...
Page 527: ...496 Standard Models Appendix A...
Page 535: ...504 Dimensions Diagrams Appendix B...
Page 628: ...597 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Page 629: ...598 Connections to Serial Communications Option Boards Appendix F...
Page 659: ...628 PLC Setup Appendix G...
Page 665: ...634 Index work words 159 write protection 370...
Page 667: ...636 Revision History...