filippo
Hello! I have a simply program, that checks the analog input, with a thershold. Compilation OK, simulation runs fine, digital Lamp will go on when analog input simulate a value more than threshold (>512) 
 
Ok, when I try to upload to Arduino uno, it reports me a "error memory" about "merker" variable %MW0   
It cannot translate MW0 on "arduino" ram memory equivalent?
 
Attached here you can see the simply project and the error when I try to download it to the UNO board...
 
Thanks for any help
Reply 0 0
thiagoralves
%MW locations are not available on microcontrollers. You can use any QW location that you’re not using in your program to store that word
Reply 0 0
filippo
Thanks!!! I don't know.. I think that little micro ram could be used so. No problem, I'll use some QW :-)
Reply 0 0
thiagoralves
The Arduino Uno has 2KB of RAM total. That's 2 KILO bytes, not mega bytes. It is already a miracle that it can run a full IEC 61131-3 runtime in such tight space. 😉
Reply 0 0
filippo
Yes!!! Great "zipping" work !!! 
Reply 0 0
Reply