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.
-
2:04:42
TimcastIRL
10 hours agoStock Market BLOODBATH After China Places 34% Tariff On US, Trump HOLDS FIRM | Timcast IRL
355K339 -
4:01:18
Alex Zedra
9 hours agoLIVE! Playing Verdansk all night
66.7K3 -
1:38:36
Glenn Greenwald
12 hours agoProf. John Mearsheimer on Israel's Destruction of Gaza, Trump Admin Attacks on Universities & Speech, Yemen Bombings, Tariffs & Competition with China; Plus: Q&A with Glenn | SYSTEM UPDATE #434
156K93 -
8:00:00
SpartakusLIVE
1 day agoThe MACHINE is back after a RESTFUL 4 hours of sleep
164K7 -
4:09:39
I_Came_With_Fire_Podcast
17 hours agoTARIFF TAKEOVER | REDCOATS 2.0 | DOGE FINDS SOMETHING HORRIBLE
42.4K13 -
6:10:55
Eternal_Spartan
9 hours agoLive at 9pm Central! Come Hang Out w/ a USMC Vet Playing HALO! Can't Wait to See Everyone!!
50.3K3 -
5:09:12
EzekielMaxwellVT
12 hours agoVTuber/VRumbler - Vampire The Masquerade - Listening to the voices in Jo's head
29.1K -
6:48:45
Welsh Girl
11 hours ago🔴 Minecraft - Finding the Ender Dragon - DAY 7
43.4K3 -
4:00:33
SynthTrax & DJ Cheezus Livestreams
1 day agoFriday Night Synthwave 80s 90s Electronica and more DJ MIX Livestream Trip-Hop SPECIAL EDITION
72K1 -
4:03:27
FusedAegisTV
15 hours agoRumble Smackdown! #001 Street Fighter 6 $500 Online Tournament
104K8