EasyManuals Logo

Allen-Bradley Micro810 User Manual

Allen-Bradley Micro810
102 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #53 background imageLoading...
Page #53 background image
Rockwell Automation Publication 2080-UM001B-EN-E - November 2011 45
IPID Function Block Appendix C
PID Code Sample
The illustration above shows sample code for controlling the PID application
example shown before. Developed using Function Block Diagrams, it consists of
a pre-defined function block, IPIDCONTROLLER, and four user-defined
function blocks. These four are:
PID_OutputRegulator
This user-defined function block regulates the output of
IPIDCONTROLLER within a safe range to ensure that there is no
damage to the hardware used in the process.
IF RMIN ≤RIN RMAX, then ROUT = RIN,
IF RIN < RMIN, then ROUT = RMIN,
IF RIN > RMAX, then ROUT = RMAX.
PID_Feedback
This user defined function block acts as a multiplexer.
IF "FB_RST" is false, FB_OUT=FB_IN;
If "FB_RST" is true, then FB_OUT=FB_PREVAL.
PID_PWM
This user defined function block provides a PWM function, converting a
real value to a time related ON/OFF output.
SIM_WATERLVL
This user defined function block simulates the process depicted in the
application example shown before.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Allen-Bradley Micro810 and is the answer not in the manual?

Allen-Bradley Micro810 Specifications

General IconGeneral
BrandAllen-Bradley
ModelMicro810
CategoryController
LanguageEnglish

Related product manuals