RMore
Member
How difficult is it to update a program in the field on a password protected Micro820 PLC using a SD card?
[CF]
[FWFILE = firmware\2080-LC20-20QBBAB_12.011_1K.nvs]
[FWDOWN = 0]
[RSD=Micro820]
[RM]
[END]
Geospark said:...In CCW, for the new program you wish to download, go to...
Controller>Startup>Mode Behavior and select Remote Run Mode
Save, build and download this into a firmware compatible test Micro820 controller, if you have one, and then perform a backup of the program from the controller to another suitable MicroSD card. On the root of this card also create a ConfigMeFirst.txt file and enter the following commands...
[RSD = Micro820]
[END]
Where...
RSD = Restore Directory command
Micro820 = Default Controller Name under General in CCW
The default controller name is 'Micro820'. So here a program backup will automatically create a folder on the MicroSD card's root named 'MICRO820'. Inside this folder the backup will always create a subfolder named 'USERPRJ', no matter what the controller name folder happens to be. So that is...
MICRO820/USERPRJ
So if you named your controller 'MyNewProj' then a backup will create the following on the root of the MicroSD card...
MYNEWPROJ/USERPRJ
Note how the backup always capitalizes the controller name.
The actual project, or program file, is stored under the 'USERPRJ' folder. If you don't happen to have a spare Micro820 controller to perform a backup from, then you can manually create the folders on the card and copy the project file into the 'USERPRJ' folder. Don't forget to assign the correct folder name you create on the card to the RSD command...
Example:
Folders on card:
MYNEWPROJ/USERPRJ
Text file command:
[RSD = MyNewProj]
[END]
Note: Capitalization does not matter.
Insert the MicroSD card into the controller and power cycle. This should automatically restore the project saved on the card into the controller and force it to go to Remote Run Mode. You can then remove the MicroSD card...
After updating the firmware and program using the MicroSD card, have you tried removing the MicroSD and cycle PLC power?
George said:So there is no such thing as a [RM] command
geniusintraining said:...I think I will try flashing the firmware then copy the program in run mode before I put it on the flash drive
Download Program to microSD card
The program can be downloaded from the controller to the microSD in program mode, so we need remove the card from the PC, and insert into the Micro820.
Connect and go-online with the controller that contains the working program. Ensuring that the controller is in Program mode, select the controller Micro820 --> Memory Card --> Backup to Memory Card.
Backup and Restore can only occur when the controller is in PROGRAM mode
geniusintraining said:I will try and clarify...
...I think I just need to change the mode behavior before I transfer the program to the SD, I will try it later today
geniusintraining said:...When your in Run, the button "Backup to Memory Card" is not selectable so you have to be in program mode to back up the program...
geniusintraining said:...also you need to go online to change the mode behavior from start up in Program to start up in Run...