Welcome to the Industrial Automation website!

NameDescriptionContent
XING-Automation
E-mail  
Password  
  
Forgot password?
  Register
当前位置:

Schneider Modicon M258 Selection and Upgrade

F: | Au:FANS | DA:2026-05-20 | 7 Br: | 🔊 点击朗读正文 ❚❚ | Share:

Schneider Modicon M258 Logic Controller Selection and Upgrade Practical Guide

In the field of industrial automation, the replacement of control systems at the end of the equipment lifecycle is a common but highly challenging task. The Modicon M258 series logic controller launched by Schneider Electric, with its dual core processor, high-density I/O, embedded CANopen master station, and flexible network communication capabilities, is an ideal choice to replace old PLCs such as Modicon TSX Micro or third-party controllers. Whether it is packaging, lifting, conveying, textile or woodworking machinery, M258 can provide a complete solution from simple logic control to multi axis motion control.

This article starts from the perspective of engineer on-site selection and upgrade, systematically reviews the hardware architecture, embedded functions, communication options, expansion modules, and software configuration of Modicon M258, and provides selection suggestions and precautions based on typical application scenarios to help readers quickly complete the modernization transformation of the control system.


Product positioning and core advantages of Modicon M258

1.1 Product positioning

Modicon M258 belongs to Schneider Electric Machine Struxure ™ The core component of "flexible machine control" under the platform is designed specifically for original equipment manufacturers (OEMs). Its target applications include:

Packaging machinery (filling, labeling, sealing)

Lifting and hoisting equipment

Transportation and Storage System

Textile and woodworking machinery

Material handling and assembly line

Compared to early Modicon M238 or third-party small PLCs, M258 has significantly improved in computing speed, I/O expansion capability, and motion control.

1.2 Dual core processor architecture

M258 adopts a dual core processor:

Core 1: Dedicated to real-time execution of application code (logic, motion control, PID, etc.) without interference from communication tasks.

Core 2: Dedicated to handling communication tasks (Ethernet, CANopen, Modbus, Web servers, etc.) to ensure that communication loads do not affect control cycles.

This architecture enables M258 to maintain high response communication with HMI, drivers, and remote I/O while running complex programs.

1.3 Embedded I/O and Storage

M258 offers two basic model sizes, each integrated with:

42 or 66 point digital I/O (including 8 100kHz high-speed counter inputs and 4 reflection outputs)

4-channel analog input (12 bit resolution, voltage or current, limited to TM258xxxx4L model only)

64 MB RAM (Program and Data Storage)

128 MB Flash (Application and Data Backup)

This means that many small and medium-sized applications can be used directly without the need for additional I/O modules, significantly reducing system costs and cabinet space.


Comparison of Replacement and Selection of Old PLCs

2.1 Key points of replacement evaluation

When replacing discontinued controllers (such as Modicon TSX Micro, Siemens S7-200, Mitsubishi FX series) with Modicon M258, it is important to pay attention to the following matching items:

Assessment Item M258 Capability Precautions

The number of digital I/O points in the main body is 42 or 66 points, which can be expanded to 2400 points. To confirm whether the original system exceeds the main body I/O, an additional TM5 module is required

If the original system uses a higher frequency (above 200kHz) for the 8-channel 100kHz (single-phase or two-phase) high-speed counter, the TM5 high-speed counting module needs to be evaluated

Analog input body 4-channel 12 bit (optional) or extended 16 bit module. If the original system analog resolution is 14 bits or more, it is recommended to choose TM5 analog module

The maximum number of motion control axes is 16 (via CANopen). When the original system uses pulse output, Lexium 32 servo+Sercos or pulse control can be selected

Communication interfaces include Ethernet, Modbus serial port, CANopen, and Profibus DP (extension). Check the original fieldbus type and select TM5PCRS2/4 or TM5PCDPS module if necessary

2.2 Typical Replacement Cases

Case: A packaging line originally used Modicon TSX 37-10 PLC to control 5 Altivar frequency converters through CANopen, equipped with 20 point digital I/O and 2 analog inputs.

Upgrade plan:

Select TM258LF42DT4L (with CANopen master station, 42 digital I/O points, 4 analog inputs).

Retain the original CANopen bus and configure communication parameters with the frequency converter.

If the original digital I/O exceeds 42 points, add a TM5 digital expansion module.

Use SoMachine software to convert the original Ladder program (IL/LD/ST are compatible).

Benefits: Processing speed increased by more than 3 times, built-in web server for remote monitoring, and spare parts supply restored to normal.

Detailed explanation of embedded functions

3.1 High speed Counter (HSC)

M258 body integrates 8 high-speed counters, each with a maximum frequency of 100kHz, supporting:

Single phase counting (add/subtract direction)

Dual phase counting (orthogonal encoder, A/B phase)

Reflection output: When the count value reaches the preset threshold, it can directly trigger 4 high-speed outputs with minimal delay, suitable for scenarios such as fixed length cutting and position capture.

Configuration points:

The input type is sink, please note that the external sensor must be matched with NPN or PNP.

The high-speed counter shares a physical point with the regular digital input, and the HSC function needs to be defined in SoMachine before use. The regular input function will be disabled.

3.2 Analog quantity and temperature control

The M258 body analog input can be configured as 0-10V or 0-20mA, with a 12 bit resolution (0~4095). For applications with higher requirements, the TM5 analog expansion module provides 16 bit resolution and multiple ranges.

The controller has built-in PID regulation function, which can be combined with temperature sensors (PT100/thermocouple) to achieve temperature closed-loop control; Simultaneously supporting process control such as pressure and flow.

Attention: To directly connect PT100, a TM5 dedicated temperature module (such as TM5SDI12T) must be used. The analog input of the body does not support resistance sensors.

3.3 Position Control and Motion

M258 supports two motion control modes:

Control Lexium 32 servo or SD3 stepper through CANopen: use PLCopen standard function blocks (MC_Sower, MC_SoveAbsolute, etc.) with up to 16 independent axes. CANopen has a maximum baud rate of 1Mbps and supports synchronous periodic position mode.

Communicate with Lexium 32 or third-party drivers through digital I/O: use high-speed output to send pulse/direction signals, or control start stop, forward and reverse through traditional digital quantities. This method is limited by the number of high-speed output points, but it is easy to implement.

Selection Tips:

The TM258LF series (with CANopen) only supports multi axis motion control.

If more complex electronic cam, gear synchronization and other functions are needed, it is recommended to consider a higher-order Modicon LMC058 motion controller.


Communication interface and network integration

4.1 Embedded Ethernet

All M258 models are equipped with an RJ45 Ethernet port (10/100Mbps, MDI/MDIX adaptive), supporting the following protocols:

Modbus TCP Server/Client (up to 8 server connections)

EtherNet/IP devices (up to 16 connections)

SoMachine protocol (used for programming and debugging, occupying 1 connection)

Web server (up to 10 concurrent connections)

FTP server (for file transfer)

SNMP (Network Management)

Practical functions:

The built-in web server provides a device status page, allowing users to view variables, I/O status, and diagnostic information through a browser without the need for additional programming.

FTP servers can be used for remote uploading/downloading of program files or data logs.

4.2 Serial Link (Modbus/ASCII)

M258 provides an RJ45 serial port that can be configured as RS232 or RS485, supporting:

Modbus RTU/ASCII master or slave

Free protocol (ASCII string transmission and reception)

This port is suitable for connecting old-fashioned instruments, barcode scanners, third-party inverters, etc.

Attention to wiring: Shielded twisted pair cables should be used for RS485 wiring, and terminal resistors should be added at both ends. RS232 is a 3-wire system (Tx/Rx/GND) with a maximum length of 15 meters.

4.3 CANopen Master Station (LF model only)

The TM258LF series (LF42DT, LF42DT4L, LF42DR, LF66DT4L) is equipped with a 9-pin SUB-D interface CANopen master station, which complies with the CiA DS301 V4.0 standard. Features:

Baud rate 125kbps~1Mbps can be set

Supports up to 63 slave nodes

Support PDO, SDO, NMT, heartbeat, and synchronized objects

Import EDS files through SoMachine's built-in CANopen configurator to easily configure drivers, I/O modules, and more.

Typical application: Connect multiple Altivar frequency converters or Lexium servos through CANopen to achieve speed synchronization, torque control, and status monitoring.

4.4 Profibus DP extension (via TM5PCDPS module)

For systems that require access to the Profibus DP bus (such as communication with Siemens S7-300/400 main station), the M258 can be equipped with a TM5PCDPS communication module (occupying one PCI slot). This module uses M258 as a Profibus DP-V1 slave and supports up to 244 bytes of input/output data.

Configuration steps:

Insert TM5PCDPS into the PCI slot of M258 (limited to TM258LD42DT4L, LF42DT4L, LF42DR, LF66DT4L models only).

Use SoMachine to configure the station address and baud rate (up to 12Mbps) of the module.

Import GSD files on the main station side (such as S7-300) and configure I/O mapping.

Note: A M258 can accommodate up to two communication modules, but only one Profibus DP module can be installed (the other slot can be used for the serial port expansion module TM5PCRS2/4).

Expansion I/O and TM5 module selection

M258 increases I/O points or special functions through TM5 series expansion modules. The expansion module includes:

Digital module: 8/16/32 channels, input/output/hybrid type

Analog module: 2/4/6/8 channels, 12 or 16 bits, voltage/current/thermocouple/RTD

High speed counting module: up to 200kHz, supports more counters

Public distribution module: provides unified power distribution for multiple modules

Transmission/reception module: used for remote I/O expansion (up to 100 meters, up to 25 islands)

Scalability:

The maximum number of total I/O points is 2400

Each M258 can connect up to 63 TM5 expansion modules (subject to current consumption and configuration limitations)

Selection suggestion:

For a large number of digital I/O, 16 or 32 channel modules are preferred to save space and cost.

When analog signals require isolation or high precision, choose a 16 bit module (such as TM5SAI4L).

When high-speed counting exceeds 8 channels, specialized modules such as TM5SSC2 (2-channel, 200kHz) should be selected.


Key points for installation and debugging

6.1 Mechanical Installation

The M258 and TM5 modules are designed for DIN rail installation (35mm symmetrical rail) and secured with a top locking rod.

Automatic electrical connections between modules are achieved through side expansion bus connectors, without the need for additional wiring.

When installed horizontally, the ambient temperature is -10~60 ℃, and when installed vertically, it is -10~50 ℃.

6.2 Electrical Wiring

The power terminal is a pluggable spring type, which can be connected by pressing without the need for a screwdriver, and has test holes.

High speed input/output uses dedicated shielded cables and is wired separately from the power line.

The grounding terminal must be reliably connected to the cabinet grounding strip (resistance<100 Ω).

6.3 Software Configuration

Use SoMachine (V4.1 or higher) for programming and configuration.

Supports all IEC 61131-3 languages (IL, LD, FBD, SFC, ST) and CFC.

Built in CANopen and Ethernet/IP configurator, capable of graphically configuring communication parameters.

First power on process:

Connect the PC to M258 via mini USB or Ethernet.

Create a new project in SoMachine and select the correct M258 model.

Use the 'Scan Network' function to automatically identify controllers, download empty programs, and set IP addresses.

If you need to replace the old PLC, you can use SoMachine's "import" function to convert programs from other brands (manual adjustment of instruction mapping is required).


Common Problems and Solutions

Possible causes and solutions for the problem phenomenon

The controller is not running (RUN light is off), no valid program has been downloaded, or it is in STOP state. Modify the controller status to RUN online through SoMachine; Check the program for no compilation errors

CANopen communication failed due to baud rate mismatch, terminal resistance not added, and duplicate checking of all nodes' baud rates for slave addresses; Add 120 Ω resistors at both ends of the bus; Ensure that the station address is unique

The high-speed counter does not count the input value, and the polarity of the wiring is incorrect or the HSC function is not configured to confirm that the sensor type (leakage/source) matches; Enable HSC and allocate inputs in SoMachine

The analog reading fluctuates greatly, and shielded wires are not used or poorly grounded. Twisted shielded wires are used, and the shielding layer is grounded at one end; Add software filtering

Ethernet cannot connect due to IP address conflict or network cable failure. Use MAC address default IP (169.254. x.x) for temporary access; Check the network port indicator light

The Profibus DP module has no response. The GSD file is not installed correctly, and there is a station address conflict. The GSD of TM5PCDPS is installed on the main station side; Check the LED status on the module (green running)


Spare parts and maintenance recommendations

RTC battery: M258 has a coin shaped lithium battery (CR2032) inside for real-time clock. The lifespan is about 5 years, and it can monitor battery voltage alarms in SoMachine.

Firmware upgrade: M258 firmware can be upgraded through a USB storage stick or SoMachine. Be sure to back up the application before upgrading.

Spare parts reserve: It is recommended to stock at least one M258 controller of the same model and commonly used TM5 modules (such as TM5SDI12D, TM5SDO12T) to cope with sudden failures.

Program backup: Regularly use SoMachine to upload programs and save them to a secure location; Programs and configuration files can also be stored on a USB memory stick and inserted into the USB-A port of the M258 for quick recovery.

  • B&R 3AT660 6 Thermocouple Input Module
  • Honeywell EC7850A1080 Programmable Logic Controller
  • Mitsubishi A2ACPU21 CPU Module MELSEC A Series
  • Mitsubishi R60ADH3FR Analog Input Module iQ R
  • ELMO WLWHIA20 100 Servo Drive Whistle Series
  • Omron CJ1W-MAD42 Analog I O Module PLC
  • Siemens A5E03894525 SINAMICS S120 Power Module
  • Omron K3HB-HTA-DRT1 Temperature Panel Meter
  • Keyence KV-8000SO Programmable Controller CPU Unit
  • Harris 8800-00002-02 PLC Power Control Center
  • Siemens 3TY7480-0A Auxiliary Contact Block
  • Omron 3G3MX2-AB022-ZV1 Inverter
  • ABB ACS380-040S-12A6-4 VFD
  • ATTO controlSYS ATTO-CPU44 PLC System
  • Allen‑Bradley 5069-L330ERMS3 CompactLogix PLC
  • Emerson VE4003S2B2 Terminal Module
  • SND ATS48D38Q Soft Starter
  • Omron CJ1W-MCH71 Motion Control Module
  • Siemens 3TK28060BB4 24VDC Contactor
  • Mitsubishi FR-D740-160-NA Inverter
  • PILZ 312070 PSSuniversal PLC Head Module
  • Omron CJ2M-CPU35 SYSMAC CJ Series PLC CPU
  • KISTLER 4734AWDY2X400S1 Force Displacement Indicator
  • Beckhoff CX2100-0904 Power Supply UPS Module
  • Siemens 6ES7 194-4AD00-0AA0 ET 200PRO IM 154-1 DP Module
  • Siemens 6FC5110-0DB02-0AA2 SINUMERIK MMC CPU Module
  • EDWAR 3-SDDC2CF Dual Circuit Card Control Module
  • ABB CI856K01 S100 I O Communication Module
  • Omron C200HW-PCS01-V2 PC Card Unit Module
  • Pilz 777150 PZE X5P 24VDC Safety Relay
  • Siemens 6SE6430-2AD31-1CA0 Inverter
  • Pilz 774340 Safety Relay
  • Kübler 8.5868.1231.3112 Encoder
  • Stromag 51 NE 451 DV MS Switch
  • Mitsubishi Q20UDEHCPU CPU Unit
  • CON-MAL P86402251-00 PCB Board
  • Panasonic MDMA102A1D Servo Motor
  • Omron OS32C-SN-4M Safety Scanner
  • Mitsubishi LD-30FTA Tension Controller
  • Siemens 7SP8014 Genop 23 S Relay
  • GE 151X1235DB15SA01 SPEEDTRONIC Mark VI High Performance Turbine Control Module
  • GE DS3800HIOC High-Level Input Output Board
  • GE DS3800NHVG High-Voltage Gate Driver Board
  • GE DS3800NB1A Power Supply Regulator Board
  • GE DS3815PAHB1A1A Processor Interface Board
  • Allen-Bradley 100-D300EA11 IEC Contactor 300A
  • Omron BY50S 500VA 300W Uninterruptible Power Supply
  • Mitsubishi NF630-CW 3P 600A Molded Case Circuit Breaker
  • CLA-2 4L PLC Control Electric Lubricating Oil Pump
  • Pilz 6Z000002 PSEN enc sincos 4096 hs Encoder
  • Siemens 6ES7317-2FK14-0AB0 CPU 317F-2PN/DP
  • Fuji NP1AYH8V-MR Analog Output Module MICREX-SX
  • Kistler DMF-P A300 NCF 4734AWDY2X400S1 Force Displacement Monitor
  • ABB Pluto S20 v2 CFS Safety PLC
  • Parker IQAN-XS2 Expansion Controller Module
  • ABB CI867AK01 PLC Module
  • FANUC A20B-2002-0520 Main Board
  • Mitsubishi A6BR10 Repeater Module
  • Siemens 3TY6480-0A Contact Kit
  • Servax CDD34.008 Servo Drive
  • Renesas R5F2134CXJFP Microcontroller
  • Siemens 6SL3210-1SE31-0AA0 Power Module
  • Mitsubishi LE-40MTA-E Tension Controller
  • B&R 4PP035.0300-01 Operation Panel
  • HRTL 96B M666.01S-S12 Inductive Proximity Sensor
  • Mitsubishi GT1455HS-QTBDE GOT1000 Touch Screen
  • Braids PLC-24/30/E2UK 25m PLC Connection Cable
  • Omron NX-PD7001 NX Series Power Supply Unit
  • Pro-face FP3900-T41-U PFXFP3900TA Operating Panel
  • Siemens 6GK5204-2BB10-2AA3 Industrial Ethernet Switch
  • Mitsubishi GT2310-VTBA GT2310-VTBD Graphic Operation Panel
  • PILZ 774400 PNOZ 24VDC 2NO 2NC Safety Relay
  • Siemens 6ES7315-2EH14-0AB0 CPU 315-2 PN/DP
  • ABB PLUTO B42 AS-i Safety Relay 2TLA020070R1400
  • Applied Materials 0010-12123 PLC Controller
  • Pilz 774595 PZE X5 Safety Relay
  • Siemens 6GA2 490-0A AVR
  • Keyence KV-10T Micro PLC
  • Siemens 6ES7331-7PF01-0AB0 Analog Input
  • Siemens 6SN1145-1BA02-0CA1 PLC
  • FANUC A16B-3200-0521 Main Board
  • Siemens 6SL3120-2TE21-0AD0 Motor Module
  • Pilz 828010 S1IM Safety Relay
  • TRICONEX 3601E Digital Output
  • TRICONEX 8312 Power Module
  • TRICONEX MA2211-100 Media Adapter
  • TRICONEX 3720 Analog Input Module
  • TRICONEX 7400213-100 Extender Module
  • TRICONEX 3000602-100 Chassis Assembly
  • TRICONEX 3722X Analog Input Module
  • Triconex 7400322-100 Trident CIM Base Plate
  • TRICONEX 3721 Analog Input Module
  • TRICONEX 3005 Processor Module
  • ABB 3BUS208720-001 Industrial Power Signal Interconnection Module
  • TMEIC KPAD-3122A LCD Display Keypad
  • Siemens 6SN1145-1BA02-0CA1 PLC
  • LAM 2004365 TURBO BYPASS PLC ASM
  • Omron CJ1W-CORT21 PLC Module
  • Euchner MGB-L2B-PNA-L-121853 Safety Switch
  • XPSMC32ZP Safety Controller
  • Schneider 9070T3000D33 PLC
  • Omron C200H-MAD01 AD DA Module
  • Omron NJ501-1320 CPU Controller
  • Honeywell C36TR1UA1000 Thermostat
  • Honeywell TC-RPDXX1 Power Supply Module
  • Fuji NW0E32-3 PLC Programmable Controller
  • ASM 2004219 Turbo Bypass ASM 107864 Module
  • Future IHDW-BLA4S-IM CNC MPG Handwheel
  • Wieland R1.180.0080.0 SA-OR-S1-4RK-A Safety Module
  • Reliance Electric 57C493 AutoMax Power Supply 376W
  • Siemens 3VT8563-2AA03-2KA2 MCCB 3VT8
  • B&R X20IF1072 CAN Bus Interface Module
  • Mitsubishi OSE253S2 Rotary Encoder
  • Mitsubishi NV630-SW 4P 500A Earth Leakage Breaker
  • Euchner MGB-L1B-PNA-R-121857 Safety Switch
  • Honeywell 900A01-0102 Analog Input Module
  • OMRON C500-ID219 Input Unit
  • Westinghouse EL3030R Current Limiter
  • CLA-2 3L Electric Lubrication Pump
  • Proface GP2501-TC41-24V HMI
  • Omron KM-N1-FLK Small Power Monitor
  • HPM 1D703-0040 Command 9000 Console Card
  • Siemens 3RW5074-6AB14 SIRIUS Soft Starter
  • Genie 75032 Limit Switch
  • OMRON C200H-SP001 Space Module
  • OMRON C200H-PS211 Power Supply Unit
  • OMRON C200H-OC222 Relay Output Unit
  • Keyence KV-8000SO 4221 CPU Module