0% found this document useful (0 votes)
6 views2 pages

HMI Example Debugging Guide (.NET)

This document provides a quick introduction to starting and debugging an HMI example (.NET) using the 'DataSvcReadWriteChange' project. It outlines the necessary steps including establishing a connection to the NC, opening the example in Visual Studio 2017, compiling it, starting SINUMERIK Operate, and debugging the example. The instructions assume that SINUMERIK Integrate Create MyHMI /3GL is already installed on the development PC or laptop.

Uploaded by

1101596349
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views2 pages

HMI Example Debugging Guide (.NET)

This document provides a quick introduction to starting and debugging an HMI example (.NET) using the 'DataSvcReadWriteChange' project. It outlines the necessary steps including establishing a connection to the NC, opening the example in Visual Studio 2017, compiling it, starting SINUMERIK Operate, and debugging the example. The instructions assume that SINUMERIK Integrate Create MyHMI /3GL is already installed on the development PC or laptop.

Uploaded by

1101596349
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

11/2019 Quick introduction HMI example (.

NET)

HMI example quick introduction (.NET)


In just a few steps, this document shows how an HMI example (.NET) from the folder
"[Installation directory]\[Link]" can be started and debugged. This is demonstrated
using the "DataSvcReadWriteChange" example; however, it functions in the same way for all
other HMI examples (.NET).

The SINUMERIK Integrate Create MyHMI /3GL must have been successfully installed on
the development PC or laptop. All path data in this document refers to the substituted
installation directory of the SINUMERIK Integrate Create MyHMI /3GL.

Step 1 – Establish the connection to the NC


Here, proceed as described in the attached Installation Instructions
"SinumerikOperate_Installation.pdf":
ð Menu item "Version Switch – managing the connection (characteristic)"

Comment:
The original file "hmisl\siemens\sinumerik\hmi\cfg\[Link]" - but also the
OEM file "hmisl\oem\sinumerik\hmi\cfg\[Link]" - should no longer be
directly changed.

Step 2 – Open the example


After opening Visual Studio 2017:

Start à Programs à Siemens Automation à Sinumerik à SINUMERIK


Integrate Create MyHMI -3GL à Tools à Visual Studio 2017

…you open the project file "[Link]" in the directory


"[Link]\C#\DataSvc\DataSvcReadWriteChange\".

Step 3 – Compile the example


The example can now be compiled:
Menu Build à Rebuild Solution.

Step 4 – Start SINUMERIK Operate


SINUMERIK Operate can now be started from the Windows start menu:

Start à Programs à Siemens Automation à Sinumerik à SINUMERIK


Integrate Create MyHMI -3GL à HMI

This is necessary so that the example started in the next step has a connection
to the NC/PLC.

Frei verwendbar © Siemens AG 2019 All Rights Reserved


SINUMERIK Integrate Create MyHMI /3GL - Edition 11/2019 1/2
11/2019 Quick introduction HMI example (.NET)

Step 5 – Debug the example


You can now start the example in Visual Studio 2017 by pressing F5 (or menu
Debug à Start Debugging). The example is now interrupted at the set
"Breakpoints".

After exiting (Shift+F5 or menu Debug à Stop Debugging), do not shut down
SINUMERIK Operate, but rather start it again with F5 immediately after the
required code adaptations.

Fig. 1 – Debugging with SINUMERIK Operate in the background

Frei verwendbar © Siemens AG 2019 All Rights Reserved


SINUMERIK Integrate Create MyHMI /3GL - Edition 11/2019 2/2

You might also like