EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-F FX5 - M+FX5 UCPU-Counter_Pulsemeasure

Mitsubishi Electric MELSEC iQ-F FX5
44 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
5 HIGH-SPEED COUNTER FB
5.1 M+FX5UCPU-Counter_PulseMeasure
35
5
Timing chart of I/O signals [When the operation is completed with an error]
(Target channel is outside the setting range)
[When the operation is completed with an error]
(Pulse measurement start (HIOEN) instruction completes abnormally)
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).
Item Description
i_bEN
o_bENO
Pulse measurement
start/stop (HIOEN) instruction
Pulse width measurement
status flag (SM device)
o_bOK
Pulse input terminal (Xn)
Latest pulse width value
(SD device)
o_bUpdate
o_dResult
o_bErr
o_uErrId
0H 0HError code
Indefinite value
0
Stop
i_bEN
o_bENO
Pulse measurement
start/stop (HIOEN) instruction
Pulse width measurement
status flag (SM device)
o_bOK
Pulse input terminal (Xn)
Latest pulse width value
(SD device)
o_bUpdate
o_dResult
o_bErr
o_uErrId
0H 0HError code
Indefinite value
0
Stop

Other manuals for Mitsubishi Electric MELSEC iQ-F FX5

Related product manuals