Structured Text for PLC
I have set up the ST language found in http://docs.notepad-plus-plus.org/index.php/User_Defined_Language_Files#How_to_install_user_defined_language_files according to the instructions.
I don’t see any spell check. Any suggestion?
I would like to debug the software, any idea how to verify my ST functions?
I don’t see any spell check ?
or autocomplete and highlighting text
both, maybe my mistakes… any suggestion on how to check if it works? thx
for better suggestion ypu should share your userDefineLang.xml
would it help?
Ext : is empty here you should give a extension name here as text
Wow, thanks! much better… it works!
Now I have to try to code a bit.
what about to debug the function. any idea how to debug ST without a real PLC?
debug ST without a real PLC
i’m not understand
usually to debug ST code it’s necessary to compile the file for a PLC (Programmable Logic Control) in order to check if the machine works. It takes time for each modification recompile the code and retest the machine.
It would be fantastic if notepad++ could run the logic, simulating the PLC. It’s needed just the function test.
for example a make a function in ST
I pass the the variable to the input of the function
and I get the output from the function to see if the logic is correct
Notepad++ is neither a compiler nor a debugger.
You have to use different tools for those, though these can be called from Notepad++ using e.g. the NppExec plugin (search forum for numerous examples).
@Adriano-Ellero The URL do not working :-(
If you mean @Adriano-Ellero 's link from the very first post, the documentation has moved to https://npp-user-manual.org/docs/user-defined-language-system/
If you mean the links to https://www.adrianoellero.com/Capture.PNG, that image was probably temporary and deleted by the owner