Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

Runtime error #1000 (online change failed: Program too big)

cieffe76
2008-11-05
2023-08-17
  • cieffe76 - 2008-11-05

    Hallo everybody,

    I'm starting to use the network variable (UDP protocol) between two PLC with codesys installed.

    The communication is ok and the project is running.

    When I make a small modification in one PLC (like change contact NO to NC or change set to reset) and after login perform a online change, the compiler answer with an error.

    Runtime error #1000 (online change failed: Program too big)

    but the program is not big!

    If, after login perform a online change using "load all", no error, but I need to restart the plc, homing the machine and so on...

    Someone have experience on this?!?

    thankyou

    Bye

    IMG: codesysError1000.JPG

     
  • ndzied1 - 2008-11-05

    It might depend on the processor you are using but what is likely happening is that to do an online change, you need 2 x the memory.

    There is a program in memory running. Then you need to transfer over the new program while the existing one is running so you need twice the memory. Then, the processor switches control from the old program to the new program. Only then can it delete the old program from memory.

     
  • bschuster - 2008-11-07

    Please check your memory setting, how many POU's, size of segments for code, max segments... in target settings.

    What target did you select ?

     
  • cieffe76 - 2008-11-18

    [quote="Boris Schuster"]Please check your memory setting, how many POU's, size of segments for code, max segments... in target settings.

    What target did you select ?[/quote]

    Thankyou for the information, increasing the memory setting, all is ok.

     

Log in to post a comment.