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
TimcastIRL
1 hour agoTrump Just Ended H1B Visas In Major Crackdown, Charging $100k Per Visa | Timcast IRL
26,155 watching -
4:02:20
Nerdrotic
7 hours ago $9.21 earnedKimmel MELTDOWN | Hollywood Boycotts Disney | Friday Night Tights 372 with Kaida
68.8K10 -
34:08
Bannons War Room
2 hours agoMEGYN KELLY: Jimmy Kimmel and Sore Cultural Losers, and Charlie Kirk's Spiritual Revival, w/ Bannon
13.9K18 -
59:27
NAG Podcast
2 hours agoBrandon Straka: BOLDTALK with Angela Belcamino
7.03K4 -
LIVE
Sarah Westall
27 minutes agoVietnam Shuts down 86 Million Bank Accounts, The Fourth Turning & more w/ Andy Schectman
165 watching -
LIVE
Flyover Conservatives
7 hours agoMary Flynn O’Neill and Clay Clark: The Church Must Rise or America Falls | FOC Show
36 watching -
16:38
RTT: Guns & Gear
17 hours ago $0.06 earnedExtar EP9 Review: The Best Budget 9mm PCC?
1552 -
7:53
Rethinking the Dollar
10 hours agoMass Firings in Tech: The Real Agenda Behind 166,000 Cuts
270 -
1:02:28
BonginoReport
4 hours agoFeds Monitor Threats Ahead of Kirk Memorial - Nightly Scroll w/ Hayley Caronia (Ep.138)
195K104 -
55:51
Candace Show Podcast
3 hours agoWho Moved The Camera Right Above Charlie's Head? | Candace Ep 239
54.5K398