Author Topic: Microsoft Visual Studio with TwinCAT 3 interfering with Advanced HMI execution  (Read 3024 times)

Automatikai

  • Newbie
  • *
  • Posts: 10
    • View Profile
    • Automation Consulting, LLC
Hi All,

I originally installed my Visual Studio to run TwinCAT 3 from Beckhoff. As such, there are a lot of TwinCAT specific tabs on my toolbar. I didn't think this would interfere with developing with Advanced HMI, but it seems to. The software installed, I can create screens, but when pressing Start to test the application it says you can't start it directly as it is a Class library. I have attempted to create a separate console application and reference the Advanced HMI project as advised, but it creates hundreds of errors. Many of the errors point to the Root namespace of MfgControl.AdvancedHMI, which is apparently the default. Are there any simple fixes for this, or can it be run on my Beckhoff-ized Visual Studio at all?

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Are you using the XAEShell or full Visual Studio? If full VS, what version?

I have been using the XAEShell to work with TwinCAT projects and VS 2022 without TC integration for AdvancedHMI.

Automatikai

  • Newbie
  • *
  • Posts: 10
    • View Profile
    • Automation Consulting, LLC
I'm using full 2017, shell is also available. I managed to get it to run without adding the console, but still having some problems with communications. I am using OpcDaCom1 driver to talk to the AB Emulator, messages appear when monitoring in RSLinx, but it says item doesn't exist in processor. I don't think the problem is with AHMI or VS, probably something with the tag address format. It worked on my other computer without Beckhoff integration, but doesn't work on this (IT managed) computer.