10 PID CONTROL INSTRUCTIONS
10.1 Overview
1153
10
■
Number of loops used and number of execution loops in one scan
The number of loops used is the number of loops where PID operation is performed. The sampling period is measured for the
set number of loops when the PIDCONT instruction is executed, and PID operation is performed for the loops that reach the
specified sampling period.
Processing time of the PIDCONT instruction increases in proportion to the number of loops where PID operation is performed.
The number of execution loops in one scan is the number of loops where PID operation is performed in one scan when there
are multiple loops that reach the specified sampling period. If this number is set, PID operation is performed only for the set
number of loops, and PID operation for the rest of the loops that reach the sampling period will be performed in the next scan.
A: Time required to measure sampling period
B: Time required to perform PID operation for a single loop
n: Number of loops
When the number of loops that reach the sampling period exceeds the number of execution loops in one
scan, the priority order will be as follows:
• The loop with the smallest loop number is given the highest priority.
• If there are loops where PID operation is performed and not performed in the last scan, the priority is given
to the ones where PID operation is not performed in the last scan.
END 0
END 0
Program
Performing PID operation
Executing the
PIDCONT instruction
Next step of the
PIDCONT instruction
Scan time
Processing time
= A + B × n
Processing time
= A + B × n
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: ......