Mitsubishi Electric MELSEC iQ-F FX5 User Manual page 130

Hide thumbs Also See for MELSEC iQ-F FX5:
Table of Contents

Advertisement

Item
Pulse Input Mode
Preset Input Enable/
Disable
Input logic
Input Comparison Enable/
Disable
Control Switch
Preset Value
Enable Input Enable/
Disable
Input logic
Ring Length Enable/
Disable
Ring Length
Parameters are enabled when the CPU module is powered ON or after a reset. In addition, operations
different from the parameter settings are possible by transferring values to special relays and special registers
while changing these values in the program.
For details concerning special relays and specials registers for high-speed counters, refer to Page 140
Special relay list, Page 155 Special registers list.
Starting/stopping high-speed counter measurement
High-speed counters cannot count by setting the parameter alone.
The HIOEN/DHIOEN instruction is required to start/stop the count.
For the HIOEN/DHIOEN instruction, refer to MELSEC iQ-F FX5 Programming Manual (Instructions, Standard Functions/
Function Blocks).
Read/write of current value of high-speed counter
The current value of the high-speed counter is stored in a special register for each channel. You can check current value by
monitoring the value. The value may however differ from the actual value because the special register is updated during END
processing.
You can read the latest value using the HCMOV/DHCMOV instruction.
For details concerning specials registers for high-speed counters, refer to Page 155 Special registers list.
For information for the HCMOV/DHCMOV instruction, refer to MELSEC iQ-F FX5 Programming Manual (Instructions,
Standard Functions/Function Blocks).
19 HIGH-SPEED INPUT/OUTPUT FUNCTION
128
19.1 High-speed Counter Function
Description
Set pulse input mode.
Set whether to "enable" or "disable" the preset input of counter.
Sets preset input logic when preset input is enabled.
Sets whether to "enable" or "disable" input comparison when
preset input is enabled.
Sets preset execution timing when preset input is enabled.
Sets preset value when preset input is enabled.
Set whether to "enable" or "disable" the enable input.
Set the enable input logic value.
Sets whether to "enable" or "disable" the ring length for ring
counters.
Sets ring length when ring length setting is enabled.
Setting range
• 1-Phase 1 Input (S/W Up/Down
Switch)
• 1-Phase 1 Input (H/W Up/Down
Switch)
• 1 Phase 2 Input
• 2 Phase 1 Multiple
• 2 Phase 2 Multiple
• 2 Phase 4 Multiple
• Internal Clock (1MHz)
• Disable
• Enable
• Positive Logic
• Negative Logic
• Disable
• Enable
• Rising
• Falling
• Rising + Falling Edge
• Always During Input ON
-2147483648 to +2147483647
• Disable
• Enable
• Positive Logic
• Negative Logic
• Disable
• Enable
2 to 2147483648
Default

Advertisement

Table of Contents
loading

Table of Contents