I need some information from ILC

hi everyone.I use PC worx to programme into ILC 1xx series. How can i get the remain and used memory of ILC by software? If the program i create has bigger capacity than memory of ILC , wwhat happen wwheni download the program to ILC at pc worx. has any warning about this. Thank you.

Hi When you compile the program for the PLC, it will make a fault if the program is to big for the PLC. In the error list, it will show how big the program is. If you are online on the PLC you can see the capacity and usage of memory. Project Control Dialog - INFO: You can also go to Project menu, POU/Instance Statics, and see more detailed information about the program and limits. - Emil

Hi manhkuong, I guess you’re talking about PC Worx 6?! Well, even when this forum is more related to PLCnext Technology and PLCnext Engineer I’ll try to help you out here. In PC Worx 6 you’ll after every build in the message window a summary of the used variables, available and used memory and retain.

In case you’re using more than specified for the device you’ll get a build error and you can not download the project to the PLC. Using PLCnext Engineer (for PLCnext Controls like AXC F 2152) you’ll find those information in the control view (statistic tap). Cu Frank

Thank for your ansswer vry much.

one more question please? When I choose The flash SD as main memory. IN PC worx how does it know the capacity of SD card to evalute used memory.

Hello, PLCnext Engineer uses the IEC 61131 runtime (also known as the “embedded common language runtime”, or ECLR). This uses a fixed program memory size, regardless of the size (or presence/absence) of the SD card. In the AXC F 2152 the program memory size is 8 MB. The SD card stores other applications, like Function Extension apps from the PLCnext Store, so this is where different sized memory cards can make a difference. Hope this helps! Martin.