Premium Only Content
Simple Click PLC Data Logging
We will now be looking at simple data logging using a Click PLC with an Ethernet port. Node-RED will be used to communicate to the controller via Modbus TCP protocol. Information collected will be then stored in an SQLite SQL database. A Raspberry Pi 4 single-board computer will be used for the Node-RED collecting and storing. The update time will be two times a second (500 mSec). This method is ideal for quickly determining how things are operating.
https://accautomation.ca/series/node-red-iot-enabling-software/
Analysis or display of the information will be done with a spreadsheet. The spreadsheet will be run on a windows computer. Let’s get started.
More information can be obtained at our website. This includes all of the links mentioned in this video.
https://accautomation.ca/simple-click-data-logging-node-red/
In this series we started using Node-RED in some of the following ways:
Installing the Windows Software
https://accautomation.ca/node-red-installing-the-windows-software/
https://youtu.be/xGzH2Hv31WA
Modbus RTU / TCP Communication
https://accautomation.ca/node-red-modbus-communication/
https://youtu.be/yX1w5vcV6cc
User Interface - Dashboards
https://accautomation.ca/node-red-user-interface-dashboards/
https://youtu.be/8zAG2wXwGOc
SQL Database Log
https://accautomation.ca/node-red-sql-database-log-modbus-logging/
https://youtu.be/QHjcNj1S_Mo
SQL Database Spreadsheet Connection
https://accautomation.ca/node-red-sql-database-spreadsheet-connection/
https://youtu.be/Cd3LvhoMaCI
Install Node-RED on Raspberry Pi 4
https://accautomation.ca/install-node-red-on-raspberry-pi-4/
https://youtu.be/KleNtxvJkU4
We will continue with the following:
Simple Click Data Logging
00:00 Simple Click Data Logging
01:05 Click PLC Logging Program
04:32 Simple Click Data Logging Hardware
05:43 SQLite SQL Database Setup
07:28 Node-RED Click Logging Program
15:03 Viewing the SQL Database Information on a Spreadsheet
There are several reasons why we are using Node-RED. Here are just a few.
- Built on top of the most dependable programming language JavaScript.
- JavaScript is flexible and easy to work with on web browsers, server-side, IoT, IIoT projects, and more.
- Visual flow type interface making programming easy.
- Node will allow JavaScript code to run directly on a computer.
- Node-RED is a free, open-source logic engine.
- Connect to PLC, PAC, Temperature Controllers, Process Controllers using standard protocols.
- Save and read from databases
- Easily make the Internet of Things (IoT, IIoT) industrial solutions.
Node-RED provides the ability for you to quickly create custom control solutions.
-
13:54
Degenerate Jay
10 hours ago5 Best Superhero Movies To Watch On Halloween
1.18K1 -
59:03
NAG Podcast
3 hours agoSarah Fields: BOLDTALK W/Angela Belcamino
1.77K1 -
1:21:41
Glenn Greenwald
6 hours agoGlenn Takes Your Questions: On the Argentina Bailout, Money in Politics, and More | SYSTEM UPDATE #541
63.4K35 -
3:10:08
Barry Cunningham
3 hours agoPRESIDENT TRUMP TO USE NUCLEAR OPTION? FOOD STAMPS END! | SHUTDOWN DAY 31
27.4K19 -
1:06:56
BonginoReport
11 hours agoThe Battle Between Good & Evil w/ Demonologist Rick Hansen - Hayley Caronia (Ep.168)
86.5K29 -
1:12:57
Kim Iversen
6 hours agoBill Gates Suddenly Says “Don’t Worry About Climate Change”?
80.1K52 -
1:05:12
Michael Franzese
6 hours agoI Waited 50 Years to Tell You What Happened on Halloween 1975
37.7K11 -
1:07:15
Candace Show Podcast
6 hours agoINFILTRATION: Charlie Kirk Was Being Tracked For Years. | Candace Ep 256
81K291 -
LIVE
Rallied
5 hours ago $2.55 earnedWarzone Solo Challenges then RedSec Domination
215 watching -
2:34:30
Red Pill News
8 hours agoBoomerang Time - DOJ Investigating BLM Fraud on Red Pill News Live
68.1K14