Skip to main content

PID instruction in Allen Bradley PLC Closed Loop Control




PID instruction in Allen Bradley PLC [Proportional/Integral/Derivative] Closed Loop Control


For  Processor SLC 5/02SLC 5/03SLC 5/04SLC 5/05 

 



MicroLogix 1200 and MicroLogix 1500 (A special PID file replaces the old integer file control block.)








Description of PID in PLC


 This output instruction is used to control physical properties such as temperature, pressure, liquid level, or flow rate of process loops.

The PID instruction normally controls a closed loop using inputs from an analog input module and providing an output to an analog output module as a response to effectively hold a process variable at a desired set point.

The PID equation controls the process by sending an output signal to the actuator. The greater the error between the setpoint and the process variable input, the greater the output signal, and vice versa. An additional value (feed forward or bias) can be added to the control output as an offset. The result of the PID calculation (control variable) will drive the process variable you are controlling toward the set point.

The PID instruction can be operated in the timed mode or the STI mode. In the timed mode, the instruction updates its output periodically at a user-selectable rate. In the STI mode, the instruction should be placed in an STI interrupt subroutine. It then updates its output every time the STI subroutine is scanned. The STI time interval and the PID loop update rate must be the same in order for the equation to execute properly.
Important: The integer control block can no longer be used with SoftLogix 5 version 2.0 and higher. 



Entering Parameters in PID Instruction



PID File - (MicroLogix 1200 and 1500 only) Specify a PID file. If you have not already defined a PD filetype among your data files, it will be created for you. The file length is fixed at 23 words. The PD file replaces the old integer file control block.

Control Block Length - (Not valid with MicroLogix 1200 or 1500) Specify an integer file, for example N7:0. The file length is fixed at 23 words. 

Process Variable PV - The element address that stores the process input value. This address can be the location of the analog input word where the value of the input A/D is stored. You can also enter an integer address if you choose to pre-scale your input value to the range 0-16383.

Control Variable CV - The element address that stores the PID output. The output value ranges from 0-16383, with 16383 being the 100% "ON" value. This is normally an integer address, so that you can scale the PID output range to the particular analog range your application requires.

Setup Screen - Double click Setup Screen on the instruction to bring up a display that prompts you for other parameters you must enter to fully program the PID instruction.
Clicking Setup Screen on the PID instruction displays a dialog that allows you to enter additional parameters. These parameters are described here.

                                                                                                                                 Source:Rockwell Software 

Comments

Popular posts from this blog

NE566 Function Generator Circuit Diagram

The NE566 Function Generator is a Voltage-Controlled Oscillator of exceptional linearity with buf fered square wave and triangle wave outputs. The frequency of oscillation is determined by an external resistor and capacitor and the voltage applied to the control terminal. The Oscillator CAN be programmed over a ten-to-one frequency range by proper selection of an external resistance and modulated over a ten-to-one range by the control voltage, with exceptional linearity.  FMAX = 1 MHz     WIDE 1000:1 Continuous Sweep Possible  NE566 Function Generator Circuit Diagram Pdf Datasheet  Sourced by : Circuitsstream

Transceiver Homebrew QRP SSB 80M Band

Radio communication transceiver is a radio transmitter at the same time the plane doubles as a radio receiver used for communication purposes. It consists of the transmitter and the receiver are assembled in an integrated way. In mulamula generation, the transmitter or receiver or transmitter and receiver sections are assembled separately and is part of a stand sendirisendiri and can work well sendirisendiri Currently employed both parts are integrated in turn. Aircraft simple transmitter consists of an oscillator generating radio vibration and this vibration after vibration boarded with our voice, in a technique called dimodulir radio, then by the antenna is converted into radio waves and transmitted. As we know that the sound waves we can not reach long distances, although its power is quite large, while the radio waves with a relatively small force can reach a distance of thousands of kilometers. In order for our voice can reach a far distance, then our voice superimposed on radio w...

Altec Lansing 353A – power amplifier – vacuum tube type – Circuit diagram 6L6 12AX7

Used tubes – 12AX7 [pre-amplifier, tone control and audio pre-amplifier] – 6L6GC [audio output] Circuit diagram Tube pin-out -6L6 Tube pin-out 12AX7