82
CPU Unit Operation
Section 2-4
2-4
CPU Unit Operation
2-4-1
General Flow
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.
Startup
initialization
I/O refreshing
(even in
PROGRAM
mode)
Peripheral
servicing
Cycle time
Initialize hardware
memory and system work
area.
Detect I/O.
Automatically transfer data
from Memory Cassette.
Clear I/O memory.
Check user memory.
Clear forced status, etc.
Check the Battery.
Read DIP switch settings.
Check I/O bus.
Check user program
memory.
Overseeing
processing
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).
Refresh data for the following Units.
CP-series Expansion Units and Expansion I/O Units
CJ-series Special I/O Units (both words allocated in CIO Area and
specific data for each Unit)
CJ-series CPU Bus Units (both words allocated in CIO and DM Areas
and specific data for each Unit)
Perform the following servicing if any events have occurred.
CJ-series Special I/O Unit event servicing
CJ-series CPU Bus Unit event servicing
Peripheral USB port servicing
Serial port servicing
Communications port servicing
Built-in flash memory access servicing
Memory Cassette access servicing
Power ON
Содержание 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...