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.


Topics - CarlosAguero

Pages: [1]
1
Using the Advanced HMI solution, I created an application to communicate to a Control Logix PLC and send e-mails. It worked fine, no further issues.

Now, using again the Advance HMI solution (in a separated folder) I wrote a code to communicate to a Control Logix PLC and save data into a SQL server. I tested and it runs perfectly.

If I install 1 application in a PC it works perfect, but once I try to run the second application (in the same PC) it wont run. It will show only the first app I execute.

Has anybody from here experienced this same issue?.. what am I missing in the configuration?..

I'm using Visual Studio Community 2017.

Regards!
Carlos A.

2
I was working with version 3.99d, I'm using DF1 serial communication to a SLC 5/04 Allen Bradley PLC.
With this version I can write multiple registers with one instruction --> DF1Com1.Write("B100:0", 50, to_PLC_array) . Works fast and with no issues
******************************
At this moment I just downloaded from AdvancedHMI webpage the latest version 3.99r.
With the new version I can only write 1 register, but not multiple registers.. 
-->SerialDF1forSLCMicroCom1.Write("B100:0", 50, to_PLC_array) ,   it throws the Error 2- Too many arguments to 'Public Function Write(startAddress As String, dataToWrite As String) As String'.

To have my solution working in production line, temporarily I used a FOR..NEXT cycle to write one at the time all of the registers , but it takes too long (around 5 seconds)
Is there a way to write multiple registers with the new version with one instruction??....

I will appreciate your help....  Regards!
Carlos E. Aguero J.

Pages: [1]