136
19 BUILT-IN I/O FUNCTION
19.1 High-speed Counter Function
Comparison start/stop for multiple point output, high-speed comparison table
Multiple point output, high-speed comparison tables cannot execute comparison by setting the parameter alone.
The HIOEN instruction is required to start/stop multiple point output, high-speed comparison tables.
For the HIOEN instruction, refer to MELSEC iQ-F FX5 Programming Manual (Instructions, Standard Functions/Function
Blocks).
The HIOEN instruction is required to start/stop high-speed counters as well when using a multiple point
output, high-speed comparison table.
Measurement is not conducted by starting the multiple point output, high-speed comparison table alone, and
the high-speed comparison table therefore does not operate.
Precautions
■Setting number
Up to 128 tables can be set.
■Device value when using user device
Parameters and user devices are handled as follows when using user devices.
Ex.
If D0 is set to initial device
■When final table comparison is complete
When comparison processing has been completed up to the last set table, SM5001 turns ON. The high-speed counter current
value is not cleared.
■Operation start timing
Multiple point output, high-speed comparison tables are enabled as soon as the HIOEN instruction is executed.
■Table operation interval
The comparison value or input frequency must be set so the comparison value and high-speed counter current value match at
intervals of 100 s or more for each table.
■Processing order
Multiple point output, high-speed comparison tables are processed in sequence starting from the first table. Only 1 table per
count is processed.
■Table setting value update timing
When using user devices, you can change the table setting values by modifying the values of the device. However, the
comparison value and output data values of the table currently being compared and the next table cannot be changed. If you
modify the comparison values or output data, you can modify data of the next table in the sequence and those subsequent.
The table number of which the table is being currently compared can be checked in the special register (SD5000).
■Other precautions
There are common precautions when using high-speed counters. For details, refer to Page 163 Precautions when using
high-speed counters.
Table number User device
Comparison value Output data
Table 1 D1, D0 D3, D2
Table 2 D5, D4 D7, D6
Table 3 D9, D8 D11, D10
Table 4 D13, D12 D15, D14
Table 5 D17, D16 D19, D18