EIO0000001578 13 M580 Hardware Reference
EIO0000001578 13 M580 Hardware Reference
Hardware
Reference Manual
Original instructions
EIO0000001578.13
02/2023
www.se.com
Legal Information
The Schneider Electric brand and any trademarks of Schneider Electric SE and its
subsidiaries referred to in this guide are the property of Schneider Electric SE or its
subsidiaries. All other brands may be trademarks of their respective owners.
This guide and its content are protected under applicable copyright laws and furnished for
informational use only. No part of this guide may be reproduced or transmitted in any form or
by any means (electronic, mechanical, photocopying, recording, or otherwise), for any
purpose, without the prior written permission of Schneider Electric.
Schneider Electric does not grant any right or license for commercial use of the guide or its
content, except for a non-exclusive and personal license to consult it on an "as is" basis.
Schneider Electric products and equipment should be installed, operated, serviced, and
maintained only by qualified personnel.
As standards, specifications, and designs change from time to time, information contained in
this guide may be subject to change without notice.
To the extent permitted by applicable law, no responsibility or liability is assumed by
Schneider Electric and its subsidiaries for any errors or omissions in the informational
content of this material or consequences arising out of or resulting from the use of the
information contained herein.
Table of Contents
Safety Information .................................................................................................. 11
Before You Begin..............................................................................................12
Start-up and Test ..............................................................................................13
Operation and Adjustments ...............................................................................14
About the Book ......................................................................................................15
Modicon M580 PACs..............................................................................................21
M580 PACs ...........................................................................................................22
Functional Characteristics of M580 PACs ...........................................................22
Introduction ................................................................................................22
Performance Characteristics........................................................................24
Standards and Certifications ........................................................................34
States for M580 PACs .................................................................................34
Hot Standby System States .........................................................................35
Controller Switchover in an M580 Hot Standby System..................................38
Electrical Characteristics .............................................................................44
Real-Time Clock .........................................................................................45
Addressing Field Buses...............................................................................48
BMEP58xxxx Controller Physical Characteristics ................................................49
Physical Description of Standalone Controllers .............................................49
Physical Description of Hot Standby Controllers ............................................51
Anti-Tampering Seals and Lockable SD Card Door........................................56
LED Diagnostics for Standalone Controllers..................................................57
LED Diagnostics for Hot Standby Controllers ................................................61
USB Port....................................................................................................64
Ethernet Ports ............................................................................................66
SD Memory Card ........................................................................................70
Memory Card Access LED...........................................................................72
Data Storage Elementary Functions .............................................................74
Firmware Update ........................................................................................75
Updating Firmware Versions Earlier than 4.01 to Version 4.01 or Later............76
Installing and Diagnosing Modules on the Local Rack .....................................77
Installing Modules in an M580 Rack.........................................................................78
EIO0000001578.13 3
Hardware
Module Guidelines............................................................................................78
Installing the CPU.............................................................................................80
Installing an SD Memory Card in a CPU .............................................................85
M580 Diagnostics...................................................................................................87
Blocking Conditions ..........................................................................................87
Non-blocking Conditions ...................................................................................90
CPU or System Errors.......................................................................................91
CPU Application Compatibility ...........................................................................92
Processor Performance ..........................................................................................94
Execution of Tasks............................................................................................94
MAST Task Cycle Time: Introduction..................................................................99
MAST Task Cycle Time: Program Processing .....................................................99
MAST Task Cycle Time: Internal Processing on Input and Output....................... 100
MAST Task Cycle Time Calculation.................................................................. 104
FAST Task Cycle Time .................................................................................... 104
Event Response Time..................................................................................... 105
Configuring the Controller in Control Expert ..................................................... 106
M580 CPU Configuration ...................................................................................... 107
Control Expert Projects ................................................................................... 107
Creating a Project in Control Expert............................................................ 108
Helping Secure a Project in Control Expert ................................................. 110
Configuring the Size and Location of Inputs and Outputs ............................. 112
Protecting Located Data in Monitoring Mode ............................................... 117
Project Management ................................................................................. 119
DIO Scanner Functionality ......................................................................... 121
Configuring the CPU with Control Expert .......................................................... 123
Control Expert Configuration Tabs.............................................................. 124
About Control Expert Configuration ............................................................ 125
Security Tab ............................................................................................ 126
IPConfig Tab............................................................................................ 130
RSTP Tab ................................................................................................ 131
SNMP Tab................................................................................................ 133
NTP Tab................................................................................................... 135
Switch Tab............................................................................................... 139
QoS Tab .................................................................................................. 140
4 EIO0000001578.13
Hardware
EIO0000001578.13 5
Hardware
6 EIO0000001578.13
Hardware
EIO0000001578.13 7
Hardware
8 EIO0000001578.13
Hardware
EIO0000001578.13 9
Safety Information Hardware
Safety Information
Important Information
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.
The addition of this symbol to a “Danger” or “Warning” safety label indicates that an
electrical hazard exists which will result in personal injury if the instructions are not
followed.
This is the safety alert symbol. It is used to alert you to potential personal injury
hazards. Obey all safety messages that follow this symbol to avoid possible injury or
death.
! DANGER
DANGER indicates a hazardous situation which, if not avoided, will result in death or serious
injury.
! WARNING
WARNING indicates a hazardous situation which, if not avoided, could result in death or
serious injury.
! CAUTION
CAUTION indicates a hazardous situation which, if not avoided, could result in minor or
moderate injury.
NOTICE
NOTICE is used to address practices not related to physical injury.
EIO0000001578.13 11
Hardware Safety Information
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.
WARNING
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
point-of-operation guarding must be provided. This is necessary if the operator's hands and
12 EIO0000001578.13
Safety Information Hardware
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.
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.
WARNING
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.
EIO0000001578.13 13
Hardware Safety Information
14 EIO0000001578.13
About the Book Hardware
Validity Note
This document has been updated for the release of EcoStruxure™ Control Expert 15.3 and
BME•58•••• firmware version 2.10.
The technical characteristics of the devices described in the present document also appear
online. To access the information online, go to the Schneider Electric home page www.se.
com/ww/en/download/.
The characteristics that are described 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.
Related Documents
Title of Documentation Reference Number
Control Panel Technical Guide, How to protect a CPTG003_EN (English),
machine from malfunctions due to electromagnetic CPTG003_FR (French).
disturbance
Electrical installation guide EIGED306001EN (English)
Modicon M580 Standalone, System Planning Guide HRB62666 (English), HRB65318 (French), HRB65319
for Frequently Used Architectures (German), HRB65320 (Italian), HRB65321 (Spanish),
HRB65322 (Chinese)
Modicon M580, System Planning Guide for Complex NHA58892 (English), NHA58893 (French), NHA58894
Topologies (German), NHA58895 (Italian), NHA58896 (Spanish),
NHA58897 (Chjnese)
Modicon M580 Hot Standby, System Planning Guide NHA58880 (English), NHA58881 (French), NHA58882
for Frequently Used Architectures (German), NHA58883 (Italian), NHA58884 (Spanish),
NHA58885 (Chinese)
EIO0000001578.13 15
Hardware About the Book
Modicon M580, M340, and X80 I/O Platforms, EIO0000002726 (English), EIO0000002727 (French),
Standards and Certifications EIO0000002728 (German), EIO0000002730 (Italian),
EIO0000002729 (Spanish), EIO0000002731
(Chinese)
M580 BMENOS0300, Network Option Switch, NHA89117 (English), NHA89119 (French), NHA89120
Installation and Configuration Guide (German), NHA89121 (Italian), NHA89122 (Spanish),
NHA89123 (Chinese)
Modicon eX80, BMEAHI0812 HART Analog Input EAV16400 (English), EAV28404 (French), EAV28384
Module & BMEAHO0412 HART Analog Output (German), EAV28413 (Italian), EAV28360 (Spanish),
Module, User Guide EAV28417 (Chinese)
EcoStruxure™ Control Expert, Operating Modes 33003101 (English), 33003102 (French), 33003103
(German), 33003104 (Spanish), 33003696 (Italian),
33003697 (Chinese)
EcoStruxure™ Control Expert, Program Languages 35006144 (English), 35006145 (French), 35006146
and Structure, Reference Manual (German), 35013361 (Italian), 35006147 (Spanish),
35013362 (Chinese)
Modicon X80 Racks and Power Supplies, Hardware, EIO0000002626 (English), EIO0000002627 (French),
Reference Manual EIO0000002628 (German), EIO0000002630 (Italian),
EIO0000002629 (Spanish), EIO0000002631
(Chinese)
16 EIO0000001578.13
About the Book Hardware
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
• Perform a Failure Mode and Effects Analysis (FMEA), or equivalent risk analysis, of
your application, and apply preventive and detective controls before implementation.
• Provide a fallback state for undesired control events or sequences.
• Provide separate or redundant control paths wherever required.
• Supply appropriate parameters, particularly for limits.
• Review the implications of transmission delays and take actions to mitigate them.
• Review the implications of communication link interruptions and take actions to
mitigate them.
• Provide independent paths for control functions (for example, emergency stop, over-
limit conditions, and error conditions) according to your risk assessment, and
applicable codes and regulations.
• Apply local accident prevention and safety regulations and guidelines.1
• Test each implementation of a system for proper operation before placing it 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
EIO0000001578.13 17
Hardware About the Book
(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.
18 EIO0000001578.13
About the Book Hardware
Standard Description
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
ISO 14119:2013 Safety of machinery - Interlocking devices associated with guards - Principles for
design and selection
IEC 62061:2015 Safety of machinery - Functional safety of safety-related electrical, electronic, and
electronic programmable control systems
IEC 61784-3:2016 Industrial communication networks - Profiles - Part 3: Functional safety field buses -
General rules and profile definitions
In addition, terms used in the present document may tangentially be used as they are
derived from other standards such as:
Standard Description
IEC 61158 series Digital data communications for measurement and control – Fieldbus for use in
industrial control systems
EIO0000001578.13 19
Hardware About the Book
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.
20 EIO0000001578.13
Hardware
Introduction
This part provides information about the Modicon M580 Programmable Automation
Controller (PAC), including physical and operational characteristics.
EIO0000001578.13 21
Hardware M580 PACs
M580 PACs
What’s in This Chapter
Functional Characteristics of M580 PACs ..................................22
BMEP58xxxx Controller Physical Characteristics .......................49
Introduction
This chapter introduces you to the physical and functional characteristics of the M580 PACs.
Introduction
Role of the Controller in a Control System
In a modular PAC system, the controller controls and processes the application. The local
backplane identifies the controller. In addition to the controller, the local backplane contains
a power supply module and may contain communication processing modules and input/
output (I/O) modules.
The controller is in charge of:
• configuring the modules and devices present in the controller configuration
• processing the application
• reading the inputs at the beginning of tasks and applying the outputs at the end of tasks
• managing explicit and implicit communications
Modules may reside in the local backplane with the controller or they may be installed in
remote drops at a distance from the local backplane. The controller has built-in capabilities
to act as the RIO processor that manages communications between the controller and the
Quantum and X80 EIO adapter modules that are installed in each remote drop.
22 EIO0000001578.13
M580 PACs Hardware
Devices can be connected to the PAC network as either DIO clouds or DIO sub-rings.
For detailed information about the various architectures that the M580 network supports,
refer to chapter Planning and Designing a Typical M580 Network (see Modicon M580
Standalone, System Planning Guide for Frequently Used Architectures). For a detailed
description of the X80 EIO adapter modules and the options they provide for installing a
remote drop, refer to Modicon M580, RIO Modules, Installation and Configuration Guide.
Functional Considerations
The controller solves control logic for the I/O modules and distributed equipment in the
system. Choose a controller based on several operating characteristics:
• memory size
• processing power: the number of I/O points or channels that it can manage, page 25
• the speed at which the controller can execute the control logic, page 33
• communication capabilities: the types of Ethernet ports on the controller, page 66
• the number of local I/O modules and RIO drops that it can support, page 25
• the ability to function in harsh environments: (Three controllers are hardened to operate
over extended temperature ranges and in dirty or corrosive environments.)
• network configuration (standalone or Hot Standby)
Standalone Controllers
This is a list of the available controllers. Some are available in both standard and industrially
hardened modules. Industrially hardened modules have the letter H appended to the
module name. The letter C at the end of the module name indicates a conformal coating for
harsh environments:
• BMEP581020, BMEP581020H
• BMEP582020, BMEP582020H
• BMEP582040, BMEP582040H, BMEP582040S
• BMEP583020
• BMEP583040
• BMEP584020
• BMEP584040, BMEP584040S
• BMEP585040, BMEP585040C
• BMEP586040, BMEP586040C, BMEP586040S
EIO0000001578.13 23
Hardware M580 PACs
Controllers ending with “S” are safety-related. Refer to the Modicon M580 Safety System
Planning Guide for a description of safety controllers.
Performance Characteristics
Introduction
M580 PACs have an embedded DIO scanner service to manage distributed equipment on
the M580 device network. Some M580 PACs also have an embedded RIO scanner service
to manage RIO drops.
To manage RIO drops on the device network, select one of these controllers with Ethernet I/
O scanner service (both RIO and DIO scanner service):
• BMEP582040, BMEP582040H
• BMEP583040
• BMEP584040
• BMEP585040, BMEP585040C
• BMEP586040, BMEP586040C
• BMEH582040, BMEH582040C
• BMEH584040, BMEH584040C
24 EIO0000001578.13
M580 PACs Hardware
• BMEH586040, BMEH586040C
Embedded Ethernet I/O scanner services are configured via the controller IP configuration,
page 130.
NOTE: Some of this information applies to M580 Hot Standby configurations. For more
information, refer to the Modicon M580 Hot Standby System Planning Guide for
Frequently Used Architectures (see Modicon M580 Standalone, System Planning Guide
for Frequently Used Architectures).
Controller Characteristics
These tables show the key characteristics of the M580 standalone and Hot Standby
controllers. These characteristics represent the maximum values that a specific controller
can manage in the M580 PAC system.
NOTE:
• The values in these tables may not be achieved depending on the I/O density and
the number of available backplane slots.
• The following tables do not include safety controllers. Refer to the Modicon M580
Safety System Planning Guide (see Modicon M580, Safety System Planning Guide)
for the performance characteristics of safety controllers.
Standalone Controllers:
discrete I/O channels 1024 2048 2048 3072 3072 4096 4096 5120 6144
analog I/O channels 256 512 512 768 768 1024 1024 1280 1536
(main backplane +
extended backplane)
EIO0000001578.13 25
Hardware M580 PACs
Ethernet ports:
• service 1 1 1 1 1 1 1 1 1
• RIO or distributed – – 2 – 2 – 2 2 2
equipment
• distributed equipment 2 2 – 2 – 2 – – –
– (not available)
H (hardened)
C (coated version)
(1) Only three of these modules can be BMENOC0301/BMENOC0311 modules. All other are BMX Ethernet modules.
(4) Of these connections: 3 are reserved for local slaves; the remainder are available for scanning distributed equipment.
distributed devices 64 64 64
Ethernet communication modules (including BMENOC0301/ 2 4(1) 6(1)
BMENOC0311 modules, but not the controller)
RIO drops, page 27 (maximum of two backplanes per drop) 8(2) 16(3) 31(3)
Ethernet ports:
• service 1 1 1
• RIO or distributed equipment 2 2 2
• distributed equipment 0 0 0
26 EIO0000001578.13
M580 PACs Hardware
BMXCRA31200 128 16 – –
NOTE: The number of available channels could differ from the maximum values shown
because the values depend on the controller reference and the other modules in the
same drop. More information is given in Modicon X80 I/O Modules (see Modicon M580,
RIO Modules, Installation and Configuration Guide).
To configure Quantum RIO drops, refer to the Quantum EIO installation and
configuration guide (see Quantum EIO, Remote I/O Modules, Installation and
Configuration Guide).
internal memory 4598 9048 9048 13558 13558 18678 18678 29174 65535(1)
size (KB)
(1) The sum of saved data, unsaved data, and program data is limited to 65535 KB.
Program and Data Memory (Hot Standby). This table shows the program and data
memory capacity for M580 Hot Standby controllers:
(1) The sum of saved data, unsaved data, and program data is limited to 65536 KB.
EIO0000001578.13 27
Hardware M580 PACs
Memory Areas (Standalone). This table shows the maximum memory size per area for
M580 standalone controllers:
saved data (KB)(1) 384 768 768 1024 1024 2048 2048 4096 4096
program (KB) 4096 8162 8162 12288 12288 16384 16384 24576 65536(2)
Memory Areas (Hot Standby). This table shows the maximum memory size per area for
M580 Hot Standby controllers:
NOTE: Versions 2.30 and any subsequent supporting version(s) of M580 processor
firmware provide a maximum of 64 K words of memory for State RAM. By contrast, the
display for firmware versions 2.20 and earlier would appear to provide a maximum of
128 K words; however, the display is incorrect. As a result, if you upgrade controller
firmware from version 2.20 or earlier to version 2.30 or any subsequent supporting
version(s) for an existing project, the percentage of State RAM used by the application
will appear to have doubled. In some cases, the percentage of State RAM used can
exceed 100% and the application cannot be re-built. To re-build your application in this
case, you will need to perform one or both of the following edits:
• Increase the amount of State RAM (the total of %M, %MW, %I, %IW), if possible.
• Re-define some located variables as unlocated (by removing the assigned
address), until the total amount of State RAM used (the sum of %M, %MW, %I, %
IW) no longer exceeds 100%.
Located Data (Standalone). This table shows the maximum and default size of located
data (in KB) for each M580 standalone controller:
28 EIO0000001578.13
M580 PACs Hardware
internal %Mi 32634 32634 32634 3263- 3263- 32634 65280 65280 65280
(2) (2) (2)
bits maximum 4 4
%Mi default 512 512 512 512 512 512 512 512 512
input/ %Ir.m.c (1) (1) (1) (1) (1) (1) (1) (1) (1)
output bits
%Qr.m.c
system %Si 128 128 128 128 128 128 128 128 128
bits
internal %MWi 32464 32464 32464 6523- 6523- 65232 64896 64896 64896
(3) (3) (3)
words maximum 2 2
%MWi 1024 1024 1024 2048 2048 2048 2048 2048 2048
default
(1) Memory size depends on the equipment configuration declared (I/O modules).
(2) 32624 for versions before 2.30.
(3) 65232 for versions before 2.30.
Located Data (Hot Standby). This table shows the maximum and default size of located
data (in KB) for each M580 Hot Standby controller:
%Qr.m.c
EIO0000001578.13 29
Hardware M580 PACs
Controller Overall maximum From Maximum requests sent Maximum requests sent
USB to IP address of the to IP address of comm.
Requests per Request controller modules
Scan(1) FIFO Size
BMEP581020 8 (16) 32 4 8 16
BME•5820•0 16 (24) 32 4 12 16
BMEP5830•0 24 (32) 32 4 16 16
BME•5840•0 32 (40) 50 4 24 16
BMEP5850•0 40 (48) 50 4 32 16
BME•5860•0 56 (64)(2) 50 4 32 16
(1) This column shows the default limits for the number of requests served per cycle. The limit can be modified through
%SW90, between 2 and the number indicated between brackets.
(2) The overall limit for the BME•5860•0 controller is higher than the sum of the limits for the USB, controller, and NOC
modules. This is a provision for future evolutions.
The MAST task cycle time may increase by up to 0.5 ms per incoming request. When the
communications load is high, you can limit the potential jitter of the MAST time by limiting
the number of requests that are processed per cycle in %SW90.
30 EIO0000001578.13
M580 PACs Hardware
Example: This example local backplane assembly includes a BMEP584040 controller and
two BMENOC0301/BMENOC0311 Ethernet communication modules. Therefore, the
maximum values in this example apply to the BMEP584040 controller (described above):
EIO0000001578.13 31
Hardware M580 PACs
Controller Connections
BMEP581020 32
BME•5820•0 32
BMEP5830•0 48
BME•5840•0 64
BMEP5850•0 64
BME•5860•0 80
When an incoming connection request is accepted, the open connection that has been idle
for the longest time is closed.
Modbus TCP and EtherNet/IP Client: This table shows the maximum number (per cycle)
of communication EFs that support Modbus TCP and EtherNet/IP clients according to the
selected controller:
BMEP581020 16
BME•5820•0 32
BMEP5830•0 48
BME•5840•0 80
BMEP5850•0 80
BME•5860•0 96
OPC UA Performance
Each M580 PAC can support:
• Up to 64 connection in parallel using the UA_Connect function block.
• For each connection:
◦ Up to 256 nodes (simple type) to read.
◦ Up to 128 nodes (simple type) to write.
The following table presents the limits on the number of connections (sessions) and
subscriptions supported by each M580 PAC:
BMEP5810•0 4 8
BMEP5820•0 8 16
32 EIO0000001578.13
M580 PACs Hardware
BMEP5830•0 16 32
BMEP5840•0 32 64
BMEP5850•0 48 96
BMEP5860•0 64 128
BMEH5820•0 32 64
BMEH5840•0 48 96
BMEH5860•0 64 128
If these limits are exceeded, the OPC UA client detects the following errors:
• E_MaxConnectionsReached (ID 16#B000_0509) in the UA_Connect function block,
and
• E_MaxSubscriptionsReached (ID 16#B000_0501) in the UA_SuscriptionCreate
function block.
boolean application 10 10 10 20 20 40 40 50 50
execution (Kinst/ms(1))
(1)
• Kist/ms: 1,024 instructions per millisecond
• A typical execution holds 65% boolean instructions + 35% fixed arithmetic.
EIO0000001578.13 33
Hardware M580 PACs
Title Languages
STOP The controller has a valid application, but it is stopped. The controller sets itself to
predefined STOP state parameters, and can be restarted later.
HALT The controller has an application, but it has stopped operating due to an error resulting
in a blocking condition, which puts the controller in a HALT state, resulting in a
recoverable, page 90 or nonrecoverable condition, page 87.
34 EIO0000001578.13
M580 PACs Hardware
WAIT The controller is in a transitory state while it backs up data when a power down
condition is detected.
The controller starts again only when power is restored and the supply reserve is
replenished. As it is a transitory state, it may not be viewed.
The controller performs a warm restart, page 447 to exit the WAIT state.
When the system is ready to be restarted, the controller performs a cold start, page
445 to exit the ERROR state.
OS DOWNLOAD A controller firmware download is in progress.
INIT INIT
STOP STOP
RUN PRIMARY with standby counterpart
STANDBY
WAIT
EIO0000001578.13 35
Hardware M580 PACs
36 EIO0000001578.13
M580 PACs Hardware
• Wait: The controller is in RUN mode, but cannot act as either primary or standby. The
controller transitions from the wait state to either the primary or standby state, when the
preconditions for that state exist, including:
◦ The state of the Hot Standby link.
◦ The state of the Ethernet RIO link.
◦ The presence of at least one connection with an Ethernet RIO drop.
◦ The position of the A/B rotary selection switch on the rear of the .
◦ The state of the configuration. For example:
- If a firmware mismatch exists, the FW_MISMATCH_ALLOWED flag is set.
- If a logic mismatch exists, the LOGIC_MISMATCH_ALLOWED flag is set.
In the wait state, the controller continues to communicate with other modules on the
local backplane, and can execute program logic, if configured to do so. You can
configure a controller in wait state to execute:
◦ Specific sections of program logic in a non-safety-related controller (or process
program logic in a safety controller), specified in the Condition tab of the Properties
dialog box for each section.
◦ The first section of program logic in a non-safety-related controller (or the first
section of process program logic in a safety controller).
◦ No program logic for a non-safety-related controller (or no process program logic for
a safety controller).
• INIT: Both the controller and the Hot Standby system are initializing.
• STOP: The controller is in STOP mode. On the STOP to RUN transition, the controller
may move to the wait, standby, or primary state. This transition depends on the state of
the Ethernet RIO and Hot Standby links, and on the position of the A/B rotary selection
switch on the rear of the controller.
NOTE: In addition to the controller operating states listed here, other operating states
that are not related to the Hot Standby system, page 34 exist.
EIO0000001578.13 37
Hardware M580 PACs
38 EIO0000001578.13
M580 PACs Hardware
Before each MAST task, the primary controller transfers to the standby controller system,
status and I/O data, page 422, including date and time data. On switchover, the standby
controller applies this time data and continues the same time stamping sequence. The
maximum amount of transferable Hot Standby data depends on the controller.
NOTE: Both the primary controller and the standby controller maintain independent
event logs. If a switchover occurs, the events recorded in the log of the former primary
controller will not be included in the event log of the new primary (formerly the standby)
controller.
Switchover Causes
Any one of the following events will cause a switchover:
• The primary controller has encountered a blocking condition (see Modicon M580,
Hardware, Reference Manual) and entered the HALT state.
• The primary controller has detected an unrecoverable hardware or system error.
• The primary controller has received a STOP command from Control Expert or the
DDDT.
• An application program is being transferred to the primary controller.
• Primary controller power is turned off; a power cycle occurs.
• The following events simultaneously occur:
◦ The primary controller loses communication to all RIO drops.
◦ The Hot Standby link is healthy.
◦ The standby controller maintains communication with at least one RIO drop.
Similar to a switchover, a swap is a controlled event that transfers control of the network
from the primary controller to the standby controller. A swap can be caused by:
• Execution of the DDDT CMD_SWAP command by either program logic, or an animation
table Force command.
• Manually clicking the HSBY Swap button in the Task tab of the controller Animation
window in Control Expert.
EIO0000001578.13 39
Hardware M580 PACs
40 EIO0000001578.13
M580 PACs Hardware
NOTE:
• A switchover does not affect the assignment of IP address A or IP address B.
These assignments are made exclusively by means of the A/B/Clear rotary switch
on the back of the controller, and are not affected by a change in primary or standby
Hot Standby status.
• When connecting Control Expert to the Hot Standby system, use IP address A or
IP address B to maintain the connection on a switchover. Avoid using the Main IP
address, because on switchover this becomes Main IP address + 1 and will
disconnect Control Expert.
EIO0000001578.13 41
Hardware M580 PACs
Modification to initial primary controller Effect on new primary controller program execution:
logic:
Only code is changed (no changes to All variable values exchanged between the controllers remain
variables). the same (EQUAL).
New variables were added. The new variables are not used by the new primary controller.
Existing variables were deleted. The new primary controller includes the deleted variables in
program execution, and applies the most recent values to
these variables.
42 EIO0000001578.13
M580 PACs Hardware
When the NTP server is enabled in a Hot Standby system, only the primary controllers
performs the role of server.
Before each scan, the primary controller transfers system data to the standby controller,
including the following primary controller system time values:
• time of day
• application counters
• free running counter
On switchover, the former standby controller – now the new primary controller – applies the
system time values sent by the former primary controller. Thereafter, the new primary
controller continues to execute the application in the same time context as the former
primary controller. If the NTP server function is enabled for the Hot Standby system, the new
primary controller begins to perform the function of NTP server.
EIO0000001578.13 43
Hardware M580 PACs
If the switchover was caused by: Make the former primary controller the standby by:
Primary halt (non-safety-related performing an INIT command and RUN the controller
controller)
Primary halt (safety controller - performing an INIT command (Process task) and/or an INIT_SAFETY
Process and/or SAFE task) command (SAFE task), and then RUN the controller
Application transfer on Primary completing the transfer and RUN the application
Loss of all RIO drops (if any) while causing the controller to recover RIO drops
HSBY link is still healthy and Standby
controller has access to the drops
DDDT command The former primary automatically becomes the standby, provided the
necessary preconditions exist, for example:
Control Expert HSBY Swap button
• Firmware mismatch is allowed, if a firmware mismatch exists.
• Logic mismatch is allowed, if a logic mismatch exists.
• Online modifications are allowed, if modifications have been
made.
Electrical Characteristics
Introduction
The power supply module provides current to the modules installed on the local rack,
including the CPU. The CPU current consumption contributes to the total rack consumption.
BMEP581020(H) 270 mA
BMEP5820•0(H) 270 mA
BMEP5830•0 295 mA
BMEP5840•0 295 mA
44 EIO0000001578.13
M580 PACs Hardware
BMEP585040(C) 300 mA
BMEP586040(C) 300 mA
Real-Time Clock
Introduction
Your controller has a real-time clock that:
• provides the date and time
• displays the date and time of the last application shut-down
Clock Accuracy
The resolution of the real-time clock is 1 ms. The clock accuracy is affected by the operating
temperature of the application:
Operating Temperature Maximum Daily Drift (Seconds/ Maximum Yearly Drift (Minutes/Year)
Day)
Clock Back-Up
The accuracy of the real-time clock is maintained for four weeks when the controller power
is turned off if the temperature is below 45 °C (113 °F). If the temperature is higher, the back-
up time is shorter. The real-time clock back-up does not need any maintenance.
EIO0000001578.13 45
Hardware M580 PACs
If the back-up power is too low, system bit %S51 is set to 1. This value indicates a loss of
time when the power supply was OFF.
Bit Function
0 increments the day of the week
46 EIO0000001578.13
M580 PACs Hardware
Bit Function
10 decrements the minutes
11 decrements the hours
12 decrements the days
NOTE: The preceeding functions are performed when system bit %S59 is set to 1.
%SW58 day of the week (1 to 7) reason for the last application shutdown
The reason for the last application shutdown can be displayed by reading the least
significant byte of system word %SW58, which can have these values (in BCD):
Word%SW58 Definition
Value
1 application switched to STOP mode
4 power interruption
EIO0000001578.13 47
Hardware M580 PACs
Word%SW58 Definition
Value
5 stop on detected hardware error
PROFIBUS-PA A PROFIBUS remote master and a DP/PA interface are connected to an Ethernet DIO
network. The process variables are exchanged via the DIO scanner service in the
CPU.
48 EIO0000001578.13
M580 PACs Hardware
Dimensions
This graphic shows the front and side dimensions of the M580 standalone controllers:
EIO0000001578.13 49
Hardware M580 PACs
NOTE: Consider the height of the controller when you are planning the installation of the
local rack. The controller extends below the lower edge of the rack by:
• 29.49 mm (1.161 in.) for an Ethernet rack
• 30.9 mm (1.217 in.) for an X Bus rack
50 EIO0000001578.13
M580 PACs Hardware
Cybersecurity
Reset
Advanced
Standard
EIO0000001578.13 51
Hardware M580 PACs
10
52 EIO0000001578.13
M580 PACs Hardware
Use the small, plastic screwdriver provided with the controller to set the rotary switch
according to its role in a Hot Standby system.
NOTE: A plastic screwdriver is provided for your convenience; use it, or an equivalent,
to change the position of the rotary switch. Avoid using metal screwdrivers.
Rotary switch settings include:
Position Result
A • Designates the controller as PAC A (see Modicon M580 Hot Standby, System Planning
Guide for, Frequently Used Architectures), as referenced in Control Expert and the T_M_
ECPU_HSBY, page 256 DDDT.
• Assigns the controller IP address A on Ethernet RIO network.
B • Designates the controller as PAC B (see Modicon M580 Hot Standby, System Planning
Guide for, Frequently Used Architectures), as referenced in Control Expert and the T_M_
ECPU_HSBY DDDT.
• Assigns the controller IP address B on Ethernet RIO network.
Clear • Clears the application in the controller, and places the controller into the NO_CONF
operational state.
• If an SD memory card is inserted in the controller, the application in the card is also
cleared,
NOTE: Setting the switch for each Hot Standby controller to the same A/B position can
cause a a conflict of controller roles (see Modicon M580 Hot Standby, System Planning
Guide for Frequently Used Architectures).
Step Action
EIO0000001578.13 53
Hardware M580 PACs
Step Action
When you next power up the controller, if the remote controller is primary, the primary
controller transfers the application to the local controller.
SFP Socket
Each controller module includes one Small Form-factor Pluggable (SFP) socket, to which
you can connect either a fiber optic or a copper transceiver:
To insert a transceiver:
Step Action
To remove a transceiver:
Step Action
NOTICE
POTENTIAL EQUIPMENT DAMAGE
• Do not Hot Swap the SFP transceiver.
• Insert or remove the transceiver only when there is no power to the controller.
Failure to follow these instructions can result in equipment damage.
54 EIO0000001578.13
M580 PACs Hardware
NOTE: For part numbers and other information regarding the available transceivers,
refer to the description of controller Hot Standby link transceivers (see Modicon M580
Hot Standby, System Planning Guide for Frequently Used Architectures).
Each module comes with a stopper. When the SFP socket is not connected to a transceiver,
cover the unused socket with the cover to keep out dust.
Grounding Considerations
Follow all local and national safety codes and standards.
DANGER
ELECTRIC SHOCK
Wear personal protective equipment (PPE) when working with shielded cables.
Failure to follow these instructions will result in death or serious injury.
The backplane for your M580 PAC is common with the functional ground (FE) plane and
must be mounted and connected to a grounded, conductive backplane.
WARNING
UNINTENDED EQUIPMENT OPERATION
Connect the backplane to the functional ground (FE) of your installation.
Failure to follow these instructions can result in death, serious injury, or equipment
damage.
EIO0000001578.13 55
Hardware M580 PACs
The module container has been opened when the anti-tampering seal looks like this:
56 EIO0000001578.13
M580 PACs Hardware
To do this:
1. Close the SD card door.
2. Insert the wire end of a lead seal (or the cable of a padlock) through the hole in the
piece that protrudes through the SD card door.
NOTE: You can use a wire or cable with a maximum diameter of 1.50 mm.
3. Close the lead seal (or lock the padlock).
NOTE: The seal or padlock are not supplied with the module.
EIO0000001578.13 57
Hardware M580 PACs
LED Descriptions
LED Indicator Description
I/O ON: The controller or system has detected an error in one or more I/O modules.
BKP ON:
• The memory card or controller flash memory is missing or inoperable.
• The memory card is not usable (incorrect format, page 70, unrecognized type).
• The memory card or controller flash memory content is inconsistent with the
application.
• The memory card has been removed and reinserted.
• A PLC > Project Backup... > Backup Clear command has been performed when
no memory card was present. The BACKUP LED remains ON until the project is
successfully backed up.
OFF: The memory card or controller flash memory content is valid, and the application in
the execution memory is identical.
This table describes the LED indicator patterns used in the LED diagnostic indications table
thereafter:
58 EIO0000001578.13
M580 PACs Hardware
WARNING
UNINTENDED EQUIPMENT OPERATION
• Confirm that each module has a unique IP address.
• Do not assign an IP address equal to the Main IP Address, the Main IP Address + 1, IP
Address A, or IP Address B to any Ethernet device that potentially communicates with
the Hot Standby system.
Failure to follow these instructions can result in death, serious injury, or equipment
damage.
The LEDs provide detailed diagnostic information when you observe their pattern in
combination:
EIO0000001578.13 59
Hardware M580 PACs
unrecoverable error –
detected
power off –
–: any pattern
60 EIO0000001578.13
M580 PACs Hardware
ETH MS ETH NS
A B PRIM STBY
NOTE: The SRUN and SMOD LEDs apply only to safety controllers. The SEC LED is
not used.
• For a description of the safety controller LEDs SRUN and SMOD, refer to the topic
LED Displays for the M580 Safety Controler and Copro (see Modicon M580, Safety
System Planning Guide) in the .
• For a presentation of LED diagnostics for safety-related controllers, refer to the
topic M580 Safety Controller LED Diagnostics (see Modicon M580, Safety Manual)
in the Modicon M580, Safety Manual.
EIO0000001578.13 61
Hardware M580 PACs
OFF Indeterminate
Use the BMEH58•040 PRIM, and STBY LEDs to identify the operational status of the local
and remote controller:
62 EIO0000001578.13
M580 PACs Hardware
flashing green The port is configured and operational, but a Hot Standby link is not made.
EIO0000001578.13 63
Hardware M580 PACs
USB Port
Introduction
The USB port is a high-speed, mini-B USB connector, version 2.0 (480 Mbps) that can be
used for a Control Expert program or human-machine interface (HMI) panel. The USB port
can connect to another USB port, version 1.1 or later.
NOTE: Install M580 USB drivers before connecting the USB cable between the CPU
and the PC.
64 EIO0000001578.13
M580 PACs Hardware
Transparency
If your system requires transparency between the device connected to the USB port and the
M580 device network, add a persistent static route in the device’s routing table.
Example of a command to address a device network with IP address X.X.0.0 (for a
Windows PC): route add X.X.0.0 mask 255.255.0.0 90.0.0.1 -p
(In this case, X.X.0.0 is the network address used by the M580 device network, and
255.255.0.0 is the corresponding subnet mask.)
Pin Assignments
The USB port has the following pin positions and pinouts:
Legend:
Pin Description
1 VBus
2 D-
3 D+
4 not connected
5 ground
Cables
Use a BMX XCA USB H018 (1.8 m/5.91 ft) or BMX XCA USB H045 (4.5 m/14.764 ft) cable
to connect the panel to the CPU. (These cables have a type A connector on one side and
the mini-B USB on the other side.)
EIO0000001578.13 65
Hardware M580 PACs
In a fixed assembly with an XBT-type console connected to the CPU, connect the USB
cable to a protection bar (see Modicon X80, Racks and Power Supplies, Hardware
Reference Manual). Use the exposed part of the shield or the metal lug on the BMX XCA
cable to make the connection.
Ethernet Ports
Introduction
There are three RJ45 Ethernet ports on the front of the controller: one service port, and two
device network ports. The ports share the characteristics described below.
Common Characteristics
The three ports have the same RJ45 connector and use the same type of Ethernet cables.
NOTE: The three Ethernet ports are connected to chassis ground, and the equipment
requires an equipotential ground (see Modicon X80, Backplanes and Power Supplies,
Hardware Reference Manual).
Dust Cover
To keep dust from entering the unused Ethernet ports, cover the unused ports with the
stopper:
Ethernet Ports
Each RJ45 connector has a pair of LED indicators:
66 EIO0000001578.13
M580 PACs Hardware
The pin positions, pinouts, and cable connections are the same on the three RJ45 Ethernet
ports:
Pin Description
1 TD+
Pinout:
2 TD-
3 RD+
4 not connected
5 not connected
6 RD-
7 not connected
8 not connected
— shell/chassis ground
NOTE: The TD pins (pins 1 and 2) and the RD pins (pins 3 and 6) can be reversed to
allow the exclusive use of straight-through cables.
The ports have an auto MDIX capability that automatically detects the direction of the
transmission.
It is required to use one of these Ethernet cables to connect to the Ethernet ports:
• TCSECN3M3M••••: Cat 5E Ethernet straight-through shielded cable, rated for industrial
use, CE- or UL-compliant
• TCSECE3M3M••••: Cat 5E Ethernet straight-through shielded cable, rated for industrial
use, CE-compliant
• TCSECU3M3M••••: Cat 5E Ethernet straight-through shielded cable, rated for industrial
use, UL-compliant
The maximum length for a copper cable is 100 m. For distances greater than 100 m, use
fiber optic cable. The controller does not have fiber ports. You may use dual ring switches
(DRSs) or BMX NRP •••• fiber converter modules (see Modicon M580 Standalone, System
Planning Guide for, Frequently Used Architectures) to handle the copper-fiber conversion.
EIO0000001578.13 67
Hardware M580 PACs
* The 10/100 Mbps links support both half-duplex and full-duplex data transfer and autonegotiation.
Service Port
The service port is the uppermost of the three Ethernet ports on the front panel of the
controller. This port can be used:
• to provide an access point that other devices or systems can use to monitor or
communicate with the M580 PAC
• as a standalone DIO port that can support a star, daisy chain, or mesh topology of
distributed equipment
• to mirror the controller ports for Ethernet diagnostics. The service tool that views activity
on the mirrored port may be a PC or an HMI device.
NOTE: Do not used the service port to connect to the device network unless in some
specific conditions described in Modicon M580, Open Ethernet Network, System
Planning Guide.
The service port does not support the RSTP network protocol. Connecting the service port
to the device network, either directly or through a switch/hub, can result in the creation of
logical loops in the network, which can adversely affect network performance.
The service port does not support either VLANs or QoS tagging of Ethernet packets. The
service port is inherently non-deterministic.
WARNING
UNINTENDED EQUIPMENT OPERATION
Do not connect together the service ports of the Hot Standby controllers.
Failure to follow these instructions can result in death, serious injury, or equipment
damage.
68 EIO0000001578.13
M580 PACs Hardware
Grounding Considerations
Follow all local and national safety codes and standards.
DANGER
ELECTRIC SHOCK
Wear personal protective equipment (PPE) when working with shielded cables.
Failure to follow these instructions will result in death or serious injury.
EIO0000001578.13 69
Hardware M580 PACs
The backplane for your M580 PAC is common with the functional ground (FE) plane and
must be mounted and connected to a grounded, conductive backplane.
WARNING
UNINTENDED EQUIPMENT OPERATION
Connect the backplane to the functional ground (FE) of your installation.
Failure to follow these instructions can result in death, serious injury, or equipment
damage.
SD Memory Card
BMXRMS004GPF SD Memory Card
The SD memory card is an option that can be used for application and data storage. The SD
memory card slot in the M580 PAC housing is behind a door.
Use a BMXRMS004GPF memory card in your controller. It is a 4 GB, Class 6 card rated for
industrial use. Other memory cards, including those used in M340 controllers, are not
compatible with M580 PACs.
NOTE: If you insert an incompatible SD memory card in the controller:
• The controller remains in NOCONF state, page 34.
• The controller BACKUP LED turns ON.
• The memory card access LED flashes.
70 EIO0000001578.13
M580 PACs Hardware
Characteristic Value
global memory size 4 GB
NOTE: Due to formatting, wearout, and other internal mechanisms, the actual available
capacity of the memory card is slightly lower than its global size.
Supported Functions
The SD memory card supports read-only data storage functions, page 432.
NOTE: In addition to these read-only data storage functions, you can also read and write
to the SD memory card using the following Control Expert project management (see
Modicon M580, Hardware, Reference Manual) commands located in the PLC > Project
Backup menu:
• Backup Compare
• Backup Restore
• Backup Save
EIO0000001578.13 71
Hardware M580 PACs
ON The memory card is recognized, but the controller is not accessing it.
OFF The memory card can be removed from the controller slot or the controller does not recognize
the memory card.
NOTE: Confirm that the LED is OFF before you remove the card from the slot.
72 EIO0000001578.13
M580 PACs Hardware
EIO0000001578.13 73
Hardware M580 PACs
EF CPU Description
BMEP58•0•0 BMEH58•040
CLOSE_FILE X X The CLOSE_FILE function closes the file identified by
the file descriptor attribute. If another user is working on
the same file via a different descriptor, the file remains
open.
OPEN_FILE (see X X (read only) The OPEN_FILE function opens a specified existing file.
EcoStruxure™ Control
Expert, System,
Block Library)
SEEK_FILE (see X X The SEEK_FILE function sets the current byte offset in
EcoStruxure™ Control the file to a new specified offset position, which can be:
Expert, System, the offset, the current position plus the offset, the file
Block Library) size plus the offset.
74 EIO0000001578.13
M580 PACs Hardware
EF CPU Description
BMEP58•0•0 BMEH58•040
WR_DATA_TO_FILE (see X — The WR_DATA_TO_FILE function enables the writing of
EcoStruxure™ Control the value of a direct address variable, a located
Expert, System, variable, or an unlocated variable to a file. The value is
Block Library) written to the current position in the file. After the write,
the current position in the file is updated.
X (supported)
— (not supported)
For additional information on each function, refer to the chapter Implementing File
Management (see EcoStruxure™ Control Expert, System, Block Library).
Firmware Update
This and the following topic describe the firmware update procedure for Modicon M580
CPUs. The procedure is different for CPUs with existing firmware versions:
• version 4.01 or later
• earlier than version 4.01
EIO0000001578.13 75
Hardware M580 PACs
EcoStruxure™ Automation Device Maintenance, connect to the CPU using the INSTALLER
privileges.
For M580 CPUs equipped with firmware version equal to version 4.01, use loader firmware
upgrade password account as configured in Control Expert.
You can connect the CPU in one of the following ways:
• CPU mini-B USB connector, page 64
• CPU Service port, page 68
• Ethernet network
The file used to update firmware will have an .SEDP extension.
For a description of the firmware update procedure for CPUs with firmware version 4.01 or
later, refer to the EcoStruxure™ Automation Device Maintenance, User Guide.
76 EIO0000001578.13
Hardware
Introduction
This part provides instructions for installing and assembling M580 CPUs.
EIO0000001578.13 77
Hardware Installing Modules in an M580 Rack
Overview
This chapter explains how to install a CPU module in an M580 rack.
Module Guidelines
Guidelines
Rack Position Rack Type Slots Marking
00 01 02 ...n (1)
NOTE: When your installation has more than one rack in the local rack or at a remote
drop, the BMX XBE 1000 rack exender module goes in the slot marked XBE of the X80
racks.
Check that the CPU is installed in the two slots marked 00 and 01 on the local rack before
powering up the system. If the CPU is not installed in these two slots, the CPU starts in
NOCONF state, page 34 and uses the configured IP address (not the default IP address,
which starts with 10.10 and uses the last two bytes of the MAC address).
78 EIO0000001578.13
Installing Modules in an M580 Rack Hardware
NOTE: When the default IP address in the 10.10 format is used, employ a connection
in a point-to-point way, with a cable directly connecting the module, or CPU, or NOC, to
the user's PC.
MAC addresses: This table shows the availability of network services in terms of the
relationship between the CPU’s MAC addresses and its ports:
EIO0000001578.13 79
Hardware Installing Modules in an M580 Rack
**Ports:
• port 1: module MAC + 1 (service port)
• port 2: module MAC + 2
• port 3: module MAC + 3
• port 4: module MAC + 4 (Ethernet backplane)
Rack Markings
Example of BMXXBP•••• (PV:02 and any subsequent supporting versions) rack with slot
markings:
80 EIO0000001578.13
Installing Modules in an M580 Rack Hardware
• BMEXBP0602
• BMEXBP1002
Installation Precautions
An M580 CPU is powered by the rack bus. Confirm that the rack power supply is turned off
before installing the CPU.
DANGER
HAZARD OF ELECTRIC SHOCK
Remove all power sources before installing the CPU.
Failure to follow these instructions will result in death or serious injury.
Remove the protective cover from the rack slot connectors before plugging the module in
the rack.
WARNING
UNEXPECTED EQUIPMENT OPERATION
Check that the CPU does not contain an unsupported SD memory card before powering
up the CPU.
Failure to follow these instructions can result in death, serious injury, or equipment
damage.
NOTE: Check that the memory card slot door is closed after a memory card is inserted
in the CPU, and remains closed during operations.
NOTE: Refer to %SW97 to check the status of the SD card.
Grounding Considerations
Follow all local and national safety codes and standards.
EIO0000001578.13 81
Hardware Installing Modules in an M580 Rack
DANGER
ELECTRIC SHOCK
Wear personal protective equipment (PPE) when working with shielded cables.
Failure to follow these instructions will result in death or serious injury.
NOTE: Refer to the ground protection information provided in the Electrical installation
guide and Control Panel Technical Guide, How to protect a machine from malfunctions
due to electromagnetic disturbance, page 15.
82 EIO0000001578.13
Installing Modules in an M580 Rack Hardware
3 Verify that:
• if an SD memory card is
used, it is supported by the
CPU
• the connectors’ protective
covers are removed
• the CPU is placed on the
slots marked 00 and 01
4 Position the locating pins situated
at the rear of the module (on the
bottom part) in the corresponding
slots in the rack.
5 Swivel the module towards the
top of the rack so that the module
sits flush with the back of the
rack.
EIO0000001578.13 83
Hardware Installing Modules in an M580 Rack
before they are connected via the Hot Standby link, both CPUs attempt to assume the role
of primary CPU in your Hot Standby system.
DANGER
HAZARD OF ELECTRIC SHOCK
• Connect the functional ground (FG) terminal of the power supply module directly to the
protective earth screw of the rack.
• Do not chain the function ground (FG) terminals of redundant power supply modules
together.
• Do not connect anything else to the functional ground (FG) terminal of the power
supply module.
Failure to follow these instructions will result in death or serious injury.
DANGER
HAZARD OF ELECTRIC SHOCK
• Use only cables with ring or spade lugs and check that there is a good ground
connection.
• Make sure that grounding hardware is tightened properly.
Failure to follow these instructions will result in death or serious injury.
Before you connect the two Hot Standby local racks, verify that an equipotential grounding
system (see Modicon X80, Racks and Power Supplies, Hardware Reference Manual) is in
place that includes the two racks (plus any other equipment you intend to connect to the two
Hot Standby local racks).
NOTICE
UNINTENDED EQUIPMENT OPERATION
When installing modules with fiber optic transceivers, do the following to help prevent dust
and pollution from disrupting light production into the fiber optic cable.
• Keep caps on jumpers and transceivers when not in use.
• Insert the optical cable into the transceivers carefully, respecting the longitudinal axis
of the transceiver.
• Do not use force when inserting the cable into the optical transceivers.
Failure to follow these instructions can result in equipment damage.
Each Hot Standby CPU includes on its front face an SFP socket, page 52. This socket can
accept an SFP transceiver module (see Modicon M580 Hot Standby, System Planning
84 EIO0000001578.13
Installing Modules in an M580 Rack Hardware
Guide for, Frequently Used Architectures) for either copper or single mode fiber optic cabling
of the Hot Standby link. Your choice of SFP transceiver and cabling is determined by the
distance between the two Hot Standby local racks (see Modicon M580 Hot Standby, System
Planning Guide for, Frequently Used Architectures).
Step Description
EIO0000001578.13 85
Hardware Installing Modules in an M580 Rack
Step Description
Note: Insertion of the memory card does not force an application restore.
Step Description
4 Push the memory card until you hear a click, then release the pressure on the card.
Note: The memory card access green LED is ON when the memory card is removed from the CPU.
86 EIO0000001578.13
M580 Diagnostics Hardware
M580 Diagnostics
What’s in This Chapter
Blocking Conditions .................................................................87
Non-blocking Conditions...........................................................90
CPU or System Errors ..............................................................91
CPU Application Compatibility ..................................................92
Introduction
This chapter provides information on diagnostics that can be performed via hardware
indications (based on LED status) and system bits or words when necessary. The entire
M580 system diagnostics is explained in the Modicon M580 System Planning Guide.
The CPU manages different types of detected error:
• detected errors that can be recovered and do not change the PAC behavior unless
specific options are used
• detected errors that cannot be recovered and lead the CPU to the halt state
• CPU or system detected errors that lead the CPU to an error state
Blocking Conditions
Introduction
Blocking conditions caused during the execution of the application program do not cause
system errors, but they stop the CPU. The CPU goes into the HALT state, page 34.
NOTE:
• When a BMEH58•040 CPU is in the HALT state, the RIO and DIO outputs behave the
same way as they do when the CPU is in STOP state, page 387.
• For information about Hot Standby diagnostics, refer to the diagnostics chapter (see
Modicon M580 Hot Standby, System Planning Guide for, Frequently Used
Architectures) in the M580 Hot Standby installation guide.
EIO0000001578.13 87
Hardware M580 Diagnostics
Diagnostics
Visual indications of a blocking condition are the ERR LED on the CPU front panel, page 57.
A description of the error is provided in system word %SW125.
The address of the instruction that was executing when the blocking condition occurred is
provided by system words %SW126 through %SW127.
%SW125 system word values and corresponding blocking condition description:
8FF4 version of the SFC code more recent than the interpreter
88 EIO0000001578.13
M580 Diagnostics Hardware
93F4 macro step cannot be found in the list of active steps for deactivation
DEF0 division by 0
EIO0000001578.13 89
Hardware M580 Diagnostics
Non-blocking Conditions
Introduction
The system enters a non-blocking condition when it detects an input/output error on the
backplane bus (X Bus or Ethernet) or through execution of an instruction, which can be
processed by the user program and does not modify the CPU status.
90 EIO0000001578.13
M580 Diagnostics Hardware
Diagnostics
A CPU or system error is diagnosed with the following indications:
• CPU I/O LED pattern: steady on
• system word %SW124 value defines the detected error source:
◦ 80 hex: system watchdog error or rack internal bus wiring error
◦ 81 hex: rack internal bus wiring error
◦ 90 hex: interruption not foreseen, or system task pile overrun
EIO0000001578.13 91
Hardware M580 Diagnostics
Build the application 1020 2020 2040 3020 3040 4020 4040 5040 6040
here (↓).
BMEP581020 X X – X – X – – –
BMEP582020 – X – X – X – – –
BMEP582040 – – X – X – X X X
BMEP583020 – – – X – X – – –
BMEP583040 – – – – X – X X X
BMEP584020 – – – – – X – – –
BMEP584040 – – – – – – X X X
BMEP585040 – – – – – – – X X
BMEP586040 – – – – – – – – X
X yes
– no
These applications are built on Hot Standby CPUs and transferred to Hot Standby CPUs:
Hot Standby CPUs Download and execute the application here (BMEH58...
BMEH582040 X X X
BMEH584040 – X X
BMEH586040 – – X
X yes
– no
92 EIO0000001578.13
M580 Diagnostics Hardware
NOTE: For all M580 CPUs, versions 1.10 and 2.00 are not compatible. You cannot
configure a CPU V2.00, and download the application to a CPU V1.10.
EIO0000001578.13 93
Hardware Processor Performance
Processor Performance
What’s in This Chapter
Execution of Tasks ...................................................................94
MAST Task Cycle Time: Introduction .........................................99
MAST Task Cycle Time: Program Processing ............................99
MAST Task Cycle Time: Internal Processing on Input and
Output................................................................................... 100
MAST Task Cycle Time Calculation ......................................... 104
FAST Task Cycle Time ........................................................... 104
Event Response Time ............................................................ 105
Introduction
This section describes BMEP58•0•0 processor performance.
Execution of Tasks
General
BME P58 •0•0 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 set
to 1, and a new cycle is launched.
94 EIO0000001578.13
Processor Performance Hardware
The following illustration shows the cyclical execution of the MAST task:
The following illustration shows the periodical execution of the MAST task:
EIO0000001578.13 95
Hardware Processor Performance
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:
Event Tasks
With event processing, the application program’s reaction time can be reduced for events
originating from:
• input/output modules (EVTi blocks)
• events timers (TIMERi blocks)
96 EIO0000001578.13
Processor Performance Hardware
EIO0000001578.13 97
Hardware Processor Performance
Multi-Task Execution
The following diagram shows the level of priority of the tasks in a multi-task structure:
98 EIO0000001578.13
Processor Performance Hardware
Illustration
The following diagram defines the MAST task cycle time:
EIO0000001578.13 99
Hardware Processor Performance
The table below gives the execution time for 1 K of instructions (i.e. 1024 instructions).
BMEP582020, BMEP582020H
BMEP582040, BMEP52040H
BMEP583020
BMEP583040
BMEP584020
BMEP584040
BMEP585040, BMEP585040C
BMEP586040, BMEP586040C
100 EIO0000001578.13
Processor Performance Hardware
NOTE: Three system words give information on the MAST task system overhead times:
• %SW27: last cycle overhead time
• %SW28: longest overhead time
• %SW29: shortest overhead time
BMXDDI1602, 16 T: 60 40 100
discrete inputs
module DDT: 30 29 60
BMXDDI3202K, 32 T: 67 44 111
discrete inputs
module DDT: 34 31 64
BMXDDI6402K, 64 T: 87 63 150
discrete inputs
module DDT: 40 43 83
BMXDDO1602, 16 T: 60 45 105
discrete outputs
module DDT: 31 34 64
BMXDDO1612, 16 T: 60 45 105
discrete outputs
module DDT: 30 33 63
BMXDDO3202 T:
BMXDDO3202H
DDT:
BMXDDO3202K, 32 T: 67 51 118
discrete outputs
module DDT: 33 35 69
EIO0000001578.13 101
Hardware Processor Performance
BMXDDO6402K, 64 T: 87 75 162
discrete outputs
module DDT: 40 50 89
BMXDDM16022, 8 T: 68 59 127
discrete inputs and 8
discrete outputs DDT: 44 51 95
module
BMXDDM3202K, 16 T: 75 63 138
discrete inputs and
16 discrete outputs DDT: 48 54 102
module
BMXDDM16025, 8 T: 68 59 127
discrete inputs and 8
discrete outputs DDT: 44 51 95
module
BMXDAI0805, 8 T: 60 40 100
discrete inputs
module DDT: 28 28 56
BMXDAI1602, 16 T: 60 40 100
discrete inputs
module DDT: 29 29 59
BMXDAI1603, 16 T: 60 40 100
discrete inputs
module DDT: 30 29 59
BMXDAI1604, 16 T: 60 40 100
discrete inputs
module DDT: 30 29 58
BMXDAO1605, 16 T: 60 45 105
discrete outputs
module DDT: 30 33 64
102 EIO0000001578.13
Processor Performance Hardware
BMXDRA0805, 8 T: 56 43 99
discrete outputs
module DDT: 28 31 59
EIO0000001578.13 103
Hardware Processor Performance
Calculation Method
The following table shows how to calculate the MAST task cycle time.
Step Action
1 Calculate the input and output internal processing time by adding the following times:
• MAST task system overhead time (see Modicon M340, Processors, Setup Manual)
• maximum communication system reception time and input management time for implicit
inputs/outputs (see Modicon M340, Processors, Setup Manual)
• maximum communication system transmission time and output management time for
implicit inputs/outputs (see Modicon M340, Processors, Setup Manual)
2 Calculate the program processing time (see Modicon M340, Processors, Setup Manual)
according to the number of instructions and the type (Boolean, digital) of program.
3 Add together the program processing time, and the input and output internal processing time.
104 EIO0000001578.13
Processor Performance Hardware
Response Time
The following table gives the response time for the BMEP58•0•0 processors with an
application program of 100 Boolean instructions and the module.
EIO0000001578.13 105
Hardware
Introduction
This part describes how to configure an M580 PAC system with Control Expert.
NOTE: The device configuration procedure is valid when configuring a project with
Control Expert Classic. When you configure your device from a system project, some
commands are disabled in the Control Expert editor. In this case, you need to configure
these parameters at the system level by using the Topology Manager.
106 EIO0000001578.13
M580 CPU Configuration Hardware
Introduction
The chapter describes the configuration of the M580 CPU.
EIO0000001578.13 107
Hardware M580 CPU Configuration
Step Action
4 Click OK.
5 (Optional) To create an Application password, use the Entry and Confirmation fields to input and
confirm the password. The Application password needs to:
• be a minimum 8 characters long.
• contain at lease one uppercase character, at least one lowercase character, one number, and
one non-alphanumeric character.
6 (Optional) To create an File encryption password, use the Entry and Confirmation fields to input
and confirm the password. The File encryption password needs to:
• be a minimum 8 characters long.
• contain at lease one uppercase character, at least one lowercase character, one number, and
one non-alphanumeric character.
108 EIO0000001578.13
M580 CPU Configuration Hardware
Step Action
7 Click OK to save your new password(s) or click Cancel to proceed without Application and File
encryption passwords.
Result: Control Expert saves your project to the specified path location.
Step Action
Step Action
1 In the Project Browser, double-click PLC Bus to display a graphical representation of the
hardware rack:
• The selected M580 CPU is in the second position.
• A default power supply appears in the first position.
• Control Expert automatically opens the Hardware Catalog that corresponds to the PLC bus
tab.
2 Select the power supply automatically added to the PLC bus.
EIO0000001578.13 109
Hardware M580 CPU Configuration
Step Action
4 Double-click the first slot of the PLC bus to open the New Device list.
5 Double-click the preferred power supply to make it appear in the PLC bus.
Step Action
4 In the Modify Password window, enter a password in the Entry and Confirmation fields.
5 Click OK.
6 Select the Auto-lock check box if you want to require the password to resume the application
display.
You may also click the up/down arrows to set the number of minutes at which time the application
would auto-lock.
7 Select File encryption active check-box if you want to encrypt the application files.
Click OK to confirm.
110 EIO0000001578.13
M580 CPU Configuration Hardware
Step Action
NOTE:
• To assist in the implementation of cyber security, confirm that you change the
password with modules that have firmware as of V1.05 or of any subsequent
supporting version(s).
• You cannot reset the module to factory settings if you lose the password.
More information about application password is given in Application Protection (see
EcoStruxure™ Control Expert, Operating Modes) page.
NOTE: When you export an unencrypted project to an .XEF or .ZEF file, the application
password is cleared.
It is possible to connect in monitoring mode without an application password.
This is the available access in monitoring mode:
Otherwise, you can help limit access to your application and data by following the Memory
Protect instructions (below).
Step Action
1 In the Project Browser window, expand the Configuration folder to display the CPU.
EIO0000001578.13 111
Hardware M580 CPU Configuration
Step Action
4 Select the Memory protect check box, and enter an input address of your choice.
Step Action
1 Double-click the image of the M580 CPU in the PLC Bus to view its properties.
3 In the Operating mode area, select the boxes to enable the following parameters in your application:
4 Run/Stop input Use these two parameters to place the PAC into Run or Stop mode. For more information
regarding the effect of these parameters, refer to the topic Managing Run/Stop Input, page
Run/Stop by 441. (default = de-selected)
input only
Memory protect This function is activated by an input bit. It prohibits the transfer of a project into the PAC
and modifications in online mode, regardless of the communication channel. The Run and
Stop commands are authorized. (default = de-selected)
Automatic start The enabling of this option automatically places the PAC into RUN mode in the event of a
in Run cold start. (default = de-selected)
Initialize %MWi On a cold start, page 444 or on download if you select the box (default state):
on cold start
• The %MWi are handled like other global variables (initialized to 0 or initial value,
according to current application) in all cold start cases.
On cold start or on download if you de-select the box:
• If %MW were previously saved in internal flash memory (using the %SW96 word)
they are restored from internal flash memory,
112 EIO0000001578.13
M580 CPU Configuration Hardware
Step Action
• If not:
◦ If cold start is linked to a power-off or of a push on the reset button, the %MW are
initialized.
◦ If not, the current values of %MW are maintained.
NOTE: if the new (or restored) application has more %MW than the previous one, the
added %MW are set to 0 (non-zero initial values are not applied)
Cold Start Only If selected, this option forces the cold start , page 445of the application, instead of the
normal warm start. By default, the Cold Start Only option is unchecked. An application
using this function is not:
• Downloadable to a PAC with a previous version.
• Executable on a PAC with a previous version.
5 The option Support Quantum remote drops is only available for BMEP584040, BMEP585040,
BMEP586040, BMEH584040, and BMEH586040.
By default, this option is checked (allowing usage of Quantum remote drops) and the percentage of memory
usage is displayed (bar graph).
NOTE: The limitation of state ram depends on the Quantum memory structure.
When unchecked, adding Quantum drops in the configuration is not allowed. Also, unchecking this option is
not possible, if there is at least one Quantum drop in your configuration.
6 Configure the size of the memory locations in the Size of global address fields.
NOTE: High end standalone and Hot Standby CPUs (BMEP584040, BMEP585040, BMEP586040,
BMEH584040 and BMEH586040) include State RAM memory management for Quantum Ethernet RIO
drops. The State RAM feature supports LL984 logic sections for converted LL984 applications.
The following memory management options are presented in the Configuration tab:
Mem usage The percentage of CPU memory usage (bar graph), based on the cumulative values input
into the %M, %MW, %I, and %IW fields, below. (Supported only by high end standalone
and Hot Standby CPUs that support State RAM. For these CPUs, the option Support
Quantum remote drops has to be checked previously).
NOTE: Input values so that the percentage of CPU memory usage does not exceed
100%.
%M-0x Enter the appropriate value for each address field type. (%I and %IW are supported only
by high end standalone and Hot Standby CPUs that support State RAM.)
%MW-4x
NOTE: The values for %IW and %MW, have to be divisible by 8 for version before
%I-1x 2.30 and divisible by 128 for other versions. The value for %KW have to be divisible
by 8 for all versions.
%IW-3x
%KW
Viewer Opens the State RAM Viewer, which displays the allocation of used memory.
NOTE: To input:
• Maximum values: Click the Maximum values button, select the appropriate boxes in the Max
column, then click OK.
• Default values: Click the Default values button, select the appropriate boxes in the Default column,
then click OK.
EIO0000001578.13 113
Hardware M580 CPU Configuration
Step Action
In M580 CPUs that are compatible with Quantum S908 network adapter (see Modicon Quantum
140CRA31908, Adapter Module, Installation and Configuration Guide) and an OS version ≥ 02.30:
(number of %I + number of %M) ≤ 65535. The maximum number of %I is 65280. The maximum number of
%M is 65280.
7 Select the Online modification in RUN or STOP check box (in the Configuration Online Modification field)
to use the change configuration on the fly (CCOTF) feature.
8
Select Edit > Validate (or click the toolbar button) to save the configuration.
NOTE:
• After you validate module settings for the first time, you cannot edit the module
name. If you subsequently decide to change the module name, delete the existing
module from the configuration, then add and rename a replacement module.
• In addition to the Configuration tab, described above, the CPU configuration
window presents an I/O Objects tab, and an Animation tab with three sub-tabs:
Task, Real-time Clock, and Information.
114 EIO0000001578.13
M580 CPU Configuration Hardware
EIO0000001578.13 115
Hardware M580 CPU Configuration
116 EIO0000001578.13
M580 CPU Configuration Hardware
EIO0000001578.13 117
Hardware M580 CPU Configuration
The data memory protection feature is supported by M580 CPU with the firmware V3.20 or
any subsequent supporting version(s). For details, refer to the chapter Data Memory
Protection (see EcoStruxure™ Control Expert, Operating Modes).
Step Action
1 In the Control Expert Project Browser, double-click PLC Bus to display the main rack. Then double-click on
the M580 CPU (but not on the Ethernet connectors) to view its properties.
%M protect The protected area is always located at the end of the %M area. Only the starting address
of the protected area can be set. The end address of the protected area is not configurable
(grayed).
The end address of the protected area equals to n-1 where n is the number of available %
M defined by the PLC abilities and set in the Configuration tab.
If %M protect is selected, you can enter the starting address or the %M data to protect. By
default, the starting address is 0.
118 EIO0000001578.13
M580 CPU Configuration Hardware
Step Action
%MW protect The protected area is always located at the end of the %M area. Only the starting address
of the protected area can be set. The end address of the protected area is not configurable
(grayed).
The end address of the protected area equals to n-1 where n is the number of available %
MW defined by the PLC abilities and set in the Configuration tab.
If %MW protect is selected, you can enter the starting address or the %M data to protect.
By default, the starting address is 0.
I/O protect If selected, all I/O objects (including DTM-objects) are protected.
NOTE: except state Ram objects.
%S, %SW If selected, all system bits and system words are protected.
protect
4
Select Edit > Validate (or click the toolbar button) to save the configuration.
Project Management
Downloading the Application to the CPU
Download the Control Expert application to the CPU through one of its ports or through a
connection to an Ethernet communication module:
Method Connection
USB port If the CPU and the PC that are running Control Expert both have USB ports, you can
download the application to the CPU directly through the USB ports, page 64 (version 1.1 or
later).
Ethernet port If the CPU and the PC that are running Control Expert both have Ethernet ports, you can
download the application to the CPU directly through the Ethernet ports.
communication You can download the application to the CPU by connecting Control Expert to the IP address
module of a communication module.
NOTE: For details, refer to Downloading CPU Applications (see Modicon M580
Standalone, System Planning Guide for, Frequently Used Architectures) in the Modicon
M580 Hot Standby System Planning Guide for Frequently Used Architectures.
EIO0000001578.13 119
Hardware M580 CPU Configuration
120 EIO0000001578.13
M580 CPU Configuration Hardware
EIO0000001578.13 121
Hardware M580 CPU Configuration
122 EIO0000001578.13
M580 CPU Configuration Hardware
1 A CPU on the main rack runs the Ethernet I/O communication server service.
2 A BMENOC0301/BMENOC0311 Ethernet communication module (Ethernet backplane
connection disabled) manages distributed equipment on the device network.
3 A BMENOC0301/BMENOC0311 Ethernet communication module (Ethernet backplane
connection enabled) is connected to a DIO cloud.
4 A BMENOS0300 network option switch module is connected to a DIO sub-ring.
EIO0000001578.13 123
Hardware M580 CPU Configuration
NOTE: Some configuration features for the M580 CPU are accessed through the
Control Expert DTM Browser. Those configuration instructions appear elsewhere in this
document, page 145.
Step Action
1 Open a project that includes an M580 CPU that supports RIO and DIO networks.
2 In the Project Browser, double-click Project > Configuration > PLC bus.
3 In the PLC bus dialog box, double-click the drawing with 3 Ethernet ports in the middle of the CPU.
4 In the Security tab, check to see that the services that you require are enabled, page 128.(See the
Note below.)
5 In the IPConfig tab, you may change the IP address of the CPU or you may configure the default
address, which starts with 10.10 and uses the last 2 bytes of the MAC address.
NOTE: When the default IP address in the 10.10 format is used, employ a connection in a
point-to-point way, with a cable directly connecting the module, or CPU, or NOC, to the user's
PC.
NOTE: For improved security, some of the communication services (FTP, TFTP, and
HTTP) are disabled by default. You may wish to perform some actions (such as a
firmware update, web access, or remote I/O) that require the availability of one or more
of these services. Before configuring Ethernet parameters, set the security levels, page
126 to meet your requirements. When these services are not needed, you should
disable them.
Security X X
IPConfig X X
124 EIO0000001578.13
M580 CPU Configuration Hardware
RSTP X X
SNMP X X
NTP X X
Switch — X
QoS — X
Service Port X X
Advanced Settings — X
Safety —1 —
NOTE: To maintain RIO performance, you cannot access these tabs for BME•58•040
CPUs.
Step Action
2 Open a Control Expert project that includes an M580 CPU in the configuration.
EIO0000001578.13 125
Hardware M580 CPU Configuration
Step Action
5 In the virtual rack, double-click the Ethernet ports of the M580 CPU to see these configuration tabs:
• Security
• IPConfig
• RSTP
• SNMP
• NTP
• Switch (See note 1.)
• QoS (See note 1.)
• Service Port
• Advanced Settings (See note 1.)
• Safety (See note 2.)
These configuration tabs are described in detail in the pages that follow.
NOTE:
1. This tab is not available for CPUs that provide the RIO Ethernet scanning services.
2. This tab applies only to standalone M580 safety CPUs.
Security Tab
Introduction
Control Expert provides security services for the controller. Enable and disable these
services on the Security tab in Control Expert.
Step Action
2 Double-click the Ethernet ports on the controller in the local backplane (or right-click the Ethernet
ports and select Open Submodule.
3 Select the Security tab in the RIO DIO Communicator Head window to enable/disable Ethernet
services.
126 EIO0000001578.13
M580 CPU Configuration Hardware
Field Comment
Enforce Security and Unlock Security Refer to the description, below, for details., page 128
TFTP Enable or disable (default) the ability to read RIO drop configuration and
device configuration management using the FDR service.
NOTE: Enable this service to use eX80 Ethernet adapter modules.
SNMP Enable or disable (default) the protocol used to monitor the device.
Access Control Enable (default) or disable Ethernet access to the multiple servers in the
controller from unauthorized network devices.
Authorized Subnet Yes/No
addresses (1)
IP Address 0.0.0.0 ... 223.255.255.255
Subnet mask 224.0.0.0 ... 255.255.255.252
FTP Select this to grant access to the FTP server in the controller.
TFTP Select this to grant access to the TFTP server in the controller.
HTTPS Select this to grant access to the HTTP secured server in the controller.
Port 502 Select this to grant access to port 502 (typically used for Modbus
messaging) of the controller.
EIP Select this to grant access to the EtherNet/IP server in the controller.
SNMP Select this to grant access to the SNMP agent resident in the controller.
1 Set Access Control to Enabled to modify this field.
NOTE: Refer to the ETH_PORT_CTRL topic, page 485 for information regarding using
this function block to control the FTP, TFTP, HTTP, and DHCP/BOOTP protocols.
EIO0000001578.13 127
Hardware M580 CPU Configuration
128 EIO0000001578.13
M580 CPU Configuration Hardware
NOTE: The subnet in the IP Address column can be the subnet itself or any IP address
inside the subnet. If you select Yes for a subnet that does not have a subnet mask, a
pop-up window states that the screen cannot be validated because of a detected error.
You can enter a maximum of 127 authorized IP addresses or subnets.
Step Action
3 Enter the address of the device to access the controller’s Ethernet I/O scanner service with either of
these methods:
• Add a single IP address: Enter the IP address of the device and select No in the Subnet
column.
• Add a subnet: Enter a subnet address in the IP Address column. Select Yes in the Subnet
column. Enter a subnet mask in the Subnet Mask column.
NOTE:
• The subnet in the IP Address column can be the subnet itself or any IP address in the
subnet. If you enter a subnet without a subnet mask, an on-screen message states that
the screen cannot be validated.
• A red exclamation point (!) indicates a detected error in the entry. You can save the
configuration only after the detected error is addressed.
4 Select one or more of the following methods of access you are granting the device or subnet: FTP,
TFTP, HTTP, Port 502, EIP, SNMP.
5 Repeat steps 2 - 4 for each additional device or subnet to which you want to grant access to the
controller’s Ethernet I/O scanner service.
NOTE: You can enter up to 127 authorized IP addresses or subnets.
6 Click Apply.
Step Action
1 In the Authorized Addresses list, select the IP address of the device to delete.
EIO0000001578.13 129
Hardware M580 CPU Configuration
IPConfig Tab
IPConfig Parameters
IP address configuration field on the IPConfig tab:
Main IP address 192.168.10.1 The IP address of the controller and DIO scanner. This address can be
used:
• By Control Expert, an HMI, or SCADA to communicate with the
controller.
• To access the controller web pages.
• By the controller to perform I/O scanning of DIO devices.
IP address A 192.168.11.1 This address applies to the RIO scanner service in the controller
designated as A. (See the note below.)
IP address B – For M580 Hot Standby controllers only, this address applies to the RIO
scanner service in the controller designated as B. (See the note below.)
Subnetwork 255.255.0.0 This bit mask identifies or determines the IP address bits that
mask correspond to the network address and the subnetwork portion of the
address. (The value can be changed to any valid value in the
subnetwork.)
Gateway 192.168.10.1 This is the IP address of the default gateway to which messages for
address other networks are transmitted.
NOTE:
• If you change IP address A, the system may recalculate all IP addresses (including those of the
drops) to keep all devices in the same subnetwork.
• In M580 Hot Standby systems, both controller A and controller B maintain a redundant owner
connection with each RIO device (BM•CRA312•0 adapter). For this reason, when a Hot Standby
switchover occurs, the state of RIO outputs is not affected – the Hot Standby switchover transition is
transparent.
130 EIO0000001578.13
M580 CPU Configuration Hardware
Step Action
1 Click the CRA IP address configuration link to open the Ethernet Network window.
3 The IP Address field displays the address that was automatically assigned when the device was
added to the network.
NOTE: Although the IP address is editable, accept the automatically assigned IP address.
4 The Identifier field displays the identifier for the module, which is also the Device Name. To edit the
Identifier setting:
1. Double-click on the Identifier value. The value becomes editable.
2. Type in a new value.
3. Click the Control Expert Validate button.
The new Identifier setting is applied.
NOTE: The other fields in the Ethernet Network window are read-only.
Advanced Configuration
To configure DHCP and FDR services in the DTM browser, click the Services
configuration link in the Advanced configuration section of the window.
RSTP Tab
Introduction
The Ethernet DEVICE NETWORK ports on the front of the M580 CPU support rapid
spanning tree protocol (RSTP). RSTP is an OSI layer 2 protocol defined by IEEE 802.1D
2004. RSTP performs these services:
• RSTP creates a loop-free logical network path for Ethernet devices that are part of a
topology that includes redundant physical paths. When either DEVICE NETWORK port
(ETH 2 or ETH 3) on the CPU is disconnected, the RSTP service directs traffic to the
other port.
• RSTP automatically restores network communication by activating redundant links
when a network event causes a loss of service.
EIO0000001578.13 131
Hardware M580 CPU Configuration
NOTE: When an RSTP link is disconnected, the RSTP service acts on an event and
forwards traffic through the correct port. During this re-connect time (50ms max), some
packets may be lost.
The RSTP service creates a loop-free logical network path for Ethernet devices that are part
of a topology that includes redundant physical paths. When the network experiences a loss
of service, the RSTP-enabled module automatically restores network communication by
activating redundant links.
NOTE: RSTP can be implemented only when all network switches are configured to
support RSTP.
Changing these parameters can affect sub-ring diagnostics, RIO determinism, and network
recovery times.
Step Action
2 Select a Bridge Priority from the drop-down list in the RSTP Operational State area:
• Root (0) (default)
• Backup Root (4096)
• Participant (32768)
RSTP Parameters for CPUs with RIO and DIO Scanner Service
RSTP tab:
Participant (32768) –
132 EIO0000001578.13
M580 CPU Configuration Hardware
Participant(32768) default
SNMP Tab
Use the SNMP tab in Control Expert to configure individual SNMP parameters for these
modules:
• M580 CPU modules
• (e)X80 EIO adapter modules on RIO drops
• 140CRA3120• RIO adapter modules in Quantum EIO systems
An SNMP agent is a software component of the SNMP service that runs on these modules
to allow access to diagnostic and management information for the modules, as defined by
the supported MIBs: MIB2, Bridge MIB, and LLDP MIB.
You can use SNMP browsers, network management software, and other tools to access this
data. In addition, the SNMP agent can be configured with the IP addresses of one or two
devices (typically PCs that run network management software) to be the targets of event-
driven trap messages. Traps can inform the management device of the following events:
Link up, Link down, Cold start, Warm start, and Authentication failure.
EIO0000001578.13 133
Hardware M580 CPU Configuration
Use the SNMP tab to configure the SNMP agents for communication modules in the local
rack and RIO drops. The SNMP agent can connect to and communicate with one or two
SNMP managers as part of an SNMP service. The SNMP service includes:
• authentication checking by the Ethernet communication module, of any SNMP manager
that sends SNMP requests
• management of events or traps
SNMP Parameters
View and edit these properties on the SNMP page:
Property Description
SNMP Version SNMP V1 SNMP V1 and SNMP V3 present different formats and
configurable parameters, as indicated below.
SNMP V3
IP Address IP Address Manager The IP address of the first SNMP manager to which the SNMP
Managers 1, 3 1 agent sends notices of traps.
IP Address Manager The IP address of the second SNMP manager to which the SNMP
2 agent sends notices of traps.
Community Get Password required by the SNMP agent before executing read
Names 1 commands from an SNMP manager (default = public).
134 EIO0000001578.13
M580 CPU Configuration Hardware
Property Description
Security 1 Enable TRUE causes the SNMP agent to send a trap notice to the SNMP
Authentication manager if an unauthorized manager sends a Get or Set
Failure Trap command to the agent (default = Disabled).
NTP Tab
You can configure an M580 CPU as an NTP server or an NTP client in the Control Expert
NTP tab.
When the CPU firmware version is:
• Earlier than V4.01, the SNTP protocol is employed and you can configure the CPU as:
◦ NTP client
◦ NTP server
◦ Both NTP client and server
• V4.01 or any subsequent supporting version(s), the NTPv4 protocol is employed and
you can configure the CPU as:
◦ NTP server only
◦ NTP server and client
To begin, open the CPU configuration tabs in Control Expert, page 124.
EIO0000001578.13 135
Hardware M580 CPU Configuration
136 EIO0000001578.13
M580 CPU Configuration Hardware
Value Comment
Disabled default: Both the NTP server and the NTP client services of the CPU are disabled.
NTP Client The CPU functions as the NTP client. In this case, configure the NTP Server
Configuration parameters.
NOTE: Enable the NTP client here to automatically enable the NTP client service on
all BM•CRA312•0 adapter modules.
NTP Server The Ethernet I/O scanner CPU acts as an NTP server.
NOTE: Enable the NTP client here to automatically enable the NTP client service on
all BM•CRA312•0 adapter modules and to configure the BM•CRA312•0 to use the
CPU as the NTP server.
EIO0000001578.13 137
Hardware M580 CPU Configuration
Parameter Comment
Primary NTP Server the IP address of the NTP server, from which the CPU first requests a time value
IP address
Secondary NTP the IP address of the backup NTP server, from which the CPU requests a time value
Server IP address after not receiving a response from the primary NTP server
Polling Period The time (in seconds) between updates from the NTP server. Smaller values typically
result in better accuracy.
NOTE: This parameter applies only to the SNTP protocol and to CPUs using a
firmware version earlier than V4.01.
Parameter Description
Server Only / Client Specify the NTP role of the CPU: server only, or both client and server.
Server
Stratum The relative position of the server in the NTP network. This represents the distance of
the CPU (in its role as NTP server) from the reference clock.
• 0 is lowest (directly connected)
• 15 is most distant (hence less reliable)
When the CPU is operating as:
• Client and server: this parameter is auto-configured. It is equal to the stratum
value of the system peer +1.
• Server only or in orphan mode (i.e., when the CPU’s subnet becomes isolated
from other NTP servers and assumes the role as interim server): you can
configure this parameter.
Server IPv4 address1 The IP addresses of reference NTP servers used by the CPU. Minimum of 4;
maximum of 8.
Used as preferred1 Indicates the NTP server in the list to be used by the CPU.
Quality threshold (ms) Threshold for NTP accuracy. Setting range 0...1000.
1
• 0 = not used.
• Default value = 50 ms.
The Quality threshold setting is compared to the DDT value NTP_WITHIN. If the
Quality threshold is ≥ NTP_WITHIN, the NTP_QUALITY_WARNING DDT item is
set to true (1) and the event is recorded in syslog.
138 EIO0000001578.13
M580 CPU Configuration Hardware
Switch Tab
Description
The Switch tab is only available for CPUs without RIO scanner service. It contains these
fields:
NOTE: ETH1 port is a dedicated service port and the Ethernet backplane network is
dedicated to the communication between modules on the rack. The switch parameters
for those two ports cannot be configured in the Switch tab.
EIO0000001578.13 139
Hardware M580 CPU Configuration
QoS Tab
Description
The M580 CPU can be configured to perform Ethernet packet tagging. The CPU supports
the OSI layer 3 quality of service (QoS) standard defined in RFC-2475. When you enable
QoS, the CPU adds a differentiated services code point (DSCP) tag to each Ethernet packet
that it transmits to indicate the priority of that packet.
QoS Tab
The QoS tab is available only on CPUs that do not support the RIO scanner service (only on
CPUs with commercial references that end with 20).
DSCP tagging lets you prioritize the Ethernet packet streams based on the type of traffic in
that stream.
To implement QoS settings in your Ethernet network:
• Use network switches that support QoS.
• Consistently apply DSCP values to network devices and switches that support DSCP.
140 EIO0000001578.13
M580 CPU Configuration Hardware
• Confirm that switches apply a consistent set of rules for sorting DSCP tags, when
transmitting and receiving Ethernet packets.
Service Port – Enabled (default) Enable the port and edit port parameters.
Access Port Service Port ETH1 You cannot edit the value in the Service Port Number
Configuration Number field.
Port Mirroring Source Port Internal Port Ethernet traffic to and from the internal processor sent
Configuration (s) to the Service Port
ETH2 Ethernet traffic to and from ETH2 sent to the Service
Port
ETH3 Ethernet traffic to and from ETH3 sent to the Service
Port
Backplane Port Ethernet traffic to and from the backplane sent to the
Service Port
Automatic – Deselected Automatically enables the service port of the standby
blocking of (default) BMENOC0301.4, or any subsequent supporting
service port on version(s)of the module, to allow an RIO main ring,
Standby CPU with or without distributed equipment, to communicate
(in Hot Standby with the control network.
system only)
Selected Automatically blocks the service port to help avoid an
unintentional loop.
EIO0000001578.13 141
Hardware M580 CPU Configuration
On-line Behavior
The Service Port parameters are stored in the application, but you can reconfigure the
parameters in connected mode. Values that you reconfigure in connected mode are sent to
the PAC through explicit messaging.
The changed values are not stored, so a mismatch can exist between the parameters that
are being used and those that are in the stored application.
142 EIO0000001578.13
M580 CPU Configuration Hardware
Timeout Settings
These parameters are in the EtherNet/IP Timeout Settings field:
FW_Open EM Connection 3000 Specifies the amount of time the scanner waits for FW_Open
Timeout (msec) response of an EM connection.
EM Connection RPI (msec) 10000 Sets T->O and O->T RPI for all EM connections.
EM Request Timeout (sec) 10 Specifies the amount of time the scanner will wait between
the request and the response of an explicit message.
Scanner Behavior
These parameters are in the EtherNet/IP Scanner Behavior field:
Safety Tab
Introduction
A CIP Safety CPU is the originator of CIP Safety communications, and is identified by its
originator unique identifier (OUNID). Use this tab to configure an OUNID for the CIP Safety
CPU. Each OUNID is a 10 byte concatenated value, consisting of a:
• Safety Network Number (6 bytes)
EIO0000001578.13 143
Hardware M580 CPU Configuration
• IP Address (4 bytes)
NOTE: Changes to the OUNID can be made only offline. After the changed
configuration is built, the application can be downloaded to the PAC.
IP Address
This is automatically set to the CPU Main IP address, page 130. The OUNID is updated if
the IP address changes.
Parameter Description
Safety Network Number Click Advanced... to open the Safety Network Number dialog, where you can
enter this setting:
• Automatically, by selecting Time-based, then clicking the Generate button.
The auto-generated value appears in the Number field.
• Manually, by selecting Manual, then a 6 byte hexadecimal character string
in the Number field.
Click OK to close the dialog and save the Safety Network Number.
IP Address This read-only setting is automatically input, based on the configured Main IP
address CPU setting.
144 EIO0000001578.13
M580 CPU Configuration Hardware
Step Action
2 Open a Control Expert project that includes a M580 CPU in the configuration.
EIO0000001578.13 145
Hardware M580 CPU Configuration
Step Action
4 Double-click (or right-click Open) the name of the CPU to open the configuration window.
Property Descriptions
This table describes the parameters for the Channel Properties:
146 EIO0000001578.13
M580 CPU Configuration Hardware
Source Address Source IP Address A list of IP addresses assigned to network interface cards installed
(PC) on your PC.
NOTE: If the configured main IP address of the CPU is not in
the subnet of any of the IP configured on the interface cards of
the PC, then the first interface card IP is suggested by default.
Sub-Network Mask The subnet mask that is associated with the selected source IP
(read-only) address (PC).
EtherNet/IP Begin detection The first IP address in the address range for automatic field bus
Network Detection range address discovery of EtherNet/IP devices.
End detection The last IP address in the address range for automatic field bus
range address discovery of EtherNet/IP devices.
Modbus Network Begin detection The first IP address in the address range for automatic field bus
Detection range address discovery of Modbus TCP devices.
End detection The last IP address in the address range for automatic field bus
range address discovery of Modbus TCP devices.
Step Action
3 In the DTM Browser, find the name that you assigned to the CPU.
TCP/IP Monitoring
Expand (+) the Channel Properties heading in the configuration tree and select the TCP/IP
item at level 1.
The read-only information on this page monitors the IP parameters that were configured in
Control Expert.
EIO0000001578.13 147
Hardware M580 CPU Configuration
Step Action
2 Open a Control Expert project that includes a M580 CPU in the configuration.
6 Select the Address Server item in the configuration tree to see the address server configuration.
148 EIO0000001578.13
M580 CPU Configuration Hardware
Configuration
Configure the address server to perform these tasks:
• Enable and disable the CPU FDR service.
• View an automatically generated list of all devices included in the CPU configuration,
displaying for each device:
◦ IP addressing parameters
◦ whether the device IP addressing parameters are provided by the CPU embedded
DHCP server
Manually add remote devices that are not part of the CPU configuration to the CPU DHCP
client list.
NOTE: Remote devices added in this way are equipped with DHCP client software and
are configured to subscribe to the CPU IP addressing service.
EIO0000001578.13 149
Hardware M580 CPU Configuration
NOTE: The FDR usage percentage is monitored by the FDR_USAGE variable in the
DDDT, page 248.
Property Description
Device No The number assigned to the device in the Control Expert configuration.
150 EIO0000001578.13
M580 CPU Configuration Hardware
Manually add networked Ethernet modules that are not part of the CPU configuration to the
CPU IP addressing service:
Step Description
1 In the Address Server page, click the Add button in the Manually Added Devices field to instruct
Control Expert to add an empty row to the list.
2 In the new row, configure these parameters for the client device:
Identifier Type Select the type of value the client device uses to identify itself to the FDR server:
• MAC address
• device Name
Identifier Depending upon the identifier type, type in the client device setting for the MAC
address or name.
Netmask Type in the client device subnet mask.
Gateway Type in the gateway address that remote devices can use to communicate with
devices located on other networks. Use 0.0.0.0 if remote devices do not
communicate with devices located on other networks.
3 Refer to the topic Configuring Properties in the Device Editor (see Modicon M580, BMENOC0301/0311
Ethernet Communications Module, Installation and Configuration Guide) for instructions on how to
apply edited properties to networked devices.
EIO0000001578.13 151
Hardware M580 CPU Configuration
Step Action
2 Open the Control Expert DTM Browser (Tools > DTM Browser).
3 Right-click the name that is assigned to your CPU in the DTM Browser.
4 Select Connect.
Step Action
1 Right-click the name that is assigned to your CPU in the DTM Browser.
2 Select Device Menu > Diagnosis to view the available diagnostics pages.
Diagnostics Information
The diagnostics window has two distinct areas:
• left pane: LED icons indicate the operating status of modules, devices, and
connections.
• right pane: These pages show diagnostics data for these items:
◦ CPU’s embedded scanner service
◦ local slave nodes that are activated for the CPU’s embedded scanner service
◦ EtherNet/IP connections between the CPU’s embedded scanner service and a
remote EtherNet/IP device
When the appropriate DTM is connected to the CPU, Control Expert sends an explicit
message request once per second to detect the state of the CPU’s embedded scanner
service and of all the remote devices and EtherNet/IP connections linked to the CPU.
Control Expert places one of these status icons over the module, device, or connection in
the left pane of the Diagnostic window to indicate its current status:
152 EIO0000001578.13
M580 CPU Configuration Hardware
One of these states is indicated: The health bit for at least one EtherNet/IP connection or
Modbus TCP request (to a remote device, sub-device, or
• unknown
module) is set to inactive (0).
• stopped
• not connected
Bandwidth Diagnostics
Introduction
Use the Bandwidth page to view the dynamic and static data for the bandwidth use by the
embedded Ethernet scanner service in the CPU.
NOTE: Before you can open the diagnostics page, make the connection between the
DTM for the CPU’s embedded scanner service and the physical module.
Step Action
1 In the DTM Browser, right-click the name that is assigned to your CPU.
Data Display
Use the Refresh Every 500ms checkbox to display the static or dynamic data:
EIO0000001578.13 153
Hardware M580 CPU Configuration
Checkbox Description
Parameter Description
I/O - Scanner:
EtherNet/IP Sent The number of EtherNet/IP packets the module has sent in packets/second.
EtherNet/IP Received The number of EtherNet/IP packets the module has received in packets/second.
Modbus TCP Received The number of Modbus TCP requests the module has sent in packets/second.
Modbus TCP Responses The number of Modbus TCP responses that the CPU’s embedded scanner
service has received in packets/second.
I/O - Adapter:
EtherNet/IP Sent The number of EtherNet/IP packets (per second) that the CPU’s embedded
scanner service has sent in the role of a local slave.
EtherNet/IP Received The number of EtherNet/IP packets (per second) that the CPU’s embedded
scanner service has received in the role of a local slave.
I/O - Module
Module Capacity The maximum number of packets (per second) that the CPU’s embedded
scanner service can process.
Module Utilization The percentage of the CPU’s embedded scanner service capacity being used by
the application.
Messaging - Client:
EtherNet/IP Activity The number of explicit messages (packets per second) sent by the CPU’s
embedded scanner service using the EtherNet/IP protocol.
Modbus TCP Activity The number of explicit messages (packets per second) sent by the CPU’s
embedded scanner service using the Modbus TCP protocol.
Messaging - Server:
EtherNet/IP Activity The number of server messages (packets per second) received by the CPU’s
embedded scanner service using the EtherNet/IP protocol.
154 EIO0000001578.13
M580 CPU Configuration Hardware
Parameter Description
Modbus TCP Activity The number of server messages (packets per second) received by the CPU’s
embedded scanner service using the Modbus TCP protocol.
Module:
Processor Utilization The percentage of the CPU’s embedded scanner service processing capacity
used by the present level of communication activity.
RSTP Diagnostics
Introduction
Use the RSTP Diagnostic page to view the status of the RSTP service of the embedded
Ethernet scanner service in the controller. The page displays dynamically generated and
static data for the module.
NOTE: Before you can open the diagnostics page, make the connection between the
DTM for the controller’s embedded scanner service and the physical module.
Step Action
1 In the DTM Browser, right-click the name that is assigned to your controller.
Data Display
Select the Refresh Every 500ms check box to display the static or dynamic data:
EIO0000001578.13 155
Hardware M580 CPU Configuration
Checkbox Description
Parameter Description
Bridge Priority This 8-byte field contains the two-byte value that is assigned to the controller’s
embedded Ethernet switch.
MAC Address The Ethernet address of the controller, found on the front of the controller.
Root Path Cost The aggregate cost of port costs from this switch back to the root device.
Default Hello Time The interval at which Configuration BPDU messages are transmitted during a network
convergence. For RSTP this is a fixed value of 2 seconds.
Learned Hello Time The current Hello Time value learned from the root switch.
Configured Max Age The value (6 ... 40) that other switches use for MaxAge when this switch is acting as
the root.
Learned Max Age The maximum age learned from the root switch. This is the actual value currently used
by this switch.
Total Topology The total number of topology changes detected by this switch since the management
Changes entity was last reset or initialized.
Role: The port’s current role per RSTP protocol. Possible values are: root port, designated
port, alternate port, backup port, disabled port.
156 EIO0000001578.13
M580 CPU Configuration Hardware
Parameter Description
Cost The logical cost of this port as a path to the root switch. If this port is configured for
AUTO then the cost is determined based on the connection speed of the port.
STP Packets A value in this field indicates that a device on the network has the STP protocol
enabled.
NOTE:
• Other devices that are enabled for STP can severely affect the network
convergence times. Disable the STP protocol (but not the RSTP protocol)
on every network device that supports STP.
• The controller does not support the STP protocol. The controller’s
embedded switch ignores STP packets.
Step Action
1 In the DTM Browser, find the name that is assigned to the CPU.
2 Right-click the CPU DTM, and select Device menu > Diagnosis.
3 In the left pane of the Diagnosis window, select the CPU node.
Click the Reset Counter button to reset the counting statistics on this page to 0.
EIO0000001578.13 157
Hardware M580 CPU Configuration
Parameter Description
Refresh Every Check this box to dynamically update the page every 500ms. The number of times this
500ms page has been refreshed appears immediately to the right.
Network Time Monitor the operational status of the service in the module:
Service
• green: operational
• orange: disabled
Network Time Server Monitor the communication status of the NTP server:
Status
• green: The NTP server is reachable.
• red: The NTP server is not reachable.
Last Update Elapsed time, in seconds, since the most recent NTP server update.
DST Status Set the status of the automatic daylight savings service:
• ON: The automatic adjustment of daylight savings is enabled. The current date
and time reflect the daylight savings time adjustment.
• OFF: The automatic adjustment of daylight savings is disabled. (The current date
and time may not reflect the daylight savings time adjustment.)
Quality This correction (in seconds) applies to the local counter at every NTP server update.
Numbers greater than 0 indicate increasingly excessive traffic condition or an NTP
server overload.
Requests This value represents the total number of client requests sent to the NTP server.
Responses This value represents the total number of server responses sent from the NTP server.
Errors This value represents the total number of unanswered NTP requests.
Last Error This value indicates the last detected error code received from the NTP client:
• 0: good NTP configuration
• 1: late NTP server response (can be caused by excessive network traffic or server
overload)
• 2: NTP not configured
• 3: invalid NTP parameter setting
• 4: NTP component disabled
• 5: NTP server is not synchronized (NTP server needs to be synchronized so that
the NTP accesses behave as defined in the client NTP settings)
• 7: unrecoverable NTP transmission
• 9: invalid NTP server IP address
• 15: invalid syntax in the custom time zone rules file
158 EIO0000001578.13
M580 CPU Configuration Hardware
Parameter Description
Primary / Secondary The IP addresses correspond to the primary and secondary NTP servers.
NTP Server IP NOTE: A green LED to the right of the primary or secondary NTP server IP address
indicates the active server.
Auto Adjust Clock for Configure the daylight savings adjustment service:
Daylight Savings
• enabled
• disabled
DST Start / DST End Specify the day on which daylight savings time begins and ends:
Month Set the month in which daylight savings time starts or ends.
Day of Week Set the day of the week on which daylight savings time starts or ends.
Week# Set the occurrence of the specified day within the specified month.
Time Zone Select the time zone plus or minus Universal Time, Coordinated (UTC)
Offset Configure the time (in minutes) to be combined with the time zone selection (above) to
produce the system time.
Polling Period Set the frequency with which the NTP client requests an updated time from the NTP
server
Parameter Description
Refresh Every 500ms Check this box to dynamically update the page every 500ms.
The number of times this page has been refreshed appears immediately
to the right.
NTP V4 Service Service state The operational status of the service in the module:
• green: operational
• orange: disabled
Accuracy NTP clients only: The estimated difference between local (client) time
and server time.
Mode • Server / Client
• Server only
EIO0000001578.13 159
Hardware M580 CPU Configuration
Parameter Description
Root delay NTP clients only: The round trip request delay, in milliseconds, from a
client to a stratum 1 server.
Root NTP clients only: The additional delay contributed by other factors.
dispersion
Select Indicates the peer used as the time source (Current) and other viable
peer time sources (Candidate).
Reach count Percentage of NTP messages successfully sent to and received from the
peer.
Stratum The relative position in the hierarchy between this client and the original
time source (stratum 1) reference.
Offset The value to subtracted from received time value to obtain time value to
be applied.
160 EIO0000001578.13
M580 CPU Configuration Hardware
Step Action
1 In the DTM Browser, find the name that is assigned to the CPU.
2 Right-click the CPU DTM, and select Device menu > Diagnosis.
3 In the left pane of the Diagnosis window, select the CPU node.
4 Select the Local Slave Diagnostic tab or the Connection Diagnostic tab to open that page.
Data Display
Use the Refresh Every 500ms checkbox to display the static or dynamic data:
Checkbox Description
EIO0000001578.13 161
Hardware M580 CPU Configuration
Parameter Description
The Input and Output status diagnostic parameters can present these values:
0 OK
33 Time-out
53 IDLE
54 Connection established
58 Not connected (TCP)
68 Connection establishing
77 Scanner stopped
This table shows the Counter diagnostic parameters for the selected connection:
Parameter Description
Frame Error Increments each time a frame is not sent by missing resources or is impossible to
send.
Time-Out Increments each time a connection times out.
Refused Increments when connection is refused by the remote station.
Production Byte Total of produced messages, in bytes, since the communication module was last
reset.
162 EIO0000001578.13
M580 CPU Configuration Hardware
Parameter Description
Consumption Byte Total of consumed messages, in bytes, since the communication module was last
reset.
Theoretical Packets per Packets per second calculated using current configuration value.
second
Real Packets per Actual number of packets per second generated by this connection.
second
This table shows the Diagnostic parameters for the selected connection:
Parameter Description
Production Connection The connection ID for the data produced by the local slave.
ID
Consumption The connection ID for the data produced by the local slave.
Connection ID
O -> T API Actual packet interval (API) of the production connection.
This table shows the Socket Diagnostics diagnostic parameters for the selected
connection:
Parameter Description
This table shows the Production diagnostic parameters for the selected connection:
Parameter Description
EIO0000001578.13 163
Hardware M580 CPU Configuration
Parameter Description
This table shows the Consumption diagnostic parameters for the selected connection:
Parameter Description
Under Run Increments each time a consumed message is less than RPI.
Step Action
1 In the DTM Browser, find the name that is assigned to the CPU DTM.
2 Right-click the CPU DTM , and select Device menu > Diagnosis.
3 In the left pane of the Diagnosis window, select the CPU.
164 EIO0000001578.13
M580 CPU Configuration Hardware
Data Display
Use the Refresh Every 500ms checkbox to display the static or dynamic data:
Checkbox Description
Parameter Description
Input/Output A display of the local slave or remote device input or output data image.
data display
Status The Scanner Diagnostic object’s status, with respect to the read of the input or output data
image.
EIO0000001578.13 165
Hardware M580 CPU Configuration
• in diagnostic mode: in the Diagnostics window, by selecting the Logging node in the
left pane
Logging Attributes
The Logging window displays the result of an operation or function performed by Control
Expert. Each log entry includes the following attributes:
Attribute Description
Date/Time The time the event occurred, displayed in the format: yyyy-mm–dd hh:mm:ss
Warning An operation that Control Expert completed, but which may lead to a
subsequent error.
Detail Message A more detailed description of the event, which may include parameter names, location
paths, etc.
Step Action
166 EIO0000001578.13
M580 CPU Configuration Hardware
Step Action
NOTE: Refer to the Modicon Controllers Platform Cyber Security Reference Manual for
information on setting up a SYSLOG server in your system architecture (see Modicon
Controllers Platform, Cyber Security, Reference Manual).
EIO0000001578.13 167
Hardware M580 CPU Configuration
Online Action
Online Action
Introduction
You can view and configure the settings in the Online Action menu when the M580 CPU is
connected through the Control Expert DTM Browser.
Step Action
1 Open the DTM Browser in Control Expert (Tools > DTM Browser).
2 Select the M580 DTM in the DTM Browser.
3 Connect the DTM to the Control Expert application (Edit > Connect).
4 Right-click the M580 DTM.
5 Scroll to the Online Action menu (Device menu > Additional functions > Online Action).
6 3 tabs appear:
• Ethernet/IP Objects
• Port Configuration
• Ping
EtherNet/IP Objects
Displays object parameters value when available.
Click Refresh to update the displayed values.
Port Configuration
Configure and read the service port mode:
168 EIO0000001578.13
M580 CPU Configuration Hardware
Field Description
Access Port Displays the access port configuration information (refer to CPU configuration
Configuration tabs, page 141).
Port Mirroring Displays the port mirroring configuration (refer to CPU configuration tabs, page
Configuration 141).
Ping
Field Parameter Description
EIO0000001578.13 169
Hardware M580 CPU Configuration
Step Action
1 Connect the DTM to the module (see Modicon M580, BMENOC0301/0311 Ethernet
Communications Module, Installation and Configuration Guide).
2 Open the Online Action page (see Modicon M580, BMENOC0301/0311 Ethernet Communications
Module, Installation and Configuration Guide).
170 EIO0000001578.13
M580 CPU Configuration Hardware
Step Action
1 Connect the DTM to the module (see Modicon M580, BMENOC0301/0311 Ethernet
Communications Module, Installation and Configuration Guide).
2 Open the Online Action page (see Modicon M580, BMENOC0301/0311 Ethernet Communications
Module, Installation and Configuration Guide).
4 Configure the Service port with the instructions from the offline configuration (see Modicon M580,
BMENOC0301/0311 Ethernet Communications Module, Installation and Configuration Guide).
EIO0000001578.13 171
Hardware M580 CPU Configuration
The ping function can be performed in the Ping page of the Online Action window:
Step Action
1 In the DTM Browser, select the CPU upstream of the remote EtherNet/IP device you want to ping.
3 In the Online Action window, select the device you want to ping.
Result: The window displays pages containing online information for the selected device.
NOTE: The specific collection of displayed pages depends on the type of device selected:
• the CPU
• a remote EtherNet/IP device
• a remote Modbus TCP device
4 Select the Ping page. To send...
• a single ping: Deselect the Repeat checkbox.
• a series of pings (1 every 100 ms): Select the Repeat checkbox.
172 EIO0000001578.13
M580 CPU Configuration Hardware
Step Action
7 Click Ping a second time to stop repeated pinging, where no error has been detected.
8 The Ping Result box displays the ping outcome. Click Clear to empty the Ping Result box.
Function Code 3
Some module diagnostics (I/O connection, extended health, redundancy status, FDR
server, etc.) are available to Modbus clients that read the local Modbus server area. Use
Modbus function code 3 with the unit ID set to 100 for register mapping:
Identify 2001 24
EIO0000001578.13 173
Hardware M580 CPU Configuration
For a description of available function codes refer to the list of supported Modbus diagnostic
codes in the topic Modbus Diagnostic Codes (see Quantum IEC61850, 140 NOP 850 00,
Installation and Configuration Guide) in the Quantum EIO Control Network Installation and
Configuration Guide.
Function Code 1 08
Sub Function Code Hi 1 00
Sub Function Code Low 1 15
Operation Code Hi 1 00
Byte Count 1 49
Stratum 1 UINT
• Value = 16 Indicates KISS Code represented in the
Reference ID field is ASCII.
174 EIO0000001578.13
M580 CPU Configuration Hardware
Reference ID 4 UINT
Reference DATE_TIME-MICRO_ 4 UINT
SEC
Clock DATE_TIME-MICRO_SEC 4 UINT
Peer 2
DST Status 1
Time Zone 4
Time Zone Offset (minutes) 2
EIO0000001578.13 175
Hardware M580 CPU Configuration
Function Code 1 08
Sub Function 1 00
Code Hi
Sub Function 1 15
Code Low
Operation Code 1 00
Hi
Operation Code 1 75
Low
Byte Count 1 F9
Response only fields (The following fields repeat, with the suffix # incarnated, for each system peer):
Poll 1 2 INT
Delay 1 4 FLOAT
Offset 1 4 FLOAT
Jitter 1 4 FLOAT
When 6 6 byte ASCII. sec/min/hr since last received packet
176 EIO0000001578.13
M580 CPU Configuration Hardware
0x0200 Read the Ethernet port diagnostic data from the switch manager.
0x0300 Read the Modbus TCP/port 502 diagnostic data from the Modbus server.
0x0400 Read the Modbus TCP/port 502 connection table from the Modbus server.
0x07F0 Read the data structure offset data from the Modbus server.
0x02 0x0100 Clear the basic network diagnostic data. NOTE: Only specific parameters of basic
network diagnostic data are used to clear requests.
0x0200 Clear the Ethernet port diagnostic data. NOTE: Only specific parameters of basic network
diagnostic data are used to clear requests.
0x0300 Clear the Modbus TCP/port 502 diagnostic data. NOTE: Only specific parameters of
Modbus port 502 diagnostic data are used to clear requests.
0x0400 Clear the Modbus TCP/port 502 connection table. NOTE: Only specific parameters of
Modbus port 502 connection data are use to clear requests.
0x03 0 Clear all diagnostic data. NOTE: Only specific parameters of each diagnostic data are
used to clear requests.
EIO0000001578.13 177
Hardware M580 CPU Configuration
This table provides sample responses to the Modbus request (function code 43, subcode
14):
178 EIO0000001578.13
M580 CPU Configuration Hardware
CIP object data and content are exposed—and accessed—hierarchically in the following
nested levels:
Identity Object
Overview
The Identity object presents the instances, attributes and services described below.
Class ID
01
Instance IDs
The Identity object presents two instances:
• 0: class
• 1: instance
Attributes
Identity object attributes are associated with each instance, as follows:
Instance ID = 0 (class attributes):
EIO0000001578.13 179
Hardware M580 CPU Configuration
01 Revision X —
02 Max Instance X —
X = supported
— = not supported
04 04 Revision STRUCT X —
Major USINT
Minor USINT
05 05 Status Word X —
bit 2:
bits 4-7:
X = supported
— = not supported
Services
The Identity object performs the following services upon the listed object types:
180 EIO0000001578.13
M580 CPU Configuration Hardware
X = supported
— = not supported
Class ID
02 (hex and decimal)
Instance IDs
The Message Router object presents two instances:
• 0: class
• 1: instance
Attributes
Message Router object attributes are associated with each instance, as follows:
Instance ID = 0 (class attributes):
EIO0000001578.13 181
Hardware M580 CPU Configuration
01 Revision X —
02 Maximum Instance X —
03 Number of Instances X —
X = supported
— = not supported
— = not supported
Services
The Message Router object performs the following services upon the listed object types:
182 EIO0000001578.13
M580 CPU Configuration Hardware
X = supported
— = not supported
Assembly Object
Overview
The assembly object consists of the attributes and services. Assembly instances exist only
when you configure local slaves, page 336 for the M580 CPU modules.
You can send an explicit message to the assembly object only when no other connections
have been established that read from or write to this object. For example, you can send an
explicit message to the assembly object if a local slave instance is enabled, but no other
module is scanning that local slave.
Class ID
04
Instance IDs
The assembly object presents these instance identifiers:
• 0: class
• 101, 102, 111, 112, 121, 122: instance
Attributes
The assembly object consists of these attributes:
Instance ID = 0 (class attributes):
EIO0000001578.13 183
Hardware M580 CPU Configuration
01 Revision X —
02 Max Instance X —
03 Number of Instances X —
X = supported
— = not supported
Instance attributes:
X = supported
— = not supported
Services
The CIP assembly object performs these services upon the listed object types:
X = supported
— = not supported
1. When valid, the size of the data written to the assembly object using the Set_Attribute_Single service equals
the size of the assembly object as configured in the target module.
184 EIO0000001578.13
M580 CPU Configuration Hardware
Class ID
06
Instance IDs
The Connection Manager object presents two instance values:
• 0: class
• 1: instance
Attributes
Connection Manager object attributes are associated with each instance, as follows:
Instance ID = 0 (class attributes):
01 Revision X —
02 Max Instance X —
X = supported
— = not supported
EIO0000001578.13 185
Hardware M580 CPU Configuration
X = supported
— = not supported
Services
The Connection Manager object performs the following services on the listed object types:
186 EIO0000001578.13
M580 CPU Configuration Hardware
X = supported
— = not supported
Modbus Object
Overview
The Modbus object converts EtherNet/IP service requests to Modbus functions, and
Modbus exception codes to CIP General Status codes. It presents the instances, attributes
and services described below.
Class ID
44 (hex), 68 (decimal)
Instance IDs
The Modbus object presents two instance values:
• 0: class
• 1: instance
Attributes
The Modbus object consists of the following attributes:
Instance ID = 0 (class attributes):
EIO0000001578.13 187
Hardware M580 CPU Configuration
01 Revision X —
02 Max Instance X —
X = supported
— = not supported
Services
The Modbus object performs the following services upon the listed object types:
4B 75 Read_Discrete_Inputs — X
4C 76 Read_Coils — X
4D 77 Read_Input_Registers — X
4E 78 Read_Holding_Registers — X
4F 79 Write_Coils — X
50 80 Write_Holding_Registers — X
51 81 Modbus_Passthrough — X
X = supported
— = not supported
188 EIO0000001578.13
M580 CPU Configuration Hardware
Class ID
48 (hex), 72 (decimal)
Instance IDs
The QoS object presents two instance values:
• 0: class
• 1: instance
Attributes
The QoS object consists of the following attributes:
Instance ID = 0 (class attributes):
01 Revision X —
02 Max Instance X —
X = supported
— = not supported
EIO0000001578.13 189
Hardware M580 CPU Configuration
X = supported
— = not supported
NOTE: A change in the instance attribute value takes effect on device re-start, for
configurations made from flash memory.
Services
The QoS object performs the following services upon the listed object types:
10 16 Set_Attribute_Single — X
X = supported
— = not supported
Port Object
Overview
The Port object describes the communication interfaces that exist on the device and that are
visible to CIP.
Class ID
F4 (hex), 244 (decimal)
190 EIO0000001578.13
M580 CPU Configuration Hardware
Instance IDs
The Port object presents two instances:
• 0: class
• 1: instance
Attributes
Port object attributes are associated with each instance, as follows:
Instance ID = 0 (class attributes):
01 Revision X —
02 Maximum Instance X —
03 Number of Instances X —
08 Entry Port X —
Returns the instance of the Port object that describes the port through
which this request entered the device
X = supported
— = not supported
EIO0000001578.13 191
Hardware M580 CPU Configuration
192 EIO0000001578.13
M580 CPU Configuration Hardware
Array of X —
STRUCT of
Number of 16 bit USINT X —
words in the
following path
X = supported
— = not supported
EIO0000001578.13 193
Hardware M580 CPU Configuration
DeviceNet Object – 0x03 RSTP Port Object – 0x55 TCP/IP Interface Object – 0xF5
Modbus Object – 0x44 Parallel Redundancy Protocol Object Ethernet Link Object – 0xF6
– 0x56
Modbus Serial Link Object – 0x46 PRP Nodes Table Object – 0x57 0xF6 • CompoNet Link Object – 0xF7
Device Level Ring Object – 0x47 EtherNet/IP Security Object – 0x5E CompoNet Repeater Object – 0xF8
QoS Object – 0x48 ControlNet Object – 0xF0 CompoNet Repeater Object – 0xF8
SERCOS III Link Object – 0x4C ControlNet Keeper Object – 0xF1 IO-Link Master PHY Object – 0x10C
Services
The port object performs the following services upon the listed object types:
X = supported
— = not supported
194 EIO0000001578.13
M580 CPU Configuration Hardware
Class ID
F5 (hex), 245 (decimal)
Instance IDs
The TCP/IP interface object presents 2 instance values:
• 0: class
• 1: instance
Attributes
TCP/IP interface object attributes are associated with each instance, as follows:
Instance ID = 0 (class attributes):
01 Revision X —
02 Max Instance X —
X = supported
— = not supported
0x00 = other
03 Configuration Control DWORD X X 0x01 = out-of-box default
EIO0000001578.13 195
Hardware M580 CPU Configuration
IP Address UDINT
Network Mask UDINT
Gateway Address UDINT
X = supported
— = not supported
Services
The TCP/IP interface object performs the following services upon the listed object types:
— = not supported
1. The Set_Attribute_Single service can execute only when these preconditions are satisfied:
• Configure the Ethernet communication module to obtain its IP address from flash memory.
• Confirm that the PLC is in stop mode.
196 EIO0000001578.13
M580 CPU Configuration Hardware
Class ID
F6 (hex), 246 (decimal)
Instance IDs
The Ethernet Link object presents these instance values:
• 101: backplane slot 1
• 102: backplane slot 2
• 103: backplane slot 3
• ...
• 112: backplane slot 12
• 255: internal port
Attributes
The Ethernet Link object presents the following attributes:
Instance ID = 0 (class attributes):
01 Revision X —
02 Max Instance X —
03 Number of Instances X —
X = supported
— = not supported
0 = Inactive
1 = Active
Bit 1: duplex mode
EIO0000001578.13 197
Hardware M580 CPU Configuration
0 = half duplex
1 = full duplex
0 = automatic
0 = no event
1 = event detected
03 03 Physical Address ARRAY of X — module MAC address
6 USINT
04 04 Interface Counters STRUCT X —
198 EIO0000001578.13
M580 CPU Configuration Hardware
SQE Test Errors UDINT number of times the detected SQE test
error is generated
0 = half duplex
1 = full duplex
EIO0000001578.13 199
Hardware M580 CPU Configuration
— = not supported
Services
The Ethernet Link object performs the following services upon the listed object types:
10 16 Set_Attribute_Single — X
0E 14 Get_Attribute_Single X X
4C 76 Get_and_Clear — X
X = supported
— = not supported
Class ID
300 (hex), 768 (decimal)
200 EIO0000001578.13
M580 CPU Configuration Hardware
Instance IDs
The Module Diagnostic object presents two instances:
• 0: class
• 1: instance
Attributes
Module Diagnostic object attributes are associated with each instance, as follows:
Instance ID = 0 (class attributes):
01 Revision X —
02 Maximum Instance X —
X = supported
— = not supported
03 03 CRC UDINT X —
EIO0000001578.13 201
Hardware M580 CPU Configuration
— = not supported
Services
The Module Diagnostic object performs the following services upon the listed object types:
X = supported
— = not supported
202 EIO0000001578.13
M580 CPU Configuration Hardware
Class ID
301 (hex), 769 (decimal)
Instance IDs
The Scanner Diagnostic object presents two instances:
• 0: class
• 1: instance
Attributes
Scanner Diagnostic object attributes are associated with each instance, as follows:
Instance ID = 0 (class attributes):
01 Revision X —
02 Maximum Instance X —
X = supported
— = not supported
EIO0000001578.13 203
Hardware M580 CPU Configuration
02 02 ST_DIAG_CNT STRUCT X X
of
wErrFrameCnt UINT Incremented each time a frame is not
sent for lack of resources or was
impossible to send.
05 05 ST_LINK STRUCT X —
of
CIP Status UINT See below.
Extended Status UINT See below.
Production DWORD
Connection ID
Consumed DWORD
Connection ID
OtoT API UDINT API of the Connection
TtoO API (API of the UDINT API of the Connection
Connection)
204 EIO0000001578.13
M580 CPU Configuration Hardware
07 07 ST_PRODUCTION STRUCT X —
of
bValid WORD • 0 = STRUCT production data is
not valid
• 1 = STRUCT production data is
valid
dwCurrentTime UDINT Internal: number of ticks before next
production
stCheckTime STRUCT
of
dwLastTime UDINT Internal use
dwMaxTime UDINT Maximum time between productions
EIO0000001578.13 205
Hardware M580 CPU Configuration
stCheckTime STRUCT
of
dwLastTime UDINT Internal use
dwMaxTime UDINT Maximum time between consumptions
byGeneralStatus BYTE
byReserved BYTE
Extended WORD
X = supported
— = not supported
206 EIO0000001578.13
M580 CPU Configuration Hardware
65 Not connected status extended The Fw_Open response indicates a detected error.
(CIP)
0xFB 0xFB01 Timeout for Fw_Open response
Services
The Scanner Diagnostic object performs the following services upon the listed object types:
EIO0000001578.13 207
Hardware M580 CPU Configuration
X = supported
— = not supported
NOTE: If a service is addressed on an instance that does not exist or is not an I/O
connection for the scanner, the service detects the following error: 0x05 – Path
destination unknown.
Class ID
302 (hex), 770 (decimal)
Instance IDs
The Adapter Diagnostic object presents two instances:
• 0: class
• 1: instance
208 EIO0000001578.13
M580 CPU Configuration Hardware
Attributes
Adapter Diagnostic object attributes are associated with each instance, as follows:
Instance ID = 0 (class attributes):
01 Revision X —
02 Maximum Instance X —
X = supported
— = not supported
02 02 ST_DIAG_CNT STRUCT X —
of
wErrFrameCnt UINT Incremented each time a frame is not sent
for lack of resources or was impossible to
send.
wErrTimeOutCnt UINT Incremented when one connection is timed
out.
wErrRefusedCnt UINT Incremented when one connection is
refused by the remote station.
EIO0000001578.13 209
Hardware M580 CPU Configuration
210 EIO0000001578.13
M580 CPU Configuration Hardware
EIO0000001578.13 211
Hardware M580 CPU Configuration
stCheckTime STRUCT
dwLastTime UDINT Internal use
dwMaxTime UDINT Maximum time between two consumptions
byReserved BYTE
— = not supported
212 EIO0000001578.13
M580 CPU Configuration Hardware
33 No connection 0 0 No connection
0xFB 0xFB01 Connection in timeout
0xFB 0xFB07 Optimization error / indeterminable MAC
address
0xFB 0xFB0B Timeout on consumption
Services
The Adapter Diagnostic object performs the following services upon the listed object types:
EIO0000001578.13 213
Hardware M580 CPU Configuration
X = supported
— = not supported
NOTE: If a service is addressed on an instance that does not exist, the service detects
the following error: 0x05 – Path destination unknown.
Class ID
350 (hex), 848 (decimal)
Instance IDs
The EtherNet/IP Interface object presents two instance values:
• 0: class
• 1: instance
Attributes
EtherNet/IP Interface Diagnostics object attributes are associated with each instance, as
follows:
Instance ID = 0 (class attributes):
214 EIO0000001578.13
M580 CPU Configuration Hardware
01 Revision X —
02 Max Instance X —
X = supported
— = not supported
Max EIP TCP UINT Number of TCP connections (used for EIP, as
Connections opened client or server) opened since the last reset
Current EIP TCP UINT Number of TCP connections (used for EIP, as
Connections client or server) currently open
03 IO Messaging STRUCT X X
Diagnostics
EIO0000001578.13 215
Hardware M580 CPU Configuration
X = supported
— = not supported
Services
The EtherNet/IP Interface Diagnostics object performs the following services upon the listed
object types:
— = not supported
216 EIO0000001578.13
M580 CPU Configuration Hardware
Class ID
351 (hex), 849 (decimal)
Instance IDs
The EtherNet/IP IO Scanner Diagnostics object presents two instances:
• 0: class
• 1: instance
Attributes
EtherNet/IP IO Scanner Diagnostics object attributes are associated with each instance, as
follows:
Instance ID = 0 (class attributes):
01 Revision X —
02 Max Instance X —
X = supported
— = not supported
Size UINT
Status ARRAY of
UNINT
X = supported
— = not supported
Services
The EtherNet/IP IO Scanner Diagnostics object performs the following services upon the
listed object types:
EIO0000001578.13 217
Hardware M580 CPU Configuration
X = supported
— = not supported
Class ID
352 (hex), 850 (decimal)
Instance IDs
The IO Connection Diagnostics object presents two instance values:
• 0 (class)
• 257 ... 643 (instance): The instance number matches the connection number in the
Connection Settings configuration (see Modicon M580, BMENOC0301/0311 Ethernet
Communications Module, Installation and Configuration Guide).
NOTE: The Instance ID number = the Connection ID. For M580 specifically, you can
look up the Connection ID on the DTM Device List screen.
Attributes
IO Connection Diagnostics object attributes are associated with each instance, as follows:
Instance ID = 0 (class attributes):
218 EIO0000001578.13
M580 CPU Configuration Hardware
01 Revision X —
02 Max Instance X —
X = supported
— = not supported
01 IO Communication STRUCT X X
Diagnostics
EIO0000001578.13 219
Hardware M580 CPU Configuration
Local IP UDINT —
Remote IP UDINT —
1 = EtherNet/IP
X = supported
— = not supported
The following values describe the structure of the instance attributes: CIP Connection State,
Input Communication Status, and Output Communication Status:
15...3 Reserved 0
2 Idle 0 = no idle notification
1 = idle notification
1 Consumption inhibited 0 = consumption started
1 = no consumption
1 = no production
Services
The EtherNet/IP Interface Diagnostics object performs the following services upon the listed
object types:
220 EIO0000001578.13
M580 CPU Configuration Hardware
— = not supported
Class ID
353 (hex), 851 (decimal)
Instance IDs
The EtherNet/IP Explicit Connection Diagnostics object presents two instance values:
• 0: class
• 1...N: instance (N = maximum concurrent number of explicit connections)
Attributes
EtherNet/IP Explicit Connection Diagnostics object attributes are associated with each
instance, as follows:
Instance ID = 0 (class attributes):
EIO0000001578.13 221
Hardware M580 CPU Configuration
01 Revision 1 X —
X = supported
— = not supported
02 Originator IP UINT X —
05 Target IP UDINT X —
— = not supported
Services
The EtherNet/IP Explicit Connection Diagnostics object performs the following services
upon the listed object type:
X = supported
— = not supported
222 EIO0000001578.13
M580 CPU Configuration Hardware
Class ID
354 (hex), 852 (decimal)
Instance IDs
The EtherNet/IP Explicit Connection Diagnostics List object presents two instance values:
• 0: class
• 1: instance
Attributes
EtherNet/IP Explicit Connection Diagnostics List object attributes are associated with each
instance, as follows:
Instance ID = 0 (class attributes):
01 Revision X —
02 Max Instance X —
X = supported
— = not supported
EIO0000001578.13 223
Hardware M580 CPU Configuration
Originator IP UINT —
Target IP UDINT —
— = not supported
Services
The EtherNet/IP Explicit Connection Diagnostics object performs the following services
upon the listed object types:
09 09 Delete — X —
4B 75 Explicit_Connections_Diagnostic_Read — X —
X = supported
— = not supported
224 EIO0000001578.13
M580 CPU Configuration Hardware
Class ID
355 (hex), 853 (decimal)
Instance IDs
The RSTP Diagnostics object presents these instance values:
• 0: class
• 1: instance
Attributes
RSTP Diagnostics object attributes are associated with each instance.
Instance ID = 0 (class attributes):
01 Revision: This attribute specifies the current revision of the RSTP UINT X —
Diagnostic Object. The revision is increased by 1 at each new update
of the object.
— = not supported
EIO0000001578.13 225
Hardware M580 CPU Configuration
State UINT X X
Enable UINT X X
Path Cost UDINT X X
Designated Root String X X
Services:
226 EIO0000001578.13
M580 CPU Configuration Hardware
Port Number UINT X — This attribute indicates the port number for
a data query. The value range is
configuration dependent. For a 4-port
Ethernet device, as an instance, the valid
range is 1...4.
— = not supported
Services
The RSTP Diagnostics object performs these services:
EIO0000001578.13 227
Hardware M580 CPU Configuration
X = supported
— = not supported
Class ID
400 (hex), 1024 (decimal)
Instance IDs
The Service Port Control object presents these instance Values:
• 0: class
• 1: instance
228 EIO0000001578.13
M580 CPU Configuration Hardware
Attributes
Service Port Control object attributes are associated with each instance.
Required class attributes (instance 0):
01 Revision UINT X —
X = supported
— = not supported
1: access port
2: port mirroring
X = supported
— = not supported
NOTE:
• If the SERVICE port is not configured for port mirroring, the mirror attribute is
ignored. If the value of a parameter request is outside the valid range, the service
request is ignored.
• In port mirroring mode, the SERVICE port acts like a read-only port. That is, you
cannot access devices (ping, connection to Control Expert, etc.) through the
SERVICE port.
Services
The Service Port Control object performs these services for these object types:
EIO0000001578.13 229
Hardware M580 CPU Configuration
X = supported
— = not supported
Class ID
405 (hex), 1029 (decimal)
Instance IDs
The SNTP Diagnostics object presents two instances:
• 0: class
• 1: instance
Attributes
SNTP Diagnostics object attributes are associated with each instance, as follows:
Instance ID = 0 (class attributes):
230 EIO0000001578.13
M580 CPU Configuration Hardware
01 Revision X —
02 Maximum Instance X —
X = supported
— = not supported
EIO0000001578.13 231
Hardware M580 CPU Configuration
232 EIO0000001578.13
M580 CPU Configuration Hardware
08 08 Number of UDINT X —
Communication
Errors
09 09 Number of NTP UDINT
Responses
Received
A 10 Last Error UINT • 0 = no error
• 1 = NTP_ERROR_CONF_BAD_
PARAM
• 2 = NTP_ERROR_CONF_BAD_
CONF
• 3 = NTP_ERROR_CREATE_
SERVICE
• 4 = NTP_ERROR_WRONG_STATE
• 5 = NTP_ERROR_NO_RESPONSE
X = supported
— = not supported
EIO0000001578.13 233
Hardware M580 CPU Configuration
Services
The SNTP Diagnostics object performs the following services upon the listed object types:
X = supported
— = not supported
Class ID
406 (hex), 1030 (decimal)
Instance IDs
The Hot Standby FDR Sync object presents two instances:
• 0: class
• 1: instance
Attributes
Hot Standby FDR Sync object attributes are associated with each instance, as follows:
234 EIO0000001578.13
M580 CPU Configuration Hardware
01 Revision X —
02 Maximum Instance X —
X = supported
— = not supported
X = supported
— = not supported
Services
The Hot Standby FDR Sync object performs the following services upon the listed object
types:
EIO0000001578.13 235
Hardware M580 CPU Configuration
X = supported
— = not supported
Class ID
407 (hex), 1031 (decimal)
Instance IDs
The Ethernet Backplane Diagnostics object presents two instances:
• 0: class
• 1: instance
Attributes
Ethernet Backplane Diagnostics object attributes are associated with each instance, as
follows:
Instance ID = 0 (class attributes):
01 Revision X —
02 Maximum Instance X —
236 EIO0000001578.13
M580 CPU Configuration Hardware
03 Number of Instances X —
X = supported
— = not supported
— = not supported
Services
The Ethernet Backplane Diagnostics object performs the following services upon the listed
object types:
EIO0000001578.13 237
Hardware M580 CPU Configuration
X = supported
— = not supported
238 EIO0000001578.13
M580 CPU Configuration Hardware
Step Action
Description Source
This value is the sum of Modbus requests and This value is configured in the General page for a
EtherNet/IP connection sizes. selected distributed device and connection.
Expand (+) the Output row to view the Output Current Size values:
Description Source
This value is the sum of Modbus requests and This value is configured in the General page for a
EtherNet/IP connection sizes. selected distributed device and connection.
The maximum size of the X Bus input or output memory variable is 4 KB (2048 words). The
variable contains a 16-byte descriptor followed by a value that represents the number of
input or output data objects. Each data object contains a 3-byte object header followed by
the input or output data. The number of data objects and the size of the input or output data
depend on the configuration. The maximum overhead in the variable is 403 bytes (16 +
387), where 16 is the number of bytes in the descriptor and 387 is the product of 3 x 129,
where 3 is the number of bytes in the header and 129 is the number of input or output
objects (128 maximum scanned devices or local slaves that the BMENOC03•1 module
supports plus one input or output object for the scanner DDDT). Therefore, at least 3.6 KB of
the 4-KB variable is available for the input or output current size.
NOTE: The input current size also includes 28 words of scanner DDT input data. The
output current size also includes 24 words of scanner DDT output data.
EIO0000001578.13 239
Hardware M580 CPU Configuration
Expand (+) the Configuration Size row in the Connection Summary table to view these
values:
Current Number of DIO the number of distributed devices in the network design in the Control
Devices current configuration Expert device editor
Maximum Number of the maximum number of CIP Safety devices capability of the module
CSIO Devices that can be added to the configuration
Current Number of CSIO the number of active and inactive CIP Safety number of CIP Safety devices in
Devices devices in the current configuration the Device List > Safe Bus
Maximum Number of the maximum number of CIP Safety capability of the module
CSIO Connections connections to distributed devices that can be
managed by the Ethernet communications
module
Current Number of CSIO the number of connections by active devices in device configuration in the
Connections the current configuration Control Expert Device Editor
Current Number of Input total number of input packets (traffic) per network design in the Control
Packets second, based on the current number of Expert device editor
modules and its configured input data
Current Number of total number of output packets (traffic) per network design in the Control
Output Packets second, based on the current number of Expert device editor
modules and its configured output data
Current Number of Total total number of packets (traffic in both network design in the Control
Packets directions) per second, based on the current Expert device editor
number of modules and its configured I/O data
240 EIO0000001578.13
M580 CPU Configuration Hardware
Column Description
Connection Bit • Connection health bits display the status of each device with one or more
connections.
• Connection control bits can be toggled on and off using object IDs.
Output Object The ID of the output object associated with the connection (see the note following the
table).
Device The device Number is used for the health and control bit index.
Device Name A unique name associated with the device that owns the connection.
Rate (msec) The RPI (for EtherNet/IP) or the repetitive rate (for Modbus TCP), in ms.
Input Packets per The number of input (T->O) packets per second exchanged over this connection.
Second
Output Packets per The number of output (O->T) packets per second exchanged over this connection.
Second
Packets per Second The total number of packets per second exchanged over this connection in both Input
and output directions.
Bandwidth Usage The total bandwidth used by this connection (total bytes per second traffic).
Size In The number of input words configured for this remote device.
Size Out The number of output words configured for this remote device.
NOTE: The numeric identifiers in the Input Object and Output Object columns
represent the objects associated with a single device connection (scan line). For
example, if an EtherNet/IP connection has an input object of 260 and an output object of
261, the corresponding control bits for this connection are in the DIO_CTRL field in the
M580 CPU device DDT. Object 260 is the fifth bit and object 261 is the sixth bit in this
field. There can be multiple connections for a device. Set the corresponding bits to
control the input and output objects for these connections.
EIO0000001578.13 241
Hardware M580 CPU Configuration
Step Action
1 In the DTM Browser (Tools > DTM Browser), double-click the DTM that corresponds to the CPU.
2 In the navigation pane, expand (+) the Device List, page 238 to see the associated Modbus TCP
and EtherNet/IP devices.
3 Select a device from the Device List to view the Properties, Address Setting, and Request
Setting tabs tabs.
NOTE: These tabs are described in detail below.
Properties Tab
Configure the Properties tab to perform these tasks:
• Add the device to the configuration.
• Remove the device from the configuration.
• Edit the base name for variables and data structures used by the device.
• Indicate how input and output items are created and edited.
Configure the Properties tab:
Active Enabled: Add this device to the Control Expert project configuration.
Configuration
Disabled: Remove this device from the Control Expert project
configuration.
242 EIO0000001578.13
M580 CPU Configuration Hardware
IO Structure Structure Name Control Expert automatically assigns a structure name based on the
Name variable name.
Variable Name Variable Name: An auto-generated variable name is based on the
alias name.
Default Name Press this button to restore the default variable and structure names.
Items Import Mode Manual: I/O items are manually added in the Device Editor. The I/O
Management items list is not affected by changes to the device DTM.
Automatic: I/O items are taken from the device DTM and updated if
the items list in the device DTM changes. Items cannot be edited in
the Device Editor.
Reimport Items Press this buttom to import the I/O items list from the device DTM,
overwriting any manual I/O item edits. Enabled only when Import
mode is set to Manual.
Click Apply to save your edits and leave the window open for further edits.
IP IP Address By default:
Configuration
• The first three octet values equal the first three octet values of the
CPU.
• The fourth octet value equals this device Number setting. In this
case, the default value is 004.
In our continuing example, type in the address 192.168.1.17.
Gateway The gateway address used to reach this device. The default of 0.0.0.0
indicates this device is located on the same subnet as the CPU.
NOTE: For this example, accept the default value.
EIO0000001578.13 243
Hardware M580 CPU Configuration
Address Server DHCP for this Enabled: Activate the DHCP client in this device. The device obtains
Device its IP address from the DHCP service provided by the CPU appears on
the auto-generated DHCP client list (see Modicon M580,
BMENOC0321 Control Network Module, Installation and Configuration
Guide).
Identified by If DHCP for this Device is Enabled, it indicates the device identifier
type:
• MAC Address
• Device Name
NOTE: For this example, select Device Name.
Identifier If DHCP for this Device is Enabled, the specific device MAC Address
or Name value.
NOTE: For this example, accept the default setting of NIP2212_
01 (based on the Alias name).
Click Apply to save your edits, and leave the window open for further edits.
Step Action
1 Press the Add Request button to see a new request in the table.
244 EIO0000001578.13
M580 CPU Configuration Hardware
This table describes the Request Settings parameters for Modbus devices:
Setting Description
Connection Bit This bit indicates the read-only offset for the health bit for this connection. Offset values
(starting at 0) are auto-generated by the Control Expert DTM based on the connection type.
Unit ID The Unit ID is the number used to identify the target of the connection.
NOTE: Consult the manufacturer’s user manual for the specific target device to find its
Unit ID.
Health Time This value represents the maximum allowed interval between device responses before a time
Out (ms) out is detected:
• valid range: 5 ... 65535 ms
• interval: 5 ms
• default: 1500 ms
Repetitive Rate This value represents the data scan rate in intervals of 5 ms. (The valid range is 0...60000
(ms) ms. The default is 60 ms.)
RD Address This is the address of the input data image in the Modbus device.
RD Length This value represents the number of words (0...125) in the Modbus device that the CPU
reads.
Last Value This value represents the behavior of input data in the application if communications are lost:
• Hold Value (default)
• Set To Zero
WR Address This is the address of the output data image in the Modbus device.
WR Length This value represents the number of words (0...120) in the Modbus device to which the CPU
writes.
Remove a request:
Step Action
The next step is to connect the Control Expert project to the Modbus device.
EIO0000001578.13 245
Hardware M580 CPU Configuration
Step Action
1 Open a Control Expert project that includes an M580 PAC in the configuration.
You can add this variable to an Animation Table, page 271 to read the status and set the
object control bit.
NOTE: The red arrow and lock icons in the Device DDT table indicate that the variable
name was auto-generated by Control Expert based on the configuration of the
communication module, local slave, or distributed device. The variable name cannot be
edited.
246 EIO0000001578.13
M580 CPU Configuration Hardware
Name Description
Freshness_1 This bit represents individual input objects for the connection:
• 1: The input object is connected and provides up-to-date data.
• 0: The input object is not connected and does not provide up-to-date data.
Freshness_2 This bit represents an individual input object for the device:
• 1: The input object is true (1) and provides up-to-date data.
Freshness_3
• 0: The input object is not connected (0) and does not provide up-to-date data.
...
(available) The rows after the Freshness data are organized in groups of Inputs and Outputs that
have user-defined names. The number of input and output rows depends on the number of
input and output requests configured for a particular device.
Parameters
Use the Control Expert Device DDT tab to configure parameters for the controller RIO head
on the local backplane:
Parameter Description
Implicit device DDT Name the default name of the device DDT
Type module type (uneditable)
Standalone Configuration
These tables describe the fields in the implicit device DDT type that is used with the
controller RIO communication server in standalone configurations using Unity Pro 10.0 or
any subsequent supporting version(s), and M580 PAC version 2.01 or any subsequent
supporting version(s).
NOTE:
Unity Pro is the former name of Control Expert for version 13.1 or earlier.
EIO0000001578.13 247
Hardware M580 CPU Configuration
Input Parameters
The following tables describe the input parameters in the device DDT for the controller.
ETH_STATUS (WORD):
1 = Scanner is present.
NOTE:
• You can monitor interruptions in the RIO main ring by diagnosing the REDUNDANCY_STATUS bits in
the controller DDT. The system detects and reports in this bit a main ring cable interruption that
persists for at least 5 seconds.
REDUNDANCY_STATUS bit value:
0: The cable is broken, disconnected, or the device is stopped.
1: The loop is present and healthy.
• For RIO main rings using BMECRA31310 redundant adapters, the REDUNDANCY_STATUS bit is not
supported and will be set to 0.
248 EIO0000001578.13
M580 CPU Configuration Hardware
Duplicate IP addresses can cause errors in communication with the other modules.
WARNING
UNINTENDED EQUIPMENT OPERATION
Confirm that each module has a unique IP address.
Failure to follow these instructions can result in death, serious injury, or equipment
damage.
SERVICE_STATUS (WORD):
EIO0000001578.13 249
Hardware M580 CPU Configuration
SERVICE_STATUS2 (WORD):
CSIO_SCANNER (CIP Safety BOOL 4 0 = At least one CIP Safety connection is not operating
PAC) normally.
250 EIO0000001578.13
M580 CPU Configuration Hardware
ETH_PORT_1_2_STATUS (BYTE):
Ethernet ports function and RSTP role Bits 1...0 0: ETH 1 disabled
coded on 2 bits
1: ETH 1 access port
ETH_PORT_3_BKP_STATUS (BYTE):
Ethernet ports function and RSTP role Bits 1...0 0: ETH 3 disabled
coded on 2 bits
1: ETH 3 access port
EIO0000001578.13 251
Hardware M580 CPU Configuration
FDR_USAGE:
NTP_WITHIN:
NTP_NB_SERVER_CONNECTED:
IN_PACKETS (UINT):
IN_ERRORS (UINT):
OUT_PACKETS (UINT):
252 EIO0000001578.13
M580 CPU Configuration Hardware
OUT_ERRORS (UINT):
CONF_SIG (UDINT):
Output Parameters
Although the complete Hot Standby Device DDT is not exchanged from the primary
controller to the standby controller, these fields are transferred: DROP_CTRL; RIO_CTRL;
DIO_CTRL
These tables describe those output parameters:
DROP_CTRL:
DROP_CTRL BOOL 1...32 1 bit per RIO drop (up to 32 or 64 depending on the
controller firmware version)
or
1...64
RIO_CTRL:
DIO_CTRL:
CSIO_HEALTH:
EIO0000001578.13 253
Hardware M580 CPU Configuration
CSIO_HEALTH (safety) BOOL 769...896 CSIO health bits (1 bit per DIO up to 68 CSIOs)
SERVICE_CMD (WORD):
RED_PRP_DROP_SWAP:
RED_PRP_DROP_SWAP BOOL 1...64 1 bit per PRP drop (up to 64). A swap is only
possible for the PRP drop managed by
BMECRA31310(H) adapter modules in redundant
mode.
DROP_HEALTH ARRAY [1...32] of BOOL One array element corresponds to one X80 drop
managed by a BMXCRA••••• or BMECRA••••• adapter
or module (up to a maximum of 32 or 64 depending on the
controller firmware version).
ARRAY [1...64] of BOOL
RIO_HEALTH ARRAY [257...384] of BOOL RIO devices: One array element corresponds to one
RIO device (up to a maximum of 128 RIO devices).
LS_HEALTH ARRAY [1...3] of BOOL local slaves: One array element corresponds to one
local slave (up to a maximum of three local slaves).
DIO_HEALTH ARRAY [513...640] of BOOL DIO devices: One array element corresponds to one
DIO device (up to a maximum of 128 DIO devices).
CSIO_HEALTH ARRAY [769...896] of BOOL CSIO devices: One array element corresponds to one
(CIP Safety PAC) CSIO device (up to a maximum of 128 CSIO devices).
Values:
254 EIO0000001578.13
M580 CPU Configuration Hardware
• 1 (true): A device is healthy. The input data from the device is received within the pre-
configured health timeout.
• 0 (false): A device is not healthy. The input data from the device is not received within
the pre-configured health timeout.
NOTICE
RISK OF UNINTENDED OPERATION
Review and manage the T_M_ECPU_HSBY DDT for proper operation of the system.
Failure to follow these instructions can result in equipment damage.
EIO0000001578.13 255
Hardware M580 CPU Configuration
T_M_ECPU_HSBY DDT
CAUTION
RISK OF UNINTENDED OPERATION
Before you execute a swap command (either by application logic or in the Control Expert
GUI) confirm that the standby PAC is ready to assume the primary role by verifying that
the value of its REMOTE_HSBY_STS.EIO_ERROR bit is 0.
Failure to follow these instructions can result in injury or equipment damage.
LOGIC_MISMATCH BOOL Different revisions of the same application exist in the System
two PACs. (Default = false)
256 EIO0000001578.13
M580 CPU Configuration Hardware
SFC_MISMATCH BOOL • True: The applications in the primary PAC and the System
standby PAC are different in at least one SFC
section. In the event of a switchover, the graphs
that are different are reset to their initial state.
• False (default): All SFC sections are identical.
OFFLINE_BUILD_ BOOL The two PACs are running different revisions of the System
MISMATCH same application.In this condition:
• A data exchange between the two PACs may not
be possible.
• A swap or switchover may not be transparent.
• Neither PAC can be standby
(Default = false)
APP_BUILDCHANGE_DIFF UINT The number of build change differences between the System
applications in the primary PAC versus the standby
PAC. Evaluated by the primary.
FW_MISMATCH BOOL The OS are different in the two PACs. (Default = false) System
DATA_LAYOUT_MISMATCH BOOL The Data layout are different on the two PACs. The System
data transfer is partially performed. (Default = false)
DATA_DISCARDED UINT Number of KB sent by the primary and discarded by the System
standby (rounded up to the next KB). Represents data
for variables added to primary, but not to standby.
(Default = 0)
EIO0000001578.13 257
Hardware M580 CPU Configuration
258 EIO0000001578.13
M580 CPU Configuration Hardware
INITIAL_VALUE_MISMATCH BOOL • True: if the initial values for exchanged variables System
are different or if the comparison is not possible.
• False (false): if the initial values for exchanged
variables are identical.
MAST_SYNCHRONIZED (1) BOOL • True: if the exchanged data from the previous System
MAST cycle was received by the standby.
• False (default): if the exchanged data from at
least the previous MAST cycle was not received
by the standby.
NOTE: Closely monitor the MAST_
SYNCHRONIZED and FAST_SYNCHRONIZED
variables related to the MAST and FAST tasks as
indicated at the end of this table.
FAST_SYNCHRONIZED (1) BOOL • True: if the exchanged data from the previous System
FAST cycle was received by the standby.
• False (default): if the exchanged data from at
least the previous FAST cycle was not received
by the standby.
NOTE: Closely monitor the MAST_
SYNCHRONIZED and FAST_SYNCHRONIZED
variables related to the MAST and FAST tasks as
indicated at the end of this table.
SAFE_SYNCHRONIZED BOOL • True: if the exchanged data from the last SAFE System
cycle was received by the standby.
EIO0000001578.13 259
Hardware M580 CPU Configuration
REMOTE_HSBY_STS T_M_ Hot Standby status for the remote PAC (see below)
ECPU_
HSBY_STS
(1):
• Closely monitor the MAST_SYNCHRONIZED, FAST_SYNCHRONIZED, and SAFE_SYNCHRONIZED variables
related to the MAST, FAST and SAFE tasks. If its value is zero (False), then the database exchanged between the
primary and the standby PACs is not transmitted at each cycle. In this situation, change the configured period of
this task with a higher value than its current execution time (for the MAST task: %SW0 > %SW30; for the FAST
task %SW1 > %SW33; for the SAFE task %SW4 > %SW42. More details on %SW0 + %SW1 and %SW30 + %
SW31 in EcoStruxure™ Control Expert, System Bits and Words, Reference Manual).
• Example of consequence: upon an Application Program Transfer (APT) command, the primary PAC might not be
able to transfer the program to the standby PAC.
WAIT BOOL • True: The PAC is in Run state but waiting to go System
primary or standby.
• False: The PAC is in standby, primary or stop
state.
RUN_PRIMARY BOOL • True: The PAC is in primary state. System
• False: The PAC is in standby, wait or stop state.
260 EIO0000001578.13
M580 CPU Configuration Hardware
PLC_B BOOL • True: the PAC A/B/Clear switch, page 53 is in “B” System
position.
• False: the PAC switch is not in “B” position.
EIO_ERROR BOOL • True: The PAC does not detect any of the System
configured Ethernet RIO drops.
• False: The PAC detects at least one configured
Ethernet RIO drop.
NOTE: This bit is always false when no drop is
configured.
EIO0000001578.13 261
Hardware M580 CPU Configuration
Explicit Messaging
Introduction
You can configure EtherNet/IP and Modbus TCP explicit messages for the M580 CPU in the
following ways:
• Connect the CPU to a Control Expert project (see Modicon M580 Standalone, System
Planning Guide for, Frequently Used Architectures).
• Use the DATA_EXCH function block in application logic to transmit EtherNet/IP or
Modbus TCP explicit messages.
• Use a WRITE_VAR or a READ_VAR function block to exchange Modbus TCP explicit
messages, for example, service data objects (SDOs).
NOTE: A single Control Expert application can contain more than 16 explicit messaging
blocks, but only 16 explicit messaging blocks can be active at the same time.
262 EIO0000001578.13
M580 CPU Configuration Hardware
FBD Representation
Input Parameters
Parameter Data type Description
EN BOOL This parameter is optional. When this input is set to one, the block
is activated and can solve the function blocks algorithm. When this
input is set to zero, the block is deactivated and won’t solve the
function block algorithm.
Address Array [0...7] of INT The path to the destination device, the content of which can vary
depending on the message protocol. Use the Address function as
an is input to the block parameter ADR.. Refer to a description of
the Address parameter for:
• EtherNet/IP messages, page 267
• Modbus TCP messages (see Modicon M340, BMX NOC
0401 Ethernet Communication Module, User Manual)
ActionType INT The type of action to perform. For both the EtherNet/IP and
Modbus TCP protocols, this setting = 1 (transmission followed by
await reception).
Data_to_Send Array [n...m] of INT The content of this parameter is specific to the protocol, either
EtherNet/IP or Modbus TCP.
Input/Output Parameters
The Management_Param array is local:
EIO0000001578.13 263
Hardware M580 CPU Configuration
Management_Param Array [0...3] of INT The management parameter, page 264, consisting of four
words.
Do not copy this array during a switchover from a primary to a standby CPU in a Hot
Standby system. Uncheck the Exchange On STBY variable in Control Expert when you
configure a Hot Standby system.
NOTE: Refer to the description of Hot Standby system data management and the T_M_
ECPU_HSBY DDT (see Modicon M580 Hot Standby, System Planning Guide for,
Frequently Used Architectures) in the M580 Hot Standby System Planning Guide (see
Modicon M580 Hot Standby, System Planning Guide for, Frequently Used
Architectures).
Output Parameters
Parameter Data type Description
ENO BOOL This parameter is optional. When you select this output
you also get the EN input. ENO output is activated upon
successful execution of the function block.
Received_Data Array [n...m] of INT The EtherNet/IP (CIP) response, page 268 or the
Modbus TCP response (see Modicon M340, BMX NOC
0401 Ethernet Communication Module, User Manual).
264 EIO0000001578.13
M580 CPU Configuration Hardware
Activity Bit
The activity bit is the first bit of the first element in the table. The value of this bit indicates
the execution status of the communication function:
• 1: The bit is set to 1 when the function launches.
• 0: The bit returns to 0 upon the completion of the execution. (The transition from 1 to 0
increments the exchange number. If an error is detected during the execution, search
for the corresponding code in the operation and communication report (see Modicon
M580 Standalone, System Planning Guide for, Frequently Used Architectures).)
For example, you can make this declaration in the management table:
Management_Param[0] ARRAY [0..3] OF INT
For that declaration, the activity bit corresponds to this notation:
Management_Param[0].0
NOTE: The notation previously used requires configuration of the project properties in
such a way as to authorize the extraction of bits on integer types. If this is not the case,
Management_Param[0].0 cannot be accessed in this manner.
EIO0000001578.13 265
Hardware M580 CPU Configuration
Services
The services available in Control Expert include, but are not limited to, these service codes:
1 1 Get_Attributes_All X X
2 2 Set_Attributes_All X X
3 3 Get_Attribute_List X —
4 4 Set_Attribute_List X —
5 5 Reset X X
6 6 Start X X
7 7 Stop X X
8 8 Create X X
9 9 Delete X X
A 10 Multiple_Service_Packet X —
D 13 Apply_Attributes X X
E 14 Get_Attribute_Single X X
10 16 Set_Attribute_Single X X
11 17 Find_Next_Object_Instance X X
15 21 Restore X X
16 22 Save X X
266 EIO0000001578.13
M580 CPU Configuration Hardware
17 23 No Operation (NOP) X X
18 24 Get_Member X X
19 25 Set_Member X X
1A 26 Insert_Member X X
1B 27 Remove_Member X X
1C 28 GroupSync X —
"X" indicates the service is available. "—" indicates the service is not available.
rack the number assigned to the rack containing the communication module
EIO0000001578.13 267
Hardware M580 CPU Configuration
1. Refer to The CIP Networks Library, Volume 1, Common Industrial Protocol at section 3-5.6 Connection
Manager Object Instance Error Codes.
268 EIO0000001578.13
M580 CPU Configuration Hardware
First: Check the value of the high byte (MSB) of the first response word, positioned at
offset 0. If the value of this byte is:
• equal to 0: the system properly handled the explicit message
• not equal to 0: a system-based event occurred
Refer to the list of EtherNet/IP Explicit Messaging Event Codes (see Modicon
M580 Standalone, System Planning Guide for, Frequently Used
Architectures) for an explanation of the system-based event code contained in
the second response word, positioned at offset 1.
Next: If the system properly handled the explicit message, and the high byte of the first
response word equals 0, check the value of the second response word, positioned
at offset 1. If the value of this word is:
• equal to 0: the explicit message was properly handled by the CIP protocol
• not equal to 0: a CIP protocol-based event occurred
Refer to your CIP documentation for an explanation of the CIP status
displayed in this word.
EIO0000001578.13 269
Hardware M580 CPU Configuration
270 EIO0000001578.13
M580 CPU Configuration Hardware
Step Action
1 In Control Expert, select Tools → Project Browser to open the Project Browser.
2 In the Project Browser, select the Animation Tables folder, then click the right mouse button. A pop-up
menu appears.
3 Select New Animation Table in the pop-up menu. A new animation table and its properties dialog both
open.
EIO0000001578.13 271
Hardware M580 CPU Configuration
Step Action
Number of animated Type in 100, representing the size of the data buffer in words.
characters
5 Click OK to close the dialog.
6 In the animation table’s Name column, type the name of the variable assigned to the RECP pin:
ReceivedData and press Enter. The animation table displays the ReceivedData variable.
7 Expand the ReceivedData variable to display its word array, where you can view the CIP response
contained in the ReceivedData variable.
NOTE: Each array entry presents 2 bytes of data in little endian format, where the least significant
byte is stored in the smallest memory address. For example, ‘8E’ in word[0] is the lower byte, and
‘00’ is the upper byte.
272 EIO0000001578.13
M580 CPU Configuration Hardware
Declaring Variables
In this example, the following variables were defined. You can, of course, use different variable
names in your explicit messaging configurations.
EIO0000001578.13 273
Hardware M580 CPU Configuration
274 EIO0000001578.13
M580 CPU Configuration Hardware
Step Action
1 In Control Expert, select Tools → Project Browser to open the Project Browser.
2 In the Project Browser, select the Animation Tables folder, then click the right mouse button. A pop-
up menu appears.
3 Select New Animation Table in the pop-up menu. A new animation table and its properties dialog
both open.
Number of animated Type in 49, representing the size of the data buffer in words.
characters
EIO0000001578.13 275
Hardware M580 CPU Configuration
Step Action
5
The completed Properties dialog looks like this:
6 In the animation table’s Name column, type in the name of the variable assigned to the RECP pin:
ReceivedData and hit Enter. The animation table displays the ReceivedData variable.
7
Expand the ReceivedData variable to display its word array, where you can view the CIP response
contained in the ReceivedData variable:
Note: Each array entry presents 2 bytes of data in little endian format, where the least significant
byte is stored in the smallest memory address. For example, ‘CE’ in word[0] is the lower byte, and
‘00’ is the upper byte.
276 EIO0000001578.13
M580 CPU Configuration Hardware
EIO0000001578.13 277
Hardware M580 CPU Configuration
Declaring Variables
In this example, the following variables were defined. You can, of course, use different variable
names in your explicit messaging configurations.
278 EIO0000001578.13
M580 CPU Configuration Hardware
EIO0000001578.13 279
Hardware M580 CPU Configuration
Step Action
1 In Control Expert, select Tools → Project Browser to open the Project Browser.
2 In the Project Browser, select the Animation Tables folder, then click the right mouse button. A pop-up
menu appears.
3 Select New Animation Table in the pop-up menu. A new animation table and its properties dialog
both open.
Number of animated Type in 49, representing the size of the data buffer in words.
characters
5
The completed Properties dialog looks like this:
280 EIO0000001578.13
M580 CPU Configuration Hardware
Step Action
6 In the animation table’s Name column, type in the name of the variable assigned to the RECP pin:
ReceivedData and hit Enter. The animation table displays the ReceivedData variable.
7
Expand the ReceivedData variable to display its word array, where you can view the CIP response
contained in the ReceivedData variable:
Note: Each array entry presents 2 bytes of data in little endian format, where the least significant byte
is stored in the smallest memory address. For example, ‘D0’ in word[0] is the lower byte, and ‘00’ is the
upper byte.
Function Codes
The function codes supported by the Control Expert graphical user interface include the
following standard explicit messaging functions:
EIO0000001578.13 281
Hardware M580 CPU Configuration
NOTE: You can use the DATA_EXCH function block to execute any Modbus function, via
program logic. Because the available function codes are too numerous to list here, refer
instead to the Modbus IDA website for more information about these Modbus functions,
at http://www.Modbus.org.
Parameter Description
rack the number assigned to the rack containing the communication module
Unit ID the destination node address, also known as the Modbus Plus on Ethernet Transporter
(MET) mapping index value
282 EIO0000001578.13
M580 CPU Configuration Hardware
Parameter Description
The Unit ID value in a Modbus message indicates the destination of the message.
Refer to the Modbus diagnostic codes.
NOTE:
• Structure the response in little endian order.
• In some cases of detected errors, Received_Data is also used to judge the type of
detected error along with Management_Param.
EIO0000001578.13 283
Hardware M580 CPU Configuration
284 EIO0000001578.13
M580 CPU Configuration Hardware
DataToSend[0] • High byte = Most significant byte (MSB) of register address 16#15 (21 16#1503
decimal)
• Low byte = function code: 16#03 (03 decimal)
DataToSend[1] • High byte = Most significant byte (MSB) of the number of registers to 16#000F
read: 16#00 (0 decimal)
• Low byte = Least significant byte (LSB) of register address: 16#0F
(15 decimal)
NOTE: For detailed information about M580 network topologies, refer to the Modicon
M580 Standalone System Planning Guide for Frequently Used Architectures and
Modicon M580 System Planning Guide for Complex Topologies.
Step Action
EIO0000001578.13 285
Hardware M580 CPU Configuration
Step Action
Number of animated Type in 100, representing the size of the data buffer in words.
characters
5 Click OK to close the dialog.
6 In the animation table’s Name column, type in the name of the variable assigned to the databuffer:
ReceivedData and press Enter.
7 Expand the ReceivedData variable to display its word array, where you can view the CIP response
contained in the ReceivedData variable.
NOTE: Each array entry presents 2 bytes of data in little endian format. For example, ‘03’ in word
[0] is the low byte, and ‘02’ is the high byte.
286 EIO0000001578.13
M580 CPU Configuration Hardware
Step Action
1 Open the DTM Browser in Control Expert (Tools > DTM Browser).
2 Select the M580 DTM in the DTM Browser.
3 Right-click the M580 DTM.
4 Scroll to the EtherNet/IP explicit messaging page (Device menu > Additional functions >
EtherNet/IP Explicit Message).
Configuring Settings
Configure the explicit message using these settings on the EtherNet/IP Explicit Messaging
page:
Field Setting
Address IP Address: The IP address of the target device that is used to identify the target of the
explicit message.
Class: The Class integer (1 ... 65535) is the identifier of the target device that is used in the
construction of the message path.
Instance: The Instance integer (0 ... 65535) is the class instance of the target device that is
used in the construction of the message path.
Attribute: Check this box to enable the Attribute integer (0 ... 65535), which is the specific
device property that is the target of the explicit message that is used in the construction of
the message path.
Service Number: The Number is the integer (1 ... 127) associated with the service to be performed
by the explicit message.
NOTE: If you select Custom Service as the named service, type in a service number.
This field is read-only for all other services.
Name: Select the service that the explicit message is intended to perform.
Enter Path(hex): Check this box to enable the message path field, where you can manually
enter the entire path to the target device.
Data(hex) Data(hex): This value represents the data to be sent to the target device for services that
send data.
Messaging Connected: Select this radial button to make the connection.
Unconnected: Select this radial button to end the connection.
Response(hex) The Response area contains the data sent to the configuration tool by the target device in
hexadecimal format.
Status The Status area displays messages that indicate whether or not the explicit message has
succeeded.
Button Send to Device: When your explicit message is configured, click Send to Device.
EIO0000001578.13 287
Hardware M580 CPU Configuration
Click the Close button to save the changes and close the window.
Step Action
1 Open the DTM Browser in Control Expert (Tools > DTM Browser).
2 Select the M580 DTM in the DTM Browser.
3 Right-click the M580 DTM.
4 Scroll to the EtherNet/IP explicit messaging page (Device menu > Additional functions >
Modbus Explicit Message).
Configuring Settings
Configure the explicit message using these settings on the Modbus Explicit Messaging
page:
Field Setting
Address IP Address: The IP address of the target device that is used to identify the target of the explicit
message.
Read Device Id Code: This read-only code represents the service that the explicit message is
intended to perform.
288 EIO0000001578.13
M580 CPU Configuration Hardware
Field Setting
Object Id: This read-only identifier specifies the object that the explicit message is intended to
access.
Unit Id: This integer represents the device or module that is the target of the connection:
• 255: (default): Use this value to access the M580 CPU itself.
• 0 ... 254: Use these values to identify the device number of the target device behind a
Modbus TCP to Modbus gateway.
Service Number: This integer (0 ... 255) represents the service to be performed by the explicit
message.
Name: Select the integer (0 ... 255) that represents the service that the explicit message is
intended to perform.
Data Data(hex): This value represents the data to be sent to the target device for services that send
data.
Response The Response area displays any data sent to the configuration tool by the target device in
hexadecimal format.
Status The Status area displays messages indicating whether or not the explicit message has
succeeded.
Button Send to Device: After your explicit message is configured, click Send to Device.
Click the Close button to save the changes and close the window.
EIO0000001578.13 289
Hardware M580 CPU Configuration
The operation begins when the input to the EN pin is turned ON. The operation ends if the
ABORT pin is turned ON, or if the EN pin is turned OFF.
The CONTROL and DATABUF output parameters define the operation.
NOTE: The structure and content of the CONTROL and DATABUF output parameters
differ for explicit messages configured using the EtherNet/IP and Modbus TCP
protocols. Refer to the topics Configuring the Control Parameter for EtherNet/IP and
Configuring the Control Parameter for Modbus TCP for instructions on how to configure
these parameters for each protocol.
The ACTIVE output turns ON during operation; the ERROR output turns ON if the operation
aborts without success; the SUCCESS output turns ON at the successful completion of the
operation.
EN and ENO can be configured as additional parameters.
Representation in FBD
Input Parameters
Parameter Data type Description
ENABLE BOOL When ON, the explicit message operation (specified in the first
element of the CONTROL pin) is executing.
290 EIO0000001578.13
M580 CPU Configuration Hardware
Output Parameters
Parameter Data type Description
CONTROL1 WORD This parameter contains the control block. The first element
contains a code describing the operation to be performed. The
content of the control block depends on the operation. The structure
of the control block depends on the protocol (EtherNet/IP or
Modbus TCP).
DATABUF1 WORD This parameter contains the data buffer. For operations that:
• provide data — e.g., a write operation — this parameter is the
data source
• receive data — e.g., a read operation — this parameter is the
data destination
Note: Assign this parameter to a located variable.
1. Refer to the topics Configuring the Control Block for EtherNet/IP and Configuring the Control Block for
Modbus TCP for instructions on how to configure these parameters for the EtherNet/IP and Modbus TCP
communication protocols.
EIO0000001578.13 291
Hardware M580 CPU Configuration
NOTE: Configuration edits made to an Ethernet communication module from the Control
Expert Ethernet Configuration Tool’s EtherNet/IP Explicit Message Window are not
saved to the operating parameters stored in the CPU and, therefore, are not sent by the
CPU to the module on startup.
You can use Control Expert to construct a request that executes any service supported by
the target device that is compliant with the EtherNet/IP protocol.
Services
The services supported by Control Expert include the following standard explicit messaging
services:
2 2 Set_Attributes_All X X
3 3 Get_Attribute_List X —
4 4 Set_Attribute_List X —
5 5 Reset X X
6 6 Start X X
7 7 Stop X X
8 8 Create X X
9 9 Delete X X
A 10 Multiple_Service_Packet X —
D 13 Apply_Attributes X X
E 14 Get_Attribute_Single X X
10 16 Set_Attribute_Single X X
11 17 Find_Next_Object_Instance X X
15 21 Restore X X
16 22 Save X X
17 23 No Operation (NOP) X X
18 24 Get_Member X X
292 EIO0000001578.13
M580 CPU Configuration Hardware
1A 26 Insert_Member X X
1B 27 Remove_Member X X
1C 28 GroupSync X —
CONTROL[3] Response offset Offset for the beginning of the response in the data buffer,
in 16-bit words
EIO0000001578.13 293
Hardware M580 CPU Configuration
1. For example, the Control parameter handles the IP address 192.168.1.6 in the following order: Byte 4 = 192,
Byte 3 = 168, Byte 2 = 1, Byte 1 = 6.
CIP Request:
The format of the data buffer’s CIP request and CIP response is described, below.
NOTE: Structure both the request and response in little endian order.
Request:
294 EIO0000001578.13
M580 CPU Configuration Hardware
2 Request_Path Padded EPATH This byte array describes the path of the
request—including class ID, instance ID, etc.
—for this transaction
... Request_Data Byte array Service specific data to be delivered in the
explicit message request—if none, this field is
empty
Response:
1 Reserved Byte 0
... Response Data Byte array Response data from request, or additional
detected error data if General Status indicates
a detected error
1. Refer to The CIP Networks Library, Volume 1, Common Industrial Protocol at section 3-5.6 Connection
Manager Object Instance Detected Error Codes;
EIO0000001578.13 295
Hardware M580 CPU Configuration
Input Variables
Variables need to be created and assigned to input pins. For the purpose of this example,
variables have been created — and named — as described below. (You can use different
variable names in your explicit messaging configurations.)
Output Variables
Variables also need to be created and assigned to output pins. (The names assigned to
output variables apply only to this example, and can be changed in your explicit messaging
configurations.)
296 EIO0000001578.13
M580 CPU Configuration Hardware
NOTE: To simplify configuration, you can assign the CONTROL and DATABUF output pins
to a byte array consisting of located variables. When configured in this manner, you will
not need to be aware of the location of data within a word (for example, high versus low
byte, and big or little endian format).
Control Array
The control array parameter (EIP_ControlBuf) consists of 9 contiguous words. You need
to configure only some control words; other control words are read-only and are written to by
the operation. In this example, the control array defines the operation as an unconnected
explicit message, and identifies the target device:
EIO0000001578.13 297
Hardware M580 CPU Configuration
1. In this example, the control parameter handles the IP address 192.168.1.6 in the following order: Byte 4 =
192, Byte 3 = 168, Byte 2 = 1, Byte 1 - 6.
CIP Request
The CIP request is located at the beginning of the databuffer and is followed by the CIP
response. In this example, the CIP request calls for the return of a single attribute value
(diagnostic data), and describes the request path through the target device’s object structure
leading to the target attribute:
2 Request path: class assembly 16#04 Request path: logical class 16#20
object segment
Combining the high and low bytes, above, the CIP request would look like this:
1 16#030E
2 16#0420
3 16#6424
4 16#0330
298 EIO0000001578.13
M580 CPU Configuration Hardware
Step Action
1 In Control Expert, select Tools → Project Browser to open the Project Browser.
2 In the Project Browser, right-click Animation Tables > New Animation Table.
Result: A new animation table opens.
EIO0000001578.13 299
Hardware M580 CPU Configuration
Step Action
5 In the animation table’s Name column, type in the name of the variable assigned to the databuffer:
EIP_DataBuf and press Enter. The animation table displays the EIP_DataBuf variable.
6
Expand the EIP_DataBuf variable to display its word array, where you can view the CIP response at
words EIP_DataBuf(7-16):
Note: Each word presents 2 bytes of data in little endian format, where the least significant byte is
stored in the smallest memory address. For example, ‘0E’ in EIP_DataBuf[0] is the low byte, and ‘03’
is the high byte.
300 EIO0000001578.13
M580 CPU Configuration Hardware
Services
The function codes supported by Control Expert include the following standard explicit
messaging functions:
EIO0000001578.13 301
Hardware M580 CPU Configuration
When the Ethernet communication module acts as a server, the LSB indicates the
destination of a message received by the communication module:
• messages with an LSB value from 0 to 254 are forwarded to and processed by the CPU
• messages with an LSB value of 255 are retained and processed by the Ethernet
communication module
NOTE: Unit ID 255 should be used when requesting diagnostic data from the Ethernet
communication module.
Write Data
The control parameter consists of 9 contiguous words, as described below:
CONTROL[2] Detected error status Holds the event code (see Modicon M580 Standalone,
System Planning Guide for, Frequently Used Architectures)
(read-only)
302 EIO0000001578.13
M580 CPU Configuration Hardware
CONTROL[4] Starting register Start address of the slave to which the data is written, in 16-
bit words
CONTROL[5] Routing register High byte = Ethernet communication module slot
1. For example, the control parameter handles the IP address 192.168.1.7 in the following order: Byte 4 = 192,
Byte 3 = 168, Byte 2 = 1, Byte 1 = 7.
Read Data
The control parameter consists of 9 contiguous words, as described below:
CONTROL[2] Detected error status Holds the event code (see Modicon M580 Standalone,
System Planning Guide for, Frequently Used Architectures)
(read-only)
CONTROL[3] Data buffer length Number of addresses to be read from the slave
CONTROL[4] Starting register Determines the %MW starting register in the slave from
which the data is read. For example: 1 = %MW1, 49 = %
MW49)
1. For example, the control parameter handles the IP address 192.168.1.7 in the following order: Byte 4 = 192,
Byte 3 = 168, Byte 2 = 1, Byte 1 = 7.
EIO0000001578.13 303
Hardware M580 CPU Configuration
CONTROL[2] Detected error status Holds the event code (see Modicon M580 Standalone,
System Planning Guide for, Frequently Used Architectures)
(read-only)
CONTROL[3] Data buffer length Number of addresses to be read from local statistics (0...37)
CONTROL[4] Starting register First address from which the statistics table is read (Reg1=
0)
CONTROL[7]
CONTROL[8]
CONTROL[9]
Module Response: A TCP/IP Ethernet module responds to the Get Local Statistics
command with the following information:
Word Description
Bits 8...4 Module Type — this bit presents the following values:
• 2 = M1E • 13 = (reserved)
304 EIO0000001578.13
M580 CPU Configuration Hardware
Word Description
14 and 15 (reserved)
CONTROL[2] Detected error status Holds the event code (see Modicon M580 Standalone,
System Planning Guide for, Frequently Used Architectures)
(read-only)
EIO0000001578.13 305
Hardware M580 CPU Configuration
CONTROL[7]
CONTROL[8]
CONTROL[9]
CONTROL[2] Detected error status Holds the event code (see Modicon M580 Standalone,
System Planning Guide for, Frequently Used Architectures)
(read-only)
CONTROL[3] Data buffer length Number of addresses to be read from the statistics data field
(0...37)
CONTROL[4] Starting register First address from which the node statistics table is read
1. For example, the control parameter handles the IP address 192.168.1.7 in the following order: Byte 4 = 192,
Byte 3 = 168, Byte 2 = 1, Byte 1 = 7.
306 EIO0000001578.13
M580 CPU Configuration Hardware
CONTROL[2] Detected error status Holds the event code (see Modicon M580 Standalone,
System Planning Guide for, Frequently Used
Architectures) (read-only)
1. For example, the control parameter handles the IP address 192.168.1.7 in the following order: Byte 4 = 192,
Byte 3 = 168, Byte 2 = 1, Byte 1 = 7.
Reset Module
The control parameter consists of 9 contiguous words, as described below:
CONTROL[2] Detected error status Holds the event code (see Modicon M580 Standalone,
System Planning Guide for, Frequently Used Architectures)
(read-only)
EIO0000001578.13 307
Hardware M580 CPU Configuration
CONTROL[7]
CONTROL[8]
CONTROL[9]
Read/Write Data
The control parameter consists of 11 contiguous words, as described below:
CONTROL[2] Detected error status Holds the event code (see Modicon M580 Standalone,
System Planning Guide for, Frequently Used
Architectures) (read-only)
CONTROL[4] Starting register Determines the %MW starting register in the slave to which
the data will be written. For example: 1 = %MW1, 49 = %
MW49)
CONTROL[10] Data buffer length Number of addresses to be read from the slave
CONTROL[11] Starting register Determines the %MW starting register in the slave from
which the data is read. For example: 1 = %MW1, 49 = %
MW49)
1. For example, the control parameter handles the IP address 192.168.1.7 in the following order: Byte 4 = 192,
Byte 3 = 168, Byte 2 = 1, Byte 1 = 7.
308 EIO0000001578.13
M580 CPU Configuration Hardware
be used to change the enabled state of the service while the application is running. The
MSTR block cannot change the state of the HTTP or FTP/TFTP services if the service was
disabled using one of the configuration tools.
The control parameter consists of 9 contiguous words, as described below:
CONTROL[1] Operation FFF0 (hex) 65520 (dec) = enable / disable HTTP or FTP/TFTP
CONTROL[2] Detected error status Holds the event code (read-only). Codes returned include:
CONTROL[5] Module slot number High byte = Module slot number communication module slot
and destination ID
Low byte = Destination ID
CONTROL[9]
HTTP, FTP, and TFTP service state changes made by MSTR with operation code FFF0
(hex) are overridden by the configured value when the module is power-cycled or reset and
when a new application is downloaded to the module.
EIO0000001578.13 309
Hardware M580 CPU Configuration
Disabled Any MSTR returns detected error code 0x5069 (service was
already disabled by configuration)
Implicit Messaging
Introduction
This section extends the sample Control Expert application and contains these instructions:
• Add an STB NIC 2212 EtherNet/IP network interface module to your Control Expert
application.
• Configure the STB NIC 2212 module.
• Configure EtherNet/IP connections to link the Ethernet communications module and the
STB NIC 2212 network interface module.
• Configure I/O items for the Advantys island.
NOTE: The instructions in this section describe an example of a single, specific device
configuration. For other configuration choices, refer to the Control Expert help files.
310 EIO0000001578.13
M580 CPU Configuration Hardware
Network Topology
This sample network shows the Ethernet network devices used in this configuration:
1 The M580 CPU (with DIO scanner service) on the local rack is connected to a PC that
runs the Control Expert software.
2 The BMENOC0301/BMENOC0311 Ethernet communications module on the local rack is
connected to an STB NIC 2212 NIM on an Advantys island.
To re-create this example, use the IP addresses from your own configuration for these
items:
• M580 CPU
EIO0000001578.13 311
Hardware M580 CPU Configuration
• PC
• BMENOC0301/BMENOC0311 Ethernet communication module
• STB NIC 2212 network interface module
Step Action
1 In the DTM Browser, right-click the DTM that corresponds to the Ethernet communication module.
2 Scroll to Add.
312 EIO0000001578.13
M580 CPU Configuration Hardware
Step Action
3
Select STBNIC2212 (from EDS):
NOTE: Click a column name to sort the list of available devices. (For example, click Device to
view the items in the first column in alphabetical order.)
4 Click the Add DTM button to see the association between the Ethernet communication module and
the STB NIC 2212 in the DTM Browser.
5 In the DTM Browser, right-click the STB NIC 2212 node that is associated with the Ethernet
communication module DTM.
6 Scroll to Properties.
EIO0000001578.13 313
Hardware M580 CPU Configuration
Step Action
7
On the General tab, create a unique Alias name. (Using similar devices that use the same DTM can
result in duplicate module names.) In this example, type in the name NIC2212_01:
Control Expert uses the Alias name as the base for both structure and variable names.
NOTE: The Alias name is the only editable parameter on this tab. The other parameters are
read-only.
8 Click OK to add the STB NIC 2212 network interface module to the DTM Browser, beneath the
communication module.
The next step is to configure the device you have just added to the project.
314 EIO0000001578.13
M580 CPU Configuration Hardware
Step Action
1 Double-click the DTM that corresponds to the BMENOC0301/BMENOC0311 module to access the
configuration.
2 In the navigation tree, expand the Device List, page 238 to see the associated local slave
instances.
3 Select the device that corresponds to the name NIC2212_01.
Properties
Configure the Properties tab to perform these tasks:
• Add the STB NIC 2212 to the configuration.
• Remove the STB NIC 2212 from the configuration.
• Edit the base name for variables and data structures used by the STB NIC 2212.
• Indicate how input and output items are created and edited.
The descriptions for parameters (see Modicon M580, BMENOC0301/0311 Ethernet
Communications Module, Installation and Configuration Guide) in the Properties tab are
described in the configuration chapter. Use these values and names from the sample
configuration:
IO Structure Structure Name Control Expert automatically assigns a structure name based on the
Name variable name.
Variable Name Variable Name: Accept the auto-generated variable name (based on
the alias name).
Default Name Press this button to restore the default variable and structure names.
For this example, custom names are used.
EIO0000001578.13 315
Hardware M580 CPU Configuration
Click Apply to save your edits and leave the window open.
Address Setting
Use the Address Setting tab to enable the DHCP client in the STB NIC 2212 network
interface module. When the DHCP client is enabled in the remote device, it obtains its IP
address from the DHCP server in the Ethernet communication module.
Configure the Address Setting page to perform these tasks:
• Configure the IP address for a device.
• Enable or disable DHCP client software for a device.
The descriptions for parameters in the Address Setting tab are described in the
configuration chapter. Use these values and names from the sample configuration:
Identifier Accept the default setting of the STB NIC 2212 device (based on the
Alias name).
The next step is to configure the connection between the communication module and the
remote device.
316 EIO0000001578.13
M580 CPU Configuration Hardware
When making DTM edits, disconnect the selected DTM from the actual module or device
(see Modicon M580, BMENOC0301/0311 Ethernet Communications Module, Installation
and Configuration Guide).
Step Action
1 In Control Expert, double-click the DTM for the CPU’s DIO scanner service to access the
configuration.
2 In the navigation tree, expand the Device List (see Modicon M580, BMENOC0301/0311 Ethernet
Communications Module, Installation and Configuration Guide) to see the associated local slave
instances.
3 Expand (+) the device that corresponds to the STB NIC 2212 module.
4 Select Read Input/ Write Output Data to see the Connection Settings and Connection
Information tabs.
Connection Settings
Control Expert automatically creates a connection between a communication module and
remote device when the remote device is added to the Control Expert project. Thereafter,
many edits to the connection can be made in the DTM for the remote device. However,
some of the connection parameters can also be configured in the DTM for the
communication module, as demonstrated below.
Edit these parameters on the Connection Settings tab. Use settings that are appropriate to
your application:
Parameter Description
Connection Bit The (read-only) offset for both the health bit and the control bit for this connection. Offset
values are auto-generated by the Control Expert DTM.
Request Packet The refresh period for this connection , from 2 to 65535 ms. Default = 12 ms. Type 30 ms.
Interval (RPI)
NOTE: This parameter can be set in the DTM for the communication module or the
remote device.
Time-out This setting, multiplied against the RPI, produces a value that triggers an inactivity
Multiplier timeout. Setting selections include: x4, x8, x16, x32, x64, x128, x256 and x512.
Input Fallback This parameter describes the behavior of inputs in the application in the event
Mode communication is lost. Select Set to Zero.
EIO0000001578.13 317
Hardware M580 CPU Configuration
Step Action
1 Open the DTM for the remote device by selecting it in the Device Editor.
3 In the navigation pane (on the left side of the Device Editor), confirm that the remote device
connection is of the type Read Input / Write Output Data. To view the connection type, select the
STB NIC 2212 module in the left pane of the Device Editor. If the connection type is not of the type
Read Input / Write Output Data, delete the existing connection and add a new one, as follows:
1. With the connection selected in the left pane, click the Remove Connection button.
Result:The existing connection is removed.
2. Click the Add Connection button.
Result:The Select the connection to add dialog opens.
3. Use the scroll buttons on the drop down list to display and select the Read Input / Write
Output Data connection type.
4. Click OK to close the Select the connection to add dialog.
Result:The new connection node appears.
5. Click Apply to save the new connection, leaving the Device Editor open for additional edits.
318 EIO0000001578.13
M580 CPU Configuration Hardware
General Tab
This is the General tab of the DTM for the STB NIC 2212:
Parameter Description
RPI The refresh period for this connection. Accept the value of 30 ms. (This parameter can be
set in the DTM for the communication module or the remote device.)
Input size The number of bytes (0 ... 509) configured in the STB NIC 2212 module.
Input type Ethernet packet type (fixed or variable length) to be transmitted. (Only Fixed length
packets are supported.)
Input priority The transmission priority value depends upon the device DTM. These are the available
values:
• Low
• High
• Scheduled
For this example, accept the default selection (Scheduled).
EIO0000001578.13 319
Hardware M580 CPU Configuration
Parameter Description
NOTE: For remote modules that support more than one priority value, you can use
this setting to specify the order in which the Ethernet communication module handles
packets. For more information, refer to the topic describing QoS packet prioritization
(see Modicon M580, BMENOC0301/0311 Ethernet Communications Module,
Installation and Configuration Guide).
Output size The number of bytes configured in the STB NIC 2212 module in increments of 4 bytes (2
words).
Click Apply to save your settings and leave the window open.
Use the Check Identity parameter to set the rules that the CPU’s DIO scanner service uses
to compare the configured versus the actual remote device:
320 EIO0000001578.13
M580 CPU Configuration Hardware
• Must match exactly: The DTM or EDS file exactly matches the remote device.
• Disable: No checking occurs. The identity portion of the connection is filled with zero
values (the default setting).
• Must be compatible: If the remote device is not the same as defined by the DTM/EDS,
it emulates the DTM/EDS definitions.
• None: No checking occurs. The identity portion of the connection is omitted.
• Custom: Enable the following parameter settings, to be set individually.
Edit the settings in the Identity Check tab:
Parameter Description
Compatibility Mode True: For each of the following selected tests, the DTM/EDS and remote device need
only be compatible.
False: For each of the following selected tests, the DTM/EDS and remote device need
to match exactly.
Product Code
Product Type
Product Vendor
EIO0000001578.13 321
Hardware M580 CPU Configuration
Step Action
1 In the Advantys configuration software, select Island → I/O Image Overview. The I/O Image
window opens to the Fieldbus Image page.
2 Select the first cell (word 1, cell 0) in the Input Data table to display (in the middle of the page) a
description of the cell data and its source module.
3 Make a note of the word, bit(s), module and item information for that cell.
NOTE: The Fieldbus Image presents input and output data in the form of 16-bit words
(starting with word 1). You need to rearrange this data for the Control Expert Ethernet
Configuration Tool, which presents the same data in the form of 8-bit bytes (starting with
byte 0).
NOTE: When you create items, align items of data type WORD and DWORD:
• WORD items: align these items on a 16-bit boundary
• DWORD items: align these items on a 32-bit boundary.
This process yields the following tables of input and output data:
Input Data:
322 EIO0000001578.13
M580 CPU Configuration Hardware
EIO0000001578.13 323
Hardware M580 CPU Configuration
Output Data:
This example shows you how to create 19 bytes of inputs and 6 bytes of outputs. To
efficiently use space, this example creates items in the following sequence:
• input bit items
• input byte and word items
• output bit items
• output byte and word items
Step Action
324 EIO0000001578.13
M580 CPU Configuration Hardware
Step Action
3
In the left pane of the Device Editor, navigate to and select the Items node for the STB NIC 2212
network interface module:
4
The Items window opens:
6 In the Input (bit) page, type the following default root name (representing device status) into the
Default Items Name Root input box type: DDI3232_in_data.
EIO0000001578.13 325
Hardware M580 CPU Configuration
Step Action
7
In the Items List, select the first 2 rows in the table. (These rows represent bits 0-1 in byte.)
NOTE: The asterisk (*) indicates that a series of discrete items with the same root name will
be created.
9 Accept the default Item Name, and click OK.
326 EIO0000001578.13
M580 CPU Configuration Hardware
Step Action
10 Click Apply to save the items and leave the page open.
11 Repeat steps 6 - 10 for each group of discrete input items you need to create. In this example, that
includes items for each of the following groups:
• Byte: 0, Bits: 2-3, Default Items Name Root: DDI3230_in_st
• Byte: 0, Bits: 4-5, Default Items Name Root: DDO3200_out_echo
• Byte: 0, Bits: 6-7, Default Items Name Root: DDO3200_out_st
• Byte: 1, Bits: 0-3, Default Items Name Root: DDI3420_in_data
• Byte: 1, Bits: 4-7, Default Items Name Root: DDI3420_in_st
• Byte: 2, Bits: 0-3, Default Items Name Root: DDO3410_out_echo
• Byte: 2, Bits: 4-7, Default Items Name Root: DDO3410_out_st
• Byte: 3, Bits: 0-5, Default Items Name Root: DDI3610_in_data
• Byte: 4, Bits: 0-5, Default Items Name Root: DDI3610_in_st
• Byte: 5, Bits: 0-5, Default Items Name Root: DDO3600_out_echo
• Byte: 6, Bits: 0-5, Default Items Name Root: DDO3600_out_st
EIO0000001578.13 327
Hardware M580 CPU Configuration
Step Action
1
Select the Input tab to return to that page:
NOTE: In this example, both the Offset/Device and Offset/Connection columns represent
the byte address. The items you create will be either an 8-bit byte or a 16-bit word
3
Starting at the first available whole input word, select the single row at byte 8:
328 EIO0000001578.13
M580 CPU Configuration Hardware
Step Action
5 Select Byte as the New Item(s) Data Type, then click OK.
6 Click Apply to save the new items and leave the page open.
EIO0000001578.13 329
Hardware M580 CPU Configuration
Step Action
7 Repeat steps 2 - 6 for each byte or word input item you need to create.
NOTE: The number of rows you select for a new item depends upon the item type. If the item
is a:
• byte: select a single row
• word: select two rows, beginning at the next available whole word
In this example, you will create items for each of the following:
• Byte: 9, Default Items Name Root: NIC2212_01_HI_st
• Word: 10, Default Items Name Root: AVI1270_CH1_in_data
• Byte: 12, Default Items Name Root: AVI1270_CH1_in_st
• Word: 14-15, Default Items Name Root: AVI1270_CH2_in_data
• Byte: 16, Default Items Name Root: AVI1270_CH2_in_st
• Byte: 17, Default Items Name Root: AVO1250_CH1_out_st
• Byte: 18, Default Items Name Root: AVO1250_CH2_out_st
330 EIO0000001578.13
M580 CPU Configuration Hardware
Step Action
1
Select the Output (bit) tab to open the following page:
NOTE: Both the Offset/Device and Offset/Connection columns represent the byte address
of an output, while the Position in Byte column indicates the bit position (within the byte) of
each discrete output item.
3
In the Items List, select the rows that correspond to bits 0-1 in byte 0—i.e., the first 2 rows:
EIO0000001578.13 331
Hardware M580 CPU Configuration
Step Action
NOTE: The asterisk (*) indicates that a series of discrete items with the same root name will
be created.
5 Accept the default output name and click OK.
6 Click Apply to save the new items and leave the page open.
7 Repeat steps 2 - 6 for each group of discrete output items you need to create. In this example, that
includes items for each of the following groups:
• Byte: 0, Bits: 2-5, Default Items Name Root: DDO3410_out_data
• Byte: 1, Bits: 0-5, Default Items Name Root: DDO3600_out_data
332 EIO0000001578.13
M580 CPU Configuration Hardware
Step Action
1
Click on the Output tab to open the following page:
NOTE: In this example, both the Offset/Device and Offset/Connection columns represent
the byte address. The items you create will be 16-bit words comprising 2 bytes.
EIO0000001578.13 333
Hardware M580 CPU Configuration
Step Action
3
Starting at the next available whole word, select 2 rows: 2 and 3:
334 EIO0000001578.13
M580 CPU Configuration Hardware
Step Action
6 Click Apply to save the new item and leave the page open.
7 Repeat steps 2 - 6 for the AVO 1250 channel 2 output data at bytes 4 and 5.
2 64 128
5 32 160
10 16 160
EIO0000001578.13 335
Hardware M580 CPU Configuration
20 8 160
25 4 100
NOTE: If you use values that are lower than those in the table, the network can
consume unnecessary bandwidth, which can affect the performance of the module
within the system.
336 EIO0000001578.13
M580 CPU Configuration Hardware
Process Overview
These are the steps in the adapter configuration process:
Stage Description
2 Configure adapter instances in the scanner service. (Adapter instances correspond to each
enabled adapter that is scanned.)
3 Specify the size of adapter input and output assemblies in the scanner service. (Use sizes that
match the input and output sizes of the enabled adapter, page 112.)
Third-Party Devices
If the controller scanner service that communicates with the adapter can be configured using
Control Expert, use DTMs that correspond to the controller to add those modules to your
configuration.
Third-party EtherNet/IP scanners that access the adapter assembly instances through the
controller’s scanner service do so with respect to the assembly mapping table. The
controller scanner service is delivered with its corresponding EDS file. Third-party scanners
can use the contents of the EDS file to map inputs and outputs to the appropriate assembly
instances of the controller scanner service.
EIO0000001578.13 337
Hardware M580 CPU Configuration
1 M580 CPU: The CPU on the M580 local rack. In this example, you will enable this CPU’s
embedded scanner service as a local slave device (or target, T).
2 Modicon M340 rack: In this example, the scanner (or originator, O) on this rack scans the
CPU data on the M580 rack through the enabled local slave (M580 CPU’s scanner service).
338 EIO0000001578.13
M580 CPU Configuration Hardware
First, use these instructions to enable Local Slave 1 in the CPU’s embedded scanner
service configuration. At the end of this exercise, repeat these instructions to enable Local
Slave 2.
Step Action
2 On the General tab, assign this Alias name to the CPU: BMEP58_ECPU_EXT.
3 In the DTM Browser (Tools > DTM Browser), double-click the DTM that corresponds to the alias
name of the BMENOC0301.2 module to open the configuration window.
4 In the navigation pane, expand (+) EtherNet/IP Local Slaves to see the 3 available local slaves.
5 Select a local slave to see its properties. (For this example, select Local Slave 1.)
You now have enabled Local Slave 1 for the CPU’s scanner service at IP address
192.168.20.10.
EtherNet/IP scanners that scan the network for the CPU’s scanner service at that IP address
can use implicit messages to read from and write to the assembly instances that are
associated with the local slave instance.
Step Action
1 Repeat the steps above to enable a second local slave (Local Slave 2).
NOTE: The appropriate IP address for this example (192.168.20.10) was already assigned to
the CPU’s scanner service in the assignment of Local Slave 1.
2 Continue to the next procedure to configure the network scanner (originator, O).
EIO0000001578.13 339
Hardware M580 CPU Configuration
Step Action
2 Right-click the BMENOC0301 module in the DTM Browser (Tools > DTM Browser) and select
Add.
3 Select the DTM that corresponds to the CPU.
NOTE:
• The DTM used in this example corresponds to the CPU’s scanner service. For other
target devices, use the DTM from the manufacturer that corresponds to your scanner
device.
• The corresponding input I/O vision and output I/O vision variables are automatically
created with the respective suffixes _IN and _OUT.
4 Press the Add DTM button to open the Properties of device dialog window.
5 Assign a context-sensitive Alias name that corresponds to Local Slave 1 for the CPU.
Example: BMEP58_ECPU_from_EDS_LS1
340 EIO0000001578.13
M580 CPU Configuration Hardware
Step Action
1 In the DTM Browser, double-click the local slave instance that corresponds to Local Slave 1 in the
CPU target device (BMEP58_ECPU_from_EDS_LS1).
NOTE: The default connection is Local Slave 1 - Exclusive Owner, which is most applicable
to Local Slave 1 in the target device.
The local slave (Local Slave 1) is now the target of a local slave instance with a context-
sensitive connection name (Local Slave 1 - Exclusive Owner).
Mapping IP Addresses
Associate the IP address of the local slave (target, T) with the local slave instances in the
scanner (originator, O) configuration:
Step Action
5 In the IP Address field, enter the IP address of the local slave device (192.168.20.10).
6 Click inside the navigation pane to make the Apply button active.
NOTE: You may have to select Disabled in the drop-down menu (DHCP for this device) to
activate the OK and Apply buttons.
8 Click Apply.
EIO0000001578.13 341
Hardware M580 CPU Configuration
Step Action
1 Repeat the preceeding steps, page 341 to create a second local slave instance that corresponds
to Local Slave 2.
2 Build the Control Expert project.
1 In the Project Browser (Tools > Project Browser), expand Variables & FB instances.
2 Double-click Device DDT Variables to see the device DDTs that correspond with the CPU’s
scanner service.
Step Action
4 Expand (+) Device List in the navigation tree to see the local slave instances.
5 Select the local slave instance to view the Properties and Assembly configuration tabs.
Properties
Identify and enable (or disable) the local slave on the Properties tab:
342 EIO0000001578.13
M580 CPU Configuration Hardware
Parameter Description
Number The Control Expert DTM assigns a unique identifier (number) to the device. These are the
default values:
• local slave 1: 129
• local slave 2: 130
• local slave 3: 131
Active Enabled Enable the local slave with the configuration information in the Assembly
Configuration fields when the CPU scanner service is an adapter for the local slave node.
Disabled Disable and deactivate the local slave. Retain the current local slave
settings.
Connection Bit The connection bit is represented by an integer (769 ... 896).
NOTE:
• This setting is auto-generated after the local slave settings are input and the
network configuration is saved.
• The connection bit is represented by an integer:
◦ 385...387 (firmware v1.0)
◦ 769...896 (firmware v.2.10)
Assembly
Use the Assembly area of the Local Slave page to configure the size of the local slave
inputs and outputs. Each device is associated with these assembly instances:
• Outputs
• Inputs
• Configuration
• Heartbeat (The heartbeat assembly instance is for listen-only connections only.)
The Control Expert assembly numbers are fixed according to this table, where O indicates
the originator (scanner) device and T indicates the target device:
103 Configuration
199 Heartbeat
2 130 111 Outputs (T->O)
EIO0000001578.13 343
Hardware M580 CPU Configuration
113 Configuration
200 Heartbeat
3 131 121 Outputs (T->O)
123 Configuration
201 Heartbeat
NOTE: When using explicit messaging to read the CPU’s scanner service assembly
instance, allocate sufficient room for the response. The size of the response equals the
sum of: assembly size + 1 byte (Reply service) + 1 byte (General Status).
Limitations (from the perspective of the local slave):
• maximum RPI value: 65535 ms
• maximum timeout value: 512 * RPI
• outputs (T->O): 509 bytes maximum
• inputs (O->T): 505 bytes maximum
• configuration for the CPU scanner service: 0 (fixed)
344 EIO0000001578.13
M580 CPU Configuration Hardware
DDDT Variables
You can access the DDDTs and the corresponding variables in Control Expert and add them
to a user-defined Animation Table. Use that table to monitor read-only variables and edit
read-write variables.
Use these data types and variables to perform these tasks:
• Read the status of connections and communications between the Ethernet
communication module and distributed EtherNet/IP and Modbus TCP devices:
◦ The status is displayed in the form of a HEALTH_BITS array consisting of 32 bytes.
◦ A bit value of 0 indicates the connection is lost or the communication module can no
longer communicate with the distributed device.
• Toggle a connection ON (1) or OFF (0) by writing to a selected bit in a 16-word DIO_
CTRL array
• Monitor the value of local slave and distributed device input and output items that you
created in Control Expert.
NOTE: The HEALTH_BITS array is not copied to the standby CPU in a Hot Standby
switchover. The DIO_CTRL array is copied to the standby CPU in a Hot Standby
switchover.
EIO0000001578.13 345
Hardware M580 CPU Configuration
Modbus TCP input variables (note 1) 1 Modbus TCP output variables (note 1)
local slave input variables (note 2) 3 local slave output variables (note 3)
Hardware Catalog
Introduction
The Control Expert Hardware Catalog displays the modules and devices that you can add
to a Control Expert project. Each module or device in the catalog is represented by a DTM
that defines its parameters.
EDS Files
Not all devices in today’s market offer device-specific DTMs. Some devices are defined by
device-specific EDS files. Control Expert displays EDS files in the form of a DTM. In this
346 EIO0000001578.13
M580 CPU Configuration Hardware
way, you can use Control Expert to configure devices that are defined by an EDS file in the
same way you would configure a device defined by its DTM.
Other devices lack both a DTM and an EDS file. Configure those devices by using the
generic DTM on the DTM Catalog page.
Step Action
EIO0000001578.13 347
Hardware M580 CPU Configuration
Control Expert includes a wizard you can use to add one or more EDS files to the Control
Expert Hardware Catalog. The wizard presents instruction screens to execute these
commands:
• Simplify the addition of EDS files to the Hardware Catalog.
• Provide a redundancy check when you add duplicate EDS files to the Hardware
Catalog.
NOTE: The Control Expert Hardware Catalog displays a partial collection of DTMs and
EDS files that are registered with the ODVA. This library includes DTMs and EDS files
for products that are not manufactured or sold by Schneider Electric. The non-Schneider
Electric EDS files are identified by vendor in the catalog. Please contact the identified
device’s manufacturer for inquiries regarding the corresponding non-Schneider Electric
EDS files.
Step Action
4 Right-click on the communication module and scroll to Device menu > Additional functions > Add
EDS to library.
348 EIO0000001578.13
M580 CPU Configuration Hardware
Step Action
1 Use these commands in the Select the Location of the EDS File(s) area of the EDS Addition dialog
box to identify the location of the EDS files:
• Add File(s): Add one or more EDS files that are individually selected.
• Add all the EDS from the Directory: Add all files from a selected folder. (Check Look in
Subfolders to add EDS files from the folders within the selected folder.)
EIO0000001578.13 349
Hardware M580 CPU Configuration
Step Action
5 Choose the naming convention rule for the EDS DTM name creation.
The new naming convention is based on Model Name / Product Name and Revision. A random
character is automatically suffixed when Model Name / Product Name and Revision of an EDS file in
the library is identical. The new naming convention is irrespective of the order in which EDS files are
added to device library.
By default, the New Naming Convention check box is selected and the new naming rule applies.
NOTE: To keep backward compatibility with Unity Pro/Control Expert versions, unchecked the
New Naming Convention check box and the naming rule is based on Model Name / Product
Name.
6 Click Next to compare the selected EDS files to the files in the library.
NOTE: If one or more selected EDS files is a duplicate, a File Already Exists message appears.
Click Close to hide the message.
7 The next page of the EDS Addition wizard opens. It indicates the status of each device you
attempted to add:
Result: The next page of the EDS Addition wizard opens to indicate that the action is complete.
350 EIO0000001578.13
M580 CPU Configuration Hardware
Step Action
1 Open the Control Expert DTM Browser (Tools > DTM Browser).
2 In the DTM Browser, select an Ethernet communication module.
3
Right-click the module and scroll to Device menu > Additional functions > Remove EDS from
library to open the EDS Deletion from Device Library window:
4 Use the selection lists in the heading of this window to specify how EDS files are displayed:
EIO0000001578.13 351
Hardware M580 CPU Configuration
Step Action
5 Expand (+) the Device Library navigation tree and select the EDS file you want to remove.
NOTE: Click View Selected File to see the read-only contents of the selected EDS file.
6 Click the Delete Selected File(s) button to open the DeleteEDS dialog box.
7 Click Yes to remove the selected EDS file from the list.
8 Repeat these steps for each EDS file you want to delete.
Step Action
352 EIO0000001578.13
M580 CPU Configuration Hardware
Step Action
4
Right-click on the communication module and scroll to Device menu > Additional functions >
Export EDS library to open the Export EDS library window:
Result: A new wizard opens to indicate that the export is complete. Click Ok to close the wizard.
Step Action
1 Open the Control Expert DTM Browser (Tools > DTM Browser).
2 In the DTM Browser, select an Ethernet communication module.
EIO0000001578.13 353
Hardware M580 CPU Configuration
Step Action
3
Right-click the module and scroll to Device menu > Additional functions > Import EDS library to
open the Import EDS library window:
5 Click Import.
Result: A new wizard opens to indicate that the export is complete. Click Ok to close the wizard.
354 EIO0000001578.13
M580 CPU Configuration Hardware
Browser Requirements
The embedded web server in the M580 controller displays data in standard HTML web
pages. Access the embedded web pages on a PC, iPad, or Android tablet with these
browser versions:
Windows (none)
Step Action
2 In the address bar, enter the IP address of the M580 controller, page 130.
EIO0000001578.13 355
Hardware M580 CPU Configuration
356 EIO0000001578.13
M580 CPU Configuration Hardware
EIO0000001578.13 357
Hardware M580 CPU Configuration
NTP Enabled
MAC Address: 00 80 F4 1F 9D 75
Event Log Unknown
Host Name: BMEP584040
SNMP Unknown
Program: 4040IBER_140_CE151IR12FW401IR17
NOTE:
• This page is updated every 5 seconds.
• For Hot Standby CPUs refer to the Status Summary page for Hot Standby CPUs,
page 384.
358 EIO0000001578.13
M580 CPU Configuration Hardware
Diagnostic Information
The objects on this page provide status information:
Parameters Description
LEDs The black field contains LED indicators (RUN, ERR, etc.).
NOTE: The diagnostics information is explained in the description of LED activity and
indications, page 57.
Version This field describes the software versions that are running on the CPU.
Information
CPU Summary This field describes the CPU hardware and the applications that are running on the CPU.
Network This field contains network and hardware address information and connectivity that
Information corresponds to the CPU.
Data Storage
Open the Page
Access the Data Storage page from the Diagnostics tab (Module > Data Storage):
Use the Data Storage page to:
• Add (upload) files to an SD card inserted into the CPU.
• Transfer (download) files from an SD card inserted in the CPU to a specified location.
• Delete files that had been stored on an SD card inserted in the CPU.
NOTE:
• The maximum file size you can upload or download is 50 MB.
• This page is updated every 5 seconds.
When an SD card is inserted in the CPU, the Data Storage web page displays the files that
are present on the SD card.
EIO0000001578.13 359
Hardware M580 CPU Configuration
FILES
File123.txt
0 bytes
Junk.jpg
7 KB
Junk.bmp
145 KB
360 EIO0000001578.13
M580 CPU Configuration Hardware
To transfer (download) a file from the SD card, select the file to download, then click the
downward pointing arrow next to the file name. The file is copied to the host PC Downloads
folder.
Deleting a File from the SD Card
To delete a file from the SD card, select the file to delete, then click the button marked with
an “X” next to the file name. The file is deleted from the SD card.
EIO0000001578.13 361
Hardware M580 CPU Configuration
Performance
Open the Page
Access the Performance page from the Diagnostics tab (Module > Performance):
Performance page:
Packets/Sec
12000
10000
EtherNet/IP
8000
Packets/Sec
6000
4000
Module Capacity: 15,000 Packets/Sec
2000
0
Client Server
NOTE:
• Move the mouse over the dynamic graphs to see the current numeric values.
• This page is updated every 5 seconds.
Diagnostic Information
This table describes the performance statistics:
362 EIO0000001578.13
M580 CPU Configuration Hardware
Field Description
Module I/O Utilization This graph shows the total number of packets (per second) the CPU can handle at
once.
Messaging Statistics This graph shows the number of Modbus/TCP or EtherNet/IP messages per second
for the client or server.
Port Statistics
Open the Page
Access the Port Statistics page from the Diagnostics tab (Module > Port Statistics):
NOTE: This page is updated every 5 seconds.
Click Toggle Detail View to change between the detail and non-detail view of the page.
Speed 1,000 Mbps 100 Mbps 100 Mbps 100 Mbps 100 Mbps
Duplex TP-Full TP-Full Link TP-Full Link TP-Full Link TP-Full Link
Success Rate 100.00% 100.00% 100.00% 100.00% 100.00%
Total Errors 0 0 0 0 0
EIO0000001578.13 363
Hardware M580 CPU Configuration
Diagnostic Information
This page shows the statistics for each port on the CPU. This information is associated with
the configuration of the Ethernet ports, page 66 and the configuration of the service/
extended port, page 141.
The frame color indicates the port activity:
• green: active
• gray: inactive
• yellow: error detection
• red: error detection
364 EIO0000001578.13
M580 CPU Configuration Hardware
I/O Scanner
Open the Page
Access the I/O Scanner page from the Diagnostics tab—
(Connected Devices > I/O Scanner):
KEY
EIO0000001578.13 365
Hardware M580 CPU Configuration
Diagnostic Information
This table describes the scanner status and connection statistics:
Unknown The I/O scanner returns unexpected values from the device.
In the Scanned Device Status display, the colors that appear in each block indicate these
states for specific remote devices:
black Unscanned The scanning of the specific device has been intentionally disabled.
366 EIO0000001578.13
M580 CPU Configuration Hardware
Hold the cursor over any block to get information for a specific device:
Health: OK
IP: 192.168.0.1
Type: EIP
Device Number: 59
Messaging
Open the Page
Access the Messaging page from the Diagnostics tab (Connected Devices >
Messaging):
Messaging page:
MESSAGING STATISTICS
Messages Sent: 133,501
Messages Received: 133,500
Success Rate: 100.00%
ACTIVE CONNECTIONS
Remote Address Local Port Type Messages Sent Messages Received Errors
192.168.2.8:2410 502 Modbus Server 57,470 57,470 0
EIO0000001578.13 367
Hardware M580 CPU Configuration
Diagnostic Information
This page shows current information for open Modbus TCP connections on port 502:
Field Description
Messaging Statistics This field contains the total number of sent and received messages on port 502.
These values are not reset when the port 502 connection is closed. Therefore, the
values indicate the number of messages that have been sent or received since the
module was started.
Active Connections This field shows the connections that are active when the Messaging page is
refreshed.
QoS
Open the Page
Access the QoS (quality of service) page from the Diagnostics tab (Services > QoS):
QoS page:
Running DSCP Value for I/O Messages: 43 DSCP Value for I/O Data Scheduled
Priority Messages: 47
DSCP Value for Explicit Messages: 27
DSCP Value for Explicit Messages: 27
NOTE:
368 EIO0000001578.13
M580 CPU Configuration Hardware
Service Status
This table shows the possible states for the Service Status:
Status Description
Diagnostic Information
This page displays information about the QoS service that you configure in Control Expert,
page 140.
When you enable QoS, the module adds a differentiated services code point (DSCP) tag to
each Ethernet packet it transmits, thereby indicating the priority of that packet:
EtherNet/IP DSCP Value for I/O Data Configure the priority levels to prioritize the management of
Traffic Scheduled Priority data packets.
Messages
EIO0000001578.13 369
Hardware M580 CPU Configuration
Considerations
Take measures to effectively implement QoS settings in your Ethernet network:
• Use only network switches that support QoS.
• Apply the same DSCP values to all network devices and switches.
• Use switches that apply a consistent set of rules for handling the different DSCP values
when transmitting and receiving Ethernet packets.
NTP
Introduction
The NTP page displays information about the network time service. There are three
versions of this page, depending on the CPU firmware version and NTP mode:
• Versions earlier than V4.01 display SNTP content.
• Version V4.01 and any subsequent supporting version(s) display NTPv4 content, either:
◦ Client / Servermode
◦ Server only mode
Configure this service in Control Expert, page 135.
370 EIO0000001578.13
M580 CPU Configuration Hardware
SNTP content
SERVICE STATUS SERVER STATUS SERVER TYPE DST STATUS CURRENT DATE
Running 192.168.23.90 Primary Off Jan 12, 2022
NOTE:
• Click Reset Counters to reset all dynamic counters to 0.
• This page is updated every 5 seconds.
EIO0000001578.13 371
Hardware M580 CPU Configuration
372 EIO0000001578.13
M580 CPU Configuration Hardware
SERVER STATUS
Ref. ID
Stratum
Diagnostic Information
The Network Time Service synchronizes computer clocks over the Internet for the purposes
of event recording (sequence events), event synchronization (trigger simultaneous events),
or alarm and I/O synchronization (time stamp alarms):
Field Description
EIO0000001578.13 373
Hardware M580 CPU Configuration
Field Description
Time Zone The time zone in terms of plus or minus Universal Time, Coordinated (UTC).
DST Status Running DST (daylight saving time) is configured and running.
Field Description
Server Type Primary A primary server polls a master time server for the current time.
Secondary A secondary server requests the current time only from a primary server.
NTP Service These fields show the current values for service statistics.
Statistics
Number of This field shows the total number of requests sent to the NTP server.
Requests
Success Rate This field shows the percentage of successful requests out of the total
number of requests.
Number of This field shows the total number of responses received from the NTP server.
Responses
Last Error This field contains the error code of the last error that was detected during the
transmission of an e-mail message to the network.
Number of This field contains the total number of e-mail messages that could not be sent
Errors to the network or that have been sent but not acknowledged by the server.
Field Description
374 EIO0000001578.13
M580 CPU Configuration Hardware
Field Description
Accuracy As NTP client, the estimated difference between local (client) time and server
time.
Server Ref. ID IPv4 address of the time source.
Status
Stratum The relative position in the hierarchy between this client and the original time
source (stratum 1) reference. If the mode is:
• Server/Client: the value equals the system peer stratum value + 1.
• Server only (or orphan): a user-defined value.
<NTP Peers NTP client CPU can be configured with up to 8 time source peers, each a potential server to the
Statuses> CPU NTP client.
(NTP clients
only) IP Peer IPv4 address of the peer.
Select Indicates the peer used as the time source (Current) and other viable peer
time sources (Candidate).
Reach count Percentage of NTP messages successfully sent to and received from the
peer.
Stratum The relative position in the hierarchy between this client and the original time
source (stratum 1) reference.
Offset The value to subtracted from received time value to obtain time value to be
applied.
EIO0000001578.13 375
Hardware M580 CPU Configuration
Redundancy
Open the Page
Access the Redundancy page on the Diagnostic tab (Services > Redundancy):
Redundancy page:
0 0 0 0 0
Diagnostic Information
This page displays values from the RSTP configuration in Control Expert, page 131:
Field Description
Service Status Running The RSTP bridge on the corresponding CPU is properly configured
and running.
Uknown The status of the RSTP bridge on the corresponding CPU is not
known.
376 EIO0000001578.13
M580 CPU Configuration Hardware
Field Description
Last Topology These values represent the date and time that the last topology change was received for
Change the corresponding Bridge ID.
If not: blank
Priority The RSTP priority assigned to the port..
Router Bridge Bridge ID This unique bridge identifier is the concatenation of the bridge
Statistics RSTP priority and the MAC address.
Bridge Priority In Control Expert, configure the RSTP operating state, page 131 of
the Bridge ID.
EIO0000001578.13 377
Hardware M580 CPU Configuration
Alarm Viewer
Open the Page
Access the Alarm Viewer page from the Diagnostics tab (System > Alarm Viewer):
ALARM LOG
System Error Character string fault Nov 21, 2021, 5:52:30 PM Not Required 0
System Error Character string fault Nov 21, 2021, 5:52:30 PM Not Required 0
System Error Character string fault Nov 21, 2021, 5:52:30 PM Not Required 0
System Error Arithmetic error Nov 21, 2021, 5:52:30 PM Not Required 0
System Error Character string fault Nov 21, 2021, 5:52:30 PM Not Required 0
System Error Character string fault Nov 21, 2021, 5:52:30 PM Not Required 0
System Error Character string fault Nov 21, 2021, 5:52:30 PM Not Required 0
System Error Character string fault Nov 21, 2021, 5:52:30 PM Not Required 0
System Error Task period Overshoot Nov 21, 2021, 5:52:39 PM Not Required 0
Diagnostic Information
The Alarm Viewer page reports detected application errors. You can read, filter, and sort
information about alarm objects on this page. Adjust the type of information displayed by the
Alarm Viewer in the Filter Alarms box.
Each alarm has a timestamp, a description, and an acknowledgement status:
• critical (red)
378 EIO0000001578.13
M580 CPU Configuration Hardware
• acknowledged (green)
• information (blue) (These alarms do not require acknowledgement.)
This table describes the components of the page:
Column Description
Occurance This column contains the date and time that the alarm occurred.
Acknowledged This column reports the acknowledged status of the alarm.
Zone This column contains the area or geographical zone from which the alarm comes (0:
common area).
Rack Viewer
Open the Page
The BMEP584040, BMEP585040, and BMEP586040 standalone CPUs include a Rack
Viewer web page. Access this page from the Diagnostics tab (System > Rack Viewer).
NOTE: You may have to wait a few seconds for the Rack Viewer to replicate your
configuration.
EIO0000001578.13 379
Hardware M580 CPU Configuration
Example
This example of a Rack Viewer page shows a standalone CPU on its rack with a power
supply:
See also the example of the Hot Standby Rack Viewer page, page 388.
380 EIO0000001578.13
M580 CPU Configuration Hardware
Layout (menu) Horizontal Each RIO drop is shown in a top-to-bottom order beneath the
primary bus. The lowest number RIO drop is at the top.
Vertical Each RIO drop is shown in a left-to-right order beneath the primary
bus. The lowest number RIO drop is at the left.
Zoom (menu) Zooming Zoom in by sliding the control right. Zoom out by sliding the control
left.
EIO0000001578.13 381
Hardware M580 CPU Configuration
Double -click on any CPU in the Rack Viewer to see this information:
RUN ERR IO
Processor/Signature
Application
Refer to the Hot Standby Rack Viewer page, page 388 for a description of the fields shown above.
You can read this CPU data:
• CPU reference name
• bus, drop, rack, and slot location
• CPU state (RUN, ERR, and I/O)
• processor and network card information
382 EIO0000001578.13
M580 CPU Configuration Hardware
EIO0000001578.13 383
Hardware M580 CPU Configuration
The embedded web site is accessible via WiFi, using a smartphone or tablet equipped with
a:
• Schneider Electric WiFi dongle, called the wifer, part number TCSEGWB13FA0.
• PMXNOW0300 wireless module.
384 EIO0000001578.13
M580 CPU Configuration Hardware
EIO0000001578.13 385
Hardware M580 CPU Configuration
Parameters Description
• RUN • A
• ERR • B
• I/O • PRIM
• DL • STBY
• ETH NS
NOTE: The LEDs on the web page behave the same as the LEDs on the CPU, page
61.
Service Status This area presents information describing the status of CPU Ethernet services. The
colored icons appearing to the left of some items indicate the following status:
Version Info. This area describes the software versions that are running on the CPU, including:
CPU Summary This area describes the CPU hardware and the applications that are running on the CPU,
including:
• Model
• State
• Scan Time
Network Info. This field contains IP addressing settings for the CPU, including:
• IP Address
• Subnet Address
• Gateway Address
386 EIO0000001578.13
M580 CPU Configuration Hardware
HSBY Status
Introduction
The HSBY Status web page provides this information about the Hot Standby system:
• Hot Standby role and status of the Local CPU
• Hot Standby role and status of the Remote CPU
• General errors detected for the Hot Standby system
NOTE:
• The local CPU is the CPU configured with the Main IP Address (primary) or Main
IP Address + 1 (standby) used to access this web page.
• The HSBY Status web page is refreshed every 5 seconds.
LOCAL REMOTE
Primary: B Standby: A
Status: Run (Online) Status: Run (Online)
EIO0000001578.13 387
Hardware M580 CPU Configuration
Area Description
Local/Remote This area displays the state of Hot Standby settings for the local and remote CPUs:
<Hot Standby Role> The Hot Standby system role of the CPU. Valid values include:
• Primary
• Standby
• Wait
<A/B switch setting> The designation of the CPU, defined by the rotary switch, page
53 on the back of the CPU. Valid values include:
• A
• B
Status The operating state of the CPU. Valid values include:
• RUN
• STOP
• NoConf
• HALT
IP Address The IP address used to communicate with the CPU for web
page access:
• For the primary Hot Standby CPU, this is the Main IP
Address setting.
• For the standby Hot Standby CPU, this is the Main IP
Address setting + 1.
Sync Link Validity The status of the Hot Standby link (see Modicon M580 Hot
Standby, System Planning Guide for, Frequently Used
Architectures):
• OK: the link is operational.
• NOK: the link is not operational.
Supplementary Link The status of the Ethernet RIO link (see Modicon M580 Hot
Validity Standby, System Planning Guide for, Frequently Used
Architectures):
• OK: the link is operational.
• NOK: the link is not operational.
Rack Viewer
Introducing the CPU Status Page
The BMEH584040(S) and BMEH586040(S) Hot Standby CPUs include a Rack Viewer web
page. Use this page to view CPU information, including:
388 EIO0000001578.13
M580 CPU Configuration Hardware
• LEDs status
• processor identification
• application signature identification
• select application configuration settings
Access this page from the Diagnostics tab (System > Rack Viewer).
This example of a Rack Viewer page shows a Hot Standby CPU on its rack with a power
supply:
EIO0000001578.13 389
Hardware M580 CPU Configuration
This example of a Rack Viewer page shows the Hot Standby connection between a primary CPU
rack and a standby CPU rack. The Hot Standby connection (dashed line) is green when the Hot
Standby link is healthy. If the Hot Standby link is not healthy, the dashed line is red.
390 EIO0000001578.13
M580 CPU Configuration Hardware
RUN ERR IO
Processor/Signature
Application
Processor/Signature
EIO0000001578.13 391
Hardware M580 CPU Configuration
• IDLE
• STOP
• RUN
• HALT
• INITIALIZING
• ERROR
• OS LOADER
Error The identity of the last detected error
Application
Analog channel forced: Indicates if one or more inputs or outputs for an analog channel have been
forced:
• True indicates the an analog input or output has been forced.
• False indicates no analog input or output has been forced.
Diagnostic Indicates if the diagnostic buffer has been activated for the project:
• True indicates that Application diagnostics and/or System
diagnostics has been selected in the General > PAC Diagnostics tab
of the Project Settings dialog for the application.
• False indicates Application diagnostics and System diagnostics
have not been selected.
Forced bit The number of forced bits in the application.
392 EIO0000001578.13
M580 CPU Configuration Hardware
Section protected Indicates if password access is required to edit one or more sections of the
application:
• True indicates that a password is required to edit specified sections of
the application.
• False indicates that no password is required for application editing.
Automatic Start in Run Indicates if the application is automatically set to start when the PAC goes into
RUN operational mode:
• True indicates the application automatically starts.
• False indicates the application does not automatically start.
RAZ %MW on cold start Indicates if %MW registers are reset to their initial values on a cold start:
• True indicates that values are reset.
• False indicates that values are not reset.
Cold Start only Indicates if a cold start is forced on a system re-start:
• True indicates that a reset forces a cold start of the application.
• False indicates that a warm start will occur on application reset.
EIO0000001578.13 393
Hardware Working with M580 Hot Standby Applications
Overview
This chapter shows you how to configure and work with Hot Standby applications.
Configuration Compatibility
Control Expert Version Requirement
An M580 non-safety-related Hot Standby system can be configured using Control Expert L
or XL version 11.0 or any subsequent supporting version(s). By contrast, an M580 safety
Hot Standby system can be configured using only Control Expert XL Safety version 14.0 or
any subsequent supporting version(s).
PAC Hardware
Confirm that the primary PAC and the standby PAC consist of compatible hardware,
including:
• controller
394 EIO0000001578.13
Working with M580 Hot Standby Applications Hardware
• backplane
• Power supply
• Some communication modules
NOTE: No I/O modules can be mounted onto the local backplane. Refer to the topic The
Modicon M580 Hot Standby Local Backplane in the M580 High Availability System
Planning Guide for a description of modules that can be added to the local backplane.
Controller Compatibility
An application created for a specific controller may not be compatible with other controllers.
The M580 Hot Standby system compares the applications in the primary controller against
the application in the standby controller to determine if the applications are compatible.
NOTE: An application created for a non-safety-related controller cannot be run on a
safety controller, and an application created for a safety controller cannot be run on a
non-safety-related controller.
For example:
• A Quantum 140CPU67•6• controller Hot Standby application is not downloadable to
M580 BMEH58•040 Hot Standby controllers.
• An M580 BMEP58•0•0 controller application is not downloadable to M580 BMEH58•040
Hot Standby controllers.
• As described in the following table, an application designed for one M580 BMEH58•040
Hot Standby controller may not be downloadable to other M580 Hot Standby
controllers.
The following table depicts the compatibility of applications among non-safety-related M580
Hot Standby controllers:
The following table depicts the compatibility of applications among M580 safety controllers:
EIO0000001578.13 395
Hardware Working with M580 Hot Standby Applications
1. Fully compatible.
2. Compatible, if controller is upgraded in Control Expert and the application is fully rebuilt.
3. Compatible, if controller is upgraded in Control Expert and the application is fully rebuilt, and there is no
limitation as to memory size.
4. Compatible only for application with no CIP Safety devices, if controller is upgraded in Control Expert and
the application is fully rebuilt.
Application Mismatch
An M580 Hot Standby system cannot operate if the primary and standby controllers are
equipped with fundamentally different applications. In this case, the primary PAC operates
as a standalone PAC, and the standby PAC enters the stop state.
To restore Hot Standby system operations, confirm that the same application is installed in
both the primary and standby PACs.
Logic Mismatch
An M580 Hot Standby system can continue operating if the primary and standby controllers
are running different revisions of the same application. In this case, both controllers were
396 EIO0000001578.13
Working with M580 Hot Standby Applications Hardware
initially configured with the same application, but the logic in one controller – usually the
primary controller – was subsequently revised.
For Hot Standby operations to continue when a logic mismatch exists, use an animation
table or program logic to set the Logic_Mismatch_Allowed attribute of the T_M_ECPU_
HSBY, page 426 DDT to True.
For Hot Standby operations to continue when a logic mismatch exists, do both of the
following:
• Select Online modification in RUN or STOP in the Configuration tab of the
controller.
• Set the Number of modifications in the Configuration tab of the controller.
• Use an animation table or program logic to set the Logic_Mismatch_Allowed
attribute of the T_M_ECPU_HSBY, page 426 DDT to True.
NOTE: If the Number of modifications is set to 0, setting the Logic_Mismatch_
Allowed attribute has no effect.
SFC Mismatch
A sequential function chart (SFC) mismatch occurs when the applications in the primary and
standby controllers include graphic symbols that define sequential program steps, where
differences exists in at least one SFC section.
Refer to the topic Modifying an SFC Section Online, page 408 for the procedure for making
online modifications to an SFC section.
EIO0000001578.13 397
Hardware Working with M580 Hot Standby Applications
memory random access errors, when a Hot Standby controller accesses its internal
memory, as part of a memory transfer event. The ECC function is enabled by default.
When ECC is enabled, it may impact the MAST cycle time of Hot Standby M580 PAC
applications. This can be the case where a relatively small amount of code is transferred,
but a large amount of data is transferred. If the impact on MAST cycle time is not suitable for
your application, you can:
• Reduce the amount of exchanged data from the primary to the standby controller.
• For a non-safety-related controller application, disable the ECC feature using %SW150
(see EcoStruxure™ Control Expert, System Bits and Words, Reference Manual).
CAUTION
RISK OF UNINTENDED OPERATION
Using the save operation, that is invoked using system bit %S94, on the primary controller
does not also apply to the standby controller.
If a swap or switchover occurs after a CCOTF has been performed on the primary
controller, and the application has not been transferred to the standby controller, then the
behavior of the application is unpredictable.
Failure to follow these instructions can result in injury or equipment damage.
398 EIO0000001578.13
Working with M580 Hot Standby Applications Hardware
Other Functions
While the use of the functions listed above is restricted, you are advised to use care even
when employing permitted functions that are capable of writing to memory areas that are not
EIO0000001578.13 399
Hardware Working with M580 Hot Standby Applications
part of the Hot Standby database transfer, such as Data Storage, page 432 function blocks
for instance.
Debugging
Debugging your Hot Standby application program is now a two-stage process:
• First, you debug the application on a single Hot Standby PLC as if it was a standalone
application. This allows you to use all of the powerful debugging features available in
Control Expert, such as watchpoints, and so on.
• Next, you debug your application when it has been uploaded to two Hot Standby PLCs
in a working redundant system, but in a non-production environment. On this platform,
you evaluate performance specific to Hot Standby redundancy. Only a subset of Control
Expert debug features can be used during this stage.
NOTE: See M580 Hot Standby Diagnostics, page 469 for further details on debugging
your Hot Standby application program.
400 EIO0000001578.13
Working with M580 Hot Standby Applications Hardware
X: Supported
–: Not supported
EIO0000001578.13 401
Hardware Working with M580 Hot Standby Applications
NOTE: The same procedure, as described below, can also be applied to the
configuration of an M580 BMEH58•040S safety CPU.
Step Action
2 In the Project Browser, navigate to and select Configuration > PLC Bus > <rack> > <CPU>.
3 Click the right mouse button, then select Open.
Setting Description
Run Mode Controller A Specify if a PAC A and PAC B operates online at the next start-up:
Online • True (default): The PAC attempts to operate online at next start-
Controller B up. Depending on the other conditions, the PAC may act as the
Online primary or standby.
• False: The PAC transitions to either the Wait or Stop state at next
start-up.
Standby On Number of The maximum number of online build changes from 1...50 that can be
Logic Mismatch modifications performed on the primary PAC. When this number of online build
changes has been reached, you need to transfer the application from
the primary to the standby to be able to make additional online build
changes. Default = 20.
NOTE:
• If this setting is set to 0, the Logic Mismatch Allowed,
page 426 flag has no effect.
• This setting cannot be edited via CCOTF.
402 EIO0000001578.13
Working with M580 Hot Standby Applications Hardware
Setting Description
Behavior of the CPU executes Specify the sections of the MAST task the standby PAC executes in
CPU in Wait Wait state:
and Standby • All sections (default)
mode
• First section
• No section at all
When Control Expert is connected to the standby controller, all
Sections in the Project Browser are preceded by:
• a green light for sections without condition or with a true
condition even if not executed
• a red light for sections with a false condition
NOTE:
• You can also individually specify the sections of the MAST
task the standby CPU executes while in Wait state. Do this
by adding a condition of execution in the Condition tab of
the Properties window for a MAST task section.
• For a safety PAC, sections of the SAFE task are not
executed when the PAC is in WAIT or STANDBY state.
You can also individually specify the sections of the MAST task
the standby CPU executes while in Wait state. Do this by adding a
condition of execution in the Condition tab of the Properties
window for a MAST task section.
Data – A bar graph displays the percentage of CPU memory used by Hot
Exchanged Standby data. The value depends on the M580 Hot Standby
configuration.
EIO0000001578.13 403
Hardware Working with M580 Hot Standby Applications
404 EIO0000001578.13
Working with M580 Hot Standby Applications Hardware
Step Action
Project > Configuration > 0:PLC bus > <rack> > <CPU> > EIO.
The RIO DIO Communicator Head window opens.
4 If Access Control is enabled, create an entry for each device or subnet that you want to have
TFTP access to the CPU.
NOTE: Select the TFTP column for each entry.
NOTE: The FDR server cannot synchronize the primary and standby CPUs when the
TFTP service is disabled. The TFTP service is enabled and disabled by the execution of
the EthPort_Control_MX function in the application.
If you want to programmatically enable or disable TFTP, include the EthPort_
Control_MX function in a section of the application that is executed by the standby
CPU, so that this function will be executed by both the primary and standby CPUs.
EIO0000001578.13 405
Hardware Working with M580 Hot Standby Applications
CAUTION
RISK OF UNINTENDED OPERATION
Confirm that the following preconditions exist before starting a CCOTF operation:
• The application running in the Hot Standby system does not trigger a swap.
• No condition exists that could forseeably cause a switchover.
Always apply a CCOTF transaction on the Primary CPU.
If a swap or switchover occurs after a CCOTF has been performed on the primary CPU,
and the application has not been transferred to the standby CPU, then the behavior of the
application is unpredictable.
Failure to follow these instructions can result in injury or equipment damage.
406 EIO0000001578.13
Working with M580 Hot Standby Applications Hardware
• Edits to configuration objects are atomic: only one change can be made to a single
configuration object. For example, you cannot add then delete the same I/O module in a
single CCOTF change.
• CCOTF edits cannot be made to distributed equipment.
• For an (e)X80 or Quantum RIO drop, the following limits apply to changes made in the
same CCOTF session:
◦ Up to four modifications to the same RIO drop can be included in a single CCOTF
change. For example:
- Up to four I/O modules can be added to the same RIO drop.
- Up to four I/O modules can be removed from the same RIO drop.
- Up to four parameters can be edited for one I/O module in the same RIO drop.
◦ No edits can be made to an adapter module.
◦ No edits can be made to BMXERT1604 modules (time stamp).
◦ The RPI setting for the RIO drop cannot be changed.
• IP addresses cannot be changed.
• Only one CCOTF change may be made to a single RIO drop. Before an additional
CCOTF change can be made to the same RIO drop, transfer the application program
from the primary PAC to the standby PAC.
NOTE: You can set Control Expert to Virtual connected mode to test whether a
proposed change to the configuration is a CCOTF event (see Modicon M580, Change
Configuration on the Fly, User Guide).
When CCOTF changes are made to the primary PAC, the Logic_Mismatch_Allowed
flag in the T_M_ECPU_HSBY DDT determines if the standby PAC can continue to operate
online. If logic mismatches are not allowed, the standby PAC transitions to wait state.
CCOTF changes can be made to the primary PAC if the Number of modifications setting
in Control Expert is not reached. When the number of allowed modifications is reached:
• No additional CCOTF changes can be made to the primary PAC. The Build > Build
Changes command in Control Expert is disabled.
• You need to transfer the application program in the primary PAC to the standby PAC,
page 415.
EIO0000001578.13 407
Hardware Working with M580 Hot Standby Applications
WARNING
RISK OF UNINTENDED OPERATION
Transfer the application from primary PAC to the standby PAC after each online
modification of a MAST task section that is programmed using the sequential function
chart (SFC) programming language.
Do not execute a switchover or trigger a swap before this transfer is successfully
completed.
Failure to follow these instructions can result in death, serious injury, or equipment
damage.
When the M580 Hot Standby system executes a switchover or a swap, the new primary
CPU tests the SFC_MISMATCH bit. The SFC_MISMATCH bit is set when the structure of at
least one SFC section in the primary PAC differs from that section in the standby PAC. If this
bit is set, the CPU re-initializes the state-machine of all the modified SFC sections to help
prevent any unpredictable behavior of the user application.
To avoid the re-initialization of the SFC state-machines when you modify an SFC section,
follow these steps:
Step Action
3 Build the online change in Control Expert by selecting Build > Build Changes.
The modification is made to the program running in the primary PAC.
4 Transfer the application from the primary PAC to the standby PAC. Use a Control Expert animation
table to set the CMD_BACKUP_APPLI_TRANSFER bit to 1.
NOTE: Alternatively, you can automate the transfer in program logic using a code sequence
like the following:
if (ECPU_HSBY_1–>SFC_MISMATCH = 1)
then ECPU_HSBY_1-->CMD_BACKUP_APPLI_TRANSFER = 1
408 EIO0000001578.13
Working with M580 Hot Standby Applications Hardware
Step Action
2 In the Project Browser, navigate to and select Configuration > PLC Bus > <rack> > <CPU> >
EIO.
3 Click the right mouse button, then select Open.
EIO0000001578.13 409
Hardware Working with M580 Hot Standby Applications
Main IP address The configurable IPv4 IP address used by the primary CPU for communication
with distributed equipment.
NOTE: Because this setting is always assigned to the primary CPU, it can
be associated with either the A or B CPU. When a switchover occurs (for
example, when CPU B becomes primary) the main IP address assignment
is transferred from CPU A to CPU B.
Main IP address + 1 The Control Expert auto-generated IPv4 IP address used by the standby CPU for
communication with distributed equipment. This auto-generated IP address
equals the Main IP address plus 1 in the fourth octet. For example, if the Main IP
address is 192.168.10.1, this auto-generated IP address is 192.168.10.2.
NOTE:
• This IP address is not editable in Control Expert. Its sole purpose is to
provide seamless communication transitions on Hot Standby CPU
switchovers.
• Avoid assigning this IP address (the Main IP address + 1) to any
device that may communicate with the Hot Standby system. If you do
assign this IP address to another device, a duplicate IP assignment
condition may occur.
IP address A The configurable IPv4 IP address for the CPU with its A/B/Clear rotary selector
switch, page 53 set to “A”. CPU A uses this IP address for communication on the
Ethernet RIO network.
IP address B The configurable IPv4 IP address for the CPU with its A/B/Clear rotary selector
switch, page 53 set to “B”. CPU B uses this IP address for communication on the
Ethernet RIO network.
Subnetwork mask The configurable 32-bit value used to identify both the network address and the
subnetwork portion of the IP address.
Gateway address The configurable IP address of the default gateway to which messages for other
networks are transmitted.
NOTICE
UNINTENDED EQUIPMENT OPERATION
Do not assign an IP address equal to the Main IP Address, the Main IP Address + 1, IP
Address A, or IP Address B to any Ethernet device that may communicate with the Hot
Standby system. A duplicate IP address condition, causing unintended equipment
operation, can occur.
Failure to follow these instructions can result in equipment damage.
410 EIO0000001578.13
Working with M580 Hot Standby Applications Hardware
Controller
Retain – X
X: Supports the attribute.
EIO0000001578.13 411
Hardware Working with M580 Hot Standby Applications
For a safety controller, each variable set to Exchange On STBY is associated with a task
(MAST, FAST, or SAFE). The amount of data that can be exchanged from the primary to the
standby safety controller depends on the task:
• MAST & FAST: up to 4 MB of data can be exchanged.
• SAFE: up to 1 MB of data can be exchanged.
For information on how to use the Control Expert Data Editor, and display the Retain and
Exchange On STBY attributes, refer to the Unity Pro Operating Modes (see EcoStruxure™
Control Expert, Operating Modes) manual.
Retain
BME•586040 controllers present the Retain variable attribute. This attribute determines
whether the variable value will persist after a warm start of the controller. If the attribute is:
• Selected: Variable data persists and is applied to the variable after a warm start.
• De-selected: Variable data is lost after a warm start; the variable value is reset.
For non-safety-related standalone Modicon M580 PACs, this attribute is read-only. It is
selected by default and cannot be de-selected.
For both standalone and Hot Standby safety controllers, the Retain variable attribute is not
included for variables created in the safe area. All safe data is not retained, because the
SAFE task executes a cold start.
NOTE: In the event of a cold start of the controller, both retained and non-retained data
is reset.
The amount of Refer to the Modicon M580 High Availability System Planning Guide varies,
depending on the controller.
For the BME•586040 controllers, you cannot edit the Retain attribute for a variable that
existed at controller start-up. When a variable is created online as part of a CCOTF change,
you can edit the Retain attribute which remains modifiable until the first build change is
performed.
NOTE: The amount of retained data is presented as saved data in the Memory Usage
window.
Exchange On STBY
Before each scan in a Hot Standby system, the primary Hot Standby controller exchanges
data with the standby controller. It exchanges only that data with the Exchange On STBY
attribute set to YES.
412 EIO0000001578.13
Working with M580 Hot Standby Applications Hardware
NOTE:
• When a reference is initialized inside the Data Editor, the initialization variable
needs to be part of the same task as the reference. Otherwise, a detected error
message is included in the Output Window when the project is analyzed.
• The Exchange On STBY attribute is not editable for all variables.
• In a Hot Standby system, if you have configured explicit messaging using a
communication function, exclude the communication function block Management_
Param from the data to be transferred from primary to standby. To do this, de-select
the Exchange on STBY attribute for the Management_Param parameter in
Control Expert.
You cannot edit the Exchange On STBY attribute for a variable that existed at controller
start-up. When a variable is created online as part of a CCOTF change, you can edit the
Exchange On STBY attribute which remains modifiable until the first build change is
performed.
The amount of Refer to the Modicon M580 High Availability System Planning Guide varies,
depending on the controller.
Each variable that is included in the Hot Standby exchange also presents a read-only Task
attribute. The setting of the Task attribute is auto-generated by Control Expert for each
variable included in the Hot Standby exchange.
EIO0000001578.13 413
Hardware Working with M580 Hot Standby Applications
If Hold up time is not set to a sufficiently large value, the outputs of a drop may enter
fallback during a switchover. This can cause a disruption in the behavior of outputs that have
a fallback setting other than hold last value.
To accommodate both MAST and FAST tasks for (e)X80 RIO drops, set drop Hold up time
to a value not less than 4.4 times the MAST period.
M580 Hot Standby supports the following tasks:
X: Supported
–: Not supported
1. MAST task is mandatory and cannot be deactivated for both (e)X80 and Quantum RIO drops.
414 EIO0000001578.13
Working with M580 Hot Standby Applications Hardware
EIO0000001578.13 415
Hardware Working with M580 Hot Standby Applications
• Transfer from PC to the standby CPU: If your PC with Control Expert has open the
same application as the one running in the primary CPU, you can transfer the
application from your PC to the standby CPU. To do this, connect your PC to either the
Ethernet service port or USB port of the standby CPU, then use the PLC > Transfer
Project to PLC command to make the transfer.
NOTE: If the standby PAC is connected to a configuration tool, such as Control
Expert, only the connected configuration tool can transfer an application to the
standby PAC. In this case, the primary PAC cannot transfer an application to the
standby.
• Transfer from primary CPU to standby CPU: With Control Expert connected to the
primary CPU, and with both the primary and standby CPUs running, use one of the
following methods to make the transfer:
◦ Use the Control Expert PLC > Transfer Project from Primary to StandBy PLC
GUI command.
or
◦ Use the CMD_APP_TRANSFER command of the T_M_ECPU_HSBY DDT.
NOTE:
◦ The application transferred is the backup application, stored in flash memory or
on the SD card. If the application running does not match the backup application,
perform an application backup (PLC > Project Backup... > Backup Save or set
the %S66 system bit to 1) before performing the transfer.
◦ If the CMD_RUN_AFTER_TRANSFER, page 426 flag is set, the standby CPU
automatically starts to run after completion of the transfer, reducing down time
for the standby CPU.
In each case, if both the primary and standby CPUs are equipped with SD memory
cards, the application is transferred to both the standby CPU and its SD memory card.
• SD memory card: If the primary CPU includes an SD memory card with the current
application, take the SD card from the primary CPU, place it into the standby CPU, then
reboot the standby.
In each case:
• The application is transferred only if the application in the standby CPU is different from
the application being transferred to it.
• If the application running in the primary CPU is different from the application stored in
flash memory or on the SD memory card, perform a backup of the running application
(PLC > Project Backup > Backup Save) before making the transfer.
416 EIO0000001578.13
Working with M580 Hot Standby Applications Hardware
NOTE:
• You cannot transfer the application from the standby CPU to the primary CPU.
• If the Logic_Mismatch_Allowed command is set, and if the Number of
modifications has not been reached, you can connect Control Expert to the
standby CPU, then use the CMD_SWAP DDT command to make the standby CPU
the primary CPU. Thereafter, you can transfer the application from new primary
CPU (formerly the standby) to the standby CPU (formerly the primary).
WARNING
UNEXPECTED EQUIPMENT BEHAVIOR
Before transferring a modified application to the Standby CPU:
• Examine carefully all the impacts of the modifications on the application.
• Check that the modified application does not have adverse effects on the process.
Failure to follow these instructions can result in death, serious injury, or equipment
damage.
To make offline modifications to an application program in either CPU, follow these steps:
EIO0000001578.13 417
Hardware Working with M580 Hot Standby Applications
Step Action
This setting authorizes the CPU to remain synchronized with its pair if a program is modified offline.
NOTE: Verify that the section where the function block resides is executed by the Primary and the
Standby CPU (verify the CPU section execution settings in the Hot Standby tab).
11 Select RUN.
NOTE: Check that the CPU is now in WAIT state.
NOTE: If the CPU does not transition to WAIT state, proceed as indicated in the following
Workaround topic, page 419.
12 For safety Hot Standby CPUs, check if the safe part of the new application has been modified
(SAFETY_LOGIC_MISMATCH bit = 1). If so, set the operating mode of the standby PAC to
maintenance mode.
13 On the Standby CPU set to 1 the ALLOW_MISMATCH bit of the HSBY_BUILD_OFFLINE function
block.
This setting authorizes the CPU to remain synchronized with its pair if a program is modified offline.
Result: The Standby CPU switches from WAIT to RUN STANDBY state.
NOTE: Verify that the section where the function block resides is executed by the Standby CPU
(verify the CPU section execution settings in the Hot Standby tab).
418 EIO0000001578.13
Working with M580 Hot Standby Applications Hardware
Step Action
14 Verify that:
• The Primary CPU is in RUN PRIMARY.
• The Standby CPU is in RUN STANDBY.
15 Perform a switchover using the CMD_SWAP command, page 464, or by clicking Animation > Task >
Swap controllers > Primary <-> Standby in the CPU configuration window in Control Expert.
NOTE: Verify that the Standby CPU switched to Primary CPU.
18 On the Standby and Primary CPU reset to 0 the ALLOW_MISMATCH bit of the HSBY_BUILD_
OFFLINE function block.
Step Action
2 Upload the application program from the Primary CPU for future offline modifications.
NOTE: The modifications done previously to the application program in Control Expert are
lost.
3 Perform an application transfer to the Standby CPU, page 415.
6 Modify the application program and repeat the Procedure actions from step 6, page 417.
EIO0000001578.13 419
Hardware Working with M580 Hot Standby Applications
Use Case
In an existing Hot Standby system, the process to modify an application offline and transfer
it to the Primary and Standby CPU follows these macro steps (refer to the preceding
detailed procedure for more information):
• Using the CCOTF online modification, page 405, insert the HSBY_BUILD_OFFLINE
function block in the application program of the Primary and Standby CPU. The function
block needs one input bit for control and provides a status output.
• Allow the application mismatch in the Primary CPU by setting to 1 the ALLOW_
MISMATCH input bit of the HSBY_BUILD_OFFLINE function block in the Primary CPU.
• Modify the application program offline.
• Build Changes (do not perform a Rebuild All Project).
• Transfer the modified application program in the Standby CPU.
• Allow the application mismatch in the Standby CPU by setting to 1 the ALLOW_
MISMATCH input bit of the HSBY_BUILD_OFFLINE function block in the Standby
CPU.
• Perform a switchover.
• Transfer the application in the new Standby CPU.
• Reset to 0 the ALLOW_MISMATCH input bit of the HSBY_BUILD_OFFLINE function
block in the Primary and Standby CPU.
420 EIO0000001578.13
Working with M580 Hot Standby Applications Hardware
• Save the CPU project in the flash memory (and the memory card if inserted):
◦ Automatically after an online modification is performed in the application RAM
◦ Automatically after a download
◦ Automatically on detection of %S66 system bit rising edge
◦ Manually with a Control Expert command: PLC > Project Backup > Backup Save
NOTE: Backup begins after the completion of the current MAST cycle and before
the start of the next MAST cycle.
Because MAST is configured as periodic for all Hot Standby CPUs, set the MAST
period to a value larger than the actual MAST execution time. This lets the
processor complete an entire backup without interruption.
If the MAST period is set to a value less than the actual MAST execution time,
backup processing is fragmented and requires a longer time to finish.
• Compare the CPU project and the flash memory project:
◦ Manually with a Control Expert command: PLC > Project Backup > Backup
Compare
NOTE: When a valid memory card is inserted, page 70 with a valid application, the
application backup and restore operations are performed as follows:
◦ The application backup is performed on the memory card first and then on the
flash memory.
◦ The application restore is performed from the memory card to the CPU
application RAM first and then copied from the application RAM to the flash
memory.
EIO0000001578.13 421
Hardware Managing M580 Hot Standby Data Exchanges
Overview
This chapter describes M580 Hot Standby system data management and the T_M_ECPU_
HSBY DDT.
422 EIO0000001578.13
Managing M580 Hot Standby Data Exchanges Hardware
NOTE: Due to I/O data size and transfer time constraints, I/O data is not exchanged by
the primary CPU with the standby CPU over the Ethernet RIO link.
You can specify which unmanaged DDDT variables are included in the data exchange by
setting the Exchange On STBY flag to NO.
When you create a variable and set its Exchange On STBY flag to YES, that variable
appears in the LOCAL_HSBY_STS area of the instantiated T_M_ECPU_HSBY DDDT, under
the REGISTER element. The REGISTER element can contain up to 32 DWORDs (64 WORDs of
data).
The maximum amount of data that can be exchanged depends on Refer to the Modicon
M580 High Availability System Planning Guide. If the amount of data in your Hot Standby
system exceeds the maximum amount the CPU can transmit, you can:
• Use a CPU with a higher data transfer capacity.
• De-select the Exchange On STBY attribute for some unmanaged DDDT variables.
EIO0000001578.13 423
Hardware Managing M580 Hot Standby Data Exchanges
• Re-design your Hot Standby network so that the amount of Hot Standby data to be
exchanged does not exceed CPU capacity.
424 EIO0000001578.13
Managing M580 Hot Standby Data Exchanges Hardware
• Data objects added to the primary PAC configuration do not exist in the standby PAC. In
this case, the new data objects are not exchanged and:
◦ The DATA_LAYOUT_MISMATCH DDT element is set.
◦ The DATA_DISCARDED DDT element indicates the quantity, in kB (rounded
upwards), of data sent by the primary PAC but rejected by the standby PAC.
• Data objects deleted from the primary PAC configuration continue to exist in the
standby PAC. No updates can be exchanged for these data objects. In this case, the
standby PAC applies the previous value for this data and:
◦ The DATA_LAYOUT_MISMATCH DDT element is set.
◦ The DATA_NOT_UPDATED DDT element indicates the quantity, in kB (rounded
upwards), of data that is retained by the standby PAC but not updated.
• Unchanged data objects remain common to both the primary PAC and the standby
PAC, and continue to be included in the data exchange.
The data structure of the primary PAC and standby PAC will be equalized on next
application transfer.
NOTICE
RISK OF UNINTENDED OPERATION
Review and manage the T_M_ECPU_HSBY DDT for proper operation of the system.
Failure to follow these instructions can result in equipment damage.
EIO0000001578.13 425
Hardware Managing M580 Hot Standby Data Exchanges
• REMOTE_HSBY_STS: Provides information about the remote PAC, and contains the
image of the last received exchange from the counterpart PAC. The validity of this
information is represented by the REMOTE_STS_VALID flag in the common part of this
DDT.
NOTE: The structure of both the LOCAL_HSBY_STS and Remote_HSBY_STS
sections are determined by the HSBY_STS_T data type, and are therefore identical.
Each is used to describe data relating to one of the two Hot Standby PACs.
• A common part of the DDT: Consists of several objects, including status data, system
control objects, and command objects:
◦ Status data is provided by the Hot Standby system as a result of diagnostic
checking.
◦ System control objects enable you to define and control system behavior.
◦ Command data objects include executable commands you can use to modify the
system state.
T_M_ECPU_HSBY DDT
CAUTION
RISK OF UNINTENDED OPERATION
Before you execute a swap command (either by application logic or in the Control Expert
GUI) confirm that the standby PAC is ready to assume the primary role by verifying that
the value of its REMOTE_HSBY_STS.EIO_ERROR bit is 0.
Failure to follow these instructions can result in injury or equipment damage.
426 EIO0000001578.13
Managing M580 Hot Standby Data Exchanges Hardware
LOGIC_MISMATCH BOOL Different revisions of the same application exist in the System
two PACs. (Default = FALSE)
SFC_MISMATCH BOOL • TRUE: The applications in the primary PAC and System
the standby PAC are different in at least one SFC
section. In the event of a switchover, the graphs
that are different are reset to their initial state.
• FALSE (default): All SFC sections are identical.
OFFLINE_BUILD_ BOOL The two PACs are running different revisions of the System
MISMATCH same application. In this condition:
• A data exchange between the two PACs may not
be possible.
• A swap or switchover may not be transparent.
• Neither PAC can be standby
(Default = FALSE)
APP_BUILDCHANGE_DIFF UINT The number of build change differences between the System
applications in the primary PAC versus the standby
PAC. Evaluated by the primary.
FW_MISMATCH BOOL The OS are different in the two PACs. (Default = System
FALSE)
EIO0000001578.13 427
Hardware Managing M580 Hot Standby Data Exchanges
DATA_LAYOUT_MISMATCH BOOL The Data layout are different on the two PACs. The System
data transfer is partially performed. (Default = FALSE)
DATA_DISCARDED UINT Number of KB sent by the primary and discarded by the System
standby (rounded up to the next KB). Represents data
for variables added to primary, but not to standby.
(Default = 0)
428 EIO0000001578.13
Managing M580 Hot Standby Data Exchanges Hardware
INITIAL_VALUE_MISMATCH BOOL • TRUE: if the initial values for exchanged variables System
are different or if the comparison is not possible.
• FALSE: if the initial values for exchanged
variables are identical.
EIO0000001578.13 429
Hardware Managing M580 Hot Standby Data Exchanges
MAST_SYNCHRONIZED (1) BOOL • TRUE: if the exchanged data from the previous System
MAST cycle was received by the standby.
• FALSE (default): if the exchanged data from at
least the previous MAST cycle was not received
by the standby.
NOTE: Closely monitor the MAST_
SYNCHRONIZED and FAST_SYNCHRONIZED
variables related to the MAST and FAST tasks as
indicated at the end of this table.
FAST_SYNCHRONIZED (1) BOOL • TRUE: if the exchanged data from the previous System
FAST cycle was received by the standby.
• FALSE (default): if the exchanged data from at
least the previous FAST cycle was not received
by the standby.
NOTE: Closely monitor the MAST_
SYNCHRONIZED and FAST_SYNCHRONIZED
variables related to the MAST and FAST tasks as
indicated at the end of this table.
SAFE_SYNCHRONIZED BOOL • TRUE: if the exchanged data from the last SAFE System
cycle was received by the standby.
• FALSE (default): if, at least, the exchanged data
from the last SAFE cycle was not received by the
standby.
REMOTE_HSBY_STS T_M_ Hot Standby status for the remote PAC (see below)
ECPU_
HSBY_STS
(1):
• Closely monitor the MAST_SYNCHRONIZED, FAST_SYNCHRONIZED, and SAFE_SYNCHRONIZED variables
related to the MAST, FAST and SAFE tasks. If its value is zero (FALSE), then the database exchanged between
the primary and the standby PACs is not transmitted at each cycle. In this situation, change the configured period
of this task with a higher value than its current execution time (for the MAST task: %SW0 > %SW30; for the FAST
task %SW1 > %SW33; for the SAFE task %SW4 > %SW42. More details on %SW0 + %SW1 and %SW30 + %
SW31 in EcoStruxure™ Control Expert, System Bits and Words, Reference Manual).
• Example of consequence: upon an Application Program Transfer (APT) command, the primary PAC might not be
able to transfer the program to the standby PAC.
430 EIO0000001578.13
Managing M580 Hot Standby Data Exchanges Hardware
WAIT BOOL • TRUE: The PAC is in Run state but waiting to go System
primary or standby.
• FALSE: The PAC is in standby, primary or stop
state.
RUN_PRIMARY BOOL • TRUE: The PAC is in primary state. System
• FALSE: The PAC is in standby, wait or stop state.
EIO_ERROR BOOL • TRUE: The PAC does not detect any of the System
configured Ethernet RIO drops.
• FALSE: The PAC detects at least one configured
Ethernet RIO drop.
NOTE: This bit is always FALSE when no drop is
configured.
EIO0000001578.13 431
Hardware Managing M580 Hot Standby Data Exchanges
• 1: Stop
• 2: Run
• 3: Breakpoint
• 4: Halt
FAST_TASK_STATE BYTE State of the FAST task: System
• 0: Not existent
• 1: Stop
• 2: Run
• 3: Breakpoint
• 4: Halt
SAFE_TASK_STATE BYTE State of the SAFE task: System
• 0: Not existent
• 1: Stop
• 2: Run
• 3: Breakpoint
• 4: Halt
REGISTER WORD[0...63] Unmanaged data added to the application via the Application
Exchange on STBY attribute.
CREATE_FILE X X X
DELETE_FILE X X X
GET_FILE_INFO* X X X
GET_FREESIZE* X X X
OPEN_FILE X X X
432 EIO0000001578.13
Managing M580 Hot Standby Data Exchanges Hardware
RD_FILE_TO_DATA X X X
SET_FILE_ATTRIBUTES X X X
WR_DATA_TO_FILE X X X
* Read-only function
NOTE: Changes made to an SD card in either the primary or standby controller, using
an elementary function, are not replicated in the SD card of the other controller in the
event of a switchover.
CREATE_FILE
The CREATE_FILE (see EcoStruxure™ Control Expert, System, Block Library)
function creates a file called FILENAME, if it does not already exist. If a file by that name
already exists, the CREATE_FILE command behaves the same as the OPEN_FILE
command.
DELETE_FILE
The DELETE_FILE (see EcoStruxure™ Control Expert, System, Block Library)
function deletes a file identified by its FILENAME. Close a file, using the CLOSE_FILE
function before deleting it.
GET_FILE_INFO
The GET_FILE_INFO (see EcoStruxure™ Control Expert, System, Block
Library) function retrieves information about a specified target file. Execute the OPEN_
FILE function for the target file before executing the GET_FILE_INFO function, because
the identity of the target file comes from the output parameter of the OPEN_FILE block.
GET_FREESIZE
The GET_FREESIZE (see EcoStruxure™ Control Expert, System, Block
Library) function displays the amount of available space on the SD memory card.
EIO0000001578.13 433
Hardware Managing M580 Hot Standby Data Exchanges
OPEN_FILE
The OPEN_FILE (see EcoStruxure™ Control Expert, System, Block Library)
function opens a specified file, provided the file already exists.
RD_FILE_TO_DATA
The RD_FILE_TO_DATA (see EcoStruxure™ Control Expert, System, Block
Library) function allows data to be read from a file, at the current position of the file, and
enables it to be copied to a variable.
SET_FILE_ATTRIBUTES
The SET_FILE_ATTRIBUTES (see EcoStruxure™ Control Expert, System, Block
Library) function enables the setting of file attributes that set or clear the read-only flag for
that file.
WR_DATA_TO_FILE
The WR_DATA_TO_FILE (see EcoStruxure™ Control Expert, System, Block
Library) function writes the value of a specified variable to the selected file. The data
written is added after the current position in the file.
434 EIO0000001578.13
M580 CPU Programming and Operating Modes Hardware
Overview
This chapter provides information on M580 CPU I/O exchanges, tasks, memory structure,
and operating modes.
I/O Exchanges
I/O Vision
Each module uses a structure that represents inputs, outputs, control, and diagnostic data.
The structures can be represented using:
• topological addressing / IODDT
• Device DDT
Premium X –
RIO (e)X80 – X
EIO0000001578.13 435
Hardware M580 CPU Programming and Operating Modes
X Supported. When both visions are supported, select one of the exchange types when adding the equipment.
– Not supported.
Exchange Types
I/O modules in an M580 system can be controlled, read, or written with 2 types of
exchanges:
• implicit exchanges
Implicit exchanges are performed automatically on each cycle of the task (MAST,
FAST, AUX0, AUX1) associated with the I/O modules. They are used to read inputs
from and write outputs o the modules.
• explicit exchanges
Explicit exchanges are performed on application request. They are typically for detailed
diagnostics and to set/read command and adjust parameters. They use specific
function blocks.
An acknowledgment or reply is sent once the requested action is performed. This reply
may be received a few cycles after the request was sent.
NOTE: Explicit exchanges are performed in the MAST task.
Explicit Exchanges
Function block usage depends on the module location and I/O vision selected for the
module:
436 EIO0000001578.13
M580 CPU Programming and Operating Modes Hardware
READ_TOPO_ADDR
RESTORE_PARAM
SAVE_PARAM
WRITE_CMD
WRITE_PARAM
READ_VAR
WRITE_VAR
DATA_EXCH
READ_STS_MX
NOTE: MOD_FAULT parameter is not
automatically updated; perform a READ_STS_
MX.
RESTORE_PARAM_MX
SAVE_PARAM_MX
WRITE_CMD_MX
WRITE_PARAM_MX
WRITE_CMD_MX
The function blocks mentioned in previous table are detailed in the Explicit Exchange part of
Control Expert, I/O Management, Block Library manual, and in the Extended part of Control
Expert, Communication, Block Library manual.
CPU Tasks
Introduction
An M580 CPU can execute single-task and multi-task applications. Unlike a single-task
application which only executes the MAST task, a multi-task application defines the priorities
of each task.
EIO0000001578.13 437
Hardware M580 CPU Programming and Operating Modes
There are four tasks available (see Application Program Structure chapter in Control Expert
Program Languages and Structure Reference Manual) and two types of event tasks:
• MAST
• FAST
• AUX0
• AUX1
• I/O event in a local rack only
• timer event in a local rack only
NOTE: The time to perform an update init values with current values operation is not
taken into account in the watchdog calculation.
Task Characteristics
The time model, task period, and maximum number of tasks per CPU are defined according
to the standalone or Hot Standby CPU reference.
Standalone CPUs:
by 10
by 10
2. When set to cyclic mode, the minimum cycle time is 8 ms if there is a RIO network and 1 ms if there is no RIO
network in the system.
438 EIO0000001578.13
M580 CPU Programming and Operating Modes Hardware
AUX0(4.) — — — — — —
AUX1(4.) — — — — — —
4. Not supported.
Memory Structure
CPU Memory
3 types of memories are available in a BMEP58•••• CPU:
• non-persistent application RAM: run the application program and store temporary data
• flash memory: back up the application program and a copy of %MW values
• optional SD memory card: store application and data in parallel to the CPU flash
memory, allowing a fast CPU hardware replacement
EIO0000001578.13 439
Hardware M580 CPU Programming and Operating Modes
440 EIO0000001578.13
M580 CPU Programming and Operating Modes Hardware
Memory Protect
The input %lr.m.c can be parameterized to protect the internal application RAM and the
memory card as follows:
• %lr.m.c to 0: The internal application and the memory card are not protected.
• %lr.m.c to 1: The internal application and the memory card are protected.
NOTE:
• If the input is in error, %lr.m.c is considered at 1 (memory is protected). To remove
this protection in the configuration screen, the input should not be in error.
• The input format is either %lr.m.c or Device DDT from a non-safety-related input
module.
Maintenance Authorization
The %lr.m.c input can be parameterized to authorize the Safety PAC to run in
Maintenance mode as follows:
• %lr.m.c to 1: The Safety PAC can be switched to Maintenance mode.
• %lr.m.c to 0: The Safety PAC cannot be switched to Maintenance mode.
EIO0000001578.13 441
Hardware M580 CPU Programming and Operating Modes
NOTE:
• If the input is detected as in error, %lr.m.c is considered at 1 (Maintenance mode
can be switched). To remove this authorization in the configuration screen, the input
should not be detected as in error.
• The input format is either %lr.m.c or Device DDT from a non-safety-related input
module.
442 EIO0000001578.13
M580 CPU Programming and Operating Modes Hardware
Illustration
Power cycle phases:
EIO0000001578.13 443
Hardware M580 CPU Programming and Operating Modes
Phase Description
1 On power outage, the system saves the application context, the values of application variables,
and the state of the system on internal flash memory.
2 The system sets all the outputs into fallback state (state defined in configuration).
3 On power restoral, some actions and checks are done to verify if warm restart is available:
• restore internal flash memory application context
• verify application and context validity
If all checks are correct a warm restart, page 447 is performed, otherwise a cold start, page 444
is carried out.
Cold Start
Overview
A cold start is an initialization initiated by the Reset button of the power supply or the Cold
start command in Control Expert.
The consequence of a cold start is the re-initialization of all the variables. They get their
default values.
NOTE: After an application download the variables are reinitialized like a cold start.
Application restored from flash memory is different than the one STOP(1.)
in the non-persistent application RAM.
Use case:
• application restored from a memory card if a compatible
memory card is in the card slot
• application restored from the CPU flash memory
444 EIO0000001578.13
M580 CPU Programming and Operating Modes Hardware
Power supply RESET button pressed less than 500 ms after a STOP(1.)
power down.
Power supply RESET button pressed after a CPU detected error, STOP(2.)
except in the case of a watchdog detected error (halt state).
Init requested with one of the 3 following means: The CPU does not change its state. It only
• %S0 system bit set to 0 initializes the application.
EIO0000001578.13 445
Hardware M580 CPU Programming and Operating Modes
Phase Description
1 The startup is performed in RUN or in STOP state depending on one of the 2 following conditions:
• The status of the Automatic start in Run parameter defined in the CPU configuration. If the
parameter is selected, the start will be performed in RUN.
• The state of the I/O defined in the Run/Stop input parameter in the CPU configuration.
Program execution is resumed at the start of the cycle.
446 EIO0000001578.13
M580 CPU Programming and Operating Modes Hardware
Output Changes
As soon as a power outage is detected the outputs are set in the fallback position configured
(programmed fallback value or current value).
On power down, the outputs are not driven and remain at 0.
After power restoral, the outputs remain at 0 until they are updated by the task.
Warm Restart
Introduction
A warm start is initiated by a power cut.
After a warm restart, the variables get the values that they had before the power cut as a
restore is done by the PLC.
1 Program execution does not resume from the element where the power outage occurred. The
remaining program is discarded during the warm restart. Each task restarts from the beginning.
EIO0000001578.13 447
Hardware M580 CPU Programming and Operating Modes
Output Changes
As soon as a power outage is detected the outputs are set in the fallback position
configured: either programmed fallback value or current value.
After power restoral, the outputs remain at 0 until they are updated by the task.
448 EIO0000001578.13
M580 Hot Standby System Operation Hardware
Overview
This chapter describes operation of the M580 Hot Standby system.
EIO0000001578.13 449
Hardware M580 Hot Standby System Operation
Step Action
2 Connect your PC with both Control Expert and the program you want to download.
If all necessary preconditions exist, the controller becomes the primary Hot Standby CPU.
6 If necessary, repeat steps 2 and 3 for the second controller, and download the program to it.
NOTE: If the second controller is not configured, the primary CPU automatically downloads
the program to the second controller, which becomes the standby.
450 EIO0000001578.13
M580 Hot Standby System Operation Hardware
If both A/B CPU LED First CPU to power-up Second CPU to power-up
Switches set to:
A A Blink Green Blink Green
B OFF OFF
PRIM Blink Green OFF
STBY OFF OFF
B A OFF OFF
B Blink Green Blink Green
PRIM Blink Green OFF
EIO0000001578.13 451
Hardware M580 Hot Standby System Operation
NOTE: If the A/B rotary switches for both CPUs are set to the same position (“A” or “B”),
and if both CPUs start-up simultaneously, both CPUs enter wait state.
452 EIO0000001578.13
M580 Hot Standby System Operation Hardware
Not OK Not OK Not OK OK Run Primary Starting Run Primary Run Standby
Not OK Not OK Not OK OK Starting Run Primary Run Standby Run Primary
Not OK Not OK Not OK Not OK Starting Starting Run Primary3 Run Primary3
Not OK Not OK Not OK Not OK Run Primary Starting Run Primary3 Run Primary3
Not OK Not OK Not OK Not OK Starting Run Primary Run Primary3 Run Primary3
1.The supplementary link between PAC A and PAC B over the RIO or DIO ring.
2. The connection between a PAC and RIO drop over the ERIO network. OK indicates the CPU recognizes at least one
drop. Not OK indicates the PAC recognizes no drops for 3 seconds.
3. Priority is given to PAC designated “A” via A/B rotary selection switch on the rear of the CPU.
EIO0000001578.13 453
Hardware M580 Hot Standby System Operation
454 EIO0000001578.13
M580 Hot Standby System Operation Hardware
1. While the PAC is switching from Primary to Standby state, the PAC will pass to an intermediate Wait state for a
duration of at least one cycle.
EIO0000001578.13 455
Hardware M580 Hot Standby System Operation
If this Hot Standby system state arises during: CPU A and CPU B perform the following roles:
Sequential start-up of CPU A and CPU B • The first CPU to start up is primary.
• The second CPU to start up is standby.
456 EIO0000001578.13
M580 Hot Standby System Operation Hardware
EIO0000001578.13 457
Hardware M580 Hot Standby System Operation
If this Hot Standby system state arises during: CPU A and CPU B perform the following roles:
Sequential start-up of CPU A and CPU B • The first CPU to start up is primary.
• The second CPU to start up enters wait state,
because there can be no standby CPU if the Hot
Standby link is not operational.
458 EIO0000001578.13
M580 Hot Standby System Operation Hardware
If this Hot Standby system state arises during: CPU A and CPU B perform the following roles:
Sequential start-up of CPU A and CPU B • The first CPU to start up is primary.
• When CPU A starts up (after CPU B), it is standby.
• When CPU B starts up (after CPU A) it enters wait
state.
Simultaneous start-up of CPU A and CPU B • CPU A is primary.
• CPU B enters wait state.
Run-time • CPU A remains primary and CPU B enters wait state.
– or –
• CPU B remains primary and CPU A remains standby.
EIO0000001578.13 459
Hardware M580 Hot Standby System Operation
460 EIO0000001578.13
M580 Hot Standby System Operation Hardware
If this Hot Standby system state arises during: CPU A and CPU B perform the following roles:
Sequential start-up of CPU A and CPU B • The first CPU to start up is primary.
• The second CPU to start up is standby.
EIO0000001578.13 461
Hardware M580 Hot Standby System Operation
If this Hot Standby system state arises CPU A and CPU B perform the following roles:
during:
462 EIO0000001578.13
M580 Hot Standby System Operation Hardware
to be connected to a different collection of (e)X80 EIO adapter modules on the Ethernet RIO
main ring. The Hot Standby link remains operational:
If this Hot Standby system state arises during: CPU A and CPU B perform the following roles:
Sequential start-up of CPU A and CPU B • The first CPU to start up is primary.
• The second to start up is standby.
EIO0000001578.13 463
Hardware M580 Hot Standby System Operation
CAUTION
RISK OF UNINTENDED OPERATION
Before executing a swap, either by application logic or in the Control Expert GUI, verify
that the standby PAC is ready to assume the primary role.
Refer to the EcoStruxure™ Control Expert Program Languages and Structure Reference
manual (see EcoStruxure™ Control Expert, System Bits and Words, Reference Manual)
for more details on the %SW182-%SW183 and %SW176-%SW177 system words.
Failure to follow these instructions can result in injury or equipment damage.
The M580 BMEH58•040 and BMEH58•040S CPUs support the following Hot Standby
commands:
464 EIO0000001578.13
M580 Hot Standby System Operation Hardware
EIO0000001578.13 465
Hardware M580 Hot Standby System Operation
PLCB_ONLINE Lets the CPU with its rotary switch set to PAC B only X X2
“B” serve as either primary or standby,
depending on other operating conditions. If
set to 0, PAC B goes into either wait or
stop state.
X: Command is supported.
1. Remote refers to the PAC to which your PC and Control Expert is not connected.
Memory Usage
Introduction
The memory usage function is used to view:
• The physical distribution of the PAC memory.
• The space taken up in the memory by a project (data, program, configuration, system
and diagnostic).
It can also be used to reorganize the memory where possible.
NOTE: The memory usage screen is not available in simulation mode. This screen is
only available in standard mode when you have built the application.
466 EIO0000001578.13
M580 Hot Standby System Operation Hardware
Procedure
To access the memory usage details of the PAC:
Step Action
NOTE: If the application has been built and if it is in NOT BUILT state due to a program
modification, the screen is accessible, but it corresponds to the application built
previously. Modifications will be taken into account at the next build.
Parameter Description
User Data This field indicates the memory space (in words) taken up by user data (objects
relating to configuration):
• saved Data: located data associated with the processor (%M, %MW, %S, %SW,
etc.) or the input/output modules. This data is retained by the CPU in the event
of a CPU warm start.
• saved Declared Data: unlocated data (declared in the data editor) that is
retained by the CPU in the event of a CPU warm start.
• unsaved Declared Data unlocated data (declared in the data editor) that is not
retained by the CPU in the event of a CPU warm start.
User program This field indicates the memory space (in words) taken up by the project program:
• Constants: static constants associated with the processor (%KW) and the input/
output modules; initial data values,
• Executable code: executable code of the project program, EFs, EFBs and DFB
types,
• Upload information: information for uploading a project (graphic code of
languages, symbols, etc.).
Other This field indicates the memory space (in words) taken up by other data relating to the
configuration and the project structure:
• Configuration: other data relating to configuration (Page0 for a Quantum PAC,
hardware configuration, software configuration),
• System: data used by the operating system (task stack, catalogs, etc.),
• Diagnostic: information relating to process or system diagnostics, diagnostics
buffer,
EIO0000001578.13 467
Hardware M580 Hot Standby System Operation
Parameter Description
Internal memory This field shows the organization of the PAC's internal memory, for both program and
data storage. It indicates the memory space available (Total), the largest possible
contiguous memory space (Greatest) and the level of Fragmentation (due to online
modifications).
Memory re-organization
Memory re-organization is activated using the Pack command.
Memory re-organization can be performed in online or offline mode (Even if the PAC is in
Run or in Stop).
NOTE: Certain blocks cannot be moved in online mode. You will attain a lower level of
fragmentation by re-organizing the memory in offline mode.
468 EIO0000001578.13
M580 Hot Standby Diagnostics Hardware
Overview
This chapter describes M580 Hot Standby diagnostic tools provided by the:
• BMEH58•040 CPU Hot Standby LEDs
• Control Expert graphical user interface
EIO0000001578.13 469
Hardware M580 Hot Standby Diagnostics
470 EIO0000001578.13
M580 Hot Standby Diagnostics Hardware
Hot Standby status of the local controller: Local controller name (position of A/B/Clear rotary selector
• Primary switch, page 53):
• Standby • PLC A
• Stop • PLC B
• Wait • CLEAR
EIO0000001578.13 471
Hardware M580 Hot Standby Diagnostics
Step Action
1 In Control Expert, open the DTM Browser (Tools > DTM Browser).
2 Right-click the CPU in the DTM Browser.
3 Select Connect.
4 Right-click the CPU in the DTM Browser.
472 EIO0000001578.13
M580 Hot Standby Diagnostics Hardware
Parameter Description
Refresh Every 500ms Select this to display synchronization data in this page, and refresh
displayed data every 500ms.
Status area:
Synchronizing • True: Synchronization is executing.
• False: Synchronization is not executing.
Copy Files from Primary to Standby Select this then click Send to pull DIO device configuration (.prm) files
from the primary CPU to the standby.
Clear Files in Primary Select this then click Send to delete the DIO device configuration (.
prm) files from the primary. If synchronization is enabled, the standby
CPU synchronizes with the primary and any DIO device configuration
files in the standby are also deleted.
EIO0000001578.13 473
Hardware M580 Hot Standby Diagnostics
14103 Switch from Standby to No remote PLC connection No Hot Standby link and EIO link between
Primary CPUs.
14104 Switch from Standby to Remote PLC not Primary • Loss of power on former primary.
Primary • Former primary stopped.
• Error detected on former primary.
14105 Switch from Standby to Wait Hsby Link Error • Break in Hot Standby link cable
• Transceiver inoperable in either CPU.
14106 Switch from Standby to Stop PLC not in RUN Standby CPU stopped.
14107 Switch from Primary to Wait Loc RIO err and no peer Former primary CPU lost connection to all (e)
RIO err X80 EIO adapter modules; former standby
(now primary) CPU maintains connection to
at least one (e)X80 EIO adapter module.
14108 Switch from Primary to Wait Swap Command Former primary CPU received swap
command.
474 EIO0000001578.13
M580 Hot Standby Diagnostics Hardware
14109 Switch from Primary to Stop PLC not in RUN Former primary CPU stopped (PAC in STOP
or one task in HALT)
14111 Peer PLC disconnection on RIO Link Error Two breaks in Ethernet RIO cable have
RIO Link isolated the remote CPU.
14112 Peer PLC disconnection on Hsby Link Error • Break in Hot Standby link cable
Hsby Link • Transceiver inoperable in either CPU.
14116 Degraded Hsby Data transfer Data Layout mismatch Online changes to data structure have been
made to primary CPU, but not transferred to
standby.
14117 Bad peer rotary switch config Not in a PLC_A and PLC_B Rotary switch settings do not specify an A
config and a B PAC.
14118 Power supply error Loss of redundancy One of the BMXCPS4002 redundant power
supply units is no longer functioning.
WARNING
UNEXPECTED APPLICATION BEHAVIOR
Do not use system objects (%Si, %SWi) as variable when they are not documented.
Failure to follow these instructions can result in death, serious injury, or equipment
damage.
EIO0000001578.13 475
Hardware M580 Hot Standby Diagnostics
Control Expert presents the following M580-specific system words you can use when
diagnosing the state of your M580 Hot Standby system:
• %SW132 to %SW134: CPU MAC Address.
• %SW135 to %SW137: CPU serial number
• %SW146 and %SW147: SD card serial number
• %SW160 to %SW167: Detected errors for racks 0...7
For a more detailed description of these system words, refer to the M580 section (see
EcoStruxure™ Control Expert, System Bits and Words, Reference Manual) of the
EcoStruxure™ Control Expert System Bits and Words Reference Manual.
476 EIO0000001578.13
Replacing M580 Hot Standby CPUs Hardware
Step Action
1 Confirm that the application program running on the M580 Hot Standby PAC has been exported in
the ZEF format and is available on the computer.
If not, upload the application program from one of the two PACs to Control Expert.
2 Export the application in the ZEF format on the Control Expert workstation.
3 If not yet installed, install Unity Pro XL version 11.0 (or any subsequent supporting version(s)).
NOTE:
Unity Pro is the former name of Control Expert for version 13.1 or earlier.
WARNING
SYSTEM NO LONGER ACTIVE NOR REDUNDANT
Before stopping the system, confirm that no critical operation is in progress. The system is
inactive and non-redundant.
Failure to follow these instructions can result in death, serious injury, or equipment
damage.
EIO0000001578.13 477
Hardware Replacing M580 Hot Standby CPUs
Step Action
6 Replace hardware or update the PAC B firmware with version 2.10 or any subsequent supporting
version(s).
8 Power on PAC B.
9 If using an SD memory card, insert the card in PAC B. (Refer to the SD memory card instructions
for information about existing programs on the card.)
NOTE: Confirm that the PAC is in a NOCONF state (see Modicon M580, Hardware,
Reference Manual).
11 In the PLC Bus editor, replace the current version of the PAC with the new firmware PAC version.
12 Select the Online modification in RUN or STOP check box in the PAC Configuration tab to
enable the configuration change.
13 Rebuild the application (Build > Rebuild All Project) and download into PAC B. The PAC is in
STOP mode.
14 Connect the Hot Standby sync link cable to PAC B.
WARNING
LOSS OF COMMUNICATION
Before changing the mode of PAC A to STOP, confirm that no critical operation is in
progress. Once confirmed, the system is considered inactive or non-redundant.
Failure to follow these instructions can result in death, serious injury, or equipment
damage.
478 EIO0000001578.13
Replacing M580 Hot Standby CPUs Hardware
16 Stop PAC A.
NOTE: The system is no longer active nor redundant.
WARNING
UNEXPECTED APPLICATION BEHAVIOR - LOSS OF DATA
At the end of the application download, all application data in the PAC B have their initial
value. Before you change the mode of PAC B to RUN, confirm that the application can
restart with the initial values.
Failure to follow these instructions can result in death, serious injury, or equipment
damage.
Step Action
4 Replace hardware or update the PAC B firmware with version 2.10 or any subsequent supporting
version(s).
5 Power on PAC A.
6 If using an SD memory card, insert it in PAC A.
NOTE: Confirm that the PAC is in a No Conf state.
7 Connect the Hot Standby sync link cable to PAC A.
EIO0000001578.13 479
Hardware Verifying the Network Configuration
Parameter Description
480 EIO0000001578.13
Verifying the Network Configuration Hardware
Parameter Description
• CRA
Profiles The kind of control network communications:
• Remote (RIO)
• Distributed (DIO)
Topo address The topological address of the device, in the sequence: bus, drop, rack, slot.
DHCP Enable Indicates if the device is a DHCP client and receives its IP address(es) from a DHCP
server (yes/no).
Gateway Address The IP address of the default gateway, to which messages for other networks are
transmitted.
Identified By For scanned devices, the type of network identifier - the device Name,
Identifier The string used to identify a scanned device. The default value is the device Name.
NOTE: Editable for scanned modules.
SNMP For scanning devices, the IP address of up to two SNMP network manager devices.
NTP State The role or roles of the of the CPU’s NTP service:
NOTE: CPU firmware versions earlier than V4.01 use SNTP; CPU firmware V4.01
and any subsequent supporting version(s) use NTPv4)
• Disabled (SNTP and NTPv4): The service is not enabled in the CPU configuration.
• Server (SNTP): The CPU is configured as an SNTP server.
• Server only (NTPv4): The CPU is configured as an NTPv4 server, but not also as a
client.
• Client (SNTP): The CPU is configured as an SNTP client.
• Client / Server (NTPv4): The CPU is configured as both an NTPv4 client and server.
NTP Configuration Lists the IP addresses of the SNTP or NTPv4 servers that send updates to the NTP client
resident in the device:
• Primary and Secondary SNTP server configured IP addresses are displayed when
the CPU is configured as Client or Server.
• Up to 8 NTPv4 system peer IP Addresses can be displayed, with the Preferred
server identified for NTPv4, when the CPU is configured as Client / Server.
NOTE:
• The red cells indicate detected errors (defined by network management rules).
• After editing a scanned module IP Address or Identifier setting, click the validate
button to save your edits.
EIO0000001578.13 481
Hardware Verifying the Network Configuration
Step Action
2 Check for settings with a red background, indicating the tool has detected a configuration error.
7 Repeat steps 1, 2, 3, and 4 until the Ethernet Network Manager no longer detects any errors.
482 EIO0000001578.13
Verifying the Network Configuration Hardware
• The tool verifies that the network address of the IP address is valid.
• The tool verifies that the host address of the IP address is valid, including that
broadcast IP addresses are blocked.
• While an M580 CPU uses classless inter-domain routing (CIDR), some IP addresses
are not allowed to maintain compatibility:
◦ in a class A network, IP addresses that end in 255.255.255
◦ in a class B network, IP addresses that end in 255.255
◦ in a class C network, IP addresses that end in 255
• The IP address is configured to access the gateway address. Therefore, the gateway
address is within the subnetwork defined by the mask. The gateway is not accessible
when it is not on the same subnetwork as the IP address.
EIO0000001578.13 483
Hardware
Appendices
What’s in This Part
Function Blocks ..................................................................... 485
484 EIO0000001578.13
Function Blocks Hardware
Function Blocks
What’s in This Chapter
ETH_PORT_CTRL: Executing a Security Command in an
Application ............................................................................ 485
FBD Representation
Representation:
EIO0000001578.13 485
Hardware Function Blocks
LD Representation
Representation:
IL Representation
CAL ETH_PORT_CTRL_Instance (ENABLE := EnableSecurityChange, ABORT :=
AbortSecurityChange, ADDR := ModuleAddress, ETH_SCE := ServiceToChange,
DONE => BlockExecutionDone, ACTIVE => BlockExecutionInProgress, ERROR
=> BlockExecutionError, STATUS => BlockErrorStatus, ETH_SCE_STATUS =>
ChangeServiceStatus)
ST Representation
ETH_PORT_CTRL_Instance (ENABLE := EnableSecurityChange, ABORT :=
AbortSecurityChange, ADDR := ModuleAddress, ETH_SCE := ServiceToChange,
DONE => BlockExecutionDone, ACTIVE => BlockExecutionInProgress, ERROR
=> BlockExecutionError, STATUS => BlockErrorStatus, ETH_SCE_STATUS =>
ChangeServiceStatus);
Description of Parameters
This table describes the input parameters:
ADDR ANY_ARRAY_ This array contains the address of the entity for which you want to change the
INT security state, which is the result of the ADDMX (see EcoStruxure™ Control
486 EIO0000001578.13
Function Blocks Hardware
(1) To address a module in the local rack, enter 0.0.10 (CPU main server address).
DONE BOOL Operation completed indication. Set to 1 when the execution of the operation
is completed successfully.
ACTIVE BOOL Operation in progress indication. Set to 1 when the execution of the operation
is in progress.
EIO0000001578.13 487
Hardware Function Blocks
STATUS WORD Code providing the detected error identification (see EcoStruxure™ Control
Expert, I/O Management, Block Library).
ETH_SCE_ WORD For each protocol, these values contain the response to any attempt to enable
STATUS or disable the FTP, TFTP, HTTP, or DHCP / BOOTP protocols:
• 0: command executed
• 1: command not executed
Reasons for not executing the command can be:
• The communication service has been disabled by the configuration.
• The communication service is already in the state requested by the
command (Enabled or Disabled).
• The communication service (x) is not supported by the module or is a
non-existing service.
These bits are used for the different protocols:
• 0: FTP
• 1: TFTP
• 2: HTTP
• 3: DHCP / BOOTP
• 4 ... 15: reserved (value = 0)
Execution Type
Synchronous:
When used on the following M580 CPU modules, the ETH_PORT_CTRL function block is
executed synchronously. As a result, the DONE output turns ON as soon as the ENABLE
input is set to ON. In this case, the ACTIVE output remains OFF.
• BMEP581020
• BMEP582020
• BMEP582040
• BMEP583020
• BMEP583040
• BMEP584020
• BMEP584040
• BMEP585040
• BMEP586040
• BMEH582040*
• BMEH584040*
488 EIO0000001578.13
Function Blocks Hardware
• BMEH586040*
* In BMEH58•040 Hot Standby CPUs, verify that the ETH_PORT_CTRL function block
is executed equally on both primary and standby CPUs.
Asynchronous:
When used on the following modules, the ETH_PORT_CTRL function block is executed
asynchronously and may take several cycles until the DONE output turns ON. Therefore,
the ACTIVE output is set to ON until the completion of the ETH_PORT_CTRL function
block.
• M340 modules:
◦ BMXNOC0401
◦ BMXNOE0100
◦ BMXNOE0110
• M580 modules:
◦ BMENOC0301/BMENOC0311
Step Action
3 ENABLE input should be an OR between a pulse command and the ACTIVE output of the EFB.
EIO0000001578.13 489
Hardware
Glossary
A
adapter:
An adapter is the target of real-time I/O data connection requests from scanners. It cannot
send or receive real-time I/O data unless it is configured to do so by a scanner, and it does
not store or originate the data communications parameters necessary to establish the
connection. An adapter accepts explicit message requests (connected and unconnected)
from other devices.
B
BCD:
(binary-coded decimal) Binary encoding of decimal numbers.
BOOTP:
(bootstrap protocol) A UDP network protocol that can be used by a network client to
automatically obtain an IP address from a server. The client identifies itself to the server
using its MAC address. The server, which maintains a pre-configured table of client device
MAC addresses and associated IP addresses, sends the client its defined IP address. The
BOOTP service utilizes UDP ports 67 and 68.
C
CCOTF:
(change configuration on the fly) A feature of Control Expert that allows a module hardware
change in the system configuration while the system is operating. This change does not
impact active operations.
CIP™:
(common industrial protocol) A comprehensive suite of messages and services for the
collection of manufacturing automation applications (control, safety, synchronization,
motion, configuration and information). CIP allows users to integrate these manufacturing
applications with enterprise-level Ethernet networks and the internet. CIP is the core
protocol of EtherNet/IP.
CPU:
(central processing unit) The CPU, also known as the processor or controller, is the brain of
an industrial manufacturing process. It automates a process as opposed to relay control
systems. CPUs are computers suited to survive the harsh conditions of an industrial
environment.
EIO0000001578.13 491
Hardware
D
determinism:
For a defined application and architecture, you can predict that the delay between an event
(change of value of an input) and the corresponding change of a controller output is a finite
time t, smaller than the deadline required by your process.
device network:
An Ethernet-based network within an RIO network that contains both RIO and distributed
equipment. Devices connected on this network follow specific rules to allow RIO
determinism.
DFB:
(derived function block) DFB types are function blocks that can be defined by the user in
ST, IL, LD or FBD language.
Using these DFB types in an application makes it possible to:
• simplify the design and entry of the program
• make the program easier to read
• make it easier to debug
• reduce the amount of code generated
DHCP:
(dynamic host configuration protocol) An extension of the BOOTP communications
protocol that provides for the automatic assignment of IP addressing settings, including IP
address, subnet mask, gateway IP address, and DNS server names. DHCP does not
require the maintenance of a table identifying each network device. The client identifies
itself to the DHCP server using either its MAC address, or a uniquely assigned device
identifier. The DHCP service utilizes UDP ports 67 and 68.
DIO cloud:
A group of distributed equipment that is not required to support RSTP. DIO clouds require
only a single (non-ring) copper wire connection. They can be connected to some of the
copper ports on DRSs, or they can be connected directly to the CPU or Ethernet
communications modules in the local rack. DIO clouds cannot be connected to sub-rings.
DIO:
(distributed I/O) Also known as distributed equipment. DRSs use DIO ports to connect
distributed equipment.
492 EIO0000001578.13
Hardware
DNS:
(domain name server/service) A service that translates an alpha-numeric domain name
into an IP address, the unique identifier of a device on the network.
DRS:
(dual-ring switch) A ConneXium extended managed switch that has been configured to
operate on an Ethernet network. Predefined configuration files are provided by Schneider
Electric to downloaded to a DRS to support the special features of the main ring / sub-ring
architecture.
DSCP:
(differentiated service code points) This 6-bit field is in the header of an IP packet to
classify and prioritize traffic.
DTM:
(device type manager) A DTM is a device driver running on the host PC. It provides a
unified structure for accessing device parameters, configuring and operating the devices,
and troubleshooting devices. DTMs can range from a simple graphical user interface (GUI)
for setting device parameters to a highly sophisticated application capable of performing
complex real-time calculations for diagnosis and maintenance purposes. In the context of a
DTM, a device can be a communications module or a remote device on the network.
See FDT.
E
EDS:
(electronic data sheet) EDS are simple text files that describe the configuration capabilities
of a device. EDS files are generated and maintained by the manufacturer of the device.
EFB:
(elementary function block) This is a block used in a program which performs a predefined
logical function.
EFBs have states and internal parameters. Even if the inputs are identical, the output
values may differ. For example, a counter has an output indicating that the preselection
value has been reached. This output is set to 1 when the current value is equal to the
preselection value.
EIO0000001578.13 493
Hardware
EF:
(elementary function) This is a block used in a program which performs a predefined logical
function.
A function does not have any information on the internal state. Several calls to the same
function using the same input parameters will return the same output values. You will find
information on the graphic form of the function call in the [functional block (instance)].
Unlike a call to a function block, function calls include only an output which is not named
and whose name is identical to that of the function. In FBD, each call is indicated by a
unique [number] via the graphic block. This number is managed automatically and cannot
be modified.
Position and configure these functions in your program to execute your application.
You can also develop other functions using the SDKC development kit.
EIO network:
(Ethernet I/O) An Ethernet-based network that contains three types of devices:
• local rack
• X80 remote drop (using a BM•CRA312•0 adapter module), or a BMENOS0300
network option switch module
• ConneXium extended dual-ring switch (DRS)
NOTE: Distributed equipment may also participate in an Ethernet I/O network via
connection to DRSs or the service port of X80 remote modules.
EtherNet/IP™:
A network communication protocol for industrial automation applications that combines the
standard internet transmission protocols of TCP/IP and UDP with the application layer
common industrial protocol (CIP) to support both high speed data exchange and industrial
control. EtherNet/IP employs electronic data sheets (EDS) to classify each network device
and its functionality.
Ethernet:
A 10 Mb/s, 100 Mb/s, or 1 Gb/s, CSMA/CD, frame-based LAN that can run over copper
twisted pair or fiber optic cable, or wireless. The IEEE standard 802.3 defines the rules for
configuring a wired Ethernet network; the IEEE standard 802.11 defines the rules for
configuring a wireless Ethernet network. Common forms include 10BASE-T, 100BASE-TX,
and 1000BASE-T, which can utilize category 5e copper twisted pair cables and RJ45
modular connectors.
494 EIO0000001578.13
Hardware
explicit messaging:
TCP/IP-based messaging for Modbus TCP and EtherNet/IP. It is used for point-to-point,
client/server messages that include both data, typically unscheduled information between a
client and a server, and routing information. In EtherNet/IP, explicit messaging is
considered class 3 type messaging, and can be connection-based or connectionless.
F
FDR:
(fast device replacement) A service that uses configuration software to replace an
inoperable product.
FDT:
(field device tool) The technology that harmonizes communication between field devices
and the system host.
FTP:
(file transfer protocol) A protocol that copies a file from one host to another over a TCP/IP-
based network, such as the internet. FTP uses a client-server architecture as well as
separate control and data connections between the client and server.
G
gateway:
A gateway device interconnects two different networks, sometimes through different
network protocols. When it connects networks based on different protocols, a gateway
converts a datagram from one protocol stack into the other. When used to connect two IP-
based networks, a gateway (also called a router) has two separate IP addresses, one on
each network.
H
HMI:
(human machine interface) System that allows interaction between a human and a
machine.
Hot Standby:
A Hot Standby system uses a primary PAC (PLC) and a standby PAC. The two PAC racks
have identical hardware and software configurations. The standby PAC monitors the
current system status of the primary PAC. If the primary PAC becomes inoperable, high-
availability control is maintained when the standby PAC takes control of the system.
EIO0000001578.13 495
Hardware
HTTP:
(hypertext transfer protocol) A networking protocol for distributed and collaborative
information systems. HTTP is the basis of data communication for the web.
I
implicit messaging:
UDP/IP-based class 1 connected messaging for EtherNet/IP. Implicit messaging maintains
an open connection for the scheduled transfer of control data between a producer and
consumer. Because an open connection is maintained, each message contains primarily
data, without the overhead of object information, plus a connection identifier.
IP address:
The 32-bit identifier, consisting of both a network address and a host address assigned to a
device connected to a TCP/IP network.
L
local rack:
An M580 rack containing the CPU and a power supply. A local rack consists of one or two
racks: the main rack and the extended rack, which belongs to the same family as the main
rack. The extended rack is optional.
local slave:
The functionality offered by Schneider Electric EtherNet/IP communication modules that
allows a scanner to take the role of an adapter. The local slave enables the module to
publish data via implicit messaging connections. Local slave is typically used in peer-to-
peer exchanges between PACs.
M
MAST:
A master (MAST) task is a deterministic processor task that is run through its programming
software. The MAST task schedules the RIO module logic to be solved in every I/O scan.
The MAST task has two sections:
• IN: Inputs are copied to the IN section before execution of the MAST task.
• OUT: Outputs are copied to the OUT section after execution of the MAST task.
MB/TCP:
(Modbus over TCP protocol) This is a Modbus variant used for communications over TCP/
IP networks.
496 EIO0000001578.13
Hardware
Modbus:
Modbus is an application layer messaging protocol. Modbus provides client and server
communications between devices connected on different types of buses or networks.
Modbus offers many services specified by function codes.
%MW:
According to the CEI standard, %MW indicates a language object of type memory word.
N
NIM:
(network interface module) A NIM resides in the first position on an STB island (leftmost on
the physical setup). The NIM provides the interface between the I/O modules and the
fieldbus master. It is the only module on the island that is fieldbus-dependent — a different
NIM is available for each fieldbus.
NTP:
(network time protocol) Protocol for synchronizing computer system clocks. The protocol
uses a jitter buffer to resist the effects of variable latency.
P
PAC:
programmable automation controller. The PAC is the brain of an industrial manufacturing
process. It automates a process as opposed to relay control systems. PACs are computers
suited to survive the harsh conditions of an industrial environment.
port 502:
Port 502 of the TCP/IP stack is the well-known port that is reserved for Modbus TCP
communications.
R
RIO drop:
One of the three types of RIO modules in an Ethernet RIO network. An RIO drop is an
M580 rack of I/O modules that are connected to an Ethernet RIO network and managed by
an Ethernet RIO adapter module. A drop can be a single rack or a main rack with an
extended rack.
EIO0000001578.13 497
Hardware
RIO network:
An Ethernet-based network that contains 3 types of RIO devices: a local rack, an RIO drop,
and a ConneXium extended dual-ring switch (DRS). Distributed equipment may also
participate in an RIO network via connection to DRSs or BMENOS0300 network option
switch modules.
RPI:
(requested packet interval) The time period between cyclic data transmissions requested
by the scanner. EtherNet/IP devices publish data at the rate specified by the RPI assigned
to them by the scanner, and they receive message requests from the scanner at each RPI.
RSTP:
(rapid spanning tree protocol) Allows a network design to include spare (redundant) links to
provide automatic backup paths if an active link stops working, without the need for loops
or manual enabling/disabling of backup links.
S
SFP:
(small form-factor pluggable). The SFP transceiver acts as an interface between a module
and fiber optic cables.
SNMP:
(simple network management protocol) Protocol used in network management systems to
monitor network-attached devices. The protocol is part of the internet protocol suite (IP) as
defined by the internet engineering task force (IETF), which consists of network
management guidelines, including an application layer protocol, a database schema, and a
set of data objects.
SNTP:
(simple network time protocol) See NTP.
sub-ring:
An Ethernet-based network with a loop attached to the main ring, via a dual-ring switch
(DRS) or BMENOS0300 network option switch module on the main ring. This network
contains RIO or distributed equipment.
498 EIO0000001578.13
Hardware
T
TCP:
(transmission control protocol) A key protocol of the internet protocol suite that supports
connection-oriented communications, by establishing the connection necessary to transmit
an ordered sequence of data over the same communication path.
TFTP:
(trivial file transfer protocol) A simplified version of file transfer protocol (FTP), TFTP uses a
client-server architecture to make connections between two devices. From a TFTP client,
individual files can be uploaded to or downloaded from the server, using the user datagram
protocol (UDP) for transporting data.
trap:
A trap is an event directed by an SNMP agent that indicates one of these events:
• A change has occurred in the status of an agent.
• An unauthorized SNMP manager device has attempted to get data from (or change
data on) an SNMP agent.
U
UDP:
(user datagram protocol) A transport layer protocol that supports connectionless
communications. Applications running on networked nodes can use UDP to send
datagrams to one another. Unlike TCP, UDP does not include preliminary communication
to establish data paths or provide data ordering and checking. However, by avoiding the
overhead required to provide these features, UDP is faster than TCP. UDP may be the
preferred protocol for time-sensitive applications, where dropped datagrams are preferable
to delayed datagrams. UDP is the primary transport for implicit messaging in EtherNet/IP.
UMAS:
(Unified Messaging Application Services) UMAS is a proprietary system protocol that
manages communications between Control Expert and a controller.
UTC:
(coordinated universal time) Primary time standard used to regulate clocks and time
worldwide (close to former GMT time standard).
EIO0000001578.13 499
Hardware
Index BMEP583040
controller................................................22
BMEP584020
controller................................................22
A BMEP584040
access control controller................................................22
security ................................................ 126 BMEP585040
adapter diagnostic object .......................... 208 controller................................................22
add BMEP586040
I/O module ........................................... 435 controller................................................22
add remote device.................................... 312 BMXRMS004GPF......................................70
address BMXXCAUSB018 USB cables ....................64
field bus .................................................48 BMXXCAUSB045 USB cables ....................64
advanced settings .................................... 142 BOOTP
tab ....................................................... 124 security ................................................ 126
alarm viewer web page
CPU .................................................... 378
anti-tampering seal.....................................56 C
application CCOTF ................................................... 405
legacy .................................................. 119 certifications ..............................................34
password ............................................. 110 Change
assembly object ................................183, 187 Hot Standby PLC .................................. 477
asynchronous execution channel properties.................................... 146
ETH_PORT_CTRL ............................... 485 characteristics
authorized address current consumption ...............................44
security ................................................ 126 power consumption.................................44
AUTOTEST CIP objects .............................................. 178
state ......................................................34 clear
AUX0 task application..............................................53
CPU .................................................... 437 clear local statistics .................................. 305
AUX1 task clear remote statistics............................... 307
CPU .................................................... 437 cold
start ..................................................... 444
compatibility............................................. 394
B CPU ......................................................92
backup ............................................. 119, 420 CONF_SIG
block service port device DDT .......................................... 246
Hot Standby ......................................... 141 configuration
blocking condition ......................................87 Control Expert ...................................... 106
BMEP581020 CPU .................................................... 124
controller................................................22 connection
BMEP582020 diagnostics ........................................... 161
controller................................................22 I/O ....................................................... 164
BMEP582040 connection manager object ....................... 185
controller................................................22 connection summary ................................ 238
BMEP583020 Control Expert
controller................................................22 application languages ........................... 401
500 EIO0000001578.13
Hardware
EIO0000001578.13 501
Hardware
502 EIO0000001578.13
Hardware
F I
FAST task identity object........................................... 179
CPU .................................................... 437 IDLE
FDR ........................................................ 148 state ......................................................34
field bus address........................................48 implicit
firmware I/O ....................................................... 435
update ............................................. 75–76 IN_ERRORS
upgrade ........................................... 75–76 device DDT .......................................... 246
front panel IN_PACKETS
controller................................................50 device DDT .......................................... 246
FTP install
device DDT .......................................... 246 CPU ......................................................80
SD memory card.....................................70 memory card ..........................................85
security ................................................ 126 modules .................................................78
FTP/TFTP services I/O
enable/disable ...................................... 309 connection ........................................... 164
function block explicit ................................................. 435
ETH_PORT_CTRL ............................... 485 implicit ................................................. 435
local slave ............................................ 164
management ........................................ 435
G I/O module
add ...................................................... 435
get local statistics ..................................... 304 I/O scanner web page
get remote statistics ................................. 306 CPU .................................................... 365
IO connection diagnostics object ............... 218
IODDT .................................................... 435
H IP address
HALT A ......................................................... 410
state ......................................................34 B ......................................................... 410
Hold up time ............................................ 413 configuring ........................................... 409
Host Standby system default....................................... 50, 80, 124
commands ........................................... 464 IP ..........................................................78
Hot Standby main .................................................... 410
service port block.................................. 141 main + 1............................................... 410
hot standby FDR sync object..................... 234 IP address configuration ........................... 130
Hot Standby PLC IPConfig
Change ................................................ 477 tab ....................................................... 124
Hot Standby system
PAC state examples.............................. 455
starting................................................. 449 L
HSBY status web page LED
CPU .................................................... 387 CPU ......................................................87
HTTP services LEDs
enable/disable ...................................... 309 controller................................................57
HTTP) Hot Standby ...........................................61
security ................................................ 126 legacy
application............................................ 119
EIO0000001578.13 503
Hardware
local slave N
diagnostics........................................... 161
enable ................................................. 338 NOCONF
I/O ....................................................... 164 state ......................................................34
non-blocking condition................................90
LOCAL_HSBY_STS..........................255, 425
logging NTP
syslog server ........................................ 166 diagnostics ........................................... 157
RIO scanner service ............................. 137
to Control Expert................................... 165
tab ....................................................... 124
NTP web page
CPU .................................................... 370
M
M580 performance .....................................24
management O
I/O ....................................................... 435
task ..................................................... 435 online action ............................................ 168
CIP object ............................................ 169
MAST task
ping ..................................................... 171
CPU .................................................... 437
MBP_MSTR ...................... 289, 293, 295, 301 port configuration .................................. 170
Quantum RIO drops in M580 ................. 289 originator unique identifier......................... 143
OS DOWNLOAD
memory
CPU .................................................... 439 state ......................................................34
memory card OUNID .................................................... 143
OUT_ERRORS
diagnostics.............................................72
device DDT .......................................... 246
FTP .......................................................70
install .....................................................85 OUT_PACKETS
device DDT .......................................... 246
memory consumption ............................... 466
memory protect
for CPU................................................ 110
message router object .............................. 181 P
messaging web page PAC
CPU .................................................... 367 state transitions .................................... 453
mismatch states................................................... 452
application............................................ 396 panel
firmware............................................... 396 controller, front........................................50
logic..................................................... 396 password
Modbus for Control Expert application................. 110
explicit message ................................... 288 performance ..............................................94
module diagnostic object .......................... 200 performance web page
module events CPU .................................................... 362
logging to syslog server......................... 166 physical description
modules controller.......................................... 49, 51
install .....................................................78 ping......................................................... 171
MTBF port
CPU ......................................................44 Ethernet .................................................66
port function
device DDT .......................................... 246
port object ............................................... 190
504 EIO0000001578.13
Hardware
EIO0000001578.13 505
Hardware
506 EIO0000001578.13
Hardware
EIO0000001578.13 507
Schneider Electric
35 rue Joseph Monier
92500 Rueil Malmaison
France
+ 33 (0) 1 41 29 70 00
www.se.com