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.
Summary of Contents for Q2ACPU
Page 1: ......
Page 2: ......
Page 221: ...12 12 12 OVERVIEW OF PROCESSING PERFORMED BY THE QnACPU ...
Page 222: ...12 13 12 OVERVIEW OF PROCESSING PERFORMED BY THE QnACPU ...
Page 237: ...12 28 12 OVERVIEW OF PROCESSING PERFORMED BY THE QnACPU MEMO ...
Page 271: ...16 13 16 POWER SUPPLY MODULE 4 Names and description of parts of the A66P ...
Page 343: ...21 21 13 MAINTENANCE AND INSPECTION 21 4 2 Replacement of the fuse for an output module ...
Page 357: ...22 12 22 TROUBLESHOOTING ...
Page 359: ...22 14 22 TROUBLESHOOTING MEMO ...
Page 429: ...App 32 APPENDICES Trigonometric function Classification Symbol Description ...
Page 537: ...App 140 APPENDICES REMARK 1 Message 1 An error code is displayed in 2 Alert 1 3 Alert 2 ...
Page 539: ...App 142 APPENDICES 2 Q2ACPU Q2ACPU S1 modules Unit mm inch ...
Page 541: ...App 144 APPENDICES 2 A66P power supply module Unit mm inch ...
Page 543: ...App 146 APPENDICES 3 A35B base unit 4 A38B A38HB A38HBEU base unit Unit mm inch Unit mm inch ...
Page 567: ...MEMO ...
Page 569: ......
Page 570: ......