443
SECTION 10
CPU Unit Operation and the Cycle Time
This section describes the internal operation of the CPU Unit and the cycle used to perform internal processing.
10-1 CPU Unit Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 445
10-1-1 General Flow. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 445
10-1-2 I/O Refreshing and Peripheral Servicing . . . . . . . . . . . . . . . . . . . . . 447
10-1-3 Startup Initialization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 448
10-2 CPU Unit Operating Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 449
10-2-1 Operating Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 449
10-2-2 Status and Operations in Each Operating Mode. . . . . . . . . . . . . . . . 450
10-2-3 Operating Mode Changes and I/O Memory . . . . . . . . . . . . . . . . . . . 451
10-3 Power OFF Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 451
10-3-1 Instruction Execution for Power Interruptions . . . . . . . . . . . . . . . . . 454
10-4 Computing the Cycle Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 457
10-4-1 CPU Unit Operation Flowchart . . . . . . . . . . . . . . . . . . . . . . . . . . . . 457
10-4-2 Cycle Time Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 458
10-4-3 I/O Unit Refresh Times for Individual Units . . . . . . . . . . . . . . . . . . 464
10-4-4 Cycle Time Calculation Example . . . . . . . . . . . . . . . . . . . . . . . . . . . 467
10-4-5 Online Editing Cycle Time Extension . . . . . . . . . . . . . . . . . . . . . . . 468
10-4-6 I/O Response Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 469
10-4-7 Interrupt Response Times . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 470
10-4-8 Serial PLC Link Response Time . . . . . . . . . . . . . . . . . . . . . . . . . . . 472
10-5 Instruction Execution Times and Number of Steps . . . . . . . . . . . . . . . . . . . . 472
10-5-1 Sequence Input Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 473
10-5-2 Sequence Output Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 474
10-5-3 Sequence Control Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 474
10-5-4 Timer and Counter Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 475
10-5-5 Comparison Instructions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 476
10-5-6 Data Movement Instructions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 477
10-5-7 Data Shift Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 478
10-5-8 Increment/Decrement Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . 479
10-5-9 Symbol Math Instructions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 479
10-5-10 Conversion Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 480
10-5-11 Logic Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 482
10-5-12 Special Math Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 482
10-5-13 Floating-point Math Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . 483
10-5-14 Double-precision Floating-point Instructions. . . . . . . . . . . . . . . . . . 484
10-5-15 Table Data Processing Instructions. . . . . . . . . . . . . . . . . . . . . . . . . . 485
10-5-16 Data Control Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 486
10-5-17 Subroutine Instructions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 486
10-5-18 Interrupt Control Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 487