Mitsubishi Electronics FX3G User Manual

Page of 964
358
FX
3S
/FX
3G
/FX
3GC
/FX
3U
/FX
3UC
 Series
Programming Manual - Basic & Applied Instruction Edition
13 High-Speed Processing – FNC 50 to FNC 59
13.5 FNC 54 – HSCR / High-Speed Counter Reset
2. Only 32-bit operation instructions are available.
Because instructions for high-speed counters are dedicated to 32 bits, make sure to input "DHSCR (FNC 54)".
3. Priority order in operation among HSCS (FNC 53), HSCR (FNC 54), and HSZ (FNC 55) 
instructions for the same high-speed counter
→ For details, refer to "6. Priority order in operations among HSCS (FNC 53), HSCR (FNC 54), and HSZ (FNC
55) instructions for the same high-speed counter" in Subsection 13.4.1.
4. Reset operation by an external terminal
→ For details, refer to "5. Reset operation by an external terminal [M8025*1: HSC (external reset) mode]"
in Subsection 13.4.1.
5. Other cautions on using HSCR instruction
→ For details, refer Subsection 13.4.1.
Program example
1. Example of self-reset circuit
When the current value of C255 becomes "400", C255 is immediately reset. Its current value becomes "0", and the
output contact is set to OFF.
C255
K300
FNC 54
DHSCR
K400
C255
C255
Reset value of DHSCR
400
Count-up value
300
Current value
of C255
Output contact
of C255
Comparison
value
Comparison
source
Output
destination
M8000
RUN monitor