The Elements Of The Composition Of The Lc Device; The Comparison Between The Udcntf Instruction And Hioen/Dhioen Instruction - Mitsubishi Electric FX5 User Manual

Melsec iq-f series
Hide thumbs Also See for FX5:
Table of Contents

Advertisement

Operation example
The operation of LC35 in the programming example described above is as shown below.
SM4580
ON
Count direction
OFF
X0 Pulse input
LC35 Current value
LC35 Count contact
= Y1

The elements of the composition of the LC device

Each element that composes the LC device is shown below.
Item
Counting coil
Setting value
Current value
Counter contact
Reset coil
The comparison between the UDCNTF instruction and HIOEN/
DHIOEN instruction
The comparison between the UDCNTF instruction and the HIOEN/DHIOEN instruction is described below.
The availability of use when the FX3 compatibility function is enable/disable
FX3-compatible function enable/disable
Disable
Enable
: 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/DHIOEN
instruction.
24 HIGH-SPEED INPUT/OUTPUT FUNCTION
252
24.2 FX3-compatible high-speed counter function
Up-count
Down-count
5
4
4
3
3
2
2
1
1
0
0
-1
When output has operated
Description
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.
This is K specified with UDCNTF LC K. An indirect specification is acceptable.
This is the current value of the counter. The value increases or decreases depending on the input pulse.
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.
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.
Up-count
-2
-3
-3
-4
-4
-5
-5
-6
-6
-7
-7
-8
UDCNTF instruction
0
-1
-2
HIOEN/DHIOEN instruction

Advertisement

Table of Contents
loading

Table of Contents