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 | 763 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.

  • Rexroth 0-531-012-740 Bladder Accumulator
  • Rexroth VT-VRRA 1-527-20/V0/2STV Amplifier
  • Rexroth CSB01-1N-AN-ENS Control Section
  • Rexroth 2ma-1a P58718 Pilot Air Valve
  • Rexroth SB356 Multi-channel Controller System Box
  • Rexroth IndraControl L20 PLC CML20.1
  • Rexroth R151231013 Ball Screw Nut
  • Rexroth RC28-14/30 BODAS Controller R917007683
  • Rexroth LTU350 3-Phase Servo Amplifier
  • Rexroth VAM42.1 Control Device
  • Rexroth S20-DO-16/1 Digital Output Module
  • Rexroth HED8OA-20/350K14AS Pressure Switch
  • Rexroth CSH01.1C-SE-EN2 Control Section
  • Rexroth VT-VSPA2-1-11/T1 Valve Amplifier R900021909
  • Rexroth VT3024-S34-R1 Amplifier Card
  • Rexroth Aventics R417000243 Operating Unit Switch
  • Rexroth NYS04.1-ST-05-ULNN R911325068 Module
  • Rexroth DPR-10 Amplifier Circuit Board Card
  • Rexroth 4WE 10 D33/OFCG24N9K33L R900701304 Valve
  • Rexroth DKC01.3-100-7-FW Servo Drive
  • Rexroth VCP05.2DSN-003-PB-NN-PW Operator Panel
  • Rexroth MSK030B-0900-NN-M1-UG0-NNNN Servo Motor
  • Rexroth 0 821 758 010 Valve Terminal 10 Bar
  • Rexroth VAM42.1-PB-NF-NN-TB-VD-NN-1608-NN Control Panel
  • Rexroth MAC090B-0-JD-5-C/110-A-0/KI520LV Servo Motor
  • Rexroth VCP25.1BVN-003PB-NN-PW Operator Panel
  • Rexroth RKL4305/002.5 Power Cable L=250cm
  • Rexroth MSM031C-0300-NN-M5-MH1 R911344216 Servomotor
  • Rexroth CSH01.1C-SE-EN2 R911335435 Control Unit
  • Rexroth FEM-E-S 25x10RX3-4 R151224013 Ball Screw
  • Rexroth FCS01.1E-W0005-A-04-NNBV Frequency Drive
  • Rexroth 0510-425-009 Hydraulic Gear Pump
  • Bosch Rexroth IndraControl XM42 Controller R911396964
  • Rexroth VT5035-17 R900579497 Valve Amplifier
  • Rexroth FCS01-1EW0015-A-04 R91131106 Frequency Drive
  • Rexroth MSK050B-0600-NN-M1-UG1-NNN Motor
  • Bosch Indramat TBM1.2-40-W1-115 Bleeder
  • Rexroth HCS01.1E-W0028 Compact Converter
  • Rexroth Indramat MAC071B-0-PS-2-C/095-A-0 Motor
  • Rexroth HCS02.1E-W0012-A-03-NNNN Drive Set
  • Rexroth R-IL S3 BK DI8 DO4-PAC Coupler
  • Rexroth HCS01.1E-W0028-A-03-E-S3-EC-NNN Drive
  • Rexroth MSK061C-0600-NN-S1-UG0-NNNN Motor
  • Bosch Rexroth MSM041B-0300-NN-M0-CH0 Motor
  • Rexroth IKG0071-05.0m Servo Motor Cable
  • Rexroth R-IL S3 BK DI8 DO4-PAC Bus Coupler
  • Bosch Rexroth SB301 Tightening Unit 0608701017
  • Rexroth E-003-S-S Tool Cable 0608740220
  • Rexroth MSM020B-0300-NN-M0-CG0 Servo Motor
  • Rexroth IndraControl VEP30.3 Panel PC
  • Rexroth DBETE-62/315G24K31A1V Valve R901029969
  • Rexroth CSH01.3C-ET-ENS-NNN Control Section
  • Rexroth VT3013-37 Amplifier Control Card
  • Rexroth 1-2 TH6 L 162-10/N 05 Joystick
  • Rexroth ESV025 Handheld Nutrunner 0608841037
  • Rexroth RK2 S30 Amplifier Card VT 4224 U 261
  • Rexroth CDB01.1C-SE-ENS R911308279 Control Unit
  • Rexroth VFC3610-0K40-3P4-MNA-7P Inverter 0.4kW
  • Bosch Indramat HCS02.1E-W0028-A-03-NNNN Servo Module
  • Rexroth DKC01.3-040-7-FW EcoDrive R911279426
  • Rexroth HMV02.1R-W0015-A-07-NNN Utility Unit 15kW
  • Rexroth 0 608 830 193 ZSE220 Communication Module
  • Rexroth VT5003 S41 R5 Proportional Amplifier Card
  • Rexroth KSM02.1B-041c-42N-M1-HP0-ET-L3-D7-NN-FW Motor Drive
  • Mannesmann Rexroth VT5005 S16 R1 Valve Amplifier Card
  • Rexroth CFL01.1-R3 Sercos III Interface Module
  • Rexroth CKK-110-NN-1 Linear Axis with MSK040C
  • Bosch Rexroth 047018-104401 Controller Card
  • Rexroth MDSD1K-2X/4 Solenoid Driver Module
  • Rexroth DKC02.3-012-3-MGP-01VRS Servo Drive
  • Rexroth HCS01.1E-W0006 Compact Servo Drive
  • Rexroth NAM1.2-08 Line Former R911246505
  • Rexroth VPB40 Industrial PC Control Cabinet
  • Rexroth FWA-ECODR3-SGP-03-MS Firmware Module
  • Rexroth HEDE10-31 Pressure Switch R901425475
  • Rexroth HM 17-11/315-C/V0/0 Pressure Sensor
  • Rexroth VFC 3610-2K20-3P4-MNA-7P Inverter 2.2kW
  • Rexroth MSK040C-0600-NN-M1-UG1-NNNN Right Angle Geared Motor
  • Rexroth DKC02.3-012-3-MGP-01VRS EcoDrive Cs
  • Bosch Rexroth MSM031C-0300-NN-M0-CH0 Servo Motor
  • Rexroth HCS02.1E-W0012-A-03-NNNN Power Section
  • Rexroth DBDS 20 P18/400V Pressure Relief Valve
  • Rexroth 3460565500 Pneumatic EP Converter Regulator
  • Rexroth VT-SWA-1-12/DFEE Angle Sensor R900913641
  • Rexroth 0-608-830-250 Interface Module SM24V
  • Rexroth MHD071B-035-NP0-UN8 Servo Motor 12Nm 1000rpm
  • Rexroth MKD025B-144-KG0-KN R911263737 Servo Motor
  • Rexroth KCU02.2N-ET-ET*-025-NN-N-NN-NW Control Unit
  • Rexroth MV-VPB40*3-RB001VPB R911337529 Valve Terminal
  • Bosch Rexroth AS 2/R-2200 Drive Module 3842998041
  • Rexroth HMS01.1N-W0036 Power Section
  • Rexroth CKK-145-NN1 Compact Linear Module
  • Rexroth MS2N04-C0BTN-BSDK0-NNNNN-NN Geared Servo Motor
  • Rexroth HCS02.1E-W0028-A-03-NNNN Power Section
  • Rexroth MS2N04-D0BQN-CMSG0-NNNNN-NN Servo Motor
  • Rexroth MSM031C-0300-NN-M0-CH0 Servo Motor
  • Rexroth MKD041B-144-KP1-KN Servo Motor R911262307
  • Rexroth ESA075G Handheld Nutrunner 0608841033
  • Rexroth MSK070D-0450-NN-M1-UP1-NSNN Motor
  • Rexroth CKK-145-NNG1 Linear Kit with HCS02 Drive
  • Rexroth MSK060C-0300-NN-M1-UG0-NNNN Servo Motor
  • Rexroth MKD090B-047-KP1-KS Servo Motor
  • Rexroth MLS140S-3A-0450-NNN Linear Motor
  • Rexroth VPB40.3 Industrial PC R911338689 CB1
  • Rexroth HCS02.1E-W0012 Servo Drive R911313871
  • Rexroth R151349014 R151145672 Ball Screw Assembly
  • Bosch Rexroth CKK-110-NN-1 Compact Module
  • Rexroth MSK060B-0300-NN-M1-UG1-NNNN Servo Motor
  • Rexroth Indramat TBM 1.2-40-W1-024 Servo Bleeder
  • Rexroth MSK040B-0600-NN-M1-UG1-NNNN Servo Motor
  • Rexroth MLS200S-3A-0450-NNN R911299213 Linear Motor
  • Rexroth SB356 Tool Tightening Controller Rack
  • Rexroth MSK050C-0300-NN-M1-UG0-NNNN Servo Motor
  • Rexroth Indramat DKC11.3-040-7-FW Eco Drive
  • Rexroth VT2000 Proportional Amplifier
  • Rexroth VT1118-10 Analog Module
  • Rexroth MSK060C-0600-NN-M1-UP1-NSNN Motor
  • Rexroth MSK060C-0300-NN-S1-UG0-NNNN Motor
  • Rexroth R911173937 IndraControl XM AI1
  • Rexroth R412018225 AES-D-BC-ECAT Module
  • Rexroth CDB02.1B R911338542 Controller Card
  • Rexroth VT-HNC100-2-30/P-I-00/000 Module
  • Bosch Rexroth CSB02.1B R911372549 Control
  • Bosch Rexroth R185321310 Runner Block
  • Rexroth VPB40.3 Industrial PC R911338689
  • Rexroth HNK01.1A-A075-E0106-A-500 Drive Controller
  • Rexroth CSH02.1B-CC-EC-ET-S4-NN-NN-FW Controller
  • Rexroth CSB01.1C-PB-ENS-NNN Control Unit