Quick question for you guys familiar with the memory structure of Siemens PLCs:
When I download the program to the PLC, it goes into the load memory. This includes all data blocks, FB's, FC's, etc.
During operation, the PLC copies relevant parts of the program from the load memory into the work memory, essentially RAM.
Is anything ever actually written back to the load memory during operation? Or is everything just processed in the work memory? For example, are data block bytes necessary for the program operation simply stored and processed entirely in the work memory? I thought I had read that the values of retentative data block bits get written back to the load memory upon loss of power, but does data get written there other times too?
Interestingly, the Easybook for the S7-1200 says that retentative memory is "non-volatile storage for a limited quantity of work memory values". Memory bits stored in system memory can be retentitive as well, but I thought that all memory bits were stored in the system memory.
Thanks for any clarification!
When I download the program to the PLC, it goes into the load memory. This includes all data blocks, FB's, FC's, etc.
During operation, the PLC copies relevant parts of the program from the load memory into the work memory, essentially RAM.
Is anything ever actually written back to the load memory during operation? Or is everything just processed in the work memory? For example, are data block bytes necessary for the program operation simply stored and processed entirely in the work memory? I thought I had read that the values of retentative data block bits get written back to the load memory upon loss of power, but does data get written there other times too?
Interestingly, the Easybook for the S7-1200 says that retentative memory is "non-volatile storage for a limited quantity of work memory values". Memory bits stored in system memory can be retentitive as well, but I thought that all memory bits were stored in the system memory.
Thanks for any clarification!