Comments in PLC Code

madmax

Member
Just a question that's not immediately obvious to me.  Is it possible to add comments in PLC code?  I understand that we don't want to waste memory space on comments on the actual PLC but for example, I have my code saved in a TXT file on my PC and have code with comments -- and paste it into the PLC editor, can it perhaps ignore the comments (remove them) but at least on my .txt copy, I can have retain comments?
 
 
 
Some years ago I wrote an online interface to do this for you.
 
http://webcontrol.rossw.net/program/
 
You should be able to load "burnie-demo" with no password to see how it works.
I can't remember how far I got with it, but if it's useful, let me know. Perhaps I can dust it off and polish it up :)
 
';' is also a delimiter for comments, starting anywhere in a line with a semicolon or pound sign would be removed as the comment starting point through the end of the line.
 
Back
Top