M+Fx5-2Hc_Pulsemeasure (Pulse Width Measurement); Overview; Labels - Mitsubishi Electric MELSEC iQ-F Series Manual

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

Advertisement

2.2
M+FX5-2HC_PulseMeasure (Pulse Width
Measurement)

Overview

This FB starts the pulse measurement function and reads the measured pulse value.
M+FX5-2HC_PulseMeasure
(1)
B:i_bEN
(2)
DUT:i_stModule
(3)
UW:i_uCH
(4)
UW:i_uInputSignal

Labels

Input label
No.
Label
Label name
(1)
i_bEN
Execution
command
(2)
i_stModule
Module label
(3)
i_uCH
Target channel
(4)
i_uInputSignal
Input signal
Output label
No.
Label
Label name
(5)
o_bENO
Execution status
(6)
o_bOK
Normal completion
(7)
o_bErr
Error completion
(8)
o_uErrId
Error code
(9)
o_bMeasureStart
Pulse under-measurement
flag
(10)
o_bPulseUpdate
Pulse width measurement
value update flag
(11)
o_dPulseResult
Pulse width measurement
value
(12)
o_bPeriodUpdate
Period measurement value
update flag
(13)
o_dPeriodResult
Period measurement value
(5)
o_bENO:B
(6)
o_bOK:B
(7)
o_bErr:B
o_uErrId:UW
(8)
o_bMeasureStart:B
(9)
o_bPulseUpdate:B
(10)
o_dPulseResult:D
(11)
o_bPeriodUpdate:B
(12)
o_dPeriodResult:D
(13)
Data type
Import
Bit
Always
Structure
At FB start
Word [Unsigned]/Bit
At FB start
String [16-bit]
Word [Unsigned]/Bit
At FB start
String [16-bit]
Data type
Bit
Bit
Bit
Word [Unsigned]/Bit String
[16-bit]
Bit
Bit
Double word [signed]
Bit
Double word [signed]
Range
Description
On or off
On: The FB is activated.
Off: The FB is not activated.
Specify the module label of the MELSEC iQ-F
high-speed counter module.
1 to 2
Specify the channel number.
1 to 2
Specify the input signal.
1: Phase A
2: Phase B
Default
Description
value
Off
On: The execution command is on.
Off: The execution command is off.
Off
When this label is on, it indicates that the FB has
been completed normally.
Off
When this label is on, it indicates that an error
has occurred in the FB.
0
Stores the error code that occurred in the FB.
Off
When this label is on, it indicates that pulses are
being measured.
Off
When this label is on, it indicates that the pulse
width measurement value has been updated.
0
Stores the pulse width measurement value.
Off
When this label is on, it indicates that the period
measurement value has been updated.
0
Stores the period measurement value.
2 HIGH-SPEED COUNTER MODULE FB

2.2 M+FX5-2HC_PulseMeasure (Pulse Width Measurement)

2
13

Advertisement

Table of Contents
loading

Table of Contents