When I download program to PLC, it downloaded to RAM, thus when cpu restarted the program will lost. And I can not convert Ram to ROM. In other hand Please help me to programming cpu 414 H
To Download program to a Flash Memory Card under Step7.
Select PLC / Download User Program to Memory Card.
Step7 will download the whole program including System Data
to the memory card.
Now if the CPU undergoes Memory Reset it will reload the program
from the Flash Memory Card.
If you are interested I have a proceedure I use to ensure that
the program stored on the Flash Memory Card has sensible values for variables such as Setpoints, Alarm Limits and PID values.
3mb sounds too large. Perhaps you are trying to download your entire Step7 project rather than the CPU program. Do NOT use Save to Memory Card.
To check your (CPU) program size.
In Step7 select your BLOCKS folder.
Select Edit / Object Properties.
Select the Blocks tab.
It should show Size in Work Memory (Code, Data, Total)
program size in bytes.