Appendix 4
This section describes a program example with the process control function blocks.
For details on the FBD/LD language, refer to the following.
MELSEC iQ-R Programming Manual (Program Design)
Control mode switching
The following indicates the program which switches the control mode of two-degree-of-freedom advanced PID control
(M+M_2PIDH_) to one of MANUAL, AUTO, CASCADE, COMPUTER MV, or COMPUTER SV in the control mode.
Program example
(2)
(3)
(4)
(5)
(6)
(1) User-defined FB (Page 619 User-defined FB (MCHG_M_A_C_CSV_CMV)) of control mode switching
(2) MANUAL switching command (BOOL)
(3) AUTO switching command (BOOL)
(4) CASCADE switching command (BOOL)
(5) COMPUTER MV switching command (BOOL)
(6) COMPUTER SV switching command (BOOL)
(7) Public variable: Mode change signal (INT)
(8) Public variable: switching request (BOOL)
APPX
618
Appendix 4 Program Example
Program Example
(1)
(7)
(8)