Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 73

Process control function blocks
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Processing details
■Broken line correction processing
This function block outputs values according to a function generator pattern that consists of SN (the number of break points =
0 to 48) from the output variable OUT_ with regard to the values input from the input variable IN.
Ex.
When the number of break points is 5 (SN = 5)
Y
Y4_
Y5_
Output(OUT_)
Y3_
Y2_
Y1_
X1_
• Processing details
This function block performs the following operations.
Input (IN)
IN  X1_
Xi-1_ < IN  Xi_(i = 2 to n)
IN > Xn_
Xi_: Input coordinates
Yi_: Output coordinates
IN: Input value
OUT_: Output value
• Set the input coordinates (Xi_) as follows: Xi_  Xi + 1_. (For Xi_ > Xi + 1_, the values to Xi_ are valid as break points.)
• If multiple Yi_ coordinates exist for a single Xi_ coordinate, the Yi_ coordinate with the smaller Xi_ coordinate is applied.
Ex.
X1_ = X2_, X4_ = X5_
When the input coordinate (X1_ = X2_) is input to the input (IN), the output coordinate (Y1_) is output.
When the input coordinate (X4_ = X5_) is input to the input (IN), the output coordinate (Y4_) is output.
Y
Y3_
Output(OUT_)
Y4_
Y5_
Y2_
Output(OUT_)
Y1_
X1_=X2_
Input(IN)
• Relation between the range of the number of break points (SN) and processing
Number of break points (SN)
SN = 0
0 < SN  48
SN < 0 or 48 < SN
X2_
X3_
X4_
Input(IN)
Output (OUT_)
OUT_ = Y1_
Yi_-Yi-1_
OUT_=
×(IN-Xi-1_)+Yi-1_
Xi_-Xi-1_
OUT_ = Yn_
X3_
X5_
X4_=X5_
Input(IN)
Processing
No processing is performed.
Broken line correction processing is performed.
An operation error occurs.
5 CORRECTION OPERATION
5.1 Function Generator (M+P_FG)
X
5
71

Advertisement

Table of Contents
loading

Table of Contents