C++ "Ehmi" tag not working ? + vs2019 c# plugin location?

Hi, I started creating some simple HMI to be able to display info from my c++ program. I made this tagging in my c++ program:

//#port
//#attributes(Output|Ehmi)
//#name(Sim_voltage_HMI)
float32 out_voltage_HMI = 0; How do I get this value into the HMI. I searched the forum found some talk about it but can’t make it work for my application. in the HMI I am using “radial gauge” and would like to show voltage. I did make it work with HMI tagging when using a local program with ST, but that is not my goal to use that. second question I see now that in 2020.0 LTS its possible to write realtime C# code. I would like to try this, but I can’t locate the installer. Where will I find the new installer ? https://www.plcnext-community.net/en/hn-knowledge-base/hn-features-and-roadmap/396-plcnext-technology-features-overview.html Old installer for 2019.0 is here. https://www.phoenixcontact.com/online/portal/dk?uri=pxc-oc-itemdetail:pid=2404267&library;=dkda&tab;=5&requestType;=qr&productId;=2404267#softw

Hey Christian, About the eHMI Tag in C++.

This is a feature that is in preparation but not yet implemented

Ehmi | The variable is visible for the PLCnext Engineer HMI.
(Note: This attribute is currently not implemented. Implementation is planned.)

—|—

The old Plugin should be compatible with 2020 FW as well. I hope the download for the latest Plugin is available soon,
kind regards, Oliver

Hi Oliver, Thank you for the link. I can see as you say that the “ehmi” is not yet implemented. What would be my workaround for this? Should I send a C++ program output-port to a IEC61131 program that I create in PLCnext Engineer and then connect this program to the HMI? Or what is the best solution? I look forward to the release of VS2019 plugin. I wanted to try out the realtime C# program, and I guess that I can’t do that with the old plugin for vs2017 ? /Christian

Hey Christian,

yes forwarding data to IEC through Ports is a workaround you can use.

you can with the VS 2017 Plugin already create Realtime Functions and Funktionblocks.
They can be instantiated in any IEC 61131-3 program you create- kind regards,
Oliver

Hi Oliver, One additional question. I can see that in C# it’s possible to tag input/output ports in programs with tags like “OPC” or “HMI”. Does this HMI tag work or will that be the same workaround like for C++ ? /Christian