Modicon TM251MESE: Configuring SoMachine and Recovery

Claire Rousseau4 min read
PLC HardwareSchneider ElectricTroubleshooting
Licensed PE Working through this on a live machine? A Maine-licensed engineer can take it from here — included with IMD hardware, by the hour for everything else. Book an engineer

A Modicon TM251MESE requires a SoMachine release that includes the controller target. In the reported case, SoMachine 3.1 did not list the PLC, while installing SoMachine 4.1 resolved the target-selection problem. A separate communication fault later prevented SoMachine from logging in or downloading even though the controller remained visible and accessible through its web and FTP services.

Select the programming environment

Engineering need Evidence-based decision
Program the TM251MESE Use SoMachine 4.1 for the reported installation. SoMachine 3.1 did not support the required controller target.
Use a generic CoDeSys installation Do not proceed unless the TM251MESE target is actually available. The required target file was not found in the reported generic CoDeSys installation.
Create a PC-based HMI The evidence does not identify a suitable HMI package. Select one only after confirming its supported communication driver and compatibility with the deployed TM251MESE application.

Identify the communication failure correctly

Controller discovery does not prove that the SoMachine programming channel is operational. In this case, SoMachine displayed the TM251MESE in its available-controller list but could not log in or download over Ethernet or USB. At the same time, browser and FTP access worked, confirming basic Ethernet reachability without confirming engineering-session connectivity.

The first test project had previously downloaded and operated a TM3DQ32TK digital output module. After the next power-up, the application would not run and subsequent engineering connections failed. This history separates the later fault from initial target support: SoMachine 4.1 could program the hardware, but the installation or retained configuration later prevented normal login.

Check Ethernet addressing and configuration retention

The reported default addresses used the last two MAC-address bytes as decimal octets. Ethernet 1 used the form 11.11.x.x, and Ethernet 2 used 10.10.x.x. For a port whose MAC address ended in 6E:D2, converting 6E and D2 from hexadecimal produced 110 and 210; the resulting reported Ethernet 1 address was 11.11.110.210.

Treat this addressing rule as evidence from the reported controller, not as a substitute for the applicable product documentation. The configured address 192.168.1.10That observation indicates that the intended Ethernet configuration was not remaining effective; it does not by itself prove whether the cause was the configuration file, firmware state, retained settings, or the controller.

Recover access and isolate the fault

  1. Confirm that the project uses a SoMachine release containing the TM251MESE target. Replace SoMachine 3.1 with SoMachine 4.1 in the reported software set.
  2. Separate network reachability from programming access. Test the active IP address with the web interface or FTP, then independently test SoMachine login. A working browser or FTP session does not clear the engineering connection.
  3. If a configured IP address disappears, test the reported default-address pattern derived from the port MAC address. Record when the address changes and whether the change occurs without a power cycle or operator action.
  4. With the front-panel selector in RUN, attempt login and project transfer. If SoMachine still fails while web and FTP access remain available, treat the problem as an engineering-session or retained-configuration fault rather than a basic cabling failure.
  5. Use FTP project transfer only as a recovery path when normal SoMachine transfer is unavailable. This method restored the reported controller, but it did not repair the underlying SoMachine connection.
  6. If reinstalling SoMachine does not change the behavior, account for retained settings. In the reported case, registration remained after uninstall and reinstall, supporting the hypothesis that some local configuration survived removal.

Verify firmware files, RUN state, and recovery

The manual consulted by the operator appeared to require files named M 251 FW1v_XX.YY in sys/OS, while the controller and firmware SD card contained M 241 FW1v_XX.YY. The evidence does not resolve whether this was a documentation error or an incorrect firmware package. Do not rename or replace these files based only on the naming discrepancy; verify the package against Schneider Electric documentation or official support for the exact controller.

The ERR indicator reportedly flashed about twice per second across multiple firmware versions, but no corresponding diagnostic code was supplied. Therefore, the flash rate alone cannot establish a root cause. Verify recovery by confirming all of the following: SoMachine can log in, the project transfers through the engineering connection, the controller enters RUN with the selector in RUN, the configured IP remains active beyond the previously observed 5–10-minute interval, and the application drives the connected I/O as intended.

FAQ

Which SoMachine version supports the Modicon TM251MESE?

In the reported installation, SoMachine 3.1 did not list the TM251MESE, while SoMachine 4.1 provided the required support.

Why can I open the TM251MESE web page but not connect from SoMachine?

Web and FTP access prove basic Ethernet reachability, not that the SoMachine programming channel is working. Test SoMachine login separately and investigate retained engineering settings if reinstalling the software does not change the fault.

Why does my TM251MESE return to an 11.11.x.x address?

The reported controller returned from 192.168.1.10Check the address derived from the final two MAC bytes and verify configuration retention before attempting another project transfer.

Back to blog