The idea is, that we first create a framework in C#, with the following features:
This way, the command can be implemented easyly and transparent in python scripts.
We can then sub-group further to different actions, which need to be performed in several commands.
We are using the scripting assemblies from CODESYS installation.
cforge will be installed in form of a CODESYS package into CFORGE subfolder in <ap_root folder=""> (next to "Common" etc.).
In main folder will be the cforge.exe and a Batch file to trigger the URL handler registration.
In a subfolder "Scripts" are all the IPY scripts (like 2nd level commands for the cforge "tool world").</ap_root>
Diff:
Diff: