Controlling the MC Unit from the CPU Unit
Word Allocations for Programming Example
Item
R1 (Work Bit)
R2 (Work Bit)
R3 (Work Bit)
R4 (Work Bit)
Automatic/Manual Mode Bit (n+3 01)
Cycle Start Bit (n+3 02)
Pause Bit (n+3 05)
Program Number Read Bit (n+3 07)
Task Error Flag (n+10 14)
Automatic Mode Flag (n+15 04)
Program Execution Flag (n+15 02)
Program Execution Completed Flag (n+15
05)
Cycle Start Received Flag (n+15 09)
Automatic/Manual Mode
Program start button
Pause button
Timing Chart
Automatic/Manual Mode Bit
R1 (Pause)
R2 (Program start)
R3 (Program Execution
Completed Flag)
Pause Bit (n+3, 05)
Program start condition
Cycle Start Bit (n+3, 02)
Program Execution Completed
Flag (n+15, 05)
Program Execution Flag
(n+15, 04)
236
MC221 Unit #0
CIO 200301
CIO 200302
CIO 200305
CIO 200307
CIO 201014
CIO 201502
CIO 201504
CIO 201505
CIO 201509
High level
MC421 Unit #0
W50001
W50002
W50003
W50004
CIO 200301
CIO 200302
CIO 200305
CIO 200307
CIO 201814
CIO 202302
CIO 202304
CIO 202305
CIO 202309
CIO 000100
CIO 000101
CIO 000102
Section 5-2