1146
9 PID OPERATION INSTRUCTION
9.2 PID Operation Instruction
■
Setting items (arguments)
*1 When auto tuning is not used, the same number of points are occupied as when the step response method is used.
■
Setting items (control data)
Setting item
Description
Number of
occupied
points
(s1)
Set value (SV)
Set the set value (SV).
■
Auto tuning (limit cycle method)
If the set value for auto tuning differs from that for normal PID control, set a value obtained by adding a bias
value, and then set the SV back to the original value when the auto tuning flag turns off.
1 point
(s2)
Process value
(PV)
Set the input value for PID operation.
1 point
(s3)
Control data
■
Auto tuning (limit cycle method)
The device areas of 29 points starting from the device specified in (s3) are used.
29 points
■
Auto tuning (step response method)
The device areas of 25 points starting from the device specified in (s3) are used when all of the bits 1, 2,
and 5 of (s3)+1 (Action setting (ACT)) are not 0.
The device areas of 20 points starting from the device specified in (s3) are occupied when all of the bits 1,
2, and 5 of (s3)+1 (Action setting (ACT)) are 0.
25 points
20 points
(d)
Manipulated value
(MV)
■
Normal PID control
The user sets the initial manipulated value before execution of the instruction. After execution, the operation
result is stored.
■
Auto tuning (limit cycle method)
During auto tuning, the output upper limit value (ULV) or output lower limit value (LLV) is output automatically.
Upon completion of auto tuning, the given MV is set.
■
Auto tuning (step response method)
The user sets the step manipulated value before execution of the instruction. During auto tuning, the MV
cannot be changed by the PID instruction.
1 point
Operand: (s3)
Device
Item
Description
Remarks
+0
Sampling time (T
S
)
1 to 32767 [ms]
The sampling time must be longer than the operation
cycle of the programmable controller.
+1
Action setting (ACT)
Bit 0
0: Direct action
1: Reverse action
Action direction specification
Bit 1
0: Input variation alarm disabled
1: Input variation alarm enabled
Bit 2
0: Output variation alarm disabled
1: Output variation alarm enabled
Do not turn on bit 2 and bit 5 at the same time.
Bit 3
Reserved
Bit 4
0: Auto tuning disabled
1: Auto tuning enabled
Bit 5
0: No output upper/lower limit value setting
1: Output upper/lower limit value setting
enabled
Do not turn on bit 2 and bit 5 at the same time.
Bit 6
0: Step response method
1: Limit cycle method
Auto tuning mode selection
Bits 7 to 15
Reserved
+2
Input filter constant (
)
0 to 99 [%]
0 = No input filter
+3
Proportional gain (K
P
)
1 to 32767 [%]
+4
Integral time (T
I
)
1 to 32767 [
100ms]
0 =
(No integration)
+5
Derivative gain (K
D
)
0 to 200 [%]
0 = No derivative gain
+6
Derivative time (T
D
)
1 to 32767 [
10ms]
0 = No derivation
+7 to +19
These areas are used for internal processing of PID operation, and therefore data cannot be changed.
+20
Input variation (increase) alarm setting
value
0 to 32767
Enabled when the bit 1 of (s3)+1 (Action direction
(ACT)) is 1.
+21
Input variation (decrease) alarm setting
value
0 to 32767
Enabled when the bit 1 of (s3)+1 (Action direction
(ACT)) is 1.
+22
Output variation (increase) alarm setting
value
0 to 32767
Enabled when the bit 2 of (s3)+1 (Action direction
(ACT)) is 1, and the bit 5 is 0.
Output upper limit setting value
-32768 to 32767
Enabled when the bit 2 of (s3)+1 (Action direction
(ACT)) is 0, and the bit 5 is 1.
Содержание MELSEC iQ-R Series
Страница 1: ...MELSEC iQ R Programming Manual Instructions Standard Functions Function Blocks ...
Страница 2: ......
Страница 24: ...22 INDEX 2092 INSTRUCTION INDEX 2093 REVISIONS 2104 WARRANTY 2105 TRADEMARKS 2106 ...
Страница 34: ...32 MEMO ...
Страница 35: ...33 PART 1 PART 1 OVERVIEW This part consists of the following chapter 1 OVERVIEW ...
Страница 68: ...66 1 OVERVIEW 1 5 Precautions on Programming MEMO ...
Страница 204: ...202 5 SEQUENCE INSTRUCTIONS 5 3 Output Instructions Operation error There is no operation error ...
Страница 470: ...468 6 BASIC INSTRUCTIONS 6 6 Data Conversion Instructions Operation error There is no operation error ...
Страница 472: ...470 6 BASIC INSTRUCTIONS 6 6 Data Conversion Instructions Operation error There is no operation error ...
Страница 479: ...6 BASIC INSTRUCTIONS 6 6 Data Conversion Instructions 477 6 Operation error There is no operation error ...
Страница 504: ...502 6 BASIC INSTRUCTIONS 6 7 Data Transfer Instructions Operation error There is no operation error ...
Страница 518: ...516 6 BASIC INSTRUCTIONS 6 7 Data Transfer Instructions Operation error There is no operation error ...
Страница 520: ...518 6 BASIC INSTRUCTIONS 6 7 Data Transfer Instructions Operation error There is no operation error ...
Страница 754: ...752 7 APPLICATION INSTRUCTIONS 7 9 Real Number Instructions Operation error There is no operation error ...
Страница 756: ...754 7 APPLICATION INSTRUCTIONS 7 9 Real Number Instructions Operation error There is no operation error ...
Страница 758: ...756 7 APPLICATION INSTRUCTIONS 7 9 Real Number Instructions Operation error There is no operation error ...
Страница 760: ...758 7 APPLICATION INSTRUCTIONS 7 9 Real Number Instructions Operation error There is no operation error ...
Страница 895: ...7 APPLICATION INSTRUCTIONS 7 16 Ramp Signal Instruction 893 7 Operation error There is no operation error ...
Страница 917: ...7 APPLICATION INSTRUCTIONS 7 20 Data Processing Instructions 915 7 Operation error There is no operation error ...
Страница 919: ...7 APPLICATION INSTRUCTIONS 7 20 Data Processing Instructions 917 7 Operation error There is no operation error ...
Страница 1415: ...13 SFC PROGRAM INSTRUCTIONS 13 1 SFC Control Instructions 1413 13 Operation error There is no operation error ...
Страница 1448: ...1446 14 REDUNDANT SYSTEM INSTRUCTIONS 14 2 Disabling Enabling System Switching MEMO ...
Страница 1795: ...25 TYPE CONVERSION FUNCTIONS 25 1 Converting BOOL to WORD 1793 25 Operation error There is no operation error ...
Страница 1805: ...25 TYPE CONVERSION FUNCTIONS 25 10 Converting WORD to DINT 1803 25 Operation error There is no operation error ...
Страница 1819: ...25 TYPE CONVERSION FUNCTIONS 25 21 Converting INT to DWORD 1817 25 Operation error There is no operation error ...
Страница 1950: ...1948 32 STRING FUNCTIONS 32 2 Extracting String Data From the Left Right Operation error There is no operation error ...
Страница 1972: ...1970 33 TIME DATA TYPE FUNCTIONS 33 4 Division MEMO ...
Страница 2067: ...APPX Appendix 5 PID Control Program Examples 2065 A 252 Set PID control data for loop 2 ...
Страница 2082: ...2080 APPX Appendix 6 Process Control Program Examples 129 Set the default value of the loop tag ...
Страница 2093: ...APPX Appendix 7 List of Loop Tag Memory Areas Used by Process Control Instructions 2091 A MEMO ...
Страница 2109: ......