Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 621

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

Advertisement

User-defined FB (MCHG_M_A_C_CSV_CMV)
■Input/output variable
Variable name
Description
MAN
TRUE: MANUAL
AUTO
TRUE: AUTO
CAS
TRUE: CASCADE
CMV
TRUE: COMPUTER MV
CSV
TRUE: COMPUTER SV
MODE_IN
Control mode (1: MANUAL, 2: AUTO, 3: CASCADE, 4: COMPUTER MV, or 5:
COMPUTER SV)
MODE_E
Switching command (TRUE: execution)
Program example
(1)
(2)
(3)
(4)
(5)
(1) Switch the control mode to MANUAL when the signal for MAN changes from FALSE into TRUE.
(2) Switch the control mode to AUTO when the signal for AUTO changes from FALSE into TRUE.
(3) Switch the control mode to CASCADE when the signal for CAS changes from FALSE into TRUE.
(4) Switch the control mode to COMPUTER MV when the signal for CMV changes from FALSE into TRUE.
(5) Switch the control mode to COMPUTER SV when the signal for CSV changes from FALSE into TRUE.
For the R_TRIG (Rising edge detection), refer to the following.
 MELSEC iQ-R Programming Manual (Instructions, Standard Functions/Function Blocks)
Type
Data type
Input variable
BOOL
Input variable
BOOL
Input variable
BOOL
Input variable
BOOL
Input variable
BOOL
Output variable
INT
Output variable
BOOL
Appendix 4 Program Example
A
APPX
619

Advertisement

Table of Contents
loading

Table of Contents