Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Derek5885

Pages: [1]
1
Support Questions / Re: BasicDataLogger2
« on: February 21, 2022, 12:02:21 PM »
I have corrected some errors preventing the strip chart from working. As well I have updated it so that it can automatically get CSV data if you drop the files in a folder named like this.
C:\HMI\Logs\Logs Analysis\Minute

https://www.dropbox.com/scl/fi/b19vfdrp56gtlklq3dhpq/Multiple-Data-Trend-Master-220221.xlsm?dl=0&rlkey=mdidyiibjt37qlahhzeeprm09

2
Support Questions / Re: Status Bit Logging
« on: July 07, 2021, 10:03:47 AM »
Thanks MajorFault,
I was able to add the MessageDisplayByBit to the main page. When I was originally manipulating the size I was getting some errors. This is working fine now.

3
Support Questions / Status Bit Logging
« on: July 05, 2021, 09:10:45 AM »
All,
I have created several MessageDisplayByBit events. One is for Status bits, one for alarms and one for shutdowns. As the alarms and shutdowns are always 0 no message will display. As for status bits they can be a 0 or a 1. I have seen several posts regarding this issue and it took me a bit of searching in the RSLogix documentation to find what I was wanting. Scan the array and only record changes in the array. Then if the status bits do not change the log file remains static and the file does not fill up with status bits that are a 1. As this records changes in state, a transition from a 1 to a 0 or a 0 to a 1 is recorded. I put a timer in the Mov function which I am playing with now to determine the optimal time to compare a new set of values via an XOR comparison. As I have ~64 status bits I was having difficulty getting them to populate. Is was only when I split the array into 2 DINTS instead of 4 will the second DINT be recognized and the status bits recognized in the second DINT. (FYI)
Here is the question....
As I want the 3 MessageDisplayByBit to show up on multiple pages are there any recommendations as to where I should put it? I have put copies on every page but when I switch it takes a bit for the controls to start reading a several lines show up in the log. Can I put them on the Main Menu?
Thanks for the great program and great support!
Note: CLX processor and AHMI 399yBeta38
Derek

4
Tips & Tricks / Save your Project
« on: June 26, 2021, 10:00:53 AM »
As a newbie I learned the hard way that you need to make a folder where you make a copy of your project. I make daily copies. I made a mistake and I was left with dozens of errors and without a working copy had to start all over. Although this may seem obvious for some it was not for newbies like me.

5
Support Questions / Re: 399y beta Main Menu Issues
« on: June 26, 2021, 09:04:22 AM »
Thanks Godra

6
Support Questions / Re: 399y beta Main Menu Issues
« on: June 25, 2021, 08:18:18 AM »
I have looked at the main menu and the clx driver code and cannot see any reference for adding a driver. Could you point me in the right direction? I know very little about VB.
Thanks in advance

7
Support Questions / Re: 399y beta Main Menu Issues
« on: June 24, 2021, 02:24:16 PM »
Thanks Major. I will look at the code and remark it out. Wish me luck!

8
Support Questions / 399y beta Main Menu Issues
« on: June 24, 2021, 07:40:15 AM »
I have an issue with my main menu clx ethernet driver keeps getting one added every time I close and open the page. I had added one and noticed there were several. I deleted the duplicates and they keep coming back with the default IP address.

9
Support Questions / BasicDataLogger2
« on: June 17, 2021, 03:27:17 PM »
I am wondering if there was a way to add an array of tags (analogs) other than manually adding them one by one. I work for a company that has developed their HMI software where it generates, hour, minute, 10 second and trigger logs. These may have quite a few analogs, status and events. Having to enter them manually in the basicdatalogger2 could be cumbersome. I am running 399xR1.
As well I have developed an Excel spreadsheet that I had developed years ago that although rudimentary does a pretty good job of charting. I have attached the dropbox link. Modify it as you see fit. I have left some data in there, but read the Read Me tab first.


https://www.dropbox.com/scl/fi/dpujp1oenxe4vw9jlwsx0/Multiple-Data-Trend-Master.xlsm?dl=0&rlkey=m8cqjzo9ak7lfkfzv0sxnsjjs

Pages: [1]