Справочник Пользователя для Mitsubishi Electronics FX5
166
19 BUILT-IN I/O FUNCTION
19.2 FX3-compatible high-speed counter function
19.2 FX3-compatible high-speed counter function
The elements of the composition of the LC device
Each element that composes the LC device is shown below.
The comparison between the UDCNTF instruction and HIOEN
instruction
instruction
The comparison between the UDCNTF instruction and the HIOEN instruction is described below.
The availability of use when the FX3 compatibility function is enable/disable
: Use
: Not use
: Not use
The LC device can be used as a high-speed counter only when the FX3 compatible function is valid. However,
this is only the LC device that is set up with parameter. Also, it is possible to use the HIOEN instruction.
this is only the LC device that is set up with parameter. Also, it is possible to use the HIOEN instruction.
Starting/stopping the counting of the high-speed counter
The start and stop of the counting of the high-speed counter of the UDCNTF instructions and HIOEN instructions with the FX3
compatible function valid are described below.
For the UDCNTF instruction or HIOEN instruction, refer to MELSEC iQ-F FX5 Programming Manual (Instructions,
Standard Functions/Function Blocks).
compatible function valid are described below.
For the UDCNTF instruction or HIOEN instruction, refer to MELSEC iQ-F FX5 Programming Manual (Instructions,
Standard Functions/Function Blocks).
: Supported
: Not supported
: Not applicable
: Not supported
: Not applicable
Item
Description
Counting coil
This is the activation contact to start the counting of the LC device. When the UDCNTF instruction is turned OFF/ON, the
status turns ON and the counting of the input signal becomes possible.
status turns ON and the counting of the input signal becomes possible.
Setting value
This is K specified with UDCNTF LC K. An indirect specification is acceptable.
Current value
This is the current value of the counter. The value increases or decreases depending on the input pulse.
Counter contact
This turns ON when the current value of the LC device changes from a value less than the setting value to the setting
value or higher. This can be used as LD LC.
value or higher. This can be used as LD LC.
Reset coil
This turns ON when the RST instruction with the LC device specified turns OFF
ON, and turns OFF when the RST
instruction turns ON
OFF. When the reset coil is ON, the counting is not executed even if the count coil is ON, and the
current value is always 0.
FX3-compatible function enable/disable
UDCNTF instruction
HIOEN instruction
Disable
Enable
Starting/stopping the counting of the high-speed counter
UDCNTF instruction
HIOEN instruction
The start of the high-speed counter
The simultaneous start of multiple CH
The simultaneous stop of multiple CH
The start
stop and the stopstart of the same CH in one scan
The stop of the counter started by the UDCNTF instructions in the same step
The stop of the counter started by the UDCNTF instructions in a different step
The stop of the counter started by the HIOEN instruction the same step
The stop of the counter started by the HIOEN instruction a different step