M+Fx5Ucpu-Counter_Pulsemeasure - Mitsubishi Electric MELSEC iQ-F FX5 Reference Manual

Cpu module function block reference
Hide thumbs Also See for MELSEC iQ-F FX5:
Table of Contents

Advertisement

Item
Description
Timing chart of I/O signals
[When the operation is completed with an error]
(Target channel is outside the setting range)
start/stop (HIOEN) instruction
Pulse width measurement
status flag (SM device)
Pulse input terminal (Xn)
Latest pulse width value
[When the operation is completed with an error]
(Pulse measurement start (HIOEN) instruction completes abnormally)
start/stop (HIOEN) instruction
Pulse width measurement
status flag (SM device)
Pulse input terminal (Xn)
Latest pulse width value
Restrictions or precautions
• This FB does not include the error recovery processing. Program the error recovery processing separately in accordance
with the required system operation.
• This FB cannot be used in an interrupt program.
• Do not use this FB in programs that are executed only once, such as a subroutine program or FOR-NEXT loop, because
i_bEN (Execution command) cannot be turned off and the normal operation cannot be acquired. Always use this FB in
programs that can turn off i_bEN (Execution command).
• When this FB is used twice or more, precaution must be taken to avoid duplicating the target channel.
• Every input must be provided with a value for proper FB operation.
• If the measurement interval of the measurement target is quicker than the scan time, normal measurement may not be
possible. Adjust the measurement interval so that it is at least double the scan time.
• This FB operates with the parameters (SM) set when i_bEN (Execution command) is turned on. Do not modify parameter
(SM) settings related to the pulse measurement function by a user program when the FB is operating.
• This FB supports only consecutive measurement mode. Set the measurement mode to consecutive measurement mode.
• When executing the pulse measurement function, set the module parameters in GX Works3 in accordance with the
connected equipment and system. For the module parameter setting method, refer to the MELSEC iQ-F FX5 User's
Manual (Application).
i_bEN
o_bENO
Pulse measurement
o_bOK
(SD device)
o_bUpdate
o_dResult
o_bErr
0H
o_uErrId
i_bEN
o_bENO
Pulse measurement
o_bOK
(SD device)
o_bUpdate
o_dResult
o_bErr
o_uErrId
0H
Stop
Indefinite value
0
Error code
0H
Stop
Indefinite value
0
Error code
0H
5 HIGH-SPEED COUNTER FB

5.1 M+FX5UCPU-Counter_PulseMeasure

5
35

Advertisement

Table of Contents
loading

Table of Contents