Firmware Management

 

Updating TM3 Expansion Modules Firmware

Overview

The firmware update for the controller and the expansion modules are available on the Schneider Electric website (in .zip format).

Downloading Firmware to TM3 Expansion Modules

 

The firmware can be updated in:

oTM3X•HSC•

oTM3DI16 and TM3DI16G with firmware version (SV) ≥ 2.0

oTM3A• and TM3T• with firmware version (SV) ≥ 2.0

NOTE: The firmware version (SV) is found on the packaging and product labels.

Firmware updates are performed if, during a power on, at least one firmware file is present in the /usr/TM3fwupdate/ directory of controller. You can download the file(s) to the controller using the SD card, an FTP file transfer or through EcoStruxure Machine Expert.

The controller updates the firmware of the TM3 expansion modules on the I/O bus, including those that are:

oConnected remotely, using a TM3 Transmitter/Receiver module.

oIn configurations comprising a mix of TM3 and TM2 expansion modules.

Step

Action

1

Insert an empty SD card into the PC.

2

Create the folder path /sys/Cmd and create a file called Script.cmd.

3

Edit the file and insert the following command for each firmware file you wish to transfer to the controller:

Download "usr/TM3fwupdate/<filename>"

4

Create the folder path /usr/TM3fwupdate/ in the SD card root directory and copy the firmware files to the TM3fwupdate folder.

5

Ensure that power is removed from controller.

6

Remove the SD card from the PC and insert it into the SD card slot of the controller.

7

Restore power to the controller. Wait until the end of the operation (until the SD LED is green ON).

Result: The controller begins transferring the firmware file(s) from the SD card to the /usr/TM3fwupdate in the controller. During this operation, the SD LED on the controller is flashing. A SCRIPT.log file is created on the SD card and contains the result of the file transfer. If an error is detected, the SD and ERR LEDs flash and the detected error is logged in SCRIPT.log file.

8

Remove power from the controller.

9

Remove SD card from the controller.

10

Restore power to the controller.

Result: The controller transfers the firmware file(s) to the appropriate TM3 I/O module(s).

NOTE: The TM3 update process adds approximatively 15 seconds to the controller boot duration.

11

Verify in the message logger of the controller that the firmware is successfully updated: Your TM3 Module X successfully updated. X corresponds to the position of the module on the bus.

NOTE: You can also obtain the logger information in the PlcLog.txt file in the /usr/Syslog/ directory of the controller file system.

NOTE: If the controller encounters an error during the update, the update terminates with that module.

12

If all targeted modules were successfully updated, delete the firmware file(s) from /usr/TM3fwupdate/ folder on the controller.

You can delete the files directly using EcoStruxure Machine Expert or by creating and executing a script containing the following command:

Delete "usr/TM3fwupdate/*"

NOTE: If a targeted module was not updated successfully, or there are no message logger messages for all the targeted modules, see the Recovery Procedure below.

Recovery Procedure

If you remove power to the device, or there is a power outage or communication interruption during the transfer of the application, your device may become inoperative. If a communication interruption or a power outage occurs, reattempt the transfer. If there is a power outage or communication interruption during a firmware update, or if an invalid firmware is used, your device will become inoperative. In this case, use a valid firmware and reattempt the firmware update.

NOTICE

INOPERABLE EQUIPMENT

oDo not interrupt the transfer of the application program or a firmware change once the transfer has begun.

oRe-initiate the transfer if the transfer is interrupted for any reason.

oDo not attempt to place the device into service until the file transfer has completed successfully.

Failure to follow these instructions can result in equipment damage.

If, during the reattempted firmware update, the update prematurely terminates with an error, it means that the communication interruption or power outage had damaged the firmware of one of your modules in your configuration, and that module must be reinitialized.

NOTE: Once the firmware update process detects an error with the firmware in the destination module, the update process is terminated. After you have reinitialized the damaged module following the recovery procedure, any modules that followed the damaged module remain unchanged and will need to have their firmware updated.

Step

Action

1

Ensure that the correct firmware is present in the /usr/TM3fwupdate/ directory of the controller.

2

Remove power from the controller.

3

Disassemble from the controller all TM3 expansion modules that are functioning normally, up to the first module to recover. Refer to the hardware guides of the modules for disassembly instructions.

4

Apply power to the controller.

NOTE: The TM3 update process adds approximatively 15 seconds to the controller boot duration.

5

Verify in the message logger of the controller that the firmware is successfully updated: Your TM3 Module X successfully updated. X corresponds to the position of the module on the bus.

6

Remove power from the controller.

7

Reassemble the TM3 expansion module configuration to the controller. Refer to the hardware guides of the modules for assembly instructions.

8

Restore power to the controller.

Result: The controller transfers the firmware file(s) to the appropriate and yet to be updated TM3 I/O module(s).

NOTE: The TM3 update process adds approximatively 15 seconds to the controller boot duration.

9

Verify in the message logger of the controller that the firmware is successfully updated: Your TM3 Module X successfully updated. X corresponds to the position of the module on the bus.

NOTE: You can also obtain the logger information in the Sys.log file in the /usr/Log directory of the controller file system.

10

Delete the firmware file(s) from /usr/TM3fwupdate/ folder on the controller.