Data Logging Multiple Events to an Array in Studio 5000
ฝัง
- เผยแพร่เมื่อ 14 มิ.ย. 2022
- You can log a timestamp of events that have happened to an array to make a basic data logger.
This video shows you how in Studio 5000 for the Controllogix and Compactlogix PLC but you can do the same in Connected Components Workbench for the Micro800 PLC and if you are a little creative even RsLogix 500 for the Micrologix PLC
Helping you become a better technician so you will always be in demand
Get the full details of this lesson at courses.twcontrols.com/
Items used in this video:
PLC Trainer twcontrols.com/plc-trainers
The above links make these videos possible. Please use them!
Support these videos while you advance your skills courses.twcontrols.com/ - วิทยาศาสตร์และเทคโนโลยี
Awesome video. This is actually how I set up my first fault handling. Great way to store data.
Glad it was helpful!
Fantastic job. How to store huge data with time stamp in excel or use FT view studio.
is it a way to do this in connected component workbench? i have a project and want to log how many gallons of water we evaporated per day etc.
Yes, the same basics principles should work.
Tim, is there a way to limit equipment running in auto during the weekend(sat, sun) without flipping HOA to off?
Yes, I know there used to be an AOI specifically for that on RA's sample downloads.
@@TimWilborne Thanks will do!
outstanding! Thank you very much!
You're very welcome!
@@TimWilborne How do we clear a 2D array??
Let say a fault happened, was recoded, I did some changes on the logic 'to fix the problem' and now I need to start over whit a clean 2D array.
@@alejandrohernandex Have a look at the FLL instruction
Very good professor
Thank you Sophia
thanks, data is so important nowadays. Do you have a full complete course?
See link below
twcontrols.com/plc-lessons
@@TimWilborne I am already a PLC programmer, is it an advanced course?
Hey Tim I think it would be cool if you did a video on how to setup data logging to a sd card on the micro 800 I’m currently doing a project and wanted to see your approach on this
It is something that have curious about myself, stay tuned!
@@TimWilborne hey that is a good idea.
coming from omron, this feels like a really convoluted way of logging data. Doesn't rslogix provide stack control like push, pop in filo, fifo? COP looks more suitable for copying large array of bytes e.g., in tcp/udp socket communication.
Yes
can someone tell us the reason behind using a 7 and 10 in the array. what determines the numbers used when creating a dimensional array.
It is determined by the sauce of data you need to store. It can be larger but not smaller.
how do you clear the array of times?
Do you mean set a consecutive block of array values to zero? You would use a FLL instruction.
What is the video before this one?
Here you go
th-cam.com/video/wlzUeH_J6kI/w-d-xo.html
Nice
Thank you
I have a question... Why the hour's bit is wrong ?
I did it and i have the same problem
when i have 10 am i have got 15 in the bit, and when i have 2 pm i have got 19 in the bit, like you.
the minutes and date are ok, just the hour's bit is wrong.
I need to revisit this because I wasn't paying attention to the PC time when recording but my first guess is time zone and daylight savings time...or I didn't have the time set correctly at all.
@@TimWilborne ok, I was thinking the same but that's not my situation.
Thanks for answer, your videos are so good !
Greetings from Mexico !
Same problem here!
I had the same issue. Changed attribute name from "DateTime" to "LocalDateTime" and solved the issue. Hour does show as a 24 hour clock instead of AM/PM, but understandable due the nature of the bit.