I have some old C code that is used to perform tasks on top of the PLC. I am wanting to convert this code into Structure Text on GEs Proficy Machine Edition. Is there any special tools or etc. that can help me to better understand how to convert the C code into structure text? Is there any software that can find syntax errors or anything of that matter since there is no color changes in this to show I used a keyword or etc.? I am starting to translate my global double variables into real variables in structure text but I am not sure if this is correct since I have never used Structure Text before.
CONFIGURATION DefaultCfg
VAR_GLOBAL
variable : REAL;
END_VAR
PROGRAM MAIN : MAIN;
END_CONFIGURATION
PROGRAM MAIN
VAR
nonglobal : REAL;
END_VAR
END_PROGRAM