[Fool-level JS-DLL-WINCC-PLC interaction] 1.C# uses windows form control to create .net control

Ideas

Interaction between JS-DLL-WINCC-PLC, ideas, use first a>Visual Studio creates a C# DLL control, and then embeds the browser component in this control to realize communication between JS and DLL, < /span>Finally connect between PLC and WINCC to realize the connection between WINCC and PLC, Then the DLL is placed into the graphics editor in WINCC to realize communication between the DLL and WINCC. Thenin series.

Table of contents

Ideas

 C# uses windows form control to create .net control implementation

1.Install Visual Studio

1.1 Download address

2. Create a windows form control project

3. Add controls and event methods

4. Configure the generation plan

5. Generate DLL .net control


 C# uses windows form control to create .net control implementation

1.Install Visual Studio

1.1 Download address

Download Visual Studio Tools - Free installation for Windows, Mac, Linux

During the installation process, remember to select the ones in the picture below

2. Create a windows form control project

3. Add controls and event methods

4. Configure the generation plan

5. Generate DLL .net control

Guess you like

Origin blog.csdn.net/qq_59747594/article/details/134668683