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