![background image](http://html1.mh-extra.com/html/omron/sysmac-cp1h/sysmac-cp1h_operation-manual_741321123.webp)
89
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 Sysmac CP1H
Page 2: ......
Page 3: ...CP1H X40D CP1H XA40D CP1H Y20DT D CP1H CPU Unit Operation Manual Revised October 2014...
Page 4: ...iv...
Page 10: ...x...
Page 18: ...xviii...
Page 22: ...xxii...
Page 34: ...xxxiv Conformance to EC Directives 6...
Page 76: ...42 Function Blocks Section 1 5...
Page 176: ...142 CP series Expansion I O Unit Wiring Section 3 6...
Page 372: ...338 Analog I O XA CPU Units Section 5 5...
Page 578: ...544 Trouble Shooting Section 8 7...
Page 622: ...588 Sample Application Section 9 12 Network Settings Network Tab Network Settings Driver Tab...
Page 668: ...634 Standard Models Appendix A...
Page 744: ...710 Auxiliary Area Allocations by Address Appendix D...
Page 771: ...737 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Page 772: ...738 Connections to Serial Communications Option Boards Appendix F...
Page 800: ...766 Specifications for External Power Supply Expansion Appendix H...
Page 806: ...772 Index W Work Area 165 work bits 165 work words 165 write protection 379...
Page 808: ...774 Revision History...
Page 809: ......