Appendix 5 Pid Control Program Examples; Program Examples For Pid Control In Automatic Mode - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

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

Advertisement

Appendix 5
This section provides examples of PID control programs where PID control instructions are used.
The following system configuration is used.
CPU module
PID operation
Loop 1
PV
MV
PID operation
Loop 2
MV
PV
I/O number of the R60AD4: X/Y80 to X/Y8F, I/O number of the R60DA4: X/YA0 to X/YAF

Program examples for PID control in automatic mode

The program performs PID operation using the digital value input from the R60AD4 as a process value (PV), and outputs the
obtained manipulated value (MV) from the R60DA4.
The program conditions are as follows:
Item
Number of loops that performs PID operation
Sampling period
Device where PID control data are set
Device where I/O data are set
Set value (SV)
Device used to start/stop PID control
Digital value of the R60AD4 and R60DA4
PID Control Program Examples
R60DA4
CH.1
CH.2
Common data
Loop 1 data
Loop 2 data
Common data
Loop 1 data
Loop 2 data
Loop 1
Loop 2
PID control start command
PID control stop command
R60AD4
External device
CH.1
External device
CH.2
Inexact differential
2
1 second
D500, D501
D502 to D515
D516 to D529
D600 to D609
D610 to D632
D633 to D655
600
1000
X0
X1
0 to 2000

Appendix 5 PID Control Program Examples

Exact differential
D502 to D511
D512 to D521
D610 to D627
D628 to D645
APPX
2063
A

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents