Modicon M251 Logic Controller: Hardware Guide
Modicon M251 Logic Controller: Hardware Guide
EIO0000001486 03/2018
Modicon M251
Logic Controller
Hardware Guide
03/2018
EIO0000001486.05
www.schneider-electric.com
The information provided in this documentation contains general descriptions and/or technical
characteristics of the performance of the products contained herein. This documentation is not
intended as a substitute for and is not to be used for determining suitability or reliability of these
products for specific user applications. It is the duty of any such user or integrator to perform the
appropriate and complete risk analysis, evaluation and testing of the products with respect to the
relevant specific application or use thereof. Neither Schneider Electric nor any of its affiliates or
subsidiaries shall be responsible or liable for misuse of the information contained herein. If you
have any suggestions for improvements or amendments or have found errors in this publication,
please notify us.
You agree not to reproduce, other than for your own personal, noncommercial use, all or part of
this document on any medium whatsoever without permission of Schneider Electric, given in
writing. You also agree not to establish any hypertext links to this document or its content.
Schneider Electric does not grant any right or license for the personal and noncommercial use of
the document or its content, except for a non-exclusive license to consult it on an "as is" basis, at
your own risk. All other rights are reserved.
All pertinent state, regional, and local safety regulations must be observed when installing and
using this product. For reasons of safety and to help ensure compliance with documented system
data, only the manufacturer should perform repairs to components.
When devices are used for applications with technical safety requirements, the relevant
instructions must be followed.
Failure to use Schneider Electric software or approved software with our hardware products may
result in injury, harm, or improper operating results.
Failure to observe this information can result in injury or equipment damage.
© 2018 Schneider Electric. All Rights Reserved.
2 EIO0000001486 03/2018
Table of Contents
Safety Information. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
About the Book . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Part I Modicon M251 Logic Controller Introduction . . . . . . 13
Chapter 1 M251 General Overview . . . . . . . . . . . . . . . . . . . . . . . . . 15
M251 Logic Controller Description . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Maximum Hardware Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
TM4 Expansion Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
TM3 Expansion Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
TM2 Expansion Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Accessories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Chapter 2 M251 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Real Time Clock (RTC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Run/Stop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
SD Card . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Chapter 3 M251 Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
3.1 M251 Logic Controller General Rules for Implementing . . . . . . . . . . . 48
Environmental Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
Certifications and Standards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
3.2 M251 Logic Controller Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
Installation and Maintenance Requirements . . . . . . . . . . . . . . . . . . . . 54
M251 Logic Controller Mounting Positions and Clearances . . . . . . . . 57
Top Hat Section Rail (DIN rail) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
Installing and Removing the Controller with Expansions. . . . . . . . . . . 64
Direct Mounting on a Panel Surface . . . . . . . . . . . . . . . . . . . . . . . . . . 66
3.3 M251 Electrical Requirements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
Wiring Best Practices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
DC Power Supply Characteristics and Wiring . . . . . . . . . . . . . . . . . . . 71
Grounding the M251 System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
Part II Modicon M251 Logic Controller . . . . . . . . . . . . . . . . 77
Chapter 4 TM251MESC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
TM251MESC Presentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
Chapter 5 TM251MESE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
TM251MESE Presentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
EIO0000001486 03/2018 3
Part III Modicon M251 Logic Controller Communication . . . 87
Chapter 6 Integrated Communication Ports . . . . . . . . . . . . . . . . . . . 89
CAN Port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
Ethernet Port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
TM251MESE Specific Considerations . . . . . . . . . . . . . . . . . . . . . . . . . 96
USB Mini-B Programming Port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
Serial Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
Chapter 7 Connecting the M251 Logic Controller to a PC . . . . . . . . 103
Connecting the Controller to a PC . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
Glossary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
4 EIO0000001486 03/2018
Safety Information
Important Information
NOTICE
Read these instructions carefully, and look at the equipment to become familiar with the device
before trying to install, operate, service, or maintain it. The following special messages may appear
throughout this documentation or on the equipment to warn of potential hazards or to call attention
to information that clarifies or simplifies a procedure.
EIO0000001486 03/2018 5
PLEASE NOTE
Electrical equipment should be installed, operated, serviced, and maintained only by qualified
personnel. No responsibility is assumed by Schneider Electric for any consequences arising out of
the use of this material.
A qualified person is one who has skills and knowledge related to the construction and operation
of electrical equipment and its installation, and has received safety training to recognize and avoid
the hazards involved.
QUALIFICATION OF PERSONNEL
Only appropriately trained persons who are familiar with and understand the contents of this
manual and all other pertinent product documentation are authorized to work on and with this
product.
The qualified person must be able to detect possible hazards that may arise from parameterization,
modifying parameter values and generally from mechanical, electrical, or electronic equipment.
The qualified person must be familiar with the standards, provisions, and regulations for the
prevention of industrial accidents, which they must observe when designing and implementing the
system.
INTENDED USE
The products described or affected by this document, together with software, accessories, and
options, are programmable logic controllers (referred to herein as “logic controllers”), intended for
industrial use according to the instructions, directions, examples, and safety information contained
in the present document and other supporting documentation.
The product may only be used in compliance with all applicable safety regulations and directives,
the specified requirements, and the technical data.
Prior to using the product, you must perform a risk assessment in view of the planned application.
Based on the results, the appropriate safety-related measures must be implemented.
Since the product is used as a component in an overall machine or process, you must ensure the
safety of persons by means of the design of this overall system.
Operate the product only with the specified cables and accessories. Use only genuine accessories
and spare parts.
Any use other than the use explicitly permitted is prohibited and can result in unanticipated
hazards.
6 EIO0000001486 03/2018
About the Book
At a Glance
Document Scope
Use this document to:
Install and operate your M251 Logic Controller.
Connect the M251 Logic Controller to a programming device equipped with SoMachine
software.
Interface the M251 Logic Controller with I/O expansion modules, HMI and other devices.
Familiarize yourself with the M251 Logic Controller features.
NOTE: Read and understand this document and all related documents before installing, operating,
or maintaining your controller.
Validity Note
This document has been updated for the release of TM3TI4D Add-on for SoMachine V4.3.
For product compliance and environmental information (RoHS, REACH, PEP, EOLI, etc.), go to
www.schneider-electric.com/green-premium.
The technical characteristics of the devices described in this manual also appear online.
The characteristics that are presented in this manual should be the same as those characteristics
that appear online. In line with our policy of constant improvement, we may revise content over time
to improve clarity and accuracy. If you see a difference between the manual and online information,
use the online information as your reference.
Related Documents
EIO0000001486 03/2018 7
Title of Documentation Reference Number
Modicon TM3 Digital I/O Modules - Hardware Guide EIO0000001408 (ENG)
EIO0000001409 (FRE)
EIO0000001410 (GER)
EIO0000001411 (SPA)
EIO0000001412 (ITA)
EIO0000001413 (CHS)
EIO0000001375 (TUR)
EIO0000001374 (POR)
Modicon TM3 Expert I/O Modules - Hardware Guide EIO0000001420 (ENG)
EIO0000001421 (FRE)
EIO0000001422 (GER)
EIO0000001423 (SPA)
EIO0000001424 (ITA)
EIO0000001425 (CHS)
EIO0000001381 (TUR)
EIO0000001380 (POR)
Modicon TM3 Safety Modules - Hardware Guide EIO0000001831 (ENG)
EIO0000001832 (FRE)
EIO0000001833 (GER)
EIO0000001834 (SPA)
EIO0000001835 (ITA)
EIO0000001836 (CHS)
EIO0000001837 (POR)
EIO0000001838 (TUR)
Modicon TM3 Transmitter and Receiver Modules - Hardware Guide EIO0000001426 (ENG)
EIO0000001427 (FRE)
EIO0000001428 (GER)
EIO0000001429 (SPA)
EIO0000001430 (ITA)
EIO0000001431 (CHS)
EIO0000001383 (TUR)
EIO0000001382 (POR)
Modicon TM4 Expansion Modules - Hardware Guide EIO0000001796 (ENG)
EIO0000001797 (FRE)
EIO0000001798 (GER)
EIO0000001799 (SPA)
EIO0000001800 (ITA)
EIO0000001801 (CHS)
M251 Logic Controller - Instruction Sheet HRB59604
You can download these technical publications and other technical information from our website
at https://www.schneider-electric.com/en/download
8 EIO0000001486 03/2018
Product Related Information
DANGER
HAZARD OF ELECTRIC SHOCK, EXPLOSION OR ARC FLASH
Disconnect all power from all equipment including connected devices prior to removing any
covers or doors, or installing or removing any accessories, hardware, cables, or wires except
under the specific conditions specified in the appropriate hardware guide for this equipment.
Always use a properly rated voltage sensing device to confirm the power is off where and when
indicated.
Replace and secure all covers, accessories, hardware, cables, and wires and confirm that a
proper ground connection exists before applying power to the unit.
Use only the specified voltage when operating this equipment and any associated products.
Failure to follow these instructions will result in death or serious injury.
DANGER
POTENTIAL FOR EXPLOSION
Only use this equipment in non-hazardous locations, or in locations that comply with Class I,
Division 2, Groups A, B, C and D.
Do not substitute components which would impair compliance to Class I, Division 2.
Do not connect or disconnect equipment unless power has been removed or the location is
known to be non-hazardous.
Do not use the USB port(s), if so equipped, unless the location is known to be non-hazardous.
Failure to follow these instructions will result in death or serious injury.
EIO0000001486 03/2018 9
WARNING
LOSS OF CONTROL
The designer of any control scheme must consider the potential failure modes of control paths
and, for certain critical control functions, provide a means to achieve a safe state during and
after a path failure. Examples of critical control functions are emergency stop and overtravel
stop, power outage and restart.
Separate or redundant control paths must be provided for critical control functions.
System control paths may include communication links. Consideration must be given to the
implications of unanticipated transmission delays or failures of the link.
Observe all accident prevention regulations and local safety guidelines.1
Each implementation of this equipment must be individually and thoroughly tested for proper
operation before being placed into service.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
1For additional information, refer to NEMA ICS 1.1 (latest edition), "Safety Guidelines for the
Application, Installation, and Maintenance of Solid State Control" and to NEMA ICS 7.1 (latest
edition), "Safety Standards for Construction and Guide for Selection, Installation and Operation of
Adjustable-Speed Drive Systems" or their equivalent governing your particular location.
WARNING
UNINTENDED EQUIPMENT OPERATION
Only use software approved by Schneider Electric for use with this equipment.
Update your application program every time you change the physical hardware configuration.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
Standard Description
EN 61131-2:2007 Programmable controllers, part 2: Equipment requirements and tests.
ISO 13849-1:2008 Safety of machinery: Safety related parts of control systems.
General principles for design.
10 EIO0000001486 03/2018
Standard Description
EN 61496-1:2013 Safety of machinery: Electro-sensitive protective equipment.
Part 1: General requirements and tests.
ISO 12100:2010 Safety of machinery - General principles for design - Risk assessment and risk
reduction
EN 60204-1:2006 Safety of machinery - Electrical equipment of machines - Part 1: General
requirements
EN 1088:2008 Safety of machinery - Interlocking devices associated with guards - Principles
ISO 14119:2013 for design and selection
ISO 13850:2006 Safety of machinery - Emergency stop - Principles for design
EN/IEC 62061:2005 Safety of machinery - Functional safety of safety-related electrical, electronic,
and electronic programmable control systems
IEC 61508-1:2010 Functional safety of electrical/electronic/programmable electronic safety-
related systems: General requirements.
IEC 61508-2:2010 Functional safety of electrical/electronic/programmable electronic safety-
related systems: Requirements for electrical/electronic/programmable
electronic safety-related systems.
IEC 61508-3:2010 Functional safety of electrical/electronic/programmable electronic safety-
related systems: Software requirements.
IEC 61784-3:2008 Digital data communication for measurement and control: Functional safety
field buses.
2006/42/EC Machinery Directive
2014/30/EU Electromagnetic Compatibility Directive
2014/35/EU Low Voltage Directive
In addition, terms used in the present document may tangentially be used as they are derived from
other standards such as:
Standard Description
IEC 60034 series Rotating electrical machines
IEC 61800 series Adjustable speed electrical power drive systems
IEC 61158 series Digital data communications for measurement and control – Fieldbus for use in
industrial control systems
Finally, the term zone of operation may be used in conjunction with the description of specific
hazards, and is defined as it is for a hazard zone or danger zone in the Machinery Directive
(2006/42/EC) and ISO 12100:2010.
NOTE: The aforementioned standards may or may not apply to the specific products cited in the
present documentation. For more information concerning the individual standards applicable to the
products described herein, see the characteristics tables for those product references.
EIO0000001486 03/2018 11
12 EIO0000001486 03/2018
Modicon M251 Logic Controller
Modicon M251 Logic Controller Introduction
EIO0000001486 03/2018
Part I
Modicon M251 Logic Controller Introduction
EIO0000001486 03/2018 13
Modicon M251 Logic Controller Introduction
14 EIO0000001486 03/2018
Modicon M251 Logic Controller
M251 General Overview
EIO0000001486 03/2018
Chapter 1
M251 General Overview
Overview
This chapter provides general information about the M251 Logic Controller system architecture
and its components.
EIO0000001486 03/2018 15
M251 General Overview
Overview
The M251 Logic Controller has various powerful features and can service a wide range of
applications.
Software configuration, programming, and commissioning are achieved with the SoMachine
software described in the SoMachine Programming Guide and in the M251 Logic Controller
Programming Guide.
Programming Languages
The M251 Logic Controller is configured and programmed with the SoMachine software, which
supports the following IEC 61131-3 programming languages:
IL: Instruction list
ST: Structured text
FBD: Function block diagram
SFC: Sequential function chart
LD: Ladder diagram
SoMachine software can also be used to program this controller using CFC (continuous function
chart) language.
Power Supply
The power supply of the M251 Logic Controller is 24 Vdc (see page 71).
Run/Stop
The M251 Logic Controller can be operated externally by the following:
a hardware Run/Stop switch (see page 42)
a SoMachine software command
Memory
This table describes the different types of memory:
16 EIO0000001486 03/2018
M251 General Overview
Removable Storage
M251 Logic Controllers include an embedded SD card slot (see page 43).
The main uses of the SD card are:
Initializing the controller with a new application
Updating the controller firmware
Applying post configuration files to the controller
Applying recipes
Receiving data logging files
EIO0000001486 03/2018 17
M251 General Overview
Introduction
The M251 Logic Controller is a control system that offers an scalable solution with optimized
configurations and an expandable architecture.
Application requirements determine the architecture of your M251 Logic Controller configuration.
The following figure represents the components of a local configuration:
18 EIO0000001486 03/2018
M251 General Overview
NOTE: It is prohibited to mount a TM2 module before any TM3 module as indicated in the following
figure:
Application requirements determine the architecture of your M251 Logic Controller configuration.
NOTE: You cannot use TM2 modules in configurations that include the TM3 transmitter and
receiver modules.
The following figure represents the components of a remote configuration:
EIO0000001486 03/2018 19
M251 General Overview
NOTE: The configuration with its TM4, TM3, and TM2 expansion modules is validated by
SoMachine software in the Configuration window.
NOTE: In some environments, the maximum configuration populated by high consummation
modules, coupled with the maximum distance allowable between the TM3 transmitter and receiver
modules, may present bus communication issues although the SoMachine software allows for the
configuration. In such a case you will need to analyze the consummation of the modules chosen
for your configuration, as well as the minimum cable distance required by your application, and
possibly seek to optimize your choices.
20 EIO0000001486 03/2018
M251 General Overview
Introduction
The range of TM4 expansion modules includes communication modules.
For more information, refer to the TM4 Expansion Modules Hardware Guide.
EIO0000001486 03/2018 21
M251 General Overview
Introduction
The range of TM3 expansion modules includes:
Digital modules, classified as follows:
Input modules (see page 22)
Output modules (see page 23)
Mixed input/output modules (see page 25)
22 EIO0000001486 03/2018
M251 General Overview
EIO0000001486 03/2018 23
M251 General Overview
24 EIO0000001486 03/2018
M251 General Overview
EIO0000001486 03/2018 25
M251 General Overview
26 EIO0000001486 03/2018
M251 General Overview
EIO0000001486 03/2018 27
M251 General Overview
28 EIO0000001486 03/2018
M251 General Overview
EIO0000001486 03/2018 29
M251 General Overview
30 EIO0000001486 03/2018
M251 General Overview
Overview
You can expand the number of I/Os of your M251 Logic Controller by adding TM2 I/O expansion
modules.
The following types of electronic modules are supported:
TM2 digital I/O expansion modules
TM2 analog I/O expansion modules
NOTE: TM2 modules can only be used in the local configuration, and only if there is no TM3
transmitter and receiver modules present in the configuration.
NOTE: It is prohibited to mount a TM2 module before any TM3 module. The TM2 modules must
be mounted and configured at the end of the local configuration.
EIO0000001486 03/2018 31
M251 General Overview
32 EIO0000001486 03/2018
M251 General Overview
EIO0000001486 03/2018 33
M251 General Overview
34 EIO0000001486 03/2018
M251 General Overview
Accessories
Overview
This section describes the accessories and cables.
Accessories
Cables
EIO0000001486 03/2018 35
M251 General Overview
36 EIO0000001486 03/2018
Modicon M251 Logic Controller
M251 Features
EIO0000001486 03/2018
Chapter 2
M251 Features
M251 Features
Overview
This chapter describes the Modicon M251 Logic Controller features.
EIO0000001486 03/2018 37
M251 Features
Overview
The M251 Logic Controller includes an RTC to provide system date and time information, and to
support related functions requiring a real-time clock. To continue keeping time when power is off,
a non-rechargeable battery is required (see reference below). A battery LED on the front panel of
the controller indicates if the battery is depleted or absent.
This table shows how RTC drift is managed:
Battery
The controller has one battery.
In the event of a power interruption, the backup battery maintains the RTC for the controller.
This table shows the characteristics of the battery:
Characteristics Description
Use In the event of a transient power outage, the battery powers the RTC.
Backup life At least 2 years at 25 °C maximum (77 °F). At higher temperatures, the time
is reduced.
Battery monitoring Yes
Replaceable Yes
Controller battery type Lithium carbon monofluoride, type Panasonic BR2032
38 EIO0000001486 03/2018
M251 Features
DANGER
EXPLOSION, FIRE, OR CHEMICAL BURNS
Replace with identical battery type.
Follow all the instructions of the battery manufacturer.
Remove all replaceable batteries before discarding unit.
Recycle or properly dispose of used batteries.
Protect battery from any potential short-circuit.
Do not recharge, disassemble, heat above 100 °C (212 °F), or incinerate.
Use your hands or insulated tools to remove or replace the battery.
Maintain proper polarity when inserting and connecting a new battery.
Failure to follow these instructions will result in death or serious injury.
Step Action
1 Remove power from your controller.
2 Use an insulated screw-driver to pull out the battery holder.
EIO0000001486 03/2018 39
M251 Features
Step Action
4 Remove the battery from the battery holder.
5 Insert the new battery into the battery holder in accordance with the polarity markings on the
battery.
6 Replace the battery holder on the controller and verify that the latch clicks into place.
40 EIO0000001486 03/2018
M251 Features
Step Action
7 Slide in the battery holder of the controller.
NOTE: Replacement of the battery in the controllers other than with the type specified in this
documentation may present a risk of fire or explosion.
WARNING
IMPROPER BATTERY CAN PROVOKE FIRE OR EXPLOSION
Replace battery only with identical type: Panasonic Type BR2032.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
EIO0000001486 03/2018 41
M251 Features
Run/Stop
Run/Stop
The M251 Logic Controller can be operated externally by the following:
a hardware Run/Stop switch
a SoMachine software command.
The M251 Logic Controller has a Run/Stop hardware switch, which puts the controller in a RUN or
STOP state.
42 EIO0000001486 03/2018
M251 Features
SD Card
Overview
When handling the SD card, follow the instructions below to help prevent internal data on the SD
card from being corrupted or lost or a SD card malfunction from occurring:
NOTICE
LOSS OF APPLICATION DATA
Do not store the SD card where there is static electricity or probable electromagnetic fields.
Do not store the SD card in direct sunlight, near a heater, or other locations where high
temperatures can occur.
Do not bend the SD card.
Do not drop or strike the SD card against another object.
Keep the SD card dry.
Do not touch the SD card connectors.
Do not disassemble or modify the SD card.
Use only SD cards formatted using FAT or FAT32.
Failure to follow these instructions can result in equipment damage.
The M251 Logic Controller does not recognize NTFS formatted SD cards. Format the SD card on
your computer using FAT or FAT32.
When using the M251 Logic Controller and a SD card, observe the following to avoid losing
valuable data:
Accidental data loss can occur at any time. Once data is lost it cannot be recovered.
If you forcibly extract the SD card, data on the SD card may become corrupted.
Removing an SD card that is being accessed could damage the SD card, or corrupt its data.
If the SD card is not positioned correctly when inserted into the controller, the data on the card
and the controller could become damaged.
NOTICE
LOSS OF APPLICATION DATA
Backup SD card data regularly.
Do not remove power or reset the controller, and do not insert or remove the SD card while it
is being accessed.
Failure to follow these instructions can result in equipment damage.
EIO0000001486 03/2018 43
M251 Features
It is possible to set the Write-Control Tab to prevent write operations to the SD card. Push the tab
up, as shown in the example on the right-hand side, to release the lock and enable writing to the
SD card. Before using an SD card, read the manufacturer's instructions.
44 EIO0000001486 03/2018
M251 Features
Step Action
1 Insert the SD card into the SD card slot:
EIO0000001486 03/2018 45
M251 Features
TMASD1 Characteristics
Characteristics Description
Card removal durability Minimum 1000 times
File retention time 10 years @ 25 °C (77 °F)
Flash type SLC NAND
Memory size 256 MB
Ambient operation temperature –10 … +85°C (14...185 °F)
Storage temperature –25 … +85°C (–13...185 °F)
Relative humidity 95% max. non-condensing
Write/Erase cycles 3,000,000 (approximately)
NOTE: The TMASD1 has been rigorously tested in association with the logic controller. For other
commercially available cards, consult your local sales representative.
NOTE: The SD card can be used directly on your PC.
46 EIO0000001486 03/2018
Modicon M251 Logic Controller
M251 Installation
EIO0000001486 03/2018
Chapter 3
M251 Installation
M251 Installation
Overview
This chapter provides installation safety guidelines, device dimensions, mounting instructions, and
environmental specifications.
EIO0000001486 03/2018 47
M251 Installation
Section 3.1
M251 Logic Controller General Rules for Implementing
48 EIO0000001486 03/2018
M251 Installation
Environmental Characteristics
Enclosure Requirements
M251 Logic Controller system components are designed as Zone B, Class A industrial equipment
according to IEC/CISPR Publication 11. If they are used in environments other than those
described in the standard, or in environments that do not meet the specifications in this manual,
the ability to meet electromagnetic compatibility requirements in the presence of conducted and/or
radiated interference may be reduced.
All M251 Logic Controller system components meet European Community (CE) requirements for
open equipment as defined by IEC/EN 61131-2. You must install them in an enclosure designed
for the specific environmental conditions and to minimize the possibility of unintended contact with
hazardous voltages. Use metal enclosures to improve the electromagnetic immunity of your M251
Logic Controller system. Use enclosures with a keyed locking mechanism to minimize
unauthorized access.
Environmental Characteristics
All the M251 Logic Controller module components are electrically isolated between the internal
electronic circuit and the input/output channels within the limits set forth and described by these
environmental characteristics. For more information on electrical isolation, see the technical
specifications of your particular controller found later in the current document. This equipment
meets CE requirements as indicated in the table below. This equipment is intended for use in a
Pollution Degree 2 industrial environment.
WARNING
UNINTENDED EQUIPMENT OPERATION
Do not exceed any of the rated values specified in the environmental and electrical characteristics
tables.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
Characteristic Specification
Standard compliance IEC/EN 61131-2
IEC/EN 61010-2-201
Ambient operating temperature Horizontal installation –10...55 °C (14...131 °F)
Vertical installation –10...35 °C (14...95 °F)
Storage temperature –25...70 °C (- 13...158 °F)
Relative humidity Transport and storage 10...95 % (non-condensing)
Operation 10...95 % (non-condensing)
EIO0000001486 03/2018 49
M251 Installation
Characteristic Specification
Degree of pollution IEC/EN 60664-1 2
Degree of protection IEC/EN 61131-2 IP20 with protective covers in place
Machine Safety conformance IEC/EN 61010-2-201 Yes
Corrosion immunity Atmosphere free from corrosive gases
Operating altitude 0...2000 m (0...6560 ft)
Storage altitude 0...3000 m (0...9843 ft)
Vibration resistance IEC/EN 61131-2 3.5 mm (0.13 in) fixed amplitude from
Panel mounting or mounted on 5...8.5 Hz
a top hat section rail (DIN rail) 29.4 m/s2 or 96.45 ft/s2 (3 gn) fixed
acceleration from 8.7...150 Hz
Mechanical shock resistance 147 m/s2 or 482.28 ft/s2 (15 gn) for a duration
of 11 ms
Electromagnetic Susceptibility
The M251 Logic Controller system meets electromagnetic susceptibility specifications as indicated
in the following table:
50 EIO0000001486 03/2018
M251 Installation
EIO0000001486 03/2018 51
M251 Installation
Introduction
The M251 Logic Controllers are designed to conform to the main national and international
standards concerning electronic industrial control devices:
IEC/EN 61131-2
UL 508
CSA 22.2 n° 142
CSA E61131-2
The M251 Logic Controllers have obtained the following conformity marks:
CE
cULus
CSA
For product compliance and environmental information (RoHS, REACH, PEP, EOLI, etc.), go to
www.schneider-electric.com/green-premium.
52 EIO0000001486 03/2018
M251 Installation
Section 3.2
M251 Logic Controller Installation
EIO0000001486 03/2018 53
M251 Installation
Before Starting
Read and understand this chapter before beginning the installation of your system.
The use and application of the information contained herein require expertise in the design and
programming of automated control systems. Only you, the user, machine builder or integrator, can
be aware of all the conditions and factors present during installation and setup, operation, and
maintenance of the machine or process, and can therefore determine the automation and
associated equipment and the related safeties and interlocks which can be effectively and properly
used. When selecting automation and control equipment, and any other related equipment or
software, for a particular application, you must also consider any applicable local, regional or
national standards and/or regulations.
Pay particular attention in conforming to any safety information, different electrical requirements,
and normative standards that would apply to your machine or process in the use of this equipment.
Disconnecting Power
All options and modules should be assembled and installed before installing the control system on
a mounting rail, onto a mounting plate or in a panel. Remove the control system from its mounting
rail, mounting plate or panel before disassembling the equipment.
DANGER
HAZARD OF ELECTRIC SHOCK, EXPLOSION OR ARC FLASH
Disconnect all power from all equipment including connected devices prior to removing any
covers or doors, or installing or removing any accessories, hardware, cables, or wires except
under the specific conditions specified in the appropriate hardware guide for this equipment.
Always use a properly rated voltage sensing device to confirm the power is off where and when
indicated.
Replace and secure all covers, accessories, hardware, cables, and wires and confirm that a
proper ground connection exists before applying power to the unit.
Use only the specified voltage when operating this equipment and any associated products.
Failure to follow these instructions will result in death or serious injury.
54 EIO0000001486 03/2018
M251 Installation
Programming Considerations
WARNING
UNINTENDED EQUIPMENT OPERATION
Only use software approved by Schneider Electric for use with this equipment.
Update your application program every time you change the physical hardware configuration.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
Operating Environment
In addition to the Environmental Characteristics, refer to Product Related Information in the
beginning of the present document for important information regarding installation in hazardous
locations for this specific equipment.
WARNING
UNINTENDED EQUIPMENT OPERATION
Install and operate this equipment according to the conditions described in the Environmental
Characteristics.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
EIO0000001486 03/2018 55
M251 Installation
Installation Considerations
WARNING
UNINTENDED EQUIPMENT OPERATION
Use appropriate safety interlocks where personnel and/or equipment hazards exist.
Install and operate this equipment in an enclosure appropriately rated for its intended
environment and secured by a keyed or tooled locking mechanism.
Use the sensor and actuator power supplies only for supplying power to the sensors or
actuators connected to the module.
Power line and output circuits must be wired and fused in compliance with local and national
regulatory requirements for the rated current and voltage of the particular equipment.
Do not use this equipment in safety-critical machine functions unless the equipment is
otherwise designated as functional safety equipment and conforming to applicable regulations
and standards.
Do not disassemble, repair, or modify this equipment.
Do not connect any wiring to reserved, unused connections, or to connections designated as
No Connection (N.C.).
Failure to follow these instructions can result in death, serious injury, or equipment damage.
NOTE: JDYX2 or JDYX8 fuse types are UL-recognized and CSA approved.
56 EIO0000001486 03/2018
M251 Installation
Introduction
This section describes the correct mounting positions for the M251 Logic Controller.
NOTE: Keep adequate spacing for proper ventilation and to maintain the operating temperature
specified in the Environmental Characteristics (see page 49).
EIO0000001486 03/2018 57
M251 Installation
Minimum Clearances
WARNING
UNINTENDED EQUIPMENT OPERATION
Place devices dissipating the most heat at the top of the cabinet and ensure adequate
ventilation.
Avoid placing this equipment next to or above devices that might cause overheating.
Install the equipment in a location providing the minimum clearances from all adjacent
structures and equipment as directed in this document.
Install all equipment in accordance with the specifications in the related documentation.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
The M251 Logic Controller has been designed as an IP20 product and must be installed in an
enclosure. Clearances must be respected when installing the product.
There are 3 types of clearances to consider:
The M251 Logic Controller and all sides of the cabinet (including the panel door).
The M251 Logic Controller terminal blocks and the wiring ducts to help reduce potential
electromagnetic interference between the controller and the duct wiring.
The M251 Logic Controller and other heat generating devices installed in the same cabinet.
58 EIO0000001486 03/2018
M251 Installation
The following figure shows the minimum clearances that apply to all M251 Logic Controller
references:
EIO0000001486 03/2018 59
M251 Installation
The following illustration and table show the references of the symmetric top hat section rails (DIN
rail) for the metal enclosure range:
60 EIO0000001486 03/2018
M251 Installation
The following illustration and table shows the references of the symmetric top hat section rails (DIN
rail) of 2000 mm (78.74 in.):
NSYSDR200D2 A
1 Unperforated galvanized steel
2 Perforated galvanized steel
EIO0000001486 03/2018 61
M251 Installation
62 EIO0000001486 03/2018
M251 Installation
The following illustration and table show the references of the double-profile top hat section rails
(DIN rail) for the floor-standing range:
EIO0000001486 03/2018 63
M251 Installation
Overview
This section describes how to install and remove the controller with its expansion modules from a
top hat section rail (DIN rail).
To assemble expansion modules to a controller or receiver module, or to other modules, refer to
the respective expansion modules hardware guide(s).
Step Action
1 Fasten the top hat section rail (DIN rail) to a panel surface using screws.
2 Position the top groove of the controller and its expansion modules on the top
edge of the DIN rail and press the assembly against the top hat section rail
(DIN rail) until you hear the top hat section rail (DIN rail) clip snap into place.
64 EIO0000001486 03/2018
M251 Installation
Step Action
3 Place 2 terminal block end clamps on both sides of the controller and
expansion module assembly.
AB1AB8P35
Removing a Controller with its Expansions from a Top Hat Section Rail (DIN Rail)
The following procedure describes how to remove a controller with its expansion modules from a
top hat section rail (DIN rail):
Step Action
1 Remove all power from your controller and expansion modules.
2 Insert a flat screwdriver into the slot of the top hat section rail (DIN rail) clip.
EIO0000001486 03/2018 65
M251 Installation
Overview
This section shows how to install M251 Logic Controller on a panel surface using the mounting
holes.
66 EIO0000001486 03/2018
M251 Installation
Section 3.3
M251 Electrical Requirements
EIO0000001486 03/2018 67
M251 Installation
Overview
This section describes the wiring guidelines and associated best practices to be respected when
using the M251 Logic Controller system.
DANGER
HAZARD OF ELECTRIC SHOCK, EXPLOSION OR ARC FLASH
Disconnect all power from all equipment including connected devices prior to removing any
covers or doors, or installing or removing any accessories, hardware, cables, or wires except
under the specific conditions specified in the appropriate hardware guide for this equipment.
Always use a properly rated voltage sensing device to confirm the power is off where and when
indicated.
Replace and secure all covers, accessories, hardware, cables, and wires and confirm that a
proper ground connection exists before applying power to the unit.
Use only the specified voltage when operating this equipment and any associated products.
Failure to follow these instructions will result in death or serious injury.
WARNING
LOSS OF CONTROL
The designer of any control scheme must consider the potential failure modes of control paths
and, for certain critical control functions, provide a means to achieve a safe state during and
after a path failure. Examples of critical control functions are emergency stop and overtravel
stop, power outage and restart.
Separate or redundant control paths must be provided for critical control functions.
System control paths may include communication links. Consideration must be given to the
implications of unanticipated transmission delays or failures of the link.
Observe all accident prevention regulations and local safety guidelines.1
Each implementation of this equipment must be individually and thoroughly tested for proper
operation before being placed into service.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
1
For additional information, refer to NEMA ICS 1.1 (latest edition), "Safety Guidelines for the
Application, Installation, and Maintenance of Solid State Control" and to NEMA ICS 7.1 (latest
edition), "Safety Standards for Construction and Guide for Selection, Installation and Operation of
Adjustable-Speed Drive Systems" or their equivalent governing your particular location.
68 EIO0000001486 03/2018
M251 Installation
Wiring Guidelines
This rules must be applied when wiring a M251 Logic Controller system:
Communication wiring must be kept separate from the power wiring. Route these 2 types of
wiring in separate cable ducting.
Verify that the operating conditions and environment are within the specification values.
Use proper wire sizes to meet voltage and current requirements.
Use copper conductors (required).
Use twisted pair, shielded cables for networks, and fieldbus.
Use shielded, properly grounded cables for all communication connections. If you do not use
shielded cable for these connections, electromagnetic interference can cause signal degradation.
Degraded signals can cause the controller or attached modules and equipment to perform in an
unintended manner.
WARNING
UNINTENDED EQUIPMENT OPERATION
Use shielded cables for all communication signals.
Ground cable shields for all communication signals at a single point1.
Route communication separately from power cables.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
1Multipoint
grounding is permissible if connections are made to an equipotential ground plane
dimensioned to help avoid cable shield damage in the event of power system short-circuit currents.
For more details, refer to Grounding Shielded Cables (see page 76).
NOTE: Surface temperatures may exceed 60 °C (140 °F). To conform to IEC 61010 standards,
route primary wiring (wires connected to power mains) separately and apart from secondary wiring
(extra low voltage wiring coming from intervening power sources). If that is not possible, double
insulation is required such as conduit or cable gains.
EIO0000001486 03/2018 69
M251 Installation
DANGER
LOOSE WIRING CAUSES ELECTRIC SHOCK
Tighten connections in conformance with the torque specifications.
Do not insert more than one wire per connector of the terminal block unless using the cable
ends (ferrules) specified above.
Failure to follow these instructions will result in death or serious injury.
DANGER
FIRE HAZARD
Use only the correct wire sizes for the current capacity of the power supplies.
Failure to follow these instructions will result in death or serious injury.
70 EIO0000001486 03/2018
M251 Installation
Overview
This section provides the characteristics and the wiring diagrams of the DC power supply.
DANGER
FIRE HAZARD
Use only the correct wire sizes for the current capacity of the I/O channels and power supplies.
For relay output (2 A) wiring, use conductors of at least 0.5 mm2 (AWG 20) with a temperature
rating of at least 80 °C (176 °F).
For common conductors of relay output wiring (7 A), or relay output wiring greater than 2 A,
use conductors of at least 1.0 mm2 (AWG 16) with a temperature rating of at least 80 °C
(176 °F).
Failure to follow these instructions will result in death or serious injury.
WARNING
UNINTENDED EQUIPMENT OPERATION
Do not exceed any of the rated values specified in the environmental and electrical characteristics
tables.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
EIO0000001486 03/2018 71
M251 Installation
WARNING
POTENTIAL OF OVERHEATING AND FIRE
Do not connect the equipment directly to line voltage.
Use only isolating PELV or SELV power supplies to supply power to the equipment1.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
1For
compliance to UL (Underwriters Laboratories) requirements, the power supply must also be
of a type Class 2 with a maximum power output availability of less than 100 VA (approximately 4 A
at nominal voltage). A Class 2 circuit requires dry indoor use only in non-hazardous locations, and
must be grounded. You must separate Class 2 circuits from other circuits. If a non-Class 2 power
source is used, either power supply or transformer, you must impose a current limiting device such
as a fuse or a circuit breaker with a maximum rating of 4 A, but never exceeding the limits indicated
in the electric characteristics and wiring diagrams for this equipment. If the indicated rating of the
electrical characteristics or wiring diagrams are greater than 4 A, multiple Class 2 power supplies
may be used.
Controller DC Characteristics
This table shows the characteristics of the DC power supply required for the controller:
Characteristic Value
Rated voltage 24 Vdc
Power supply voltage range 19.2...28.8 Vdc
Power interruption time 10 ms at 24 Vdc
Maximum inrush current 50 A
Continuous output power 32.6 W max. 40.4 W
Isolation between DC power supply and internal Not isolated
logic
between DC power supply and protective 500 Vac
earth ground (PE)
72 EIO0000001486 03/2018
M251 Installation
Power Interruption
The duration of power interruptions where the M251 Logic Controller is able to continue normal
operation varies depending upon the load to the power supply of the controller, but a minimum of
10 ms is maintained as specified by IEC standards.
When planning the management of the power supplied to the controller, you must consider the
power interruption duration due to the fast cycle time of the controller.
There could potentially be many scans of the logic and consequential updates to the I/O image
table during the power interruption, while there is no external power supplied to the inputs, the
outputs or both depending on the power system architecture and power interruption
circumstances.
WARNING
UNINTENDED EQUIPMENT OPERATION
Individually monitor each source of power used in the controller system including input power
supplies, output power supplies and the power supply to the controller to allow appropriate
system shutdown during power system interruptions.
The inputs monitoring each of the power supply sources must be unfiltered inputs.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
EIO0000001486 03/2018 73
M251 Installation
* Type T fuse
For more information, refer to the 5.08 pitch Rules for Removable Screw Terminal block
(see page 70).
74 EIO0000001486 03/2018
M251 Installation
Overview
To help minimize the effects of electromagnetic interference, cables carrying fieldbus
communication signals must be shielded.
WARNING
UNINTENDED EQUIPMENT OPERATION
Use shielded cables for communication signals.
Ground cable shields for communication signals at a single point 1.
Always comply with local wiring requirements regarding grounding of cable shields.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
1Multipoint
grounding is permissible if connections are made to an equipotential ground plane
dimensioned to help avoid cable shield damage in the event of power system short-circuit currents.
The use of shielded cables requires compliance with the following wiring rules:
For protective ground connections (PE), metal conduit or ducting can be used for part of the
shielding length, provided there is no break in the continuity of the ground connections. For
functional ground (FE), the shielding is intended to attenuate electromagnetic interference and
the shielding must be continuous for the length of the cable. If the purpose is both functional and
protective, as is often the case for communication cables, the cable must have continuous
shielding.
Wherever possible, keep cables carrying one type of signal separate from the cables carrying
other types of signals or power.
EIO0000001486 03/2018 75
M251 Installation
DANGER
HAZARD OF ELECTRIC SHOCK
The grounding terminal connection (PE) must be used to provide a protective ground at all
times.
Make sure that an appropriate, braided ground cable is attached to the PE/PG ground terminal
before connecting or disconnecting the network cable to the equipment.
Failure to follow these instructions will result in death or serious injury.
WARNING
ACCIDENTAL DISCONNECTION FROM PROTECTIVE GROUND (PE)
Do not use the TM2XMTGB Grounding Plate to provide a protective ground (PE).
Use the TM2XMTGB Grounding Plate only to provide a functional ground (FE).
Failure to follow these instructions can result in death, serious injury, or equipment damage.
76 EIO0000001486 03/2018
Modicon M251 Logic Controller
Modicon M251 Logic Controller
EIO0000001486 03/2018
Part II
Modicon M251 Logic Controller
EIO0000001486 03/2018 77
Modicon M251 Logic Controller
78 EIO0000001486 03/2018
Modicon M251 Logic Controller
TM251MESC
EIO0000001486 03/2018
Chapter 4
TM251MESC
TM251MESC
TM251MESC Presentation
Description
This figure shows the different components of the TM251MESC logic controller:
N° Description Refer to
1 Dual port Ethernet switch Ethernet port (see page 94)
2 CANopen port CANopen port
3 Serial line port / Type RJ45 (RS-232 or RS-485) Serial Line (see page 99)
4 Run/Stop switch Run/Stop (see page 42)
5 Status LEDs –
6 TM4 bus connector TM4 Expansion Modules (see page 21)
7 TM3/TM2 bus connector TM3 Expansion Modules (see page 22)
8 SD card slot SD Card (see page 43)
9 USB mini-B programming port / For terminal connection to a USB Mini-B Programming Port
programming PC (SoMachine) (see page 98)
EIO0000001486 03/2018 79
TM251MESC
N° Description Refer to
10 Surface mounting lugs –
11 Clip-on lock for 35 mm (1.38 in.) top hat section rail (DIN-rail) Top Hat Section Rail (see page 60)
12 24 Vdc power supply DC Power supply Characteristics and
Wiring (see page 71)
13 Protective cover (SD card slot and USB mini-B programming –
port)
14 Locking hook (Hook not included) –
15 Battery holder Real Time Clock (RTC) (see page 38)
Status LEDs
This figure shows the status LEDs:
80 EIO0000001486 03/2018
TM251MESC
NOTE: All the LEDs flash when the logic controller is being identified. For more details, refer to the
SoMachine Programming Guide.
EIO0000001486 03/2018 81
TM251MESC
Dimensions
This figures shows the external dimensions of the logic controller:
82 EIO0000001486 03/2018
Modicon M251 Logic Controller
TM251MESE
EIO0000001486 03/2018
Chapter 5
TM251MESE
TM251MESE
TM251MESE Presentation
Description
This figure shows the different components of the TM251MESE logic controller:
N° Description Refer to
1 Dual port Ethernet switch Ethernet port (see page 94)
2 Ethernet port 2 Ethernet ports (see page 96)
3 Serial line port / Type RJ45 (RS-232 or RS-485) Serial Line (see page 99)
4 Run/Stop switch Run/Stop (see page 42)
5 Status LEDs –
6 TM4 bus connector TM4 Expansion Modules (see page 21)
7 TM3/TM2 bus connector TM3 Expansion Modules (see page 22)
8 SD card slot SD Card (see page 43)
9 USB mini-B programming port / For terminal connection to a USB Mini-B Programming Port
programming PC (SoMachine) (see page 98)
EIO0000001486 03/2018 83
TM251MESE
N° Description Refer to
10 Surface mounting lugs –
11 Clip-on lock for 35 mm (1.38 in.) top hat section rail (DIN-rail) Top Hat Section Rail (see page 60)
12 24 Vdc power supply DC Power supply Characteristics and
Wiring (see page 71)
13 Protective cover (SD card slot and USB mini-B programming –
port)
14 Locking hook (Hook not included) –
15 Battery holder Real Time Clock (RTC) (see page 38)
Status LEDs
This figure shows the status LEDs:
84 EIO0000001486 03/2018
TM251MESE
NOTE: All the LEDs flash when the logic controller is being identified. For more details, refer to the
SoMachine Programming Guide.
EIO0000001486 03/2018 85
TM251MESE
Dimensions
This figure shows the external dimensions of the logic controller:
86 EIO0000001486 03/2018
Modicon M251 Logic Controller
Modicon M251 Logic Controller Communication
EIO0000001486 03/2018
Part III
Modicon M251 Logic Controller Communication
EIO0000001486 03/2018 87
Modicon M251 Logic Controller Communication
88 EIO0000001486 03/2018
Modicon M251 Logic Controller
Integrated Communication Ports
EIO0000001486 03/2018
Chapter 6
Integrated Communication Ports
EIO0000001486 03/2018 89
Integrated Communication Ports
CAN Port
CANopen Capabilities
The Modicon M251 Logic Controller CANopen master has the following features:
Feature Description
Maximum number of slaves on the bus 63 CANopen slave devices
Maximum length of CANopen fieldbus cables According to the CAN specification (see Transmission
Speed and Cable Length (see page 93)).
Maximum number of PDOs managed by the master 252 TPDOs + 252 RPDOs
WARNING
UNINTENDED EQUIPMENT OPERATION
Do not connect more than 63 CANopen slave devices to the controller to avoid system overload
watchdog condition.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
NOTICE
DEGRADATION OF PERFORMANCE
Do not exceed more than 252 TPDOs and 252 RPDOs for the Modicon M251 Logic Controller.
Failure to follow these instructions can result in equipment damage.
90 EIO0000001486 03/2018
Integrated Communication Ports
J1939 Capabilities
NOTE: J1939 capabilities are available with the J1939 Add-on for SoMachine 4.3.
The Modicon M251 Logic Controller J1939 master has the following features:
Feature Description
Maximum number of ECUs (slaves) on the Limited only by the address range of 0...253 for Electronic
bus Control Units (ECUs).
Maximum length of J1939 fieldbus cables According to the CAN specification (see Transmission Speed
and Cable Length (see page 93)). For J1939, the CAN bus
must be configured to run at 250 Kbps.
Maximum number of PGNs managed by the Given implicitly by the maximum number of input bits (%I) and
master output bits (%Q) available on the Modicon M251 Logic
Controller: 4096 input bits and 4096 output bits. This results in
a maximum of 512 single-packet PGNs (most PGNs are
single-packet, containing 8 bytes of data).
For each additional ECU with approximately 10 configured (single frame) Parameter Group
Numbers (PGNs):
the application size increases by an average of 15 Kbytes. This figure includes the memory
consumed by implicitly-generated variables for configured Suspected Parameter Numbers
(SPNs). This application size increase could result in exceeding memory limits.
the number of input bits (%I) used on the logic controller increases in proportion to the number
and size of PGNs configured as "TX Signals" in a non-local ECU or "RX Signals" in a local ECU.
the number of output bits (%Q) used on the logic controller increases in proportion to the number
and size of PGNs configured as "TX Signals" in a local ECU.
NOTE: Thoroughly test your application regarding the number of configured J1939 ECUs
connected to the controller, and the number of PGNs configured on each ECU, to avoid a system
overload watchdog condition or performance degradation.
For more information, refer to J1939 Interface Configuration (see Modicon M251 Logic Controller,
Programming Guide).
EIO0000001486 03/2018 91
Integrated Communication Ports
WARNING
UNINTENDED EQUIPMENT OPERATION
Do not connect wires to unused terminals and/or terminals indicated as “No Connection (N.C.)”.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
92 EIO0000001486 03/2018
Integrated Communication Ports
EIO0000001486 03/2018 93
Integrated Communication Ports
Ethernet Port
Overview
The M251 Logic Controller is equipped with Ethernet communications ports:
Characteristics
This table describes the different Ethernet characteristics:
Characteristic Description
Function Modbus TCP/IP, SoMachine protocol, EtherNet I/P
Connector type RJ45
Auto negotiation from 10 M half duplex to 100 M full duplex
Cable type Shielded
Automatic cross-over detection Yes
Pin Assignment
This figure shows the RJ45 Ethernet connector pin assignment:
Pin N° Signal
1 TD+
2 TD-
3 RD+
4 -
5 -
6 RD-
7 -
8 -
94 EIO0000001486 03/2018
Integrated Communication Ports
NOTE: The controller supports the MDI/MDIX auto-crossover cable function. It is not necessary to
use special Ethernet crossover cables to connect devices directly to this port (connections without
an Ethernet hub or switch).
NOTE: Ethernet cable disconnection is detected every second. In case of disconnection of a short
duration (< 1 second), the network status may not indicate the disconnection.
Status LED
This figure shows RJ45 connectors status LED:
EIO0000001486 03/2018 95
Integrated Communication Ports
Ethernet Ports
The TM251MESE has two different Ethernet networks. Each has its own unique IP and MAC
addresses.
The two Ethernet networks are called Ethernet 1 and Ethernet 2:
Ethernet 1 is made of two switched Ethernet ports dedicated to communication between
machines or with the control network.
Ethernet 2 is made of one Ethernet port dedicated to the device network and supporting
industrial Ethernet connections.
A Control network
B Device network
1 Logic controller (see SoMachine Industrial Ethernet, User Guide)
2 Daisy-chained slaves
3 Ethernet switch
4 I/O island (Modbus TCP)
5 Vision sensor (EtherNet/IP)
6 PC and HMI (TCP/UDP)
2, 4, and 5 Industrial Ethernet slave devices (EtherNet/IP / Modbus TCP)
96 EIO0000001486 03/2018
Integrated Communication Ports
EIO0000001486 03/2018 97
Integrated Communication Ports
Overview
The USB Mini-B Port is the programming port you can use to connect a PC with a USB host port
using SoMachine software. Using a typical USB cable, this connection is suitable for quick updates
of the program or short duration connections to perform maintenance and inspect data values. It
is not suitable for long-term connections such as commissioning or monitoring without the use of
specially adapted cables to help minimize electromagnetic interference.
WARNING
UNINTENDED EQUIPMENT OPERATION OR INOPERABLE EQUIPMENT
You must use a shielded USB cable such as a BMX XCAUSBH0•• secured to the functional
ground (FE) of the system for any long-term connection.
Do not connect more than one controller at a time using USB connections.
Do not use the USB port(s), if so equipped, unless the location is known to be non-hazardous.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
Characteristics
This table describes the characteristics of the USB Mini-B programming port:
98 EIO0000001486 03/2018
Integrated Communication Ports
Serial Line
Overview
The serial line:
Can be used to communicate with devices supporting the Modbus protocol as either master or
slave, ASCII protocol (printer, modem...) and SoMachine Protocol (HMI,...).
provides a 5 Vdc power distribution.
Characteristics
Characteristic Description
Function RS485 or RS232 software configured
Connector type RJ45
Isolation Non-isolated
Maximum baud rate 1200 up to 115 200 bps
Cable Type Shielded
Maximum length (between the controller 15 m (49 ft) for RS485
and an isolated junction box) 3 m (9.84 ft) for RS232
Polarization Software configuration is used to connect when
the node is configured as a master.
560 Ω resistors are optional.
5 Vdc power supply for RS485 Yes
EIO0000001486 03/2018 99
Integrated Communication Ports
NOTE: Some devices provide voltage on RS485 serial connections. Do not connect these voltage
lines to your controller as they may damage the controller serial port electronics and render the
serial port inoperable.
NOTICE
INOPERABLE EQUIPMENT
Use only the VW3A8306R•• serial cable to connect RS485 devices to your controller.
Failure to follow these instructions can result in equipment damage.
Pin Assignment
The following figure shows the pins of the RJ45 connector:
WARNING
UNINTENDED EQUIPMENT OPERATION
Do not connect wires to unused terminals and/or terminals indicated as “No Connection (N.C.)”.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
Status LED
This table describes the serial line status LED:
Chapter 7
Connecting the M251 Logic Controller to a PC
Overview
To transfer, run, and monitor the applications, connect the controller to a computer, that has
SoMachine installed, using either a USB cable or an Ethernet connection (for those references that
support an Ethernet port).
NOTICE
INOPERABLE EQUIPMENT
Always connect the communication cable to the PC before connecting it to the controller.
Failure to follow these instructions can result in equipment damage.
WARNING
INSUFFICENT POWER FOR USB DOWNLOAD
Do not use a USB cable longer than 3m (9.8 ft) for USB powered download.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
NOTE: It is not intended that you use the USB Powered Download on an installed controller.
Depending on the number of I/O expansion modules in the physical configuration of the installed
controller, there may be insufficient power from your PC USB port to accomplish the download.
WARNING
UNINTENDED EQUIPMENT OPERATION OR INOPERABLE EQUIPMENT
You must use a shielded USB cable such as a BMX XCAUSBH0•• secured to the functional
ground (FE) of the system for any long-term connection.
Do not connect more than one controller at a time using USB connections.
Do not use the USB port(s), if so equipped, unless the location is known to be non-hazardous.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
The communication cable should be connected to the PC first to minimize the possibility of
electrostatic discharge affecting the controller.
To connect the USB cable to your controller, follow the steps below:
Step Action
1 1a If making a long-term connection using the cable BMXXCAUSBH018, or other cable with a
ground shield connection, be sure to securely connect the shield connector to the functional
ground (FE) or protective ground (PE) of your system before connecting the cable to your
controller and your PC.
1b If making a short-term connection using the cable TCSXCNAMUM3P or other non-grounded
USB cable, proceed to step 2.
2 Connect your USB cable to the computer.
3 Open the hinged access cover.
4 Connect the Mini connector of your USB cable to the controller USB connector.
Step Action
1 Connect the Ethernet cable to the PC.
2 Connect the Ethernet cable to either of the Ethernet 1 ports on the controller.
Glossary
A
application
A program including configuration data, symbols, and documentation.
ASCII
(American standard code for Information Interchange) A protocol for representing alphanumeric
characters (letters, numbers, certain graphics, and control characters).
B
bps
(bit per second) A definition of transmission rate, also given in conjunction with multiplicator kilo
(kbps) and mega (mbps).
C
CANopen
An open industry-standard communication protocol and device profile specification (EN 50325-4).
CFC
(continuous function chart) A graphical programming language (an extension of the IEC 61131-3
standard) based on the function block diagram language that works like a flowchart. However, no
networks are used and free positioning of graphic elements is possible, which allows feedback
loops. For each block, the inputs are on the left and the outputs on the right. You can link the block
outputs to the inputs of other blocks to create complex expressions.
configuration
The arrangement and interconnection of hardware components within a system and the hardware
and software parameters that determine the operating characteristics of the system.
continuous function chart language
A graphical programming language (an extension of the IEC61131-3 standard) based on the
function block diagram language that works like a flowchart. However, no networks are used and
free positioning of graphic elements is possible, which allows feedback loops. For each block, the
inputs are on the left and the outputs on the right. You can link the block outputs to inputs of other
blocks to create complex expressions.
controller
Automates industrial processes (also known as programmable logic controller or programmable
controller).
D
DIN
(Deutsches Institut für Normung) A German institution that sets engineering and dimensional
standards.
E
EIA rack
(electronic industries alliance rack) A standardized (EIA 310-D, IEC 60297, and DIN 41494
SC48D) system for mounting various electronic modules in a stack or rack that is 19 inches
(482.6 mm) wide.
EN
EN identifies one of many European standards maintained by CEN (European Committee for
Standardization), CENELEC (European Committee for Electrotechnical Standardization), or ETSI
(European Telecommunications Standards Institute).
F
FBD
(function block diagram) One of 5 languages for logic or control supported by the standard IEC
61131-3 for control systems. Function block diagram is a graphically oriented programming
language. It works with a list of networks, where each network contains a graphical structure of
boxes and connection lines, which represents either a logical or arithmetic expression, the call of
a function block, a jump, or a return instruction.
FE
(functional Earth) A common grounding connection to enhance or otherwise allow normal
operation of electrically sensitive equipment (also referred to as functional ground in North
America).
In contrast to a protective Earth (protective ground), a functional earth connection serves a purpose
other than shock protection, and may normally carry current. Examples of devices that use
functional earth connections include surge suppressors and electromagnetic interference filters,
certain antennas, and measurement instruments.
H
HE10
Rectangular connector for electrical signals with frequencies below 3 MHz, complying with IEC
60807-2.
I
I/O
(input/output)
IEC
(international electrotechnical commission) A non-profit and non-governmental international
standards organization that prepares and publishes international standards for electrical,
electronic, and related technologies.
IEC 61131-3
Part 3 of a 3-part IEC standard for industrial automation equipment. IEC 61131-3 is concerned with
controller programming languages and defines 2 graphical and 2 textual programming language
standards. The graphical programming languages are ladder diagram and function block diagram.
The textual programming languages include structured text and instruction list.
IL
(instruction list) A program written in the language that is composed of a series of text-based
instructions executed sequentially by the controller. Each instruction includes a line number, an
instruction code, and an operand (refer to IEC 61131-3).
instruction list language
A program written in the instruction list language that is composed of a series of text-based
instructions executed sequentially by the controller. Each instruction includes a line number, an
instruction code, and an operand (see IEC 61131-3).
IP 20
(ingress protection) The protection classification according to IEC 60529 offered by an enclosure,
shown by the letter IP and 2 digits. The first digit indicates 2 factors: helping protect persons and
for equipment. The second digit indicates helping protect against water. IP 20 devices help protect
against electric contact of objects larger than 12.5 mm, but not against water.
L
ladder diagram language
A graphical representation of the instructions of a controller program with symbols for contacts,
coils, and blocks in a series of rungs executed sequentially by a controller (see IEC 61131-3).
LD
(ladder diagram) A graphical representation of the instructions of a controller program with symbols
for contacts, coils, and blocks in a series of rungs executed sequentially by a controller (refer to
IEC 61131-3).
M
master/slave
The single direction of control in a network that implements the master/slave mode.
Modbus
The protocol that allows communications between many devices connected to the same network.
N
NEMA
(national electrical manufacturers association) The standard for the performance of various
classes of electrical enclosures. The NEMA standards cover corrosion resistance, ability to help
protect from rain, submersion, and so on. For IEC member countries, the IEC 60529 standard
classifies the ingress protection rating for enclosures.
P
PDO
(process data object) An unconfirmed broadcast message or sent from a producer device to a
consumer device in a CAN-based network. The transmit PDO from the producer device has a
specific identifier that corresponds to the receive PDO of the consumer devices.
PE
(Protective Earth) A common grounding connection to help avoid the hazard of electric shock by
keeping any exposed conductive surface of a device at earth potential. To avoid possible voltage
drop, no current is allowed to flow in this conductor (also referred to as protective ground in North
America or as an equipment grounding conductor in the US national electrical code).
program
The component of an application that consists of compiled source code capable of being installed
in the memory of a logic controller.
R
RJ45
A standard type of 8-pin connector for network cables defined for Ethernet.
RPDO
(receive process data object An unconfirmed broadcast message or sent from a producer device
to a consumer device in a CAN-based network. The transmit PDO from the producer device has a
specific identifier that corresponds to the receive PDO of the consumer devices.
RS-485
A standard type of serial communication bus, based on 2 wires (also known as EIA RS-485).
RxD
The line that receives data from one source to another.
S
SFC
(sequential function chart) A language that is composed of steps with associated actions,
transitions with associated logic condition, and directed links between steps and transitions. (The
SFC standard is defined in IEC 848. It is IEC 61131-3 compliant.)
ST
(structured text) A language that includes complex statements and nested instructions (such as
iteration loops, conditional executions, or functions). ST is compliant with IEC 61131-3.
T
terminal block
(terminal block) The component that mounts in an electronic module and provides electrical
connections between the controller and the field devices.
TPDO
(transmit process data object) An unconfirmed broadcast message or sent from a producer device
to a consumer device in a CAN-based network. The transmit PDO from the producer device has a
specific identifier that corresponds to the receive PDO of the consumer devices.
TxD
The line that sends data from one source to another.
Index
A F
accessories, 35 features
analog input modules key features, 16
specifications, 26
analog mixed I/O modules
specifications, 28 G
analog output modules Grounding, 75
specifications, 27
I
C Installation, 47
CANopen communication, 90 Electrical Requirements, 67
certifications and standards, 52 Logic Controller Installation, 53
communication intended use, 6
CANopen, 90
Communication Ports, 89
Ethernet Port, 94 J
Serial Line 1, 99 J1939
USB Programming Port, 98 capabilities, 91
connections
to CANopen slaves, 90
to J1939 ECUs, 91 L
Logic Controller Installation
Installation, 53
D
digital I/O modules
specifications, 22, 23, 25, 31, 32 M
Digital I/O modules M251
Specifications, 32 TM251MESC, 79
TM251MESE, 83
mounting positions, 57
E
ECUs, max. number of J1939, 91
Electrical Requirements N
Installation, 67 notice
Electromagnetic Susceptibility, 50 loss of application data, 43
Environmental Characteristics, 49
P
PGNs, max. number of J1939, 91
Power Supply, 71
presentation
U
USB Programming Port
TM251MESC, 79
Communication Ports, 98
TM251MESE, 83
programming languages
IL, LD, grafcet, 16
W
wiring, 68
Q
qualification of personnel, 6
R
real time clock, 38
regular inputs, 22, 23, 25
regular transistor outputs, 22, 23, 25
relay outputs, 22, 23, 25
Run/Stop, 42
S
SD Card, 43
Serial Line 1
Communication Ports, 99
specifications
analog input modules, 26
analog mixed I/O modules, 28
analog output modules, 27
digital I/O modules, 22, 23, 25, 31
Specifications
Digital I/O modules, 32, 32
specifications
modules, 28
transmitter and receiver modules, 30
T
Tesys modules
specifications, 28
transmitter and receiver modules
specifications, 30