Author Topic: Defaulting a PLC  (Read 6288 times)

Lorne Van Dusen

  • Jr. Member
  • Posts: 93
  • I'm a old guy
    • View Profile
Defaulting a PLC
« on: February 28, 2017, 04:23:41 PM »
I am working with the FX2424 plc and I am wondering what is the simplest way to completely clear a plc back to the Factory Default condition. With other plc,s I have worked with it was as simple as creating a blank program with only an End statement With other Plc,s you also had to clear the retentitive memory area.

What sequence would you recommend to put a FX2424 back to the factory default. ???

support

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3170
    • View Profile
    • Internet Programmable PLCs
Re:Defaulting a PLC
« Reply #1 on: March 02, 2017, 09:24:40 AM »
1) When you transfer a new program to the PLC (say a blank program) the old program will automatically be wiped out.

2) As for the non volatile memory accessible by SAVE_EEPROM, you can run a small FOR NEXT loop to clear out everything:

E.g.

FOR I = 1 to 6000   ' all User FRAM data for Fx PLC
     SAVE_EEP 0, n  ' clear all the FRAM to 0
NEXT

3) If you are using the retentive parameters by turning on DIP switch #1, simply turn it off and do a power on reset to clear the retained memory data (A to Z, A# to Z$ etc).

4) You may also want to reset the Ethernet parameters. You can go to iTRiLOGI and select "Controller" -> "Ethernet & ADC Configuration" and then click "Factory Default" which will populate all the fields with default data. Then click "Save Parameters to PLC" button to transfer the settings to the PLC.

5) One more area to reset is the server file space where you may need to use FTP client software such as FileZilla to transfer either the default web app (http://www.triplc.com/yabbse/index.php?board=2;action=display;threadid=2090) or your own webapp to the PLC.

Once you have covered the above the PLC would pretty much be set back to the factory default settings.


« Last Edit: March 02, 2017, 09:27:33 AM by support »
Email: support@triplc.com
Tel: 1-877-TRI-PLCS

Lorne Van Dusen

  • Jr. Member
  • Posts: 93
  • I'm a old guy
    • View Profile
Re:Defaulting a PLC
« Reply #2 on: March 02, 2017, 11:55:13 AM »
I wish to thank you for the very descriptive answer.
I totally forgot the fact that we use the Web App
I now know how to write a document for my other office on how to completely clear a PLC back to default.
I will write a small program (Blanking Program) using your example
FOR I = 1 to 6000  ' all User FRAM data for Fx PLC
    SAVE_EEP 0, n  ' clear all the FRAM to 0
NEXT

I am assuming that the above program will also insure that all Defined Variables will also be cleared.

I will then instruct them to first turn off dip switch 1
Next transfer the Defaulting program then recycle the power to the PLC

The Web App is a different story. I am still working on that portion and the Web App with be the same for all of our PLC'S