Author Topic: What happens when you don't reset  (Read 5172 times)

peterh_DK

  • Newbie
  • Posts: 37
    • View Profile
What happens when you don't reset
« 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?
« Last Edit: August 26, 2006, 06:09:02 AM by peterh_DK »

support

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3171
    • View Profile
    • Internet Programmable PLCs
Re:What happens when you don't reset
« Reply #1 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.
Email: support@triplc.com
Tel: 1-877-TRI-PLCS