
324
Rockwell Automation Publication 2080-UM002N-EN-E - November 2022
Appendix E PID Function Blocks
PID Function Block
This function block diagram shows the arguments in the PID function block.
The following table explains the arguments used in this function block.
Table 83 - PID Arguments
Parameter
Parameter
Type
Data Type
Description
Enable
Input
BOOL
Enable instruction.
TRUE = Start execution with current input parameters.
FALSE = CV equals zero.
PV
Input
REAL
Process Value. This value is typically read from an analog
input module.
The SI unit must be the same as Setpoint.
SP
Input
REAL
The set point value for the process.
AutoManual
Input
BOOL
Auto or manual mode selection:
TRUE = Normal operation of PID.
FALSE = Manual operation using CVManual.
CVManual
Input
REAL
Control value input defined for manual mode operation. The
valid range for CVManual is:
CVMin < CVManual < CVMax
CVMin
Input
REAL
Control value minimum limit.
If CV < CVMin, then CV = CVMin.
If CVMin > CVMax, and error occurs.
CVMax
Input
REAL
Control value maximum limit.
If CV > CVMax, then CV = CVMax.
If CVMax < CVMin, an error occurs.
Gains
Input
PID_GAINS
Gains of PID for controller.
Use the PID_GAINS data type to configure the Gains
parameter.
Control
Input
BOOL
Control direction of the process:
TRUE = Direct acting, such as Cooling.
FALSE = Reverse acting, such as Heating.
Llnit
Input
BOOL
Reserved for future use.
Active
Output
BOOL
Status of the PID controller:
TRUE = PID state is running.
FALSE = PID state is stopped.
CV
Output
REAL
The control value output.
If any error occurred, CV is 0.
AbsoluteError
Output
REAL
Absolute error is the difference between process value (PV)
and setpoint (SV) value.
Error
Output
BOOL
Indicates the existence of an error condition.
TRUE = PID has an error.
FALSE = PID has no errors.
ErrorID
Output
USINT
A unique numeric that identifies the error. The errors are
defined in PID error codes.
PID
PID
PV
Active
CV
AbsoluteError
SP
AutoManual
CVManual
CVMax
CVMin
Gains
Control
Error
Error ID
Llnit
Enable
Содержание 2080-L50E-24AWB
Страница 14: ...14 Rockwell Automation Publication 2080 UM002N EN E November 2022 Notes ...
Страница 54: ...54 Rockwell Automation Publication 2080 UM002N EN E November 2022 Chapter 4 Wire Your Controller Notes ...
Страница 128: ...128 Rockwell Automation Publication 2080 UM002N EN E November 2022 Chapter 7 Program Execution in Micro800 Notes ...
Страница 156: ...156 Rockwell Automation Publication 2080 UM002N EN E November 2022 Chapter 8 EtherNet IP Network Notes ...
Страница 198: ...198 Rockwell Automation Publication 2080 UM002N EN E November 2022 Chapter 9 Motion Control Notes ...
Страница 232: ...232 Rockwell Automation Publication 2080 UM002N EN E November 2022 Chapter 11 Controller Security Notes ...
Страница 260: ...260 Rockwell Automation Publication 2080 UM002N EN E November 2022 Chapter 12 Using microSD Cards Notes ...
Страница 266: ...266 Rockwell Automation Publication 2080 UM002N EN E November 2022 Appendix A Modbus Mapping for Micro800 Notes ...
Страница 275: ...Rockwell Automation Publication 2080 UM002N EN E November 2022 275 Appendix B Quickstarts 10 Click Finish to complete ...
Страница 332: ...332 Rockwell Automation Publication 2080 UM002N EN E November 2022 Appendix E PID Function Blocks Notes ...
Страница 352: ...352 Rockwell Automation Publication 2080 UM002N EN E November 2022 Appendix G Connect to Networks using DF1 Notes ...
Страница 388: ...388 Rockwell Automation Publication 2080 UM002N EN E November 2022 Index Notes ...