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 - Shark13

Pages: [1] 2 3
1
Open Discussion / Re: Setting up connection between TwinCat3 and AHMI
« on: August 26, 2022, 02:50:20 PM »
That is what I have found as well.
Thank you!

2
Open Discussion / Re: Setting up connection between TwinCat3 and AHMI
« on: August 23, 2022, 02:19:49 PM »
I went back and looked at my variables. Changed them back to global variables.
I was able to get the variables to read and write with bools that way! Will test further and see if I can read and write other data types next!
Thanks for your help!  ;D 8)

3
Open Discussion / Re: Setting up connection between TwinCat3 and AHMI
« on: August 23, 2022, 12:42:13 PM »
I changed the port number to 851 on the AHMI side. You are right it should have been 851.
I still got the same Error code from before though unfortunately. ADS Error. Attached is capture after port 851 set correctly.

4
Open Discussion / Re: Setting up connection between TwinCat3 and AHMI
« on: August 23, 2022, 11:38:04 AM »
Let's see if this works.

5
Open Discussion / Re: Setting up connection between TwinCat3 and AHMI
« on: August 23, 2022, 09:59:14 AM »
I'm getting it installed today on the PC that will be running the AHMI solution file. I have never used this software, do you have a procedure or set of instructions to get the exact capture you are looking to see? Thanks.

6
Open Discussion / Re: Setting up connection between TwinCat3 and AHMI
« on: August 18, 2022, 01:21:56 PM »
I tried all those methods, and still getting the ADS error unfortunately. Any other ideas?

7
Open Discussion / Re: Setting up connection between TwinCat3 and AHMI
« on: August 16, 2022, 01:06:04 PM »
I am trying to write to a bool variable called TestButton in a POU called Test.

I have it writing to Test.TestButton on click action.

Do I need to be writing to a Global Variable? Or can I read and write from a POU variable as well as a GVL variable?


8
Open Discussion / Re: Setting up connection between TwinCat3 and AHMI
« on: August 16, 2022, 12:05:10 PM »
Yes. I am using a test button to write a bool variable of true to the TwinCat side when the button is pressed.

9
Open Discussion / Re: Setting up connection between TwinCat3 and AHMI
« on: August 16, 2022, 10:49:11 AM »
Archie,

I am continuing my testing to get this TwinCat com and TwinCat program communicating together.

I now have a separate brand new PC dedicated to be able to run the AHMI solution file, it has never had any Beckhoff applications installed on it.

I am running the TwinCat program on a Beckhoff IPC. I am able to ping from the Dell PC to the Beckhoff IPC. However when I try to run my solution file on the Dell I get an error "WriteData2b. ADS Error (GetSymbolInfo)"

I have attached my TwinCat com settings. Which match what the Beckoff IPC is using. How can I get the communication working properly?

10
Open Discussion / Re: Setting up connection between TwinCat3 and AHMI
« on: July 29, 2022, 12:38:16 PM »
Good to know, thank you! Love what you are doing!

11
Open Discussion / Re: Setting up connection between TwinCat3 and AHMI
« on: July 29, 2022, 12:12:47 PM »
Ok thank you for the information.

In case anyone here is interested in an alternative solution the future. There is a way around this hang up by using the TwinCat.Ads reference in MS Visual Studio. Using this will allow you to be able to run TwinCat on the programming machine, as well as the PLC and still be able to utilize AHMI at the same time. That being said it will require a little extra background code work for each and every event on your HMI.

Regards

12
Open Discussion / Setting up connection between TwinCat3 and AHMI
« on: July 28, 2022, 11:30:55 AM »
I am trying to setup a test to connect my TwinCat plc program and a test AHMI solution. I have the TwinCat program running on a Beckhoff IPC, and I have the AHMI solution running on a separate laptop. I'm connected via ethernet. I have a route established in-between the laptop and the IPC. I set the IP address on the Beckhoff IPC side to 192.168.100.99 and matched that with the AHMI TwinCAT com1. When I go to do a live test or debug on the AHMI side and I go to click on my button, I get an error which says "The write failed, the given key was not present in the dictionary"

What am I missing?

My test button on the PLC side is called "TestButton" which is in a routine called "Test".
On the AHMI side I have tried the variable for PLC click as "Test.TestButton" I have also tried "TestButton" both produce the same result. Do I not have the variable addressed correctly?


13
Support Questions / Re: AHMI appears to respond slower and slower over time
« on: February 17, 2021, 11:41:47 AM »
I identified the problem to be on the 3rd page of my quick tab display. Once I swapped to that page which was an I/O & Fault summary page with a lot of ahmi led indicators, the refresh rate slowed way way down. About a 7-9 second delay on refresh. I'm working through it now to narrow down the exact root cause. We tried using a 2nd coms instance just for that page alone, however the delay would still happen. I currently have that page disabled at the machines to not cause any issues, while I work through it.

14
Support Questions / Re: AHMI appears to respond slower and slower over time
« on: February 03, 2021, 08:36:14 AM »
Task manager says 32.8MB on the application. If I close the application and reopen it starts at 17MB but climbs to around 20-21MB after loading.

15
Support Questions / AHMI appears to respond slower and slower over time
« on: February 03, 2021, 07:57:21 AM »
I shared a copy of one of my solutions to the support email. Hoping someone else has an idea while I wait.

I have 2 nearly identical AHMI's running currently on our machines. When I open up the AHMI at the machines, everything works quickly and accurately with the response time one would expect. However, after being open for a week or longer for example, a delay starts to occur that appears to get worse the longer the AHMI is open. If the file is closed and reopened, everything works fine again. Any ideas? Has anyone experienced anything like this before? Almost seems as though the AHMI is retaining data over time and is being bogged down.

I'm running my AHMI on a Beckhoff IPC currently, and communicating to an older SLC 5/05 using the EthernetIPforSLCMicroCom driver.

Pages: [1] 2 3