Click PLC Logging Data with Time and Date Stamp
We will now look at logging data with time and date in the Click PLC. The Click PLC can perform indirect addressing. This means that I can ask for information to be moved to and from locations in the PLC using a pointer that will indicate the address.
Stephen Covey in The 7 Habits of Highly Effective People said: “Begin With the End in Mind.” This is especially true when looking at storing or logging data within the programmable logic controller. (PLC)
It is important to fully define what you want to accomplish with your program.
In our Click PLC example, we want to take a series of consecutive memory locations (DS1 to DS10) and store them in memory areas DS100 to DS4100 each minute. We will be able to store 400 entries (400 minutes) in our storage area. Every entry will include the real-time clock (RTC) of the Click. This will show the date and time of each entry. 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-logging-data-with-time-and-date-stamp
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
PID using Factory IO
https://accautomation.ca/click-plc-pid-using-factory-io
https://youtu.be/JGB9e__MWPc
PID Instruction and Autotuning using Factory IO
https://accautomation.ca/click-plc-pid-instruction-and-autotuning-using-factory-io
https://youtu.be/QoMw1SGW-gA
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
Fresh and Fit
3 hours agoHodge Twins Meet Fresh&Fit!
4,618 watching -
LIVE
Matt Kim
1 day agoKAAAaamMaLAA DNC Watch PARTY | Get IN HERE
733 watching -
1:38:35
Glenn Greenwald
3 hours agoObamas Warn America of Perils of Wealth and Privilege; DNC Remains a Dissidence-Free Affair; Interview with DEM Officials | System Update #320
31.4K81 -
LIVE
Roseanne Barr
3 hours agoHow they Cheated with Jovan Pulitzer | The Roseanne Barr Podcast #62
5,592 watching -
LIVE
Due Dissidence
9 hours agoLIVE: DNC PROTESTS, DAY 4: Final March on DNC
1,815 watching -
1:15:52
Havoc
3 hours agoRap Albums That Never Dropped + Live Q&A | Stuck Off the Realness Ep. 10
19K1 -
LIVE
The Late Kick with Josh Pate
1 hour agoLate Kick Live Ep 544: Season Prediction Special | More CFP Expansion Ahead | Saban & Kiffin Details
119 watching -
LIVE
The StoneZONE with Roger Stone
2 hours agoIs RFK Going to Flip TO Trump + Scott Presler on Winning Pennsylvania | The StoneZONE w/ Roger Stone
800 watching -
1:43:54
Donald Trump Jr.
8 hours agoDNC Disaster and the American Marxist Madness, Plus Interview with David Limbaugh | TRIGGERED Ep.167
89.3K205 -
2:55:10
SNEAKO
7 hours agoRETURN OF THE DAWAH AVENGERS
80.9K87