dhumphries - 2024-04-05

I'm trying to determine which Codesys Control license I need, the Control Standard S has all the features I think I'll need, but the code size is limited to 3mb, I created a simple program with only 1 line of ladder logic and a simple visualization with a button and an indicator. When I generate code I get some messages, one indicates that the total allocated memory size for code and data is 2.1mb. Is this metric the correct size of the code? I question the size because it exceeds the allowable code size for the Basic S and Basic M licenses and consumes 2/3 of the available memory for the Basic L or Standard S license.

What tool can I use to estimate the size of code as it relates to the runtime license limit?