Mitsubishi Electronics FX5 ユーザーズマニュアル

ページ / 306
132
19  BUILT-IN I/O FUNCTION
19.1  High-speed Counter Function
High-speed comparison table
The high-speed comparison table is explained below.
Used to set high-speed comparison table for high-speed counters.
Sets match output setting for high-speed counters.
Navigation window  [Parameter]  [FX5UCPU]  [Module Parameter]  [High Speed I/O]  “Input Function"  “High 
Speed Counter"  "Detail Setting"  “High Speed Compare Table"
Window
Displayed items
 • You can create an open table entry before table setting is complete.
 • Table settings can be made in any order. Be careful when the current value is changed by self-reset at a 
table along the way, as table processing starts with the first table then the following tables in order.
High-speed comparison table operation
Operation of each type of high-speed comparison table operation is explained below.
Set to ON
When comparison value 1 matches the current value of the set high-speed counter, the bit device specified as the output 
destination device is set. If interrupt pointer has been specified for output destination device, the interrupt program of the 
specified interrupt pointer is run simultaneously when it matches comparison value 1.
Operation is the same as for the DHSCS instruction. For information on the DHSCS instruction, refer to MELSEC iQ-F 
FX5 Programming Manual (Instructions, Standard Functions/Function Blocks).
Item
Description
Setting range
Default
Counter CH
Set the counter CH of coincidence output target.
Disable, CH1 to CH8
Disable
Comparison Type
Set comparison type.
• Set 
• Reset
• Self Reset
• Band Area Comparison
Set
Output Destination Device
Sets output destination device for output comparison 
results of comparison value 1 and comparison value 2.
Bit device (Y, M), Interrupt pointer (I16 to I23)
Comparison Value 1 
Specification Method
Sets the specification method of comparison value 1.
• Direct Specification
• Indirect Specification
Direct 
Specificati
on
Comparison Value 1 Direct
Sets value (comparison value 1) to be compared with 
current value of high-speed counter. (When direct 
specification is selected)
-2147483648
Comparison value 1+2147483647
0
Comparison Value 1 Indirect
Sets device (comparison value 1) to be compared with 
current value of high-speed counter. (When indirect 
specification is selected)
Word device (D, R)
Comparison Value 2 
Specification Method
If band comparison is set to comparison type, sets the 
specification method of comparison value 2.
• Direct Specification
• Indirect Specification
Comparison Value 2 Direct
If band comparison is set to comparison type, sets value 
(comparison value 2) to be compared with current value 
of high-speed counter. (When direct specification is 
selected)
Comparison value 1
Comparison value 
2
+2147483647
Comparison Value 2 Indirect
If band comparison is set to comparison type, sets 
device (comparison value 2) to be compared with 
current value of high-speed counter. (When indirect 
specification is selected)
Word device (D, R)