Implement and publish TwinCAT 3 C++ project version 0.0.0.2

These steps are only necessary if you have previously prepared the module for Online Change.

This article describes how to change the sample project to create a version 0.0.0.2. This can later be exchanged on the target system via Online Change

In <MyClass>.cpp (in this sample Module1.cpp) the implementation can be changed.

1. Replace a line to decrement the counter instead of incrementing it.
Replace this line
m_counter++;
2. with this
m_counter--;
3. Save the modifications.
4. Start the Code Generator to take over any possible changes.
Implement and publish TwinCAT 3 C++ project version 0.0.0.2 1:
5. Parameterize version 0.0.0.2 in the TMC Editor.
Implement and publish TwinCAT 3 C++ project version 0.0.0.2 2:
6. Publish this version as well:
Implement and publish TwinCAT 3 C++ project version 0.0.0.2 3:
There are two versions of a module, which can be exchanged during runtime.