EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-F FX5 - Chapter 5 High-Speed Counter Fb

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
33
5
5 HIGH-SPEED COUNTER FB
5.1 M+FX5UCPU-Counter_PulseMeasure
Name
M+FX5UCPU-Counter_PulseMeasure
Overview
Labels
Input label
*1 The target channel can be set from CH1 to CH4 for the built-in input/output in a CPU module and from CH5 to CH12 for the high-speed
pulse input/output module.
Output label
Item Description
Overview This FB starts the pulse measurement function, and stores the pulse measured value.
Symbol
No. Variable name Name Data type Range Description
(1) i_bEN Execution command Bit ON, OFF ON: The FB is activated.
OFF: The FB is not activated.
(2) i_stModule Module label Structure The setting range
differs depending on
the module label.
Specify the module label of the CPU module.
(3) i_uCh Target channel Word [Unsigned] 1 to 12
*1
Specify the channel number.
No. Variable name Name Data type Default value Description
(4) o_bENO Execution status Bit OFF ON: The execution command is on.
OFF: The execution command is off.
(5) o_bOK Normal completion Bit OFF When this label is on, it indicates that pulses are being
measured.
(6) o_bUpdate Measured pulse value
update flag
Bit OFF When this label is on, it indicates that measured pulse
value has been updated.
(7) o_dResult Measured pulse value Double word
[signed]
0 Stores the measured pulse value.
The following intervals can be measured by combining
the public label's pulse measurement interval with the
logic switch parameter.
ON width
OFF width
Interval between rises of the edge
Interval between falls of the edge
(8) o_bErr Error completion Bit OFF When this label is on, it indicates that an error has
occurred in the FB.
(9) o_uErrId Error code Word [Unsigned] 0 Stores the error code that occurred in the FB.
(8)
(7)
(9)
(6)
(5)
M+FX5UCPU-Counter_PulseMeasure
(4)
(3)
(2)
(1)
o_bErr
o_dResult
o_bUpdate
o_bOK
o_bENO
B
D
B
B
B
UW
DUT
B
:
:
o_uErrId UW:
(10) pb_bPulseMeasuringIntervalSetting
:
:
:
:
:
:
i_uCh
i_stModule
i_bEN

Other manuals for Mitsubishi Electric MELSEC iQ-F FX5

Related product manuals