Mitsubishi Electronics FX3G User Manual

Page of 964
125
FX
3S
/FX
3G
/FX
3GC
/FX
3U
/FX
3UC
 Series
Programming Manual - Basic & Applied Instruction Edition
4 Devices in Detail
4.8 High-Speed Counter [C] (FX3U/FX3UC PLC)
1
Introdu
ction
2
Ov
ervi
ew
3
Instruction 
Li
st
4
D
evices 
in Det
ai
l
5
Specifi
ed the
De
vice
 &
 
C
onst
ant
6
Bef
ore
 
Pr
og
ra
mmi
ng
7
Bas
ic 
Instruction
8
FN
C00-FN
C0
9
Program Fl
ow
9
FNC
10-FN
C19
Mov
e & Com
pare
10
FNC
20-FNC
29
Arith. & Lo
gi
Operati
on
4.8.9
Conditions for hardware counters to be handled as software counters
High-speed counters are classified into hardware counters and software counters. In some conditions, however,
hardware counters are handled as software counters.
In this case, use hardware counters within the range of maximum response frequency and total frequency as
determined for software counters.
Conditions under which counters are handled as software counters
Hardware 
counter No.
Condition in which hardware counters are handled as software counters
C235
C236
C237
C238
C239
C240
C244(OP)
C245(OP)
C246
C248(OP)
C251
C253
Because hardware counters execute counting at the hardware level of the FX
3U
/FX
3UC
, they can execute counting
regardless of the total frequency. 
However, when hardware counters are handled as software counters with the following conditions, their maximum
response frequency and total frequency are limited in the same way as the software counters.
Use M8380 to M8387 to verify that high-speed counters are handled as hardware counters or software counters.
When DHSCS (FNC 53), DHSCR (FNC 54), DHSZ (FNC 55) or DHSCT (FNC280) instruction is used for a
hardware counter number, the hardware counter is handled as a software counter.
Example: C235
In this case, C235 is handled as a software counter.
When an index register is used for a counter number specified in DHSCS (FNC 53), DHSCR 
(FNC 54), DHSZ (FNC 55) or DHSCT (FNC280) instruction, all hardware counters are handled as software
counters.
Example: C235Z0
C253 (hardware counter) is handled as a software counter by inverting the logic using the external reset input
signal logic changing function.
Example: The logic of the C253 external reset input signal is inverted. 
For logic inversion of the external reset input signal, refer to Subsection 4.8.6.
DHSCS
K100 C235 Y000
C235
K{{{
DHSCS
K100
C235Z0
Y000
M8388
M8389
C253
K{{{