Internet PLC Forum

General => Technical support => Topic started by: peterh_DK on August 26, 2006, 04:38:17 AM

Title: What happens when you don't reset
Post by: peterh_DK on August 26, 2006, 04:38:17 AM
I am using a T100MD+. After downloading a new version of a program i usually say YES to Reset. But now I would like to make some minor modifications to the program and retain the information aleady captured in DM[] + leave the RTC untouched. If I download a new software and say NO to Reset, wille it perform correctly and retain the DM[] values?
Title: Re:What happens when you don't reset
Post by: support on August 26, 2006, 09:22:10 AM
RESET does not touch the RTC, but it does reset the DM to 0 If you select not to reset then the PLC will not reset all the IOs and DM and you can continue execution of the program from where it last paused before new program is transferred.

If your PLC firmware is r47 and above (it should be if it was purchased in the last two years), you could also use the SETSYSTEM 5,k command to preserve the values of DM during a reset. Run it once and the DM from DM[1] to DM[k] will be skipped from the RESET routine.