App -
121
APPENDICES
Appendix 4.4
Timer and Interrupt Counter Operations
(1) Timer
(a) The ACPU turns timer coils ON/OFF on execution of the OUT instruction, and
updates timer current values and turns contacts ON/OFF on execution of the
END instruction. In contrast, the QnACPU turns timer coils ON/OFF, updates
current values, and turns contacts ON/OFF on execution of the OUT instruction.
Note that after conversion, the turning of contacts ON/OFF may be up to one
scan faster.
Example: Timing for turning contact ON
In the case of ACPU, a timer contact will turn ON quickly if it is located in the first
step. In the case of QnACPU, it will turn ON quickly if it is located in the step
following OUT T.
(b) Note that processing differs as follows when the set value of a timer is set to K0:
• For ACPU, count is in infinite units (timer does not count up).
• For QnACPU, the timer counts up instantaneously.
(2) Interrupt counter
Interrupt counters for QnACPU count the number of interrupt occurrences. However,
the counter contact does not turn ON even when the count has reached the set
value.
The operation of interrupt counters for ACPU differs according to the CPU type.
(a) Interrupt counters for A3HCPU, AnACPU, or AnUCPU count the number of
interrupts occurrences. When the count reaches the set value, the counter
contact turns ON.
In order to achieve the same operation as with interrupt counters for A3HCPU,
AnACPU, and AnUCPU when using a QnACPU, the program must be modified
after conversion.
An example modification is shown below.
(b) Interrupt counters for AnCPU and AnNCPU operate as counters used in interrupt
programs.
To achieve the same operation as with interrupt counters for AnCPU or AnNCPU
when using a QnACPU, the program modification is not needed after
conversion.
When ordinary counters are used in an interrupt program with QnACPU, they
operate in the same way as with AnNCPU.
Содержание Q2ACPU
Страница 1: ......
Страница 2: ......
Страница 221: ...12 12 12 OVERVIEW OF PROCESSING PERFORMED BY THE QnACPU ...
Страница 222: ...12 13 12 OVERVIEW OF PROCESSING PERFORMED BY THE QnACPU ...
Страница 237: ...12 28 12 OVERVIEW OF PROCESSING PERFORMED BY THE QnACPU MEMO ...
Страница 269: ...16 11 16 POWER SUPPLY MODULE 2 Names and description of parts of the A62P A62PEU and A65P module ...
Страница 271: ...16 13 16 POWER SUPPLY MODULE 4 Names and description of parts of the A66P ...
Страница 343: ...21 21 13 MAINTENANCE AND INSPECTION 21 4 2 Replacement of the fuse for an output module ...
Страница 357: ...22 12 22 TROUBLESHOOTING ...
Страница 359: ...22 14 22 TROUBLESHOOTING MEMO ...
Страница 417: ...App 20 APPENDICES 3 Shift instructions Classification Symbol Description n bit shift 1 bit shift 1 word shift ...
Страница 429: ...App 32 APPENDICES Trigonometric function Classification Symbol Description ...
Страница 432: ...App 35 APPENDICES 15 Clock instructions Classification Symbol Description Clock data read write ...
Страница 537: ...App 140 APPENDICES REMARK 1 Message 1 An error code is displayed in 2 Alert 1 3 Alert 2 ...
Страница 538: ...App 141 APPENDICES APPENDIX 6 EXTERNAL DIMENSIONS Appendix 6 1 CPU Module 1 Q3ACPU Q4ACPU modules Unit mm inch ...
Страница 539: ...App 142 APPENDICES 2 Q2ACPU Q2ACPU S1 modules Unit mm inch ...
Страница 541: ...App 144 APPENDICES 2 A66P power supply module Unit mm inch ...
Страница 542: ...App 145 APPENDICES Appendix 6 3 Main Base Unit 1 A32B base unit 2 A32B S1 base unit Unit mm inch Unit mm inch ...
Страница 543: ...App 146 APPENDICES 3 A35B base unit 4 A38B A38HB A38HBEU base unit Unit mm inch Unit mm inch ...
Страница 567: ...MEMO ...
Страница 569: ......
Страница 570: ......