87
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
Содержание CP1H CPU UNITS - PROGRAMMING 05-2007
Страница 2: ......
Страница 3: ...CP1H X40D CP1H XA40D CP1H Y20DT D CP1H CPU Unit Operation Manual Revised March 2009...
Страница 4: ...iv...
Страница 10: ...x...
Страница 18: ...xviii...
Страница 22: ...xxii...
Страница 34: ...xxxiv Conformance to EC Directives 6...
Страница 174: ...140 CP series Expansion I O Unit Wiring Section 3 6...
Страница 370: ...336 Analog I O XA CPU Units Section 5 5...
Страница 552: ...518 Trouble Shooting Section 8 7...
Страница 595: ...561 Sample Application Section 9 12 Network Settings Network Tab Network Settings Driver Tab...
Страница 598: ...564 Sample Application Section 9 12...
Страница 642: ...608 Standard Models Appendix A...
Страница 643: ...609 Appendix B Dimensions Diagrams X XA and Y CPU Units 90 100 110 140 150 8 85 Four 4 5 dia holes...
Страница 652: ...618 Dimensions Diagrams Appendix B...
Страница 745: ...711 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Страница 746: ...712 Connections to Serial Communications Option Boards Appendix F...
Страница 776: ...742 PLC Setup Appendix G...
Страница 778: ...744 Specifications for External Power Supply Expansion Appendix H...
Страница 786: ...752 Revision History...