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.
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.
35012676 10/20195
Page 6
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.
BEFORE YOU BEGIN
Do not use this product on machinery lacking effective point-of-operation guarding. Lack of
effective point-of-operation guarding on a machine can result in serious injury to the operator of
that machine.
UNGUARDED EQUIPMENT
Do not use this software and related automation equipment on equipment which does not have
point-of-operation protection.
Do not reach into machinery during operation.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
This automation equipment and related software is used to control a variety of industrial processes.
The type or model of automation equipment suitable for each application will vary depending on
factors such as the control function required, degree of protection required, production methods,
unusual conditions, government regulations, etc. In some applications, more than one processor
may be required, as when backup redundancy is needed.
Only you, the user, machine builder or system integrator can be aware of all the conditions and
factors present during setup, operation, and maintenance of the machine and, therefore, can
determine the automation equipment and the related safeties and interlocks which can be properly
used. When selecting automation and control equipment and related software for a particular
application, you should refer to the applicable local and national standards and regulations. The
National Safety Council's Accident Prevention Manual (nationally recognized in the United States
of America) also provides much useful information.
In some applications, such as packaging machinery, additional operator protection such as pointof-operation guarding must be provided. This is necessary if the operator's hands and other parts
of the body are free to enter the pinch points or other hazardous areas and serious injury can occur.
Software products alone cannot protect an operator from injury. For this reason the software
cannot be substituted for or take the place of point-of-operation protection.
WARNING
635012676 10/2019
Page 7
Ensure that appropriate safeties and mechanical/electrical interlocks related to point-of-operation
protection have been installed and are operational before placing the equipment into service. All
interlocks and safeties related to point-of-operation protection must be coordinated with the related
automation equipment and software programming.
NOTE: Coordination of safeties and mechanical/electrical interlocks for point-of-operation
protection is outside the scope of the Function Block Library, System User Guide, or other
implementation referenced in this documentation.
START-UP AND TEST
Before using electrical control and automation equipment for regular operation after installation,
the system should be given a start-up test by qualified personnel to verify correct operation of the
equipment. It is important that arrangements for such a check be made and that enough time is
allowed to perform complete and satisfactory testing.
EQUIPMENT OPERATION HAZARD
Verify that all installation and set up procedures have been completed.
Before operational tests are performed, remove all blocks or other temporary holding means
used for shipment from all component devices.
Remove tools, meters, and debris from equipment.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
Follow all start-up tests recommended in the equipment documentation. Store all equipment
documentation for future references.
Software testing must be done in both simulated and real environments.
Verify that the completed system is free from all short circuits and temporary grounds that are not
installed according to local regulations (according to the National Electrical Code in the U.S.A, for
instance). If high-potential voltage testing is necessary, follow recommendations in equipment
documentation to prevent accidental equipment damage.
Before energizing equipment:
Remove tools, meters, and debris from equipment.
Close the equipment enclosure door.
Remove all temporary grounds from incoming power lines.
Perform all start-up tests recommended by the manufacturer.
WARNING
35012676 10/20197
Page 8
OPERATION AND ADJUSTMENTS
The following precautions are from the NEMA Standards Publication ICS 7.1-1995 (English
version prevails):
Regardless of the care exercised in the design and manufacture of equipment or in the selection
and ratings of components, there are hazards that can be encountered if such equipment is
improperly operated.
It is sometimes possible to misadjust the equipment and thus produce unsatisfactory or unsafe
operation. Always use the manufacturer’s instructions as a guide for functional adjustments.
Personnel who have access to these adjustments should be familiar with the equipment
manufacturer’s instructions and the machinery used with the electrical equipment.
Only those operational adjustments actually required by the operator should be accessible to
the operator. Access to other controls should be restricted to prevent unauthorized changes in
operating characteristics.
835012676 10/2019
Page 9
About the Book
At a Glance
Document Scope
This manual describes the hardware installation of the Modicon M340 PLCs and installation of their
main accessories.
This document is also valid for the Modicon M340H PLCs and their accessories.
Validity Note
This documentation is valid for EcoStruxure™ Control Expert 14.1 or later.
You need Modicon M340 firmware 2.4 or later.
The technical characteristics of the devices described in the present document also appear online.
To access the information online:
StepAction
1Go to the Schneider Electric home page
2In the Search box type the reference of a product or the name of a product range.
3If you entered a reference, go to the Product Datasheets search results and click on the
4If more than one reference appears in the Products search results, click on the reference that
5Depending on the size of your screen, you may need to scroll down to see the datasheet.
6To save or print a datasheet as a .pdf file, click Download XXX product datasheet.
www.schneider-electric.com
Do not include blank spaces in the reference or product range.
To get information on grouping similar modules, use asterisks (
reference that interests you.
If you entered the name of a product range, go to the Product Ranges search results and click
on the product range that interests you.
interests you.
.
*
).
The characteristics that are presented in the present document 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 document
and online information, use the online information as your reference.
35012676 10/20199
Page 10
Related Documents
Title of documentationReference number
Modicon M580, M340, and X80 I/O Platforms,
Standards and Certifications
Modicon X80 Racks and Power Supplies, Hardware,
Reference Manual
EcoStruxure™ Control Expert, Program Languages
and Structure, Reference Manual
EcoStruxure™ Control Expert, Operating Modes33003101 (English),
You can download these technical publications and other technical information from our website
www.schneider-electric.com/en/download
at
.
Product Related Information
WARNING
UNINTENDED EQUIPMENT OPERATION
The application of this product requires expertise in the design and programming of control
systems. Only persons with such expertise should be allowed to program, install, alter, and apply
this product.
Follow all local and national safety codes and standards.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
1035012676 10/2019
Page 11
ModiconM340
ModiconM340 PLCs
35012676 10/2019
ModiconM340 PLCs
Part I
Modicon M340 PLCs
Subject of this Part
This part provides a general overview of the Modicon M340 PLC configurations and the various
sub-assemblies, as well as the networks and field buses used.
What Is in This Part?
This part contains the following chapters:
ChapterChapter NamePage
1Introduction to Modicon M340 PLC Stations13
2General Introduction to PLC Station Components15
3General Introduction to PLC Networks31
4Operating Standards and Conditions35
35012676 10/201911
Page 12
Modicon M340 PLCs
12
35012676 10/2019
Page 13
ModiconM340
Introduction to ModiconM340 PLC Stations
35012676 10/2019
Introduction to ModiconM340 PLC Stations
Chapter 1
Introduction to Modicon M340 PLC Stations
Modicon M340 PLC Station
General
Modicon M340 automated platform processors manage the entire PLC station, which is made up
of discrete I/O modules, analog I/O modules, counting modules, discrete I/O modules, analog I/O
modules, other expert modules, and communication modules. These are distributed across one or
more racks connected on the local bus. Each rack must include a power supply module; the main
rack supports the CPU.
Illustration
The following diagram shows a configuration example for the Modicon M340 PLC with one rack:
35012676 10/201913
Page 14
Introduction to Modicon M340 PLC Stations
Number Table
The following table describes the numbered components of the PLC station above.
NumberDescription
1Power supply module
2Processor
320-pin terminal block I/O module
440-pin single connector I/O module
540-pin 2-connector I/O module
6Counting module
78-slot rack
14
35012676 10/2019
Page 15
ModiconM340
General Introduction to PLC station components
35012676 10/2019
General Introduction to PLC Station C omponents
Chapter 2
General Introduction to PLC Station Components
Subject of this Section
This section provides a general overview of the various components of which a PLC station may
consist.
What Is in This Chapter?
This chapter contains the following topics:
General Introduction to Processors16
General Introduction to Racks17
General Introduction to Power Supply Modules18
General Introduction to Rack Extender Module19
General Introduction to Input/Output Modules20
General Introduction to Counting Modules23
General Introduction to Communication25
Grounding of Installed Modules26
Modicon M340H (Hardened) Processors, Modules and Equipment28
TopicPage
35012676 10/201915
Page 16
General Introduction to PLC station components
General Introduction to Processors
General
Each PLC station is equipped with a processor, chosen according to the following characteristics:
processing power (number of inputs/outputs managed)
memory capacity
communication ports
For further information, please refer to
Introduction to BMX P34 xxxx Processors, page 39
).
16
35012676 10/2019
Page 17
General Introduction to Racks
General
There are various sizes of racks. The following list presents the quantity of slots available for the
CPU and modules for each rack reference:
4 slots: BMXXBP0400(H) or BMEXBP0400(H)
6 slots: BMXXBP0600(H)
8 slots: BMXXBP0800(H) or BMEXBP0800(H)
12 slots: BMXXBP1200(H) or BMEXBP1200(H)
racks with redundant power supplies:
Each rack includes one extra slot that is reserved for the power supply module, and one slot on the
right is reserved for the BMXXBE1000 rack extender module.
For further information, refer to the chapter
Racks and Power Supplies, Hardware Reference Manual)
Representation of the Racks
The following diagram shows the BMXXPB0400 rack:
General Introduction to PLC station components
Modicon X80 Racks Description (see Modicon X80,
.
35012676 10/201917
Page 18
General Introduction to PLC station components
General Introduction to Power Supply Modules
General
Each rack requires one power supply module defined according to the distributed network
(alternating or direct current) and the power necessary at rack level.
For further information, refer to the chapter
(see Modicon X80, Racks and Power Supplies, Hardware Reference Manual)
Illustration
The following illustration shows a BMXCPS•••• power supply module:
Modicon X80 Power Supply Modules Description
.
18
35012676 10/2019
Page 19
General Introduction to Rack Extender Module
General
This module allows connecting a maximum of 4 chained racks, depending on the CPU, distributed
along a maximum length of 30 meters.
For further information, refer to chapter
Racks and Power Supplies, Hardware Reference Manual)
Illustration
Illustration of the BMXXBE1000 rack extender module:
BMXXBE1000 Rack Extender Module (see Modicon X80,
General Introduction to PLC station components
.
35012676 10/201919
Page 20
General Introduction to PLC station components
General Introduction to Input/Output Modules
General
The Modicon M340 range includes discrete and analog input/output modules.
Discrete Input/Output
A wide range of discrete input/output modules enables you to select the module best suited to your
needs. The characteristics of these modules differ as follows:
Modules with direct current inputs (24 VCC and 48 VCC)
Modules with alternating current inputs (24 VCA, 48 VCA
and 120 VCA)
Modules with relay outputs
Modules with direct current static outputs (24 VCC / 0.1 A
- 0.5 A - 3 A)
Modules with alternating current static outputs (24 VCC /
240 VAC / 3 A)
20-pin terminal blocks
40-pin connectors allowing connection to sensors and pre-
actuators by means of the TELEFAST 2 prewiring system
20
The following illustration shows a discrete input/output modules with 40-pin connectors:
35012676 10/2019
Page 21
The following illustration shows a discrete input/output module with a 20-pin terminal block:
Analog Inputs/Outputs
A wide range of analog input/output modules enables you to select the module best suited to your
needs. The characteristics of these modules differ as follows:
CharacteristicsDescription
Modularity
Performance and Range of Signals Offered
Type of Connector
General Introduction to PLC station components
2 channels
4 channels
Voltage/current
Thermocouple
Thermowell
20-pin terminal blocks
40-pin connectors allowing connection to
sensors and pre-actuators by means of
the TELEFAST 2 prewiring system
35012676 10/201921
Page 22
General Introduction to PLC station components
The following illustration shows an analog input/output module with one 40-pin connector:
The following illustration shows an analog input/output module with 20-pin terminal block:
22
35012676 10/2019
Page 23
General Introduction to Counting Modules
General
The PLCs in the Modicon M340 range offer counting functions (downcounting, counting,
counting/downcounting) by utilizing the application-specific counting modules.
Two counting modules are offered:
BMX EHC 0200 module with two counting channels and a maximum acquisition frequency of
60 kHz
BMX EHC 0800 module with eight counting channels and a maximum acquisition frequency of
10 kHz
Illustration
The following illustration shows a BMX EHC 0200 counting module:
General Introduction to PLC station components
35012676 10/201923
Page 24
General Introduction to PLC station components
The following illustration shows a BMX EHC 0800 counting module:
24
35012676 10/2019
Page 25
General Introduction to Communication
General
PLCs from the Modicon M340 range can be used in different communication modes:
USB
Serial
Ethernet
CANopen
AS-Interface
General Introduction to PLC station components
35012676 10/201925
Page 26
General Introduction to PLC station components
Grounding of Installed Modules
General
The grounding of Modicon M340 modules is crucial to avoid electric shock.
Grounding Processors and Power Supplies
HAZARD OF ELECTRIC SHOCK, EXPLOSION OR ARC FLASH
Ensure ground connection contacts are present and not bent out of shape. If they are, do not use
the module and contact your Schneider Electric representative.
Failure to follow these instructions will result in death or serious injury.
UNINTENDED EQUIPMENT OPERATION
Tighten the clamping screws of the modules. A break in the circuit could lead to an unexpected
behavior of the system.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
DANGER
WARNING
26
35012676 10/2019
Page 27
General Introduction to PLC station components
All Modicon M340 modules are equipped with ground connection contacts at the rear for grounding
purposes:
These contacts connect the grounding bus of the modules to the grounding bus of the rack.
35012676 10/201927
Page 28
General Introduction to PLC station components
Modicon M340H (Hardened) Processors, Modules and Equipment
At a Glance
Hardened equipment can operate in extended temperature ranges and harsher environments
compared to standard M340 equipment.
NOTE: For more information, refer to chapter
(see Modicon M580, M340, and X80 I/O Platforms, Standards and Certifications)
“H” Equipment
The follow equipment are available in Hardened versions:
This section provides a general overview of PLC networks.
What Is in This Chapter?
This chapter contains the following topics:
General Introduction to the Modbus Protocol32
General Introduction to an Ethernet Network33
General Introduction to the CANopen Field Bus34
TopicPage
35012676 10/201931
Page 32
General Introduction to PLC Networks
General Introduction to the Modbus Protocol
General
The Modbus protocol creates a hierarchical structure (one master and several slaves).
The master manages all exchanges according to two types of dialog:
the master exchanges with a slave and awaits the response
the master exchanges with all slaves without awaiting a response (broadcast queries).
Illustration
The following illustration shows a Modbus network:
32
35012676 10/2019
Page 33
General Introduction to an Ethernet Network
General
Ethernet communication essentially targets applications of:
coordination between PLCs
local or centralized monitoring
communication with the production management information system
communication with remote inputs/outputs
Acting as an agent, Ethernet communication also supports management of the network monitoring
standard SNMP.
Illustration
The following illustration shows an Ethernet network:
General Introduction to PLC Networks
35012676 10/201933
Page 34
General Introduction to PLC Networks
General Introduction to the CANopen Field Bus
General
The CANopen structure consists of:
a bus master
slave devices, also called nodes
Bus operation is point to point. At any time, each device can send a request on the bus and the
affected devices answer.
Bus request priority is calculated by an identifier in each message.
Illustration
The following example illustrates a CANopen field bus architecture:
34
35012676 10/2019
Page 35
ModiconM340
Operating Standards an d Conditions
35012676 10/2019
Operating Standards an d Conditions
Chapter 4
Operating Standards and Conditions
Standards and Certifications
Download
Click the link that corresponds to your preferred language to download standards and certifications
(PDF format) that apply to the modules in this product line:
TitleLanguages
Modicon M580, M340, and X80 I/O Platforms,
Standards and Certifications
This part describes the BMX P34 •••• processors and their installation.
What Is in This Part?
This part contains the following chapters:
ChapterChapter NamePage
5Introduction to BMX P34 xxxx Processors39
6General Characteristics of the BMX P34 xxxx Processors57
7Installation of BMX P34 xxxx Processors73
8BMX P34 xxxx Processors Diagnostics85
9Processor Performance97
35012676 10/201937
Page 38
BMX P34 •••• Processors
38
35012676 10/2019
Page 39
ModiconM340
Introduction to BMX P34 xxxx Processors
35012676 10/2019
Introduction to BMX P34 xxxx Processors
Chapter 5
Introduction to BMX P34 xxxx Processors
Subject of this Section
This section describes the BMX P34 •••• processors.
What Is in This Chapter?
This chapter contains the following topics:
General Introduction40
Physical Description of BMX P34 xxxx Processors43
USB Link45
Modbus Link46
CANopen Link48
Ethernet Link50
BMX P34 xxxxx Processors Catalog53
Real-Time Clock54
TopicPage
35012676 10/201939
Page 40
Introduction to BMX P34 xxxx Processors
General Introduction
Introduction
A wide range of BMX P34 ••••• processors, with increasing performance and capability, are
available to respond to various needs.
General
BMX P34 ••••• processors can be installed onto Modicon X80 racks.
Functions
BMX P34 ••••• processors manage the entire PLC station, which includes the following elements:
discrete input/output modules
analog input/output modules
other expert modules
communication modules.
40
35012676 10/2019
Page 41
Illustration
The figure below shows a processor-managed architecture:
Introduction to BMX P34 xxxx Processors
The following table gives the numbered components of the configuration above.
NumberDesignation
1Power supply module
2Processor
320-pin terminal block module
440-pin single connector module
540-pin twin connector module
6Counting module
7Rack
35012676 10/201941
Page 42
Introduction to BMX P34 xxxx Processors
Processor product references
The following diagram shows the location of the product references on the side of the processor:
Main Characteristics of the BMX P34 ••••• Processors
The following table shows the main characteristics of the BMX P34 ••••• processors.
ProcessorGlobal maximum
number of
discrete
inputs/outputs
BMX P34 10005121282048 KbX--
BMX P34 200010242564096 KbX--
BMX P34 2010/20
102
BMX P34 202010242564096 KbX-X
BMX P34 2030/20
302
Key
X Available
- Not available
42
10242564096 KbXX-
10242564096 Kb-XX
Global
maximum
number of
analog
inputs/outputs
Maximum
memory size
Modbus
Connection
Integrated
CANopen
Master
Connection
Integrated
Ethernet
Connection
35012676 10/2019
Page 43
Physical Description of BMX P34 xxxx Processors
General
The BMX P34 •••• processors differ according to the various components they include.
Illustration
The following diagrams identify the various components of a BMX P34 •••• processor:
Introduction to BMX P34 xxxx Processors
35012676 10/201943
Page 44
Introduction to BMX P34 xxxx Processors
Description
The following table shows the components of a BMX P34 •••• processor.
NumberFunction
1Display panel
2USB port
3Memory card protection port
4Serial port
5Serial port identification ring (black)
6Ethernet port
7Ethernet port identification ring (green)
8CANopen port
44
35012676 10/2019
Page 45
USB Link
General
All processors have a USB link.
Description
Two connection cables are available to connect a human-machine interface to the processor USB
port:
BMX XCA USB 018, 1.8 m (5.91 ft) in length
BMX XCA USB 045, 4.5 m (14.76 ft) in length
Both of these cables are fitted with a connector at each end:
Type A USB: connects to the console
Type mini B USB: connects to the processor
In fixed assembly with an XBT type console connected to the processor via the USB port, you are
advised to connect the USB cable to the shielding connection kit
Power Supplies, Hardware Reference Manual)
NOTE: When using the M340, it is strongly recommended to use a USB 2.0 shielded cable
following the USB international standard. The cables BMX XCA USB 018 and BMX XCA USB 045
are designed for this type of use and avoid unexpected behavior of the PLC. Those cables are
shielded and tested against electrical noises.
Introduction to BMX P34 xxxx Processors
(see Modicon X80, Racks and
.
35012676 10/201945
Page 46
Introduction to BMX P34 xxxx Processors
Modbus Link
General
The following processors have a built-in communication channel dedicated to serial
communication, and support communication via a Modbus link:
The following table describes the characteristics of the serial communication channels:.
CharacteristicDescription
Channel numberChannel 0
Protocols supported
ConnectionRJ45 female connector
Physical link
Modbus protocol (ASCII and RTU)
Character Mode protocol
RS 485 non-insulated serial link
RS 232 non-insulated serial link
46
The following illustration shows the RJ45 serial port:
35012676 10/2019
Page 47
Introduction to BMX P34 xxxx Processors
The following table shows the pin assignment of the serial port for the BMX P34 xxxxx processors:
The RJ45 connector has eight pins. The pins used differ according to the physical link used.
The pins used by the RS 232 serial link are as follows:
Pin 1: RXD signal
Pin 2: TXD signal
Pin 3: RTS signal
Pin 6: CTS signal
The pins used by the RS 485 serial link are as follows:
Pin 4: D1 signal
Pin 5: D0 signal
Pins 7 and 8 are dedicated to the power supply of the man-machine interface via the serial link:
Pin 7: 5 VDC/190 mA network power supply
Pin 8: common of the network power supply (0 V)
NOTE: The RS 232 4-wire, RS 485 2-wire, and RS 485 2-wire and power supply cables all use the
same RJ45 male connector.
35012676 10/201947
Page 48
Introduction to BMX P34 xxxx Processors
CANopen Link
Introduction
The following processors have a built-in communication channel dedicated to CANopen
communication,and support communication via CANopen link:
BMX P34 2010/20102,
BMX P34 2030/20302.
Introduction to the CANopen Port
The following illustration shows the position of the BMX P34 2030 processor’s CANopen port:
48
35012676 10/2019
Page 49
CANopen Connectors
The CANopen port of the processor module is fitted with a SUB-D9 connection.
The following illustration shows the processor CANopen port and the pins labels:
The following table shows the pin assignment of the CANopen link.
PinSignalDescription
1-Reserved
2CAN_LCAN_L bus line (low dominant)
3CAN_GNDCAN ground
4-Reserved
5ReservedOptional CAN protection
6(GND)Optional ground
7CAN_HCAN_H bus line (high dominant)
8-Reserved
9ReservedPositive external CAN power supply
Introduction to BMX P34 xxxx Processors
(dedicated to the power supply of optocouplers and
transmitters/receivers)
Optional
NOTE: CAN_SHLD and CAN_V+ are not installed on the Modicon M340 range processors. These
are reserved connections.
35012676 10/201949
Page 50
Introduction to BMX P34 xxxx Processors
Ethernet Link
General
The following processors have a built-in communication channel dedicated to Ethernet
communication, with 2 rotary switches which enable easy selection of the IP address processor.
BMX P34 2020,
BMX P34 2030/20302.
NOTE: These processors have only one IP address.
Introduction to the Ethernet Port
The following illustration shows the processor of the RJ45 Ethernet port:
The following illustration shows the pin assignment of the Ethernet port:
Introduction to the MAC address
The MAC address is located on the front panel of the processor below the processor display panel.
50
35012676 10/2019
Page 51
Introduction to the Rotary Switches
This processor operates as a single node on an Ethernet and possibly other networks. The module
must have a unique IP address. The 2 rotary switches on the back of the module provide a simple
way to select an IP address:
NOTE: Set the arrow firmly into the desired position. If you do not feel the switch click into place,
the value of the switch may be incorrect or undetermined.
Each rotary switch position that you can use to set a valid IP address is marked on the module.
The following information summarizes the valid address settings:
device name: for a switch-set device name, select a numeric value from 00 to 159. You can use
both switches:
On the upper switch (TENS digit), the available settings are 0 to 15
On the lower switch (ONES digit), the available settings are 0 to 9.
For example, a BMX P34 2020 processor with the switch setting in the above figure is assigned
the DHCP device name BMX_2020_123.
The selection on the lower switch of any non-numeric parameter (BOOTP, STORED, CLEAR
IP, DISABLED) makes the setting on the upper switch inconsequential.
BOOTP: To get an IP address from a BOOTP server, select either of the two BOOTP positions
on the bottom switch.
STORED: The device uses the application’s configured (stored) parameters.
CLEAR IP: The device uses the default IP parameters.
DISABLED: The device does not respond to communications.
The functionality of the rotary switch when used in conjunction with the IP Configuration tab
(see Modicon M340 for Ethernet, Communications Modules and Processors, User Manual)
discussed throughout the IP Address chapter
Modules and Processors, User Manual)
Introduction to BMX P34 xxxx Processors
is
(see Modicon M340 for Ethernet, Communications
.
35012676 10/201951
Page 52
Introduction to BMX P34 xxxx Processors
Switch Labels
To assist you in setting the rotary switches to their proper positions, a label is affixed to the right
side of the module. The switch settings are described in this table:
Upper Switch
0 to 9: Tens value for the device name
(0, 10, 20 . . . 90)
10(A) to 15(F): Tens value for the
device name (100, 110, 120 . . . 150)
Lower Switch
0 to 9: Ones value for the device name
(0, 1, 2...9)
Bootp: Set the switch to A or B to
receive an IP address from a BOOTP
server.
Stored: Set the switch to C or D to use
the application’s configured (stored)
parameters.
Clear IP: Set the switch to E to use the
default IP parameters.
Disabled: Set the switch to F to disable
communications.
52
35012676 10/2019
Page 53
BMX P34 xxxxx Processors Catalog
Introduction
The choice of BMX P34 xxxxx processor is made, primarily, according to its characteristics and
possibilities.
BMX P34 xxxxx Processors Catalog
The following table describes the important maximum characteristics of the BMX P34 xxxxx
processors.
Legend1 The AS-i field bus requires at least PLC Operating System V2.10.
Discrete rack
inputs/outputs
Analog
inputs/outputs
Expert
channels
(counting, PTO,
MPS, NOM,
etc.)
Embedded
Serial port
Embedded
Ethernet port
Embedded
CANopen port
Network
communication
(TCP/IP)
AS-i fieldbus
communication
User
application
5121024102410241024
128256256256256
2036363636
1111-
---11
--1-1
23333
1
24444
2048 Kb4096 Kb4096 Kb4096 Kb4096 Kb
BMX P34 2020 BMX P34 2030
/20302
35012676 10/201953
Page 54
Introduction to BMX P34 xxxx Processors
Real-Time Clock
Introduction
Each BMX P34 xxxxx processor has a real-time clock which manages:
The current date and time
The date and time of the last application shut-down
When power of the processor is turned off, the real-time clock continues counting during four
weeks. This duration is guarantied for a temperature below 45°C (113°F). At a higher temperature
this duration is reduced. No maintenance is requested for a real-time clock back up.
Current Date and Time
The processor updates the current date and time in the system words %SW49...%SW53 and %SW70.
This data is in BCD (Binary Coded Decimal).
System WordMost Significant ByteLeast Significant Byte
%SW49
%SW50
%SW51
%SW52
%SW53
%SW70
00Days of the week in the range of values
Seconds (0 - 59)00
Hours (0 - 23)Minutes (0 - 59)
Month (1 - 12)Days of the month (1 - 31)
Century (0 - 99)Year (0 - 99)
1 - 7 (1 for Monday and 7 for Sunday)
Week (1 - 52)
Accessing the Date and Time
You can access the date and time as follows:
through the processor debug screen.
with the program:
Reading system words: %SW49 - %SW53 if the system bit %S50 is at 0,
immediate update: writing system words %SW50 to %SW53 if the system bit %S50 is at 1,
incremental update: writing the system word %SW59. With this word the date and time can be
set field by field from the current value (if the system bit %S59 is at 1), or an overall
increment/decrement can be done.
The following table shows the function performed by each bit in the word %SW59.
Bit RangeFunction
0Increments the day of the week
1Increments the seconds
2Increments the minutes
3Increments the hours
54
35012676 10/2019
Page 55
Bit RangeFunction
4Increments the days
5Increments the months
6Increments the years
7Increments the centuries
8Decrements the day of the week
9Decrements the seconds
10Decrements the minutes
11Decrements the hours
12Decrements the days
13Decrements the months
14Decrements the years
15Decrements the centuries
NOTE: The function is performed when the corresponding bit %S59 is at 1.
NOTE: The processor does not automatically manage Daylight Savings Time.
Date and Time of the Last Application Shutdown
The date and time of the last application shutdown are in BCD in the system words %SW54 - %SW58.
Introduction to BMX P34 xxxx Processors
System Word Most Significant ByteLeast Significant Byte
%SW54
%SW55
%SW56
%SW57
%SW58
Seconds (0 to 59)00
Hours (0 to 23)Minutes (0 to 59)
Month (1 to 12)Days of the month (1 to 31)
Century (0 to 99)Year (0 to 99)
Day of the week (1 to 7)Reason for the last application shutdown
The reason for the last application shutdown can be accessed by reading the least significant byte
of the system word %SW58 (value in BCD) which can have the following values.
Word value %SW58Meaning
1Application switched to STOP mode.
2Application stopped by watchdog.
4Power loss or memory card lock operation.
5Stop on hardware fault.
6Stop on software fault (HALT instruction, SFC errors,
35012676 10/201955
application CRC check fail, undefined system function call,
etc). Details on the software fault type are stored in %SW125.
Page 56
Introduction to BMX P34 xxxx Processors
56
35012676 10/2019
Page 57
ModiconM340
General Characteristics of the BMXP34 •••• Processors
35012676 10/2019
General Characteristics of the BMXP34 xxxx Processors
Chapter 6
General Characteristics of the BMX P34 xxxx Processors
Subject of this Section
This section describes the general characteristics of the BMX P34 •••• processors used during
installation.
What Is in This Chapter?
This chapter contains the following topics:
Electrical Characteristics of the BMX P34 xxxxx Processors58
General Characteristics of the BMX P34 1000 Processor60
General Characteristics of the BMX P34 2000 Processor62
General Characteristics of the BMX P34 2010/20102 Processors64
General Characteristics of the BMX P34 2020 Processor66
General Characteristics of the BMX P34 2030/20302 Processor68
Characteristics of the BMX P34 xxxxx Processor Memory70
TopicPage
35012676 10/201957
Page 58
General Characteristics of the BMX P34 •••• Processors
Electrical Characteristics of the BMX P34 xxxxx Processors
General
The processors can support certain devices which do not have their own power supply. It is,
therefore, necessary to take the power consumption of these devices into account when
establishing the overall power consumption breakdown.
Processor Power Consumption
The following table shows the power consumption for all the BMX P34 xxxxx processors with no
connected devices.
ProcessorAverage Consumption
BMX P34 100072 mA
BMX P34 200072 mA
BMX P34 2010/2010290 mA
BMX P34 202095 mA
BMX P34 2030/20302135 mA
NOTE: The processor power consumption values are measured at the 24 V_BAC output of the
power supply module, which is the only power supply output used by the processors.
NOTE: When a device consumes power on the processor serial port connection, its power needs
to be added to the power consumed by the processor. The power supplied by the serial port is
5 VCC/190 mA.
58
NOTICE
IMPROPER POWER SUPPLY
Only use network power-supplied devices tested by Schneider Electric.
Failure to follow these instructions can result in equipment damage.
NOTE: It is possible to use network power-supplied devices not tested by Schneider Electric.
However, their operation is not guaranteed. For further information, please contact your Schneider
sales office.
35012676 10/2019
Page 59
Processor Dissipated Power
The following table shows the average dissipated power for all the BMX P34 xxxxx processors with
no connected devices.
ProcessorAverage Dissipated Power
BMX P34 10001.7 W
BMX P34 20001.7 W
BMX P34 2010/201022.2 W
BMX P34 20202.3 W
BMX P34 2030/203023.2 W
General Characteristics of the BMX P34 •••• Processors
35012676 10/201959
Page 60
General Characteristics of the BMX P34 •••• Processors
General Characteristics of the BMX P34 1000 Processor
General
The characteristics of the BMX P34 1000 processor are presented below.
Ruggedized Version
The BMX P34 1000H (hardened) equipment is the ruggedized version of the BMX P34 1000
(standard) equipment. It can be used at extended temperatures and in harsh chemical
environments.
For more information, refer to chapter
M580, M340, and X80 I/O Platforms, Standards and Certifications)
Altitude Operating Conditions
The characteristics apply to the modules BMX P34 1000, and BMX P34 1000H for use at altitude
up to 2000 m (6560 ft). When the modules operate above 2000 m (6560 ft), apply additional
derating.
For detailed information, refer to chapter
M340, and X80 I/O Platforms, Standards and Certifications)
Installation in More Severe Environments (see Modicon
Operating and Storage Conditions (see Modicon M580,
.
.
60
35012676 10/2019
Page 61
BMX P34 1000 Processor Characteristics
The following table shows the general characteristics of the BMX P34 1000 processor.
CharacteristicAvailable
Operating TemperatureBMX P34 10000...+60 °C (+32...+140 °F)
One basic digital instruction0.25 μs (theoretical)
One floating point instruction1.74 μs (theoretical)
Discrete rack inputs/outputs512
Analog rack inputs/outputs128
Expert channels20
Ethernet channels2
AS-I Field Bus2
Simultaneous communication EF8
USB1
Embedded Serial Modbus link port 1
Embedded CANopen master port -
Embedded Ethernet port-
100% Boolean5.4 Kins/ms (1)
65% Boolean + 35% digital4.2 Kins/ms (1)
General Characteristics of the BMX P34 •••• Processors
(1) Kins: 1024 instructions (list), theoretical
35012676 10/201961
Page 62
General Characteristics of the BMX P34 •••• Processors
General Characteristics of the BMX P34 2000 Processor
General
The characteristics of the BMX P34 2000 processor are presented below.
Altitude Operating Conditions
The characteristics apply to the module BMX P34 2000 for use at altitude up to 2000 m (6560 ft).
When the module operates above 2000 m (6560 ft), apply additional derating.
For detailed information, refer to chapter
M340, and X80 I/O Platforms, Standards and Certifications)
Operating and Storage Conditions (see Modicon M580,
.
62
35012676 10/2019
Page 63
BMX P34 2000 Processor Characteristics
The following table shows the general characteristics of the BMX P34 2000 processor.
General Characteristics of the BMX P34 •••• Processors
(1) Kins: 1024 instructions (list)
35012676 10/201963
Page 64
General Characteristics of the BMX P34 •••• Processors
General Characteristics of the BMX P34 2010/20102 Processors
Altitude Operating Conditions
The characteristics apply to the modules BMX P34 2010, and BMX P34 20102 for use at altitude
up to 2000 m (6560 ft). When the modules operate above 2000 m (6560 ft), apply additional
derating.
For detailed information, refer to chapter
M340, and X80 I/O Platforms, Standards and Certifications)
Operating and Storage Conditions (see Modicon M580,
.
64
35012676 10/2019
Page 65
BMX P34 2010/20102 Processors Characteristics
The following table shows the general characteristics of the BMX P34 2010/20102 processors.
General Characteristics of the BMX P34 •••• Processors
BMX P34 20102: 4
(1) Kins: 1024 instructions (list)
NOTE: Expert mode function is available for BMX P34 20102 processors.
35012676 10/201965
Page 66
General Characteristics of the BMX P34 •••• Processors
General Characteristics of the BMX P34 2020 Processor
General
The characteristics of the BMX P34 2020 processor are presented below.
Ruggedized Version
The BMX P34 2020H (hardened) equipment is the ruggedized version of the BMX P34 2020
(standard) equipment. It can be used at extended temperatures and in harsh chemical
environments.
For more information, refer to chapter
M580, M340, and X80 I/O Platforms, Standards and Certifications)
Altitude Operating Conditions
The characteristics apply to the modules BMX P34 2020, and BMX P34 2020H for use at altitude
up to 2000 m (6560 ft). When the modules operate above 2000 m (6560 ft), apply additional
derating.
For detailed information, refer to chapter
M340, and X80 I/O Platforms, Standards and Certifications)
Installation in More Severe Environments (see Modicon
Operating and Storage Conditions (see Modicon M580,
.
.
66
35012676 10/2019
Page 67
BMX P34 2020 Processor Characteristics
The following table shows the general characteristics of the BMX P34 2020 processor.
CharacteristicAvailable
Operating TemperatureBMX P34 20200...+60 °C (+32...+140 °F)
General Characteristics of the BMX P34 •••• Processors
(1) Kins: 1024 instructions (list)
35012676 10/201967
Page 68
General Characteristics of the BMX P34 •••• Processors
General Characteristics of the BMX P34 2030/20302 Processor
Ruggedized Version
The BMX P34 20302H (hardened) equipment is the ruggedized version of the BMX P34 20302
(standard) equipment. It can be used at extended temperatures and in harsh chemical
environments.
For more information, refer to chapter
M580, M340, and X80 I/O Platforms, Standards and Certifications)
Altitude Operating Conditions
The characteristics apply to the modules BMX P34 2030, BMX P34 20302, and BMX P34 20302H
for use at altitude up to 2000 m (6560 ft). When the modules operate above 2000 m (6560 ft), apply
additional derating.
For detailed information, refer to chapter
M340, and X80 I/O Platforms, Standards and Certifications)
Installation in More Severe Environments (see Modicon
.
Operating and Storage Conditions (see Modicon M580,
.
68
35012676 10/2019
Page 69
BMX P34 2030/20302 Processor Characteristics
The following table shows the general characteristics of the BMX P34 2030/20302 processor.
CharacteristicAvailable
Operating TemperatureBMX P34 2030/203020...+60 °C (+32...+140 °F)
NOTE: To use State RAM configuration you need Modicon M340 firmware 2.4 or later.
NOTE: When changing the processor type from a BMX P34 2xxx to a BMX P34 1000, remove the
unavailable features (DFBs, EFBs...) in the sections and in the data editor too (Purge Unused FB
Instances, Purge Unused Types, Purge Unused Private Data Instance if needed). Otherwise the
application can't be built.
35012676 10/201971
Page 72
General Characteristics of the BMX P34 •••• Processors
72
35012676 10/2019
Page 73
ModiconM340
Installation of BMX P34 •••• Processor s
35012676 10/2019
Installation of BMX P34 xxxx Process ors
Chapter 7
Installation of BMX P34 xxxx Processors
Subject of this Section
This section deals with the installation of BMX P34 •••• processors and memory extension cards.
What Is in This Chapter?
This chapter contains the following topics:
Fitting of Processors74
Memory Cards for BMX P34 xxxxx Processors76
TopicPage
35012676 10/201973
Page 74
Installation of BMX P34 •••• Processors
Fitting of Processors
At a Glance
BMX P34 xxxxx processors are powered by the rack bus.
Fitting operations (installation, assembly, and disassembly) are described below.
Installation Precautions
A BMX P34 xxxxx processor is always installed on the rack in slot marked 00.
Before installing a module, you must take off the protective cap from the module connector located
on the rack.
HAZARD OF ELECTRIC SHOCK
Disconnect all power sources before installing the processor.
Failure to follow these instructions will result in death or serious injury.
Installation
The following illustration shows a BMX P34 2010 processor mounted on a BMX XBP 0800 rack:
DANGER
74
The following table describes the different elements which make up the assembly below.
NumberDescription
1Processor
2Standard rack
35012676 10/2019
Page 75
Installation of BMX P34 •••• Processors
Installing the Processor on the Rack
The following table presents the procedure for installing a processor on a rack.
StepActionIllustration
WARNING
UNEXPECTED EQUIPMENT OPERATION
Ensure that the correct memory card is installed before plugging a new processor on the rack. An
incorrect card could lead to unexpected system behavior.
Refer to %SW97 to check the status of the card.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
1Verify that power is OFF and make
sure that the memory card is correct.
2Position the locating pins situated at
the rear of the module (on the bottom
part) in the corresponding slots in the
rack.
Note: Before positioning the pins,
make sure that you have removed the
protective cover.
3Swivel the module towards the top of
the rack so that the module sits flush
with the back of the rack. It is now set
in position.
The following illustration describes steps 1 and 2:
4Tighten the mounting screw to ensure
that the module is held in place on the
rack.
Tightening torque: 0.4...1.5 N•m
(0.30...1.10 lbf-ft).
35012676 10/201975
The following illustration describes step 3:
Page 76
Installation of BMX P34 •••• Processors
Memory Cards for BMX P34 xxxxx Processors
General
All BMX P34 •••• processors require a memory card.
Memory Card Slot
The following illustration shows the memory card slot on a BMX P34 •••• processor with a
protective cover in place:
76
WARNING
UNEXPECTED EQUIPMENT OPERATION
Ensure that the protective cover is closed when the processor is running to maintain enclosure
environmental ratings.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
35012676 10/2019
Page 77
Memory Card Description
Only Schneider memory cards are compatible with BMX P34 •••• processors.
Schneider memory cards use Flash technology and do not require a battery. These cards can
support about 100,000 write/delete cycles (typical).
Three models of memory card are available:
The BMX RMS 008MP card, used to save application and Web pages.
The BMX RMS 008MPF card, used to save applications and Web pages as well as to store user
files created by the application with the file management function blocks (or files transferred
through FTP). The available size for user files in the file system partition is 8 MB (Data Storage
area).
The BMX RMS 128MPF card, used to save applications and Web pages as well as to store user
files created by the application with the file management function blocks (or files transferred
through FTP). The available size for user files in the file system partition is 128 MB (Data
Storage area).
NOTE: The web pages are Schneider Electric pages and cannot be modified.
NOTE: The BMX RMS 008MP card is supplied with each processor, the other ones must be
ordered separately.
Memory Card Characteristics
The following table shows the main characteristics of the memory cards.
NOTE: The size shown above for the Data Storage area is the maximum recommended size for
user files, although file storage is still possible until the global file system partition is full. The risk
of going over this recommended maximum is that sufficient free space may not be available for a
firmware upgrade, in this case it would be necessary to delete some user files.
35012676 10/201977
Page 78
Installation of BMX P34 •••• Processors
The compatibility of the two memory cards is as follows:
BMX RMS 008MP card compatible with all processors.
BMX RMS 008MPF and BMX RMS 128MPF cards compatible with the following processors:
NOTE: The memory card is formatted for use with Schneider Electric products. Do not attempt to
use or format the card in any other tool. Doing so will prevent program and data transfer usage in
a Modicon M340 PLC.
NOTE: For further information about the memory structure of the memory cards, see the Memory
Structure of Modicon M340 PLCs
Structure, Reference Manual)
NOTE: For further information about Ethernet services provided by memory cards, see the
Modicon M340 Memory cards
Processors, User Manual)
Memory Card Access LED
A memory card access LED is included on all Modicon M340 processors. This LED informs the
user of the memory card’s status for its removal.
The following illustration shows the physical location of the memory card access LED:
(see EcoStruxure™ Control Expert, Program Languages and
page.
(see Modicon M340 for Ethernet, Communications Modules and
page in the Ethernet Communication part.
78
35012676 10/2019
Page 79
This LED is green and has several different states:
On: the card is recognized and the processor has access to it,
Flashing: the LED goes off each time the processor accesses it and comes on again at the end
of access,
Off: the card may be removed as the processor has no access to it.
NOTE: A rising edge on the bit %S65 finishes the current actions, disables access to the card, then
switches off the CARDAC LED. As soon as this LED is off, the card can be removed.
NOTE: The memory card access LED is only visible if the cover is open.
NOTE: The red CARDERR LED shows that either the memory card is in error or the memorized
application is different from the one processed by the processor. It is located near the top of the
processor front panel.
LED States on Power Cycle
The following table presents the different states of the PLC, memory card access LED and
CARDERR LED on a power cycle or a PLC reset.
Installation of BMX P34 •••• Processors
PLC/memory card
behavior
No memory card-No configurationOFFON
Memory card not OK-No configurationOFFON
Memory card without
project
Memory card with a
non-compatible project
Memory card with a
compatible project
Memory card with a
compatible project
-No configurationONON
-No configurationONON
Error detected
when the restore
project from
memory card to
the PLC RAM
No Error when the
restore project
from memory card
to the PLC RAM
PLC stateMemory
card access
LED
No configurationFlashing
during
transfer
Finally ON
Flashing
during
transfer
Finally ON
CARDERR
LED
ON
ON durring
transfer
Finally OFF
35012676 10/201979
Page 80
Installation of BMX P34 •••• Processors
Memory Card Insertion Procedure
The following illustration shows the procedure for inserting a memory card into a BMX P34 ••••
processor.
StepDescriptionIllustration
WARNING
UNEXPECTED EQUIPMENT OPERATION
Ensure that the correct memory card is installed before plugging a new processor on the rack. An
incorrect card could lead to unexpected system behavior.
Refer to %SW97 to check the status of the card.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
1Open the processor’s protective cover by
pulling the cover towards you.
Opening the cover:
2Insert the memory card into its slot by
pushing it right in.
Result: The card should now be clipped
into its slot.
Note: Insertion of the memory card does
not force an application restore.
3Close the memory card protective cover.
80
Inserting the memory card:
35012676 10/2019
Page 81
Memory Card Removal Procedure
Before removing a memory card, a rising edge on bit %S65 has to be generated to ensure the
information consistency. When the CARDAC LED is off, then it is possible to extract the card.
There is a risk of inconsistency or loss of data if the extraction is done without the management of
the bit %S65. The following illustration shows the procedure for removing a memory card from a
BMX P34 •••• processor.
StepDescriptionIllustration
1Open the processor’s protective cover by
pulling the cover towards you.
Opening the cover:
Installation of BMX P34 •••• Processors
2Push the memory card in its slot.
Result: The card should unclip from its slot.
3Remove the card from its slot.
Note: The CARDERR LED is on when the
memory card is removed from the
processor.
4Close the protective cover.
35012676 10/201981
Pushing the memory card in its slot:
Removing the memory card:
Page 82
Installation of BMX P34 •••• Processors
Update an Application
Before removing a memory card, a rising edge on bit %S65 has to be generated to ensure the
information consistency. When the CARDAC LED is off, then it is possible to extract the card.
There is a risk of inconsistency or loss of data if the extraction is done without the management of
the bit %S65.The following table shows the procedure for updating an application in a processor
using a master memory card.
StepDescription
1Put the PLC in STOP.
2Set bit %S65 to 1 and check that the CARDAC LED is off.
3Remove the currently used memory card, which includes the old application.
4Insert the master memory card in the the processor.
5Press the RESET button on the power supply.
Result: the new application is transferd to internal RAM.
6Remove the master memory card.
7Insert the memory card with the old application in the the processor.
8Do a backup command.
9Put the PLC in RUN mode.
Protect an Application
%SW146-147: those 2 system words contain the unique SD card serial number (32bits). If there is
not an SD card or an unrecognized SD card, the 2 system words are set to 0. This information can
be used to protect an application against duplication: the application is able to check the value of
serial number and can go to halt (or other convenient action) if it is different from the initial one.
Thus, this application cannot run on a different SD card.
With Control Expert, the application must be read-protected. To do that, uncheck the Upload
information in the Project settings.
NOTE: to enforce the protection, you can encrypt the value of the serial number used in the
comparison.
NOTE: the complete SD card identification comprises several parameters including the product
serial number (32bits).
82
35012676 10/2019
Page 83
Precautions
To keep the memory card in normal working order, the following precautions should be taken:
Avoid removing the memory card from its slot when the processor is accessing it (green access
Avoid touching the memory card connectors.
Keep the memory card away from electrostatic and electromagnetic sources as well as heat,
Avoid impacts to the memory card.
Before sending a memory card by post, check the postal service’s security policy. In some
If a card is extracted without generating a rising edge of the bit %S65 and without checking that
Installation of BMX P34 •••• Processors
LED on or flashing).
sunlight, water, and moisture.
countries the postal service exposes mail to high levels of radiation, as a security measure.
These high levels of radiation may erase the contents of the memory card and render it
unusable.
the CARDAC LED is off, there is a risk of loss of data (file, application).
35012676 10/201983
Page 84
Installation of BMX P34 •••• Processors
84
35012676 10/2019
Page 85
ModiconM340
BMXP34 • ••• Processors D iagnostics
35012676 10/2019
BMXP34 xxxx Processors Diagnostics
Chapter 8
BMX P34 xxxx Processors Diagnostics
Subject of this Section
This section deals with BMX P34 •••• processors’ diagnostics.
What Is in This Chapter?
This chapter contains the following topics:
Display86
Searching for Errors Using the Processor Status LEDs91
Blocking Errors92
Non-Blocking Errors94
Processor or System Errors96
TopicPage
35012676 10/201985
Page 86
BMX P34 •••• Processors Diagnostics
Display
Introduction
There are several LEDs available on the front panel of each processor, enabling rapid diagnosis
of the PLC status.
These LEDs provide information on:
PLC functioning
the memory card
communication with the modules
serial communication
communication on the CANopen network
communication on the Ethernet network
Illustration
The following diagram shows the physical location of the LEDs on the front panel of a
BMX P34 ••••• processor:
BMX P34 1000/2000 Processors LEDs
The following diagram shows the diagnostic LEDs on the BMX P34 1000/2000 processors:
86
35012676 10/2019
Page 87
BMX P34 2010 Processor LEDs
The following diagram shows the diagnostic LEDs on the BMX P34 2010 processor:
BMX P34 2020 Processor LEDs
The following diagram shows the diagnostic LEDs on the BMX P34 2020 processor. Note that two
displays exist, depending on whether you are using V1 or V2 (or greater) of the processor.
BMX P34 •••• Processors Diagnostics
BMX P34 2030 Processor LEDs
The following diagram shows the diagnostic LEDs on the BMX P34 2030 processor. Note that two
displays exist, depending on whether you are using V1 or V2 (or greater) of the processor.
Memory Card Access LED
There is also a memory card access LED
35012676 10/201987
(see page 78)
on each BMX P34 ••••• processor.
Page 88
BMX P34 •••• Processors Diagnostics
Description
The following table describes the meaning of RUN, ERR, I/O, SER COM, CARDERR, CAN RUN,
CAN ERR, ETH STS and CARDAC LED on the front panel.
LabelPatternIndication
RUN (green): operational
state
onPLC functioning normally, program running
flashingPLC in STOP mode or blocked by a software detected error
offPLC not configured (absent, invalid, or incompatible application)
ERR (red): detected erroronProcessor or system detected error
flashing
PLC not configured (absent, invalid or incompatible application)
PLC blocked by a software detected error
offNormal status (no internal detected errors)
I/O (red): input/output
status
on
Input/output detected error originating from a module or channel
Configuration detected error
offNormal status (no internal detected errors)
SER COM (yellow): serial
data status
flashingData exchange on the serial connection in progress (receiving or
sending)
offNo data exchange on the serial connection
CARDERR (red): memory
card detected error
For further information, see
project backup
management for
Modicon M340 PLCs
(see EcoStruxure™
Control Expert, Operating
on Memory card absent
Memory card not recognized
Memory card content differs from the application saved in the
processor
off
Memory card recognized
Memory card content identical to the application saved in the
processor
Modes)
CAN RUN (green):
CANopen operations
onCANopen network operational
rapid flashing (on
for 50 ms, off for
Automatic detection of data flow or LSS services in progress
(alternates with CAN ERR)
50 ms, repeating)
slow flashing (on
CANopen network pre-operational
for 200 ms, off for
200 ms, repeating)
1 flashCANopen network stopped
3 flashesdownloading CANopen firmware
88
35012676 10/2019
Page 89
LabelPatternIndication
CAN ERR (red): CANopen
detected errors
onCANopen bus stopped
rapid flashing (on
for 50 ms, off for
Automatic detection of data flow or LSS services in progress
(alternates with CAN RUN)
50 ms, repeating)
slow flashing (on
CANopen configuration not valid
for 200 ms, off for
200 ms, repeating)
1 flashAt least one of the detected error counters has reached or
exceeded the alert level
2 flashesA guard event (NMT-slave or NMT-master) or a heartbeat event
has taken place
3 flashesThe SYNC message was not received before the end of the
communication cycle period
offNo CANopen detected error
offNo communication activity
ETH STS (green): Ethernet
communication status
onCommunication OK
2 flashesInvalid MAC address
3 flashesEthernet link not connected
4 flashesDuplicate IP address
5 flashesWaiting for a server IP address
6 flashesSecure and safe mode (with default IP address)
7 flashesConfiguration conflict between rotary switches and internal
configuration
CARDAC (green): memory
card access
Note: This LED is located
under the memory card
door.
onAccess to the card is enabled
flashingActivity on the card; during each access, the card LED is set to
OFF, then back to ON
offAccess to the card is disabled. It is possible to extract the card after
the access to the card has been disabled by generating a rising
edge on the bit %S65.
BMX P34 •••• Processors Diagnostics
35012676 10/201989
Page 90
BMX P34 •••• Processors Diagnostics
The following table describes the meaning of the ETH ACT and ETH 100 LED on the front panel
for V1.
LabelPatternIndication
ETH ACT (green): Ethernet
communication
(transmission/reception)
activity
ETH 100 (green): Ethernet
transmission speed
onEthernet link detected: no communications activity.
offNo Ethernet link detected.
flashingEthernet link and communications activity detected.
onEthernet transmission at 100 Mbit/s (Fast Ethernet).
offEthernet transmission at 10 Mbit/s (Ethernet) or no link detected.
The following table describes the meaning of the ETH ACT and ETH LNK LED on the front panel
for V2.
LabelPatternIndication
ETH ACT (green): Ethernet
communication
(transmission/reception)
activity
ETH LNK (green): Ethernet
link status
onCommunication activity detected.
offNo communication activity detected.
onEthernet link detected.
offNo Ethernet link detected.
offNo communication activity
90
NOTE: Rapid flashing is defined as ON for 50 ms and OFF for 50 ms.
NOTE: Slow flashing is defined as ON for 200 ms and OFF for 200 ms.
35012676 10/2019
Page 91
Searching for Errors Using the Processor Status LEDs
General
The status LEDs located on the processor inform the user of the PLC’s operating mode and any
possible errors.
The errors detected by the PLC concern:
circuits which constitute the PLC and/or its modules: internal errors
the process driven by the PLC or the process wiring: external errors
functioning of the application executed by the PLC: internal or external errors
Error Detection
Error detection is performed at startup (autotest) or during operation (which is the case for most
equipment errors), during exchanges with the modules, or during execution of a program
instruction.
Certain "serious" errors require the PLC to be restarted while others are left to the user to decide
how to proceed depending on the level of application required.
There are three types of error:
non-blocking
blocking
processor or system
BMX P34 •••• Processors Diagnostics
35012676 10/201991
Page 92
BMX P34 •••• Processors Diagnostics
Blocking Errors
General
Blocking errors, caused by the application program, do not cause system errors but prohibit
execution of the program. When such an error occurs, the PLC stops immediately and goes into
HALT mode (all tasks are stopped on the current instruction). The ERR LED flashes.
Restarting of the Application After a Blocking Error
To end this status it is necessary to init the PLC or to set the %S0 bit to 1.
The application is then in an initial state:
The data resumes its initial value.
Tasks are stopped at end of cycle.
The input image is refreshed.
Outputs are controlled in fallback position.
The RUN command then allows the application to be restarted.
Blocking Error Diagnosis
Indication of a blocking error is signaled by the ERR and RUN LEDs flashing on the processor front
panel.
The system words %SW126 and %SW127 indicate the address of the instruction which caused the
blocking error.
The nature of the error is indicated by the system word %SW125.
The following table presents the errors signaled by the values of the system word %SW125.
92
Hexadecimal Value of %SW125Corresponding Error
23•••Execution of a CALL function towards an undefined
subroutine
0•••Execution of an unknown function
2258Execution of the HALT instruction
9690Failure of the application CRC check (checksum)
DEB0Watchdog overrun
DE87Calculation error on numbers with decimal points
DEF0Division by 0
DEF1Character string transfer error
DEF2Capacity exceeded
DEF3Index overrun
DEF7SFC execution error
35012676 10/2019
Page 93
BMX P34 •••• Processors Diagnostics
Hexadecimal Value of %SW125Corresponding Error
DEFESFC steps undefined
81F4SFC node incorrect
82F4SFC code inaccessible
83F4SFC work space inaccessible
84F4Too many initial SFC steps
85F4Too many active SFC steps
86F4SFC sequence code incorrect
87F4SFC code description incorrect
88F4SFC reference table incorrect
89F4SFC internal index calculation error
8AF4SFC step status not available
8BF4SFC memory too small after a change due to a
download
8CF4Transition/action section inaccessible
8DF4SFC work space too small
8EF4Version of the SFC code older than the interpreter
8FF4Version of the SFC code more recent than the
interpreter
90F4Poor description of a SFC object: NULL pointer
91F4Illegal action identifier
92F4Poor definition of the time for an action identifier
93F4Macro step cannot be found in the list of active steps for
deactivation
94F4Overflow in the action table
95F4Overflow in the step activation/deactivation table
35012676 10/201993
Page 94
BMX P34 •••• Processors Diagnostics
Non-Blocking Errors
General
A non-blocking error is caused by an input/output error on the bus or through execution of an
instruction. It can be processed by the user program and does not modify the PLC status.
Non-Blocking Errors Linked to Inputs/Outputs
Indication of a non-blocking error linked to the inputs/outputs is signaled by:
the processor’s I/O status LED on
the modules’ I/O status LEDs on
the error bits and words combined with the channel:
bit %Ir.m.c.ERR at 1 indicates the channel at error (implicit exchanges)
words %MWr.m.c.2 indicates the channel’s type of error (implicit exchanges)
system bits:
%S10: input/output error on one of the modules on the rack bus
%S16: input/output error in the task in progress
%S118: input/output error on the CANopen bus
%S40 - %S47: input/output error on address racks 0-7
The following table shows the diagnosis of non-blocking errors from the status LEDs and the
system bits.
94
RUN
Status LED
ERR
Status LED
I/O Status
LED
System BitError
--ON%S10 at 0Input/Output error: channel power
supply error, broken channel,
module not compliant with the
configuration, inoperative or module
power supply error.
--ON%S16 at 0Input/output error in a task.
--ON%S118 at 0Input/output error on the CANopen
bus (the errors are the same as
those of the bit %S10).
--ON%S40 - %S47 at 0Input/output error in at rack level.
(%S40: rack 0 - %S47: rack 7).
Key:
ON: LED on
-: Status undetermined
35012676 10/2019
Page 95
Non-Blocking Errors Linked to Execution of the Program
Indication of a non-blocking error linked to execution of the program is signaled by one or more
system bits %S15, %S18, and %S20 being set to 1. The nature of the error is indicated in the system
word %SW125 (always updated).
The following table shows the diagnosis of non-blocking errors linked to the execution of the
program.
System BitError
%S15 at 1Character string manipulation error
%S18 at 1Capacity overrun, error on a floating point or
division by 0
%S20 at 1Index overrun
NOTE: There are two ways to change non-blocking errors linked to the execution of the program
to blocking errors:
Diagnostic program function, accessible through the Control Expert programming software
Bit %S78 (HALTIFERROR) when it is set to 1.
The processor’s HALT status is determined via the flashing ERR and I/O LEDs.
Testing and setting these system bits to 0 is the user’s responsibility.
BMX P34 •••• Processors Diagnostics
35012676 10/201995
Page 96
BMX P34 •••• Processors Diagnostics
Processor or System Errors
General
Processor or system errors are serious errors related either to the processor (equipment or
software) or to the rack bus wiring. The system can no longer operate correctly when these errors
occur. They cause the PLC to stop in ERROR status, which requires a cold restart. The next cold
restart will be forced in STOP status to prevent the PLC from returning to error.
Diagnosis of Processor and System Errors
The following table presents the diagnosis of processor and system errors.
RUN
Status LED
-ONON80System watchdog error or rack bus
-ONON81Rack bus wiring error
-ONON90Unforeseen interruption.
Legend:
ON: On
-: Undetermined
ERR
Status
LED
I/O Status
LED
Hexadecimal
Value of the
System Word
%SW124
Error
wiring error
System task pile overrun.
96
35012676 10/2019
Page 97
ModiconM340
Processor Performance
35012676 10/2019
Processor Performance
Chapter 9
Processor Performance
Subject of this Section
This section presents BMX P34 20•0 processor performance. The BMX P34 20•0 processors have
150% of the BMX P34 1000 performance.
What Is in This Chapter?
This chapter contains the following topics:
Execution of Tasks98
MAST Task Cycle Time: Introduction102
MAST Task Cycle Time: Program Processing103
MAST Task Cycle Time: Internal Processing on Input and Output104
MAST Task Cycle Time Calculation107
FAST Task Cycle Time108
Event Response Time109
TopicPage
35012676 10/201997
Page 98
Processor Performance
Execution of Tasks
General
BMX P34 •••• processors can execute single-task and multi-task applications. Unlike a single-task
application, which only executes master tasks, a multi-task application .defines the task execution
priorities.
Master Task
The master task represents the application program’s main task. You can choose from the
following MAST task execution modes:
Cyclical (default setup): execution cycles are performed in sequence, one after the other.
Periodical: a new cycle is started periodically, according to a user-defined time period (1 -
255 ms).
If the execution time is longer than the period configured by the user, the bit %S19 is se t to 1 and
a new cycle is launched.
The following illustration shows the cyclical execution of the MAST task:
98
The following illustration shows the periodical execution of the MAST task:
Both MAST task cycle modes are controlled by a watchdog.
35012676 10/2019
Page 99
Processor Performance
The watchdog is triggered if the MAST task execution time is longer than the maximum period
defined in the configuration, and causes a software error. The application then goes into HALT
status, and the bit %S11 is set to 1 (the user must reset it to 0).
The watchdog value (%SW11) may be configured between 10 ms and 1,500 ms (default value:
250 ms).
NOTE: Configuring the watchdog to a value that is less than the period is not allowed.
In periodical operating mode, an additional check detects when a period has been exceeded. The
PLC will not switch off if the period overrun remains less than the watchdog value.
Bit %S19 signals a period overrun. It is set to 1 by the system when the cycle time becomes longer
than the task period. Cyclical execution then replaces periodical execution.
The MAST task can be checked with the following system bits and system words:
System ObjectDescription
%SW0
%S30
%S11
%S19
%SW27
%SW28
%SW29
%SW30
%SW31
%SW32
MAST task period
Activation of the master task
Watchdog default
Period exceeded
Last cycle overhead time (in ms)
Longest overhead time (in ms)
Shortest overhead time (in ms)
Last cycle execution time (in ms)
Longest cycle execution time (in ms)
Shortest cycle execution time (in ms)
Fast Task
The FAST task is for periodical processing and processing over short durations.
FAST task execution is periodical and must be quick so that no lower priority tasks overrun. The
FAST task period can be configured (1 - 255 ms). The FAST task execution principle is the same
as for periodical execution of the master task.
The FAST task can be checked with the following system bits and system words:
System ObjectDescription
%SW1
%S31
%S11
%S19
%SW33
35012676 10/201999
FAST task period
Activation of the fast task
Watchdog default
Period exceeded
Last cycle execution time (in ms)
Page 100
Processor Performance
System ObjectDescription
%SW34
%SW35
Event Tasks
With event processing, the application program’s reaction time can be reduced for events
originating from:
Event processing execution is asynchronous. The occurrence of an event reroutes the application
program towards the process associated with the input/output channel, or to the event timer that
caused the event.
Event tasks can be checked with the following system bits and system words:
System ObjectDescription
%S38
%S39
%SW48
Longest cycle execution time (in ms)
Shortest cycle execution time (in ms)
Activation of events processing
Saturation of the event signal management stack.
Number of IO events and telegram processes executed
NOTE: TELEGRAM is available only for PREMIUM (not on Quantum
neither M340)
Single Task Execution
A single-task application program is associated with one task; the MAST task.
The following diagram shows a single-task application’s execution cycle:
100
35012676 10/2019
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.