NWT.Stuff
I am trying to implement ESP8266 Slave for the first time.

It works fine with Digital IO then now I have added Analogue IO as follows:-

PLC.jpg 
Compiles fine but in Runtime Webserver I get this error

Optimizing ST program...
Generating C files...
./st_files/435712.st:43-26..43-31: error: invalid location in global location declaration.
./st_files/435712.st:72-26..72-31: error: invalid location in global location declaration.
2 error(s) found. Bailing out!
Error generating C files
Compilation finished with errors!


I am missing something with my variable declaration ? Generated .st attached

Many Thanks in Advance

Kevin
Reply 0 0
Pascal34
Hello, have you tried to delete the %MW0 address to see?
Reply 0 0
Reply