Premium Only Content

Click PLC PID using Factory IO (3D)
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.
-
LIVE
Redacted News
1 hour agoWhat are they hiding? New video evidence in Charlie Kirk's Shooting SHAKES FBI'S case | Redacted
22,072 watching -
41:53
Kimberly Guilfoyle
3 hours agoCharlie's Legacy and Our Mission
3.28K2 -
1:07:55
vivafrei
2 hours agoJimmy Kimmel Out Indefinitely! Trump "Srubs" Study on Right Wing Violence? Clinton Tweet & MORE
153K37 -
1:35:02
The Quartering
2 hours agoNuclear Fallout From Jimmy Kimmel Firing, New Head Of TP USA, Obama Whines
179K53 -
23:35
Jasmin Laine
1 hour ago“We Were Betrayed”—Carney HUMILIATED As His Base REVOLTS Against Him
4.15K3 -
LIVE
The HotSeat
1 hour agoChapter 32 Begins: Honoring Charlie Kirk’s Legacy & Jimmy Kimmel Gets Canceled
794 watching -
LIVE
The Nunn Report - w/ Dan Nunn
1 hour ago[Ep 751] Jimmy Kimmel – You’re Fired! | Freedom of Speech is Not Freedom From Consequence
293 watching -
1:28:39
Sean Unpaved
4 hours agoBills-Dolphins TNF Battle, Steelers' D in Crisis, & Coaching Hot Seat Alert!
33.6K1 -
59:58
Human Events Daily with Jack Posobiec
3 hours agoHUMAN EVENTS DAILY WITH JACK POSOBIEC
30.8K31 -
1:12:48
LindellTV
2 hours agoTHE MIKE LINDELL SHOW: JIMMY KIMMEL SUSPENDED
24.8K5