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

Pages: [1]
1
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?


2
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.

3
Support Questions / Slow responce to AHMI from SLC 5/05
« on: August 27, 2020, 10:19:18 AM »
Hello,

I'm having a problem with my first newly designed AHMI. I went live to the machine I plan to use this HMI for and the poll/refresh rate is not nearly as quick as we need. There is almost a delay of 5 seconds at times on click events. The action happens on click but the AHMI is delayed in updated the PLC values. I tried lowering the poll rate from the original setting of 500 to 250 but that did not seem to help at all.

Any insight would be appreciated.


4
Open Discussion / How read and write to SLC controller using VB
« on: February 06, 2020, 07:52:01 AM »
Looking for some advice on how to properly code the VB side using advanced HMI to read and write values using windows forms rather than an advanced HMI control. I mostly need to be able to write an integer to the PLC and read an integer from (N7) the PLC, ect. I'm looking to populate a datagridview with that information. I mostly need help on how to properly call the PLC address values in the VB program.

I'm brand new to VB type coding, so the proper syntax is what I am unsure of. Can anyone recommend a good source for this on the web? I've looked on YouTube but only seem to find videos of people using another 3rd party driver system with control logix (tag) platform.

5
Open Discussion / Question about DH+ driver
« on: January 29, 2020, 09:50:04 AM »
I'm starting a new project on an old SLC 5/04 that is DH+ communication. I want to get rid of the old panelview and build an advanced HMI. I'll be incorporating a PC to run the HMI software, ect.

I use a usb to dh+ converter for the PLC and panelview programming, is there a driver out there to support an older system like this for advanced HMI? I've tried the built in ones and no luck getting communications to work. Am I doing something wrong? Or do I need to buy a EthernetIP to DH converter? Any help would be appreciated.

Pages: [1]