guodong
When I uploaded to ESP32, the following error occurred.
 
Compiling .st file...
plc_prog.st:7: error: invalid specification in variable declaration.
plc_prog.st:18: error: invalid variable before ':=' in ST assignment statement.
plc_prog.st:18: error: ';' missing at the end of statement in ST statement.
plc_prog.st:18: error: invalid variable before ':=' in ST assignment statement.
plc_prog.st:18: error: ';' missing at the end of statement in ST statement.
plc_prog.st:18: error: invalid statement in ST statement.
6 error(s) found. Bailing out!
Error: Couldn't find LOCATED_VARIABLES.h. Check iec2c compiler output for more information
 
It was successfully edited in the editor, but this error occurred during upload.
I want to know what caused it.
Reply 0 0
thiagoralves
Your project has errors that the compiler couldn’t compile
Reply 0 0
guodong
您的项目存在编译器无法编译的错误
Thank you very much for your response. The problem has been resolved
Reply 0 0
Reply