1150
10 PID CONTROL INSTRUCTIONS
10.1 Overview
PID control procedure
Create a program for PID control following the procedure below. (Devices are used in the procedure.)
Programming procedure
PID control data change
Setting PID control data
Set PID control data in a word device.
PID operation (exact differential)
Executing the PIDINIT(P) instruction
Execute the PIDINIT(P) instruction.
PID operation (inexact differential)
Executing the S(P).PIDINIT instruction
Execute the S(P).PIDINIT instruction.
Registering PID control data
The PID control data set in the word device is
written to the CPU module.
Setting an initial processing flag value
Set an initial processing flag value in I/O data.
Set value (SV) change
Setting a set value (SV)
Set a set value (SV) in I/O data.
Manipulated value (MV) calculation
mode change
Manual mode
No (Automatic mode)
Selecting an automatic mode
Set 1 (automatic mode) to the manual/automatic
selection area in I/O data.
Yes (Manual mode)
Selecting a manual mode
Set 0 (manual mode) to the manual/automatic
selection area in I/O data.
Reading/setting the process value (PV)
Read out data from the A/D converter module,
and store it in I/O data.
Setting a manual manipulated value (MV
MAN
)
Set a manual manipulated value (MV
MAN
) in I/O data.
PID operation (exact differential)
PID operation (inexact differential)
Execute the PIDCONT(P) instruction.
Executing the PIDCONT(P) instruction
Executing the S(P).PIDCONT instruction
Execute the S(P).PIDCONT instruction.
Performing PID operation
PID operation is performed in accordance with the
PID control data and I/O data set in the word device.
Outputting the manipulated value (MV)
Read out the calculated manipulated value (MV),
and write it to the D/A converter module.
The calculated manipulated value (MV) is stored in I/O data.
Summary of Contents for MELSEC iQ-R Series
Page 1: ...MELSEC iQ R Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 24: ...22 INDEX 2092 INSTRUCTION INDEX 2093 REVISIONS 2104 WARRANTY 2105 TRADEMARKS 2106 ...
Page 34: ...32 MEMO ...
Page 35: ...33 PART 1 PART 1 OVERVIEW This part consists of the following chapter 1 OVERVIEW ...
Page 68: ...66 1 OVERVIEW 1 5 Precautions on Programming MEMO ...
Page 1448: ...1446 14 REDUNDANT SYSTEM INSTRUCTIONS 14 2 Disabling Enabling System Switching MEMO ...
Page 1972: ...1970 33 TIME DATA TYPE FUNCTIONS 33 4 Division MEMO ...
Page 2067: ...APPX Appendix 5 PID Control Program Examples 2065 A 252 Set PID control data for loop 2 ...
Page 2109: ......