Mitsubishi Electronics FX5 Universal Remote User Manual


 
19 BUILT-IN I/O FUNCTION
19.1 High-speed Counter Function
115
19
Other high-speed counter instructions
In addition to the dedicated instructions, there are instructions such as DHSCS, DHSCR, and DHSZ (hereafter referred to as
"high-speed comparison instruction") for high-speed counters.
For details, refer to the following.
MELSEC iQ-F FX5 Programming Manual (Instructions, Standard Functions/Function Blocks)
High-speed counter function execution procedure
The high-speed counter function execution procedure is as follows.
1. Check the specifications of the high-speed counter.
Check specifications such as maximum frequency and type of high-speed counter. (Page 115 High-speed counter
specifications)
2. Connect the CPU module to the external device.
For details on wiring to external devices, refer to the following manual
MELSEC iQ-F FX5U User's Manual (Hardware)
MELSEC iQ-F FX5UC User's Manual (Hardware)
3. Set the parameters.
Set parameters such as channel (CH) of the high-speed counter. (Page 123 High-speed counter parameters)
4. Create the program.
Create program for using the high-speed counter.
5. Run the program.
High-speed counter specifications
High-speed counter specifications are explained below.
Types of high-speed counters
Types of high-speed counters are as follows.
1 phase, 1 input counter (S/W)
Counting method of 1 phase, 1 input counter (S/W) is as follows.
1 phase, 1 input counter (H/W)
Counting method of 1 phase, 1 input counter (H/W) is as follows.
ON
OFF
Current value
Up counting Down counting
A-phase input
ONOFF
Count direction switching bit
ON
OFF
Current value
Up counting Down counting
A-phase input
ONOFF
B-phase input
(Count direction switching input)