Click PLC PID using Factory IO (3D)

2 years ago
71

We will be looking at using a Click PLC PID loop controlling a tank in Factory IO. A PID (Proportional, Integral, and Derivative) control is possible with the Click PLC. A sample program was written for this PLC by Bernie Carlton in the following thread from the Automation Direct Forum. This was based on the math/process presented by Tim Wescott in his paper titled PID without a Ph.D. We will be using this sample program along with a Factory IO scene to demonstrate PID control using our Click PLC.
Here are some references on PID control:
PID without a Ph.D. By Tim Wescott
http://igor.chudov.com/manuals/Servo-Tuning/PID-without-a-PhD.pdf
Understanding PID in 4 minutes
https://www.youtube.com/watch?v=wbmEUi2p-nA
PID Control – A brief introduction
PID Controllers Explained
https://www.youtube.com/watch?v=UR0hOmjaHp0
Who Else Wants to Learn about On-Off and PID Control?
https://accautomation.ca/who-else-wants-to-learn-about-on-off-and-pid-control/

Our Factory IO scene will be controlling the level of water in a tank. PID will be used to maintain the level based on a dial pot knob on the control panel. We will also discuss the math that the PID loop uses. Let’s get started!

More information can be obtained on our website. This includes all of the links mentioned in this video.
https://accautomation.ca/click-plc-pid-using-factory-io

Previously we discussed:
Click PLC System-Hardware
https://accautomation.ca/click-plc-system-hardware/
Click PLC Installing the Software
https://accautomation.ca/click-plc-installing-the-software/
Click PLC Establish Communication
https://accautomation.ca/click-plc-establish-communication/
Click PLC Numbering System and Addressing
https://accautomation.ca/click-plc-numbering-system-and-addressing
Click PLC Timers and Counters
https://accautomation.ca/click-plc-timers-and-counters
Click PLC Compare and Math Instructions
https://accautomation.ca/click-plc-compare-and-math-instructions
Click PLC Program Control Instructions
https://accautomation.ca/click-plc-program-control-instructions
Click PLC Shift Register Instruction
https://accautomation.ca/click-plc-shift-register-instruction
Click PLC Drum Instruction
https://accautomation.ca/click-plc-drum-instruction
Click PLC Send and Receive Instructions
https://accautomation.ca/click-plc-send-and-receive-instructions
Click PLC AdvancedHMI Communication
https://accautomation.ca/click-plc-advancedhmi-communication
Modbus RTU Click PLC Master to BRX PLC Slave Communication
https://accautomation.ca/modbus-rtu-click-plc-master-to-brx-plc-slave-communication
Video
https://youtu.be/CIsj-Xppoog
Click PLC - Update Firmware
https://accautomation.ca/click-plc-update-firmware
Video
https://youtu.be/1X_kw4Rhokw
Click PLC HMI Rotary Encoder Dial Input
https://accautomation.ca/click-plc-hmi-rotary-encoder-dial-input
Video
https://youtu.be/mix9k2RTdII
High-Speed Counter - Part 1
https://accautomation.ca/click-plc-high-speed-counting-part-1
High-Speed Count Mode Video
https://youtu.be/P3l34unyAyU
Interval Measurement Mode Video
https://youtu.be/-t8JSKruilE
Duration Measurement Mode Video
https://youtu.be/znF6PRwGq-Y
Frequency Measurement Mode Video
https://youtu.be/m0I9P5AoFqE
Click PLC High-Speed Counter - Part 2
https://accautomation.ca/click-plc-high-speed-counting-part-2
External Interrupt Mode
https://youtu.be/UxFffVddUt4
Pulse Catch Mode
https://youtu.be/2H0zwul1X3o
Filter Pulse Mode
https://youtu.be/FNbYAkBwIsQ
Frequency Measurement and High-Speed Count Mode
https://youtu.be/qV3jgRszghE
Analog Dusk to Dawn Program
https://accautomation.ca/click-plc-analog-dusk-to-dawn-program
https://youtu.be/JlxTBlk6IJY

The entire Click PLC series can be found at this URL:
https://accautomation.ca/series/click-plc/

There are several reasons why we are using the Click PLC. Here are just a few.
- Investment is low for the hardware and the software is free
- Standalone PLC with built-in I/O
- Communication ability - Ethernet Port, RS232, RS485 - support for protocols such as Modbus RTU, Modbus TCP, etc.
- Ability to expand the system with a variety of modules including RTD and Thermocouple inputs directly.

https://www.accautomation.ca

Loading comments...