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 - pat@uow

Pages: [1]
1
Support Questions / Re: Upgrade to 3.99y B34
« on: January 22, 2020, 05:45:19 AM »
Agreed  - 3.99x has been reloaded successfully.

While testing the Datalogger2 with header function (from the Dec 2019 post) I also noticed that the log file viewer throws an error because the first line of the file is not date-time format. It seems the viewer needs to be adjusted to accept the 2nd line of data i.e. the first recorded date/time instead of the header row text if a header row is being used.

2
Support Questions / Re: Upgrade to 3.99y B34
« on: January 20, 2020, 08:40:22 PM »
Further testing with and without the datalogger2 has revealed

Without datalogger2 - all real time controls appear OK
With datalogger2 and 6 tags logging - all real time controls intermittently comms error
With datalogger2 and single tag - all real time controls appear OK
With datalogger2 and second tag added - all controls intermittently comms error.

Without datalogger2 and trying Chartbysampling cut and pasted from old version - real time controls OK but charts not updating in real time (old version updated seamlessly with about 5 mins of 1 sec x 5 tags across the x axis)

Not sure if the pain of cutting / pasting all the controls is worth it if the logging and charting functions are not functional in the B34 - maybe just stick to V3.99x and live with the functions we have ?

3
Support Questions / Re: Upgrade to 3.99y B34
« on: January 20, 2020, 06:46:13 PM »
Thanks for that Godra,

I have tried clean B34 with CLX driver, datalogger2 (copied from your latest as at Nov 2019 with header option) and 1 basic label control.

Solution returns values for data log and the single control, but intermittently returns "No response from PLC (IP address)" or "No response from PLC (22)".

Is this a case of tuning the comms rate, or does this indicate something else is not right even though the Studio 5000 is online from the PC and communicating with the PLC OK.

4
Support Questions / Re: Upgrade to 3.99y B34
« on: January 17, 2020, 01:44:34 AM »
Yes - many controls showing unable to communicate message intermittently (otherwise showing 0).
All controls have been checked and are showing "EthernetIPforCLXCom1" as the ComComponent

5
Support Questions / Upgrade to 3.99y B34
« on: January 16, 2020, 06:00:17 PM »
Hi All,

On reload and rebuild of a new project in 3.99yB34 , it seems there is an now issue with the EthernetIPforCLX comms driver not talking to the CLX PLC (I have confirmed IP address and pinged the PLC from the PC OK – the AB Studio 5000 software is also working correctly). In one instance , it even seems like the project has loaded a ABDF1 serial driver by default.

For our application, we are deliberately trying to replace the main form with a prior form created in 3.99x  and remove all references to Page2, can someone please confirm the correct sequence of driver load vs build of project vs replacement / removal of main form with prior form created in 3.99x.

Is it,

1)   Load CLX driver to main form
2)   Build project
3)   Add prior form
4)   Add CLX driver to prior form again
5)   Remove Main Form and Page 2
6)   Rebuild project again

Or

1)   Add prior form (assuming comm driver is already in the original vb)
2)   Build project
3)   Remove MainForm and Page2
4)   Rebuild project

Appreciate your help on this.

6
Support Questions / Re: Charting and data logging values
« on: March 28, 2018, 06:54:56 PM »
Thats awesome - thanks.
Yes- the values for Flow 2 and Flow 3 do appear in the datalog for the period where they do not appear on the chart.

7
Support Questions / Re: Charting and data logging values
« on: March 28, 2018, 05:33:01 PM »
Thanks Godra,

The XvalueType had defaulted to Auto - so setting this to time (as per Flow 1) for Flow 2 and 3 appears to have worked.

The max points needs to be checked next - is time axis then purely max points / sample rate ? (Sampling is one per second) or is it also a function of the number of series / pens on the chart ?

When you say "upload the log file" - do you mean the datalogger "PLCDataLog.log", as I don't think this has anything to do with the "Chart by Sampling"

Also, with the links to the newer forms of the datalogger2, is there a procedure for how to incorporate these downloads into the project file correctly ? (Please forgive my level of VB is not great)

Cheers

Pat

8
Support Questions / Re: Charting and data logging values
« on: March 27, 2018, 06:06:27 PM »
Thanks for that info.

I have a few issues with running a dual Y axis trend per the attached screen shot.

I have allocated each of Flow 1, Flow 2, and Flow 3 to the collection of the "Series"

Each member of the series has a setting for "axes" Y Axistype - Flow 1 is set to primary , the Flow 2 and 3 set to secondary. All X axistype set to primary.

In the chartAreas dialog -> axes -> collection -> X axis all auto , Y axis primary 0-100 , secondary Y axis 0-500.

I cannot get the Flow 2 and Flow 3 values to display on the trend.

I'm also having trouble setting the length of time on the x axis, after some time, the chart will just display the chart box with a bid red cross.

Any suggestions of what's wrong really appreciated !

9
Support Questions / Re: Charting and data logging values
« on: March 15, 2018, 05:50:59 PM »
Thanks Godra and Archie,

I think the piece I'm missing is the link between the "collection" and the "series" in the chartbysampling. I do want a live chart (for 30 last minutes of data - by second). From your text, does this mean for each member of the "collection" the "series" needs to be set up 1 for 1 for both the Y and X axis?

The datalogger2 reporting to a text / csv file (for reading in Excel) is just fine. Only need to work out the column headers, common timestamp and creation of a new file daily. Any tips in this direction would be really appreciated.

Cheers

Pat

10
Support Questions / Charting and data logging values
« on: March 13, 2018, 06:58:03 PM »
Good morning,
I've been trying to set up both a chart (by sampling) and datalogging to csv/text file using AHMI Version 3.99x
There are 8 values I would like to display and log. Values all come through to a digital panel meter display just fine.
I added all 8 values to the collection for the chartbysampling, and the collection for the Basicdatalogger2.
The chart is intended to display the last 30mins of data , but when I run there is only 1 value (the first in the collection) displayed and the x axis timescale is not consistent.
The datalogger text file appears to be recording values, but the alignment of values is not the same as the collection and there is no header to define the values recorded. Over-writing may be an issue here....

My questions
Am I using the right tools for the job ? i.e. chartbysampling for the charting , and datalogger2 for the datalogging.
If so, is there a resource which consolidates the most up to date information on how to correctly configure all of the settings in each of the tools  - particularly charting and datalogging.
Alternately, is there a single thread or post which explains the key process steps for (1) getting a chart of multiple values , and (2) a daily or triggered log file so that new files are added rather than overwittten.

Thanks in advance for your assistance.

11
Open Discussion / Re: Restore / transfer saved .vb file
« on: March 12, 2018, 07:57:35 PM »
Thanks Archie,
That seems to work.
I have a few questions around trending and logging which I will post separately.

12
Open Discussion / Restore / transfer saved .vb file
« on: March 07, 2018, 07:16:03 AM »
Hi there

Was using AHMI 3.99x with VS2015 on one machine, comms to IPCLX and controls working fine except for charting. Saved project and 3 .vb files named "Rig1" saved to flash drive.

Now trying to configure same project offline on another machine with VS2017. Added Rig1.vb files from flash drive to the solution explorer. Downloaded and added VS power packs required for static lines, but solution is now throwing an error on build saying the power packs are not available, even though they appear in the toolbox. There are also errors to the effect that the "Main Form" is duplicated.

Probably something I've done wrong in the save and transfer process for the .vb files, but after some guidance on correct process and any other traps in the change from VS2015 to VS2017 to do offline HMI building and then transferring the completed work back to the VS2015 machine to run with comms to the CLX. Is this even possible ?

Thanks

Pages: [1]