Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 366

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

Advertisement

■PV compensation
This function block adds an externally-input compensation value to a process variable or replaces a process variable with an
externally-input compensation value.
Condition
PVCMP_EN = TRUE
PVCMP_EN = FALSE
IN: Input value (Process variable), PV_CMPIN: Compensation value, PVCMP_MODE: Compensation mode
■PV compensation
This function block adds a PV compensation value (PVD_CMPIN) to an internal addition value (PVD_CMPIN) when
PVDCMP_EN is enabled.
PVD_CMPIN is added to a process variable.
■MV compensation
This function block adds an externally-input compensation value to MV or replaces MV with an externally-input
compensation value.
Condition
MVDCMP_EN = TRUE
MVDCMP_EN = FALSE
IN: Input value (Manipulated value), MVD_CMPIN: Compensation value, MVDCMP_MODE: Compensation mode
■MV gain correction
This function block multiplies MV by a gain correction value.
Condition
MVDGAINCMP_EN = TRUE
MVDGAINCMP_EN = FALSE
IN: Input value (Manipulated value), MVD_GAININ: Gain correction value
Operation error
Error code
Description
(SD0)
3402H
Operation result of input data, operation constants, tag data, or inside of function blocks is a subnormal number or NaN (not a number).
3403H
An overflow has occurred.
An error may occur in a function block that is used in a tag FB. For details on the error, refer to corresponding function blocks.
12 LOOP TAG
364
12.9 2-degree-of-freedom Advanced PID Control (Enable Tracking for primary loop) (M+M_2PIDH_T_)
PVCMP_MODE = 0 (addition)
PVCMP_MODE = 1 (replacement)
MVDCMP_MODE = 0 (addition)
MVDCMP_MODE = 1 (replacement)
Processing result
IN + PV_CMPIN
PV_CMPIN
IN
Processing result
IN + MVD_CMPIN
MVD_CMPIN
IN
Processing result
IN  MVD_GAININ
IN

Advertisement

Table of Contents
loading

Table of Contents