Modicon MC80 Programmable Logic Controller User Manual
Modicon MC80 Programmable Logic Controller User Manual
EIO0000002071 06/2020
06/2020
EIO0000002071.02
www.schneider-electric.com
The information provided in this documentation contains general descriptions and/or technical character-
istics of the performance of the products contained herein. This documentation is not intended as a
substitute for and is not to be used for determining suitability or reliability of these products for specific user
applications. It is the duty of any such user or integrator to perform the appropriate and complete risk
analysis, evaluation and testing of the products with respect to the relevant specific application or use
thereof. Neither Schneider Electric nor any of its affiliates or subsidiaries shall be responsible or liable for
misuse of the information contained herein. If you have any suggestions for improvements or amendments
or have found errors in this publication, please notify us.
No part of this document may be reproduced in any form or by any means, electronic or mechanical,
including photocopying, without express written permission of Schneider Electric.
All pertinent state, regional, and local safety regulations must be observed when installing and using this
product. For reasons of safety and to help ensure compliance with documented system data, only the
manufacturer should perform repairs to components.
When devices are used for applications with technical safety requirements, the relevant instructions must
be followed.
Failure to observe this information can result in injury or equipment damage.
© 2020 Schneider Electric. All rights reserved.
2 EIO0000002071 06/2020
Table of Contents
Safety Information. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
About the Book . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Part I Modicon MC80 PLC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Chapter 1 Introduction to Modicon MC80 PLC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Modicon MC80 PLC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Part II MC80 Hardware Implementation . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Chapter 2 Introduction to Modicon MC80 PLC Processor. . . . . . . . . . . . . . . . . . . . . . 15
General Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
General Characteristics of the Processor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Execution of Tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Chapter 3 Installation of Modicon MC80 PLC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Dimensions and Mounting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Installation Rules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Chapter 4 Power Supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Power Supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Chapter 5 Discrete Input and Output Function (8 Input 8 Output). . . . . . . . . . . . . . . . 29
Discrete Input and Output Function (8 Input 8 Output) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Connecting Discrete I/O Function (8 Input 8 Output) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Fitting a 20-Pin Terminal Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
20-Pin Terminal Block Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Discrete I/O Function (8 Input 8 Output) and Channel Status Display . . . . . . . . . . . . . . . . . 38
Chapter 6 Discrete Inputs and Outputs (8 Input 12 Output) . . . . . . . . . . . . . . . . . . . . 39
Discrete Input and Output Function (8 Input 12 Output) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
Connecting Discrete I/O Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Fitting a 28-Pin Terminal Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
28-Pin Terminal Block Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
Discrete I/O Function (8 Input 12 Output) and Channel Status Display . . . . . . . . . . . . . . . . 48
Chapter 7 Analog Input Function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
Analog Input Function Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
Analog Input Functional Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Chapter 8 High Speed Counting Input and Output Function . . . . . . . . . . . . . . . . . . . . 57
High Speed Counting Input and Output Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
Display and Diagnostics of the High Speed Counting Function . . . . . . . . . . . . . . . . . . . . . . 60
HSC Function Wiring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
Fitting a 28-Pin Terminal Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
28-Pin Terminal Block Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
Chapter 9 Communication. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
Communication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
Serial Link . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
Ethernet Link . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
CANopen Link . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
USB Link . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
Chapter 10 Grounding of PLC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
Grounding of PLC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
Chapter 11 Operating Standards and Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
Standards and Certifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
Operating Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
EIO0000002071 06/2020 3
Part III MC80 Software Implementation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
Chapter 12 Configuration of MC80 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
Configuration of Modicon MC80 Processors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
Connecting to MC80 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
IO Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
Configuring the Serial Port of the CPU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
Modbus Serial communication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
Character Mode Communication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119
Configuring the Ethernet Port of the CPU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
CANopen Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
System Bits and Words . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141
Chapter 13 MC80 Firmware Upgrade . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151
Firmware Upgrade . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151
4 EIO0000002071 06/2020
Safety Information
Important Information
NOTICE
Read these instructions carefully, and look at the equipment to become familiar with the device before
trying to install, operate, 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.
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.
EIO0000002071 06/2020 5
6 EIO0000002071 06/2020
About the Book
At a Glance
Document Scope
This manual describes the installation and configuration of the Modicon MC80 PLC’s hardware, software,
and main accessories.
Validity Note
This documentation is valid for Unity Pro 8.1 and later versions.
WARNING
UNINTENDED EQUIPMENT OPERATION
The application of this product requires expertise in the design and programming of control systems. Only
persons with such expertise should be allowed to program, install, alter, and apply this product.
Follow all local and national safety codes and standards.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
EIO0000002071 06/2020 7
8 EIO0000002071 06/2020
Modicon MC80 Programmable Logic Controller (PLC)
EIO0000002071 06/2020
Part I
Modicon MC80 PLC
EIO0000002071 06/2020 9
10 EIO0000002071 06/2020
Modicon MC80 Programmable Logic Controller (PLC)
Introduction to Modicon MC80 PLC
EIO0000002071 06/2020
Chapter 1
Introduction to Modicon MC80 PLC
General Description
Modicon MC80 PLC is an automated platform processor which is compact with discrete I/O functions,
analog input functions, counting functions, and communication functions.
Illustration
The following figure shows the parts of Modicon MC80 PLC:
The following table provides the details of the BMK C80 ••••• processors:
Processor Description
BMK C80 20310 Controller, 8 DI, 8 DO, and 2 HSC
BMK C80 20301 Controller, 8 DI, 12 DO, and 4 AI
BMK C80 30311 Controller, 8 DI, 12 DO, 2 HSC, and 4 AI
The MC80 PLC is compatible with the terminal blocks BMX FTB 20x0 and BMX FTB 28x0 which needs to
be ordered separately.
EIO0000002071 06/2020 11
Introduction to Modicon MC80 PLC
12 EIO0000002071 06/2020
Modicon MC80 Programmable Logic Controller (PLC)
EIO0000002071 06/2020
Part II
MC80 Hardware Implementation
EIO0000002071 06/2020 13
14 EIO0000002071 06/2020
Modicon MC80 Programmable Logic Controller (PLC)
Introduction to Modicon MC80 PLC Processor
EIO0000002071 06/2020
Chapter 2
Introduction to Modicon MC80 PLC Processor
EIO0000002071 06/2020 15
Introduction to Modicon MC80 PLC Processor
General Introduction
Description
Modicon MC80 processor is an automated platform processor which manages the entire PLC station made
up of discrete I/O functions, analog input functions, counting functions, and communication functions.
MC80 PLCs are available in these variants
BMK C80 20310
BMK C80 20301
BMK C80 30311
Features
The main features of Modicon MC80 processor are:
CANopen master limited to 16 devices
Dual Ethernet port with embedded switch
Serial line RS485/RS232
USB port
Discrete Inputs
Discrete Outputs
High Speed Counter function
Analog Inputs function
NOTE: For details, see the input/output combination (see page 17).
16 EIO0000002071 06/2020
Introduction to Modicon MC80 PLC Processor
Description
This matrix provides the details for CPU reference and Input/Output functions:
EIO0000002071 06/2020 17
Introduction to Modicon MC80 PLC Processor
The following table shows LED combination for CPU state (S=solid, 0=OFF, B=blinking):
18 EIO0000002071 06/2020
Introduction to Modicon MC80 PLC Processor
Execution of Tasks
Description
The MC80 processor supports MAST task with periodic and cyclic modes.
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) with
1 ms increment.
If the execution time is longer than the period configured by you, then the bit %S19 is set to 1 and a new
cycle is launched.
Both MAST task cycle modes are controlled by a watchdog.
The watchdog is triggered if the MAST task execution time is longer than the watchdog value in the
configuration, and causes a software error. The application then goes into HALT status, and the bit %S11
is set to 1 (you must reset it to 0).
The watchdog value (%SW11) may be configured between 10 ms and 1,500 ms (default value: 250 ms).
NOTE: Configuring the watchdog to a value that is less than the period is not allowed.
The system tasks with higher priority than MAST will have an impact of MAST task duration.
The following table shows how the main services are assigned to a priority (highest priority impacts all
services with lowest priority):
Highest priority Interrupts: system timer, CAN, ETH, USB, serial ports
Exception handler task (1)
RSTP
Ethernet frame process
PLC operating mode transition management (run, stop, new download) (2)
CANopen process
MAST task
PLC low priority task: online change, application backup to flash
Lowest priority Other Ethernet services: DHCP, SNMP
(1) Exception lead to error state and permanent reset of the function
(2)
Task activated only on PLC state change
EIO0000002071 06/2020 19
Introduction to Modicon MC80 PLC Processor
20 EIO0000002071 06/2020
Modicon MC80 Programmable Logic Controller (PLC)
Installation of Modicon MC80 PLC
EIO0000002071 06/2020
Chapter 3
Installation of Modicon MC80 PLC
EIO0000002071 06/2020 21
Installation of Modicon MC80 PLC
NOTE: The terminal block should be ordered separately. This equipment is "enclosed". It can be installed
without any specific protection in areas with restricted access and low pollution levels (not exceeding 2).
In other environments, it is recommended to follow rules of installation in a cabinet. Refer to Control Expert
documentation, Chapter "General Safety Instructions for the user": 6.2 Environmental conditions.
For compliance to UL (Underwriters Laboratories) requirements, the product is an "open equipment".
For North America systems, the installation and operation of this equipment in an end fire enclosure
appropriately rated for its intended environment.
The following table describes the procedure for mounting the MC80 PLC on a DIN rail:
22 EIO0000002071 06/2020
Installation of Modicon MC80 PLC
Mounting on Panels
The figure below shows the screw-hole layout for mounting the MC80 PLC on a panel (dimensions in
mm/inch):
The diameter of the fastening holes must allow the use of M4 screws.
NOTE: Tighten the screw to help ensure the contact between the BKP and the panel.
EIO0000002071 06/2020 23
Installation of Modicon MC80 PLC
Installation Rules
Introduction
When assembling MC80 module, you must comply with certain installation rules.
WARNING
UNEXPECTED EQUIPMENT OPERATION
Install MC80 lengthways and horizontally to facilitate ventilation.
MC80 is cooled by natural convection. Other positions may cause overheating and unexpected
equipment operation.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
If MC80 is installed in a cabinet, you are advised to comply with the following measures:
leave a minimum space of 80 mm (3.15 inch) above and 60 mm (2.36 inch) below the modules to
facilitate air circulation
leave a minimum space of 60 mm (2.36 inch) between the modules and the wiring ducts to facilitate air
circulation
The minimum depth of the cabinet should be:
150 mm (5.91 inch) if the rack is fastened to a plate
160 mm (6.30 inch) if the rack is mounted on a 15 mm (0.59 inch) deep DIN rail
WARNING
INADEQUATE THERMAL CLEARANCE
Maintain proper thermal distances when installing the MC80 to prevent overheating and unexpected
equipment operation.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
24 EIO0000002071 06/2020
Modicon MC80 Programmable Logic Controller (PLC)
Power Supply
EIO0000002071 06/2020
Chapter 4
Power Supply
Power Supply
Power Supply
Description
A galvanic isolated 24 Vdc power supply on MC80 PLC supplies the whole module.
A LED function is mounted on the power supply function to indicate the module and communication status.
A reset button is also placed on the power supply function.
The following table contains the main physical features of power supply:
Item Specification
Input type DC
Nominal Input Voltage 24 Vdc
Input Voltage range 20.4…28.8 Vdc
Current 700 mA max.
Isolation level 1,500 Vdc (@0...2,000m)
Representation
1 Reset button
2 24 V Power socket
EIO0000002071 06/2020 25
Power Supply
The following figure shows the insertion of 3-pin terminal block in the power supply:
WARNING
POTENTIAL OF OVERHEATING AND FIRE
Do not connect the equipment directly to line voltage.
Use only isolating PELV power supplies to supply power to the equipment.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
26 EIO0000002071 06/2020
Power Supply
Rules of Wiring
The below table shows the description of the terminal block:
Reset Button
The Reset button can be used to activate a cold start whenever necessary. The pressing time should be
a minimum of 20 ms.
EIO0000002071 06/2020 27
Power Supply
28 EIO0000002071 06/2020
Modicon MC80 Programmable Logic Controller (PLC)
Discrete Input and Output Function
EIO0000002071 06/2020
Chapter 5
Discrete Input and Output Function (8 Input 8 Output)
EIO0000002071 06/2020 29
Discrete Input and Output Function
Description
The Discrete Input and Output (Discrete I/O) is a 24 Vdc function connected using a 20-pin terminal block
(BMXFTB20x0). It is a positive logic function where the eight input channels receive current from the
sensors (sink) and the eight output channels provide current to the pre-actuators (source).
This discrete I/O function is available on the BMK C80 20310 PLC.
WARNING
LOSS OF INPUT FUNCTION
Do not implement the voltage over maximum limit value.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
Input Fuses
Fuse Value
Internal None
External 1 fast blow fuse of 0.5 A for the input group
30 EIO0000002071 06/2020
Discrete Input and Output Function
CAUTION
LOSS OF INPUT FUNCTION
Install the correct rating and type of fuse.
Failure to follow these instructions can result in injury or equipment damage.
(1) All outputs are equipped with fast demagnetization circuits for electromagnets. Electromagnet discharge
WARNING
LOSS OF OUTPUT FUNCTION
Do not implement the voltage over maximum limit value.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
EIO0000002071 06/2020 31
Discrete Input and Output Function
Output Fuses
Fuse Value
Internal None
External 1 fast blow fuse of 6.3 A for the output group
CAUTION
LOSS OF OUTPUT FUNCTION
Install the correct rating and type of fuse.
Failure to follow these instructions can result in injury or equipment damage.
32 EIO0000002071 06/2020
Discrete Input and Output Function
Description
The Discrete I/O (8 Input 8 Output) function is fitted with a removable 20-pin terminal block (BMXFTB20x0)
for the connection of eight input channels and eight output channels.
EIO0000002071 06/2020 33
Discrete Input and Output Function
The following table lists the suitable terminal block references for Discrete Input & Output function:
NOTE: Make sure to follow the correct connection to the sensors and pre-actuators.
34 EIO0000002071 06/2020
Discrete Input and Output Function
NOTE: If the screws are not tightened, the terminal block may not be properly fixed to the module.
EIO0000002071 06/2020 35
Discrete Input and Output Function
At a Glance
The Discrete I/O (8 Input 8 Output) and Analog Input functions are supplemented by a 20-pin terminal
block.
There are three types of 20-pin terminal blocks:
BMX FTB 2010 screw clamp terminal blocks
BMX FTB 2000 caged terminal blocks
BMX FTB 2020 spring terminal blocks
Screw clamp terminal blocks Caged terminal blocks Spring terminal blocks
Illustration
DANGER
ELECTRICAL SHOCK
The terminal block must be connected or disconnected with sensor and pre-actuator voltage switched off.
Failure to follow these instructions will result in death or serious injury.
36 EIO0000002071 06/2020
Discrete Input and Output Function
EIO0000002071 06/2020 37
Discrete Input and Output Function
Description
The Discrete I/O functions are equipped with a display block featuring LEDs that displays the functions
channel status and the overall function status.
Representation
The below figure shows the LED indicator of the Discrete I/O function:
NOTE: The mixed input/output function has two groups of eight channels. The input group is represented
by channels 0…7 and the output group is represented by channels 16…23.
The following table helps you to perform diagnostics of the discrete I/O function status according to the
channel LEDs:
Status Meaning
0...7 16...23
ON - Voltage is present on the input channel
- ON Voltage is present on the output channel
- BLK Actuator supply fails
- FLK Output channel is overload/short-circuit
Legends
- Not applicable
ON LED is steady on
BLK (Blinking) The LED is turned on for 200 ms, then turned off for 200 ms
FLK (Flickering) The LED is turned on for 50 ms, then turned off for 50 ms
NOTE:
Display of internal or external events is effective once the module is configured.
When an event is detected, the channel status is recorded until the cause of the event is cleared.
The output channel is closed by default.
WARNING
CHANNEL LED INFORMATION NOT MATCHING SENSORS VALUE
After a sensor power outage:
Do not take into account the input LEDs information (they show the last recorded value of the sensors,
not their real value).
Check the real positions on the sensors.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
38 EIO0000002071 06/2020
Modicon MC80 Programmable Logic Controller (PLC)
Discrete Inputs and Outputs (8 Input 12 Output)
EIO0000002071 06/2020
Chapter 6
Discrete Inputs and Outputs (8 Input 12 Output)
EIO0000002071 06/2020 39
Discrete Inputs and Outputs (8 Input 12 Output)
Description
The Discrete Input and Output (Discrete I/O) is a 24 Vdc function connected using a 28-pin terminal block
(BMXFTB28x0). It is a positive logic function where the 8 input channels receive current from the sensors
(sink) and the 12 output channels provide current to the pre-actuators (source).
The Discrete I/O function is available on the following PLC:
BMK C80 20301
BMK C80 30311
WARNING
LOSS OF INPUT FUNCTION
Do not implement the voltage over maximum limit value.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
40 EIO0000002071 06/2020
Discrete Inputs and Outputs (8 Input 12 Output)
Input Fuses
Fuse Value
Internal None
External 1 fast blow fuse of 0.5 A for the input group
CAUTION
LOSS OF INPUT FUNCTION
Install the correct rating and type of fuse.
Failure to follow these instructions can result in injury or equipment damage.
(1) 2.5A for ambient temperature under 60°C; 2A for ambient temperature from 60°C to 70°C
(2) All outputs are equipped with fast demagnetization circuits for electromagnets. Electromagnet discharge
EIO0000002071 06/2020 41
Discrete Inputs and Outputs (8 Input 12 Output)
WARNING
LOSS OF OUTPUT FUNCTION
Do not implement the voltage over maximum limit value.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
Output Fuses
Fuse Value
Internal None
External 1 fast blow fuse of 12 A for the output group
CAUTION
LOSS OF OUTPUT FUNCTION
Install the correct rating and type of fuse.
Failure to follow these instructions can result in injury or equipment damage.
42 EIO0000002071 06/2020
Discrete Inputs and Outputs (8 Input 12 Output)
Description
The Discrete I/O function is fitted with a removable 28-pin terminal block (BMXFTB28x0) for the connection
of 8 input channels and 12 output channels.
EIO0000002071 06/2020 43
Discrete Inputs and Outputs (8 Input 12 Output)
The following table lists the suitable terminal block references for Discrete Input & Output function:
NOTE: Make sure to follow the correct connection to the sensors and pre-actuators.
44 EIO0000002071 06/2020
Discrete Inputs and Outputs (8 Input 12 Output)
NOTE: If the screws are not tightened, the terminal block may not be properly fixed to the module.
EIO0000002071 06/2020 45
Discrete Inputs and Outputs (8 Input 12 Output)
At a Glance
The Discrete I/O function is supplemented by a 28-pin terminal block.
There are two types of 28-pin terminal blocks:
BMX FTB 2820 spring terminal blocks
BMX FTB 2800 caged terminal blocks
DANGER
ELECTRICAL SHOCK
The terminal block must be connected or disconnected with sensor and pre-actuator voltage switched off.
Failure to follow these instructions will result in death or serious injury.
46 EIO0000002071 06/2020
Discrete Inputs and Outputs (8 Input 12 Output)
EIO0000002071 06/2020 47
Discrete Inputs and Outputs (8 Input 12 Output)
Description
The Discrete I/O functions are equipped with a display block featuring LEDs that displays the functions
channel status and the overall function status.
Representation
The below figure shows the LED indicator of the Discrete I/O function:
NOTE: The mixed input/output function has two groups of 8 input and 12 output channels. The input group
is represented by channels 0…7 and the output group is represented by channels 16…27.
The following table helps you to perform diagnostics of the discrete I/O function status according to the
channel LEDs:
Status Meaning
0...7 16...27
ON - Voltage is present on the input channel
- ON Voltage is present on the output channel
- BLK Actuator supply fails
- FLK Output channel is overload/short-circuit
Legends
- Not applicable
ON LED is steady on
BLK (Blinking) The LED is turned on for 200 ms, then turned off for 200 ms
FLK (Flickering) The LED is turned on for 50 ms, then turned off for 50 ms
NOTE:
Display of internal or external events is effective once the module is configured.
When an event is detected, the channel status is recorded until the cause of the event is cleared.
The output channel is closed by default.
WARNING
CHANNEL LED INFORMATION NOT MATCHING SENSORS VALUE
After a sensor power outage:
Do not take into account the input LEDs information (they show the last recorded value of the sensors,
not their real value).
Check the real positions on the sensors.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
48 EIO0000002071 06/2020
Modicon MC80 Programmable Logic Controller (PLC)
Analog Input Function
EIO0000002071 06/2020
Chapter 7
Analog Input Function
EIO0000002071 06/2020 49
Analog Input Function
Description
The Analog Input is a high level analog input function with four non-isolated channels. This function is used
to measure and monitor the continuous process control functions.
The Analog Input function is available on these PLCs:
BMK C80 20301
BMK C80 30311
General Characteristics
These are the general characteristics of the Analog Input function:
Parameter Characteristics
Type of inputs High level Fast inputs with common point
Nature of inputs Voltage/Current (250 Ω internally protected resistors)
Number of channels 4
Acquisition cycle time Fast (periodic acquisition for the 1.3 ms + 1.3 ms x number of channels used
declared channels used)
Default (periodic acquisition for 6.5 ms
all channels)
Display resolution (pk to pk resolution) 16-bit Σ Δ
Digital filtering 1st order
Isolation Between channels None
Between channels and bus 1,400 Vdc
Between channels and ground 1,400 Vdc
Maximum overload Voltage inputs ±30 Vdc
authorized for inputs
Current inputs ±90 mA
NOTE: Help ensure that the inputs connected to the analog voltage and current channels are within the
maximum load limit, else it will lead to the breakage of inputs.
Measurement Range
The Analog Input function has the following measurement range characteristics:
Measurement range ±10 V; ±5 V; 0…10 V; 0…5 V; 1…5 V 0...20 mA; 4...20 mA; ±20 mA
Maximum conversion value ±11.4 V ±30 mA
Conversion resolution 0.35 mV 0.92 μA
Input impedance 10 MΩ 250 Ω Internal conversion resistor
Precision of the internal conversion - 0.1% - ±15 ppm/°C
resistor
Measurement errors for standard function:
At 25 °C 0.075% of FS(1) 0.15% of FS(1)(2)
Maximum in the temperature range - 0.2% of FS(1) 0.55% of FS(1)(2)
25…70 °C (-13…158 °F)
Temperature drift 15 ppm/°C 30 ppm/°C
Monotonicity Yes Yes
Crosstalk between channels DC and >70 dB >70 dB
AC 50/60 Hz
Non-linearity 0.05% of FS 0.05% of FS
Repeatability @25 °C of 10 minutes 0.005% of FS 0.007% of FS
stabilization time
Long term stability after 1000 hours <0.004% of FS <0.004% of FS
(1)
FS: Full Scale
(2)
With conversion resistor error
NOTE: If nothing is connected to an Analog Input function and if the channel is configured (range 4…20 mA
or 1…5 V), an I/O error is detected in the form of broken wire.
50 EIO0000002071 06/2020
Analog Input Function
Description
The Analog Input function offers the following range for each input according to the selection made during
configuration:
±10 V
0…10 V
0…5 V/0…20 mA
1…5 V/4…20 mA
±5 V/±20 mA
The function operates with voltage inputs. It includes four read resistors connected to the terminal block to
perform current inputs.
Measurement Timing
The timing of measurements is determined by the cycle selected during configuration (Normal or Fast
Cycle):
Normal Cycle means that the scan cycle duration is fixed.
With the Fast Cycle, however, the system only scans the channels designated as being In Use. The
scan cycle duration is therefore proportional to the number of channels In Use.
The cycle time values are based on the cycle selected:
NOTE: Module cycle is not synchronized with the PLC cycle. At the beginning of each PLC cycle, each
channel value is taken into account. If the MAST task cycle time is less than the module’s cycle time, some
values would have not changed.
Overflow/Underflow Control
The Analog Input function allows you to select between six voltage or current ranges for each input. This
option has to be configured in configuration windows for each channel.
The module checks for overflow depending on the selected range and verifies that the measurement falls
between a lower and an upper threshold:
Designation Description
Nominal range Measurement range corresponding to the chosen range
Upper Tolerance Area Varies between the values included between the maximum value for the range (for instance:
+10 V for the ±10 V range) and the upper threshold
Lower Tolerance Area Varies between the values included between the minimum value for the range (for instance:
-10 V for the ±10 V range) and the lower threshold
Overflow Area Area located beyond the upper threshold
Underflow Area Area located beyond the lower threshold
EIO0000002071 06/2020 51
Analog Input Function
The threshold values are configurable independently from one another. They may assume integer values
between the following limits:
Range Range
Underflow Area Lower Tolerance Nominal Range Upper Tolerance Overflow Area
Area Area
Unipolar
0…10 V -1,400 -1,001 -1,000 -1 0 10,000 10,001 11,000 11,001 11,400
0...5 V/0...20 mA -5,000 -1,001 -1,000 -1 0 10,000 10,001 11,000 11,001 15,000
1...5 V/4...20 mA -4,000 -801 -800 -1 0 10,000 10,001 10,800 10,801 14,000
Bipolar
±10 V -11,400 -11,001 -11,000 -10,001 -10,000 10,000 10,001 11,000 11,001 11,400
±5 V, ±20 mA -15,000 -11,001 -11,000 -10,001 -10,000 10,000 10,001 11,000 11,001 15,000
User
±10 V -32,768 - - - User- User- - - - 32,767
defined defined
0...10 V -32,768 - - - User- User- - - - 32,767
defined defined
Measurement Display
Measurements may be displayed using standardized display (in %, to two decimal places):
It is also possible to define the range of values within which measurements are expressed, by selecting:
The lower threshold corresponding to the minimum value for the range: 0 % (or -100.00%).
The upper threshold corresponding to the maximum value for the range (+100.00%).
The lower and upper thresholds must be integers between -32,768 and +32,767.
For example, imagine a conditioner providing pressure data on a 4…20 mA loop, with 4 mA corresponding
to 3,200 millibar and 20 mA corresponding to 9,600 millibar. You have the option of choosing the User
format, by setting the following lower and upper thresholds:
3,200 for 3,200 millibar as the lower threshold
9,600 for 9,600 millibar as the upper threshold
Values transmitted to the program vary between 3,200 (= 4 mA) and 9,600 (= 20 mA).
Measurement Filtering
The type of filtering performed by the system is called first order filtering. The filtering coefficient can be
modified from a programming console or via the program.
The mathematical formula used is as follows:
Measf(n) = α x Measf(n-1) + ( 1-α ) x Valb(n)
where:
α = efficiency of the filter
Measf(n) = measurement filtered at moment n
Measf(n-1) = measurement filtered at moment n-1
Valb(n) = gross value at moment n
You may configure the filtering value from seven possibilities (from 0…6). This value may be changed even
when the application is in RUN mode.
NOTE: Filtering may be accessed in Normal or Fast Cycle.
NOTE: α=e-Tcycle/τ
52 EIO0000002071 06/2020
Analog Input Function
where:
Tcycle = sampling period of the channel
τ = response time of the filter
The relation between the efficiency α and the Parameter k (0 to 6) is:
α = 0 for k=0
α = 1-1/2k+1 for k=1...6
The filtering values depend on the T configuration cycle (where T = cycle time of 6.5 ms in standard mode):
Desired Efficiency Required Value Corresponding α Filter Response Time Cut-off frequency
at 63% (Hz)
No filtering 0 0 0 -
Smooth filtering 1 0.750 4* T 0.040/T
2 0.875 8* T 0.020/T
Average filtering 3 0.937 16* T 0.010/T
4 0.969 32* T 0.005/T
High filtering 5 0.984 64* T 0.0025/T
6 0.992 128* T 0.0012/T
NOTE: Enter the valid value for filter between the ranges 0…6. If you enter an invalid value in Device DDT,
MC80 PLC will consider the last value of the filter.
Sensor Alignment
The process of alignment consists in eliminating a systematic offset observed with a given sensor, around
a specific operating point. This operation compensates for an error linked to the process. Replacing a
module does not therefore require a new alignment. However, replacing the sensor or changing the
sensor’s operating point does require a new alignment.
Conversion lines are as follows:
The alignment value is editable from a programming console, even if the program is in RUN Mode.
For each input channel, you can:
view and modify the desired measurement value
save the alignment value
determine whether the channel already has an alignment
The alignment offset may also be modified through programming. Channel alignment is performed on the
channel in standard operating mode, without any effect on the channel’s operating modes.
The maximum offset between measured value and desired (aligned) value may not exceed ±1,500.
NOTE: To align several analog channels, we recommend to proceed channel by channel. Test each
channel after alignment before moving to the next channel in order to apply the parameters correctly.
NOTE: Enter the valid value for the filter. The valid value is between the predefined ranges. If you enter an
invalid value in Device DDT, MC80 PLC will consider the upper or lower limit from the predefined range.
EIO0000002071 06/2020 53
Analog Input Function
Wiring Precautions
In order to protect the signal from outside interference induced in series mode and interference in common
mode, we recommend that you take the following precautions:
Cable Shielding - Connect the cable shielding to the grounding bar. Clamp the shielding to the
grounding bar on the module side.
For more details on grounding, refer to the chapter Grounding Bar (see page 77).
DANGER
HAZARD OF ELECTRIC SHOCK, EXPLOSION, OR ARC FLASH
While mounting / removing the modules:
Make sure that each terminal block is still connected to the grounding bar
Disconnect voltage supplying sensors and pre-actuators.
WARNING
UNEXPECTED EQUIPEMENT OPERATION
Use a 24 Vdc supply to sensors and a shielded cable for connecting the sensors to the module.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
DANGER
HAZARD OF ELECTRIC SHOCK
Sensors and other peripherals may be connected to a grounding point some distance from the module.
Such remote ground references may carry considerable potential differences with respect to local
ground. Ensure that:
potentials greater than permitted low limits cannot exist,
induced currents do not affect the measurement or integrity of the system.
CAUTION
UNEXPECTED BEHAVIOR OF APPLICATION
Follow these instructions to reduce electromagnetic perturbations:
Use the BMX XSP 0400/0600/0800/1200 electromagnetic protection kit to connect the shielding.
54 EIO0000002071 06/2020
Analog Input Function
Wiring Diagram
The Analog Input Function is connected using the 20-pin terminal block (BMXFTB20x0).
This figure shows the terminal block connection and the sensor wiring:
This table lists the suitable terminal block references for AnaIog Input function:
EIO0000002071 06/2020 55
Analog Input Function
LED Indicator
The LED indicator shows the status of the AI channels.
Use this table to perform diagnostics of the analog input function status according to the channel LEDs:
For more information, refer to “Fitting a 20-Pin Terminal Block” (see page 35).
56 EIO0000002071 06/2020
Modicon MC80 Programmable Logic Controller (PLC)
High Speed Counting Input and Output Function
EIO0000002071 06/2020
Chapter 8
High Speed Counting Input and Output Function
EIO0000002071 06/2020 57
High Speed Counting Input and Output Function
Description
The MC80 PLC’s High Speed Counting Input and Output (HSC I/O) function is an equivalent function like
M340 EHC0200, which is compatible with the Control Expert software and operates up to 60 kHz.
The function provides two channels and each channel provides six digital inputs and two digital outputs
and contains programmable blocks.
The counter operates in one of nine user-configurable modes, which may be selected by using the Control
Expert configuration tool.
This HSC I/O function is available on the BMK C80 30311 PLC.
General Characteristics
The following table shows the general characteristics of the HSC I/O function:
Input Characteristics
The following table lists general characteristics of the input channels for the function:
Characteristic Description
Number of input Channels Six 24 Vdc inputs per counting channel
IN EN, IN REF, IN CAP Maximum input voltage 30 Vdc continuous
On input voltage +11…+30 Vdc
Off input voltage up to +5 Vdc
Off input current up to 1.5 mA
On input current (Up to 30 Vdc) 5 mA
Current at 11 Vdc >2 mA
58 EIO0000002071 06/2020
High Speed Counting Input and Output Function
Characteristic Description
IN A, IN B, IN SYNC Maximum input voltage 30 Vdc continuous
On input voltage +15…+30 Vdc
Off input voltage up to +5 Vdc
Off input current up to 1.5 mA
On input current (Up to 30 Vdc) 5 mA
Current at 15 Vdc >2 mA
Input response time Refer to the input filter and bounce filter tables.
Sensor power supply monitor Ok >19 V (max.)
Fault <14 V (typ.)
Output Characteristics
The following table lists the general characteristics of the output channels for the function:
Characteristic Description
Number of outputs per channel 2
Type 24 Vdc transistor source
Output voltage 19...30.0 Vdc
Maximum load current Each point 0.625 A
Output group 2.5 A
Off state leakage/point <0.5 mA
On state output voltage drop <1.2 V
Short circuit output current At each point current limited at 0.7 A<Id<1.7 A, after internal over-temperature
is detected.
Maximum load capacity 50 µF
Maximum inductive load The inductive load is calculated using the following formula:
L = 0.5/I² x F
where:
L = load inductance (Henry)
I = load current (A)
F = switching frequency (Hz)
Maximum response time <600 µs
Output protection (internal) Transient voltage suppression
Short circuit Protection/status per channel. Overload/short-circuit is reported only when
consequent over-temperature happens on output drivers.
Fallback value (output channels) Default Predefined fallback values on both
channels
User-configurable settings Hold last value
Predefined fallback value on one or
both channels
Fallback states for output channels Default Both channels go to 0
(when predefined is the fallback
User-configurable settings Each channel configurable for 1 or 0
mode)
Polarity on individual output channels Default Logic normal on both channels
User-configurable settings Logic reverse on one or both channels
Logic normal on one or both channels
Pre-actuator power supply monitor OK >19 V (max.)
Error <14 V (typ.)
Output paralleling Yes (2 channels maximum and total 1 A maximum)
NOTE: The two paralleled channels have to be controlled simultaneously in Control Expert application to
avoid overload on one channel.
EIO0000002071 06/2020 59
High Speed Counting Input and Output Function
Description
The HSC counting module has LEDs that enable the status of the module to be viewed.
The LEDs for inputs/outputs of each channel are:
State LED for inputs of each channel: IA, IB, IS, IE, IP, IC.
State LED for outputs of each channel: Q0, Q1.
Representation
The below figure shows the LED indicator of the HSC function:
Function Diagnostics
The following table presents the various function states according to the LED states (empty cell indicates
that the pattern on the associated LED can be ignored):
60 EIO0000002071 06/2020
High Speed Counting Input and Output Function
Description
The MC80 PLC's HSC IO function is connected using the 28-pin terminal block (BMXFTB28x0).
DANGER
HAZARD OF ELECTRIC SHOCK
Disconnect voltage supplying sensors and pre-actuators before plugging/unplugging the terminal
block on the module.
Remove the terminal block before plugging/unplugging the module on the rack.
Failure to follow these instructions will result in death or serious injury.
The symbol and description of each pin are described in the table below:
EIO0000002071 06/2020 61
High Speed Counting Input and Output Function
The following table lists the suitable terminal block references for High Speed Counting function:
62 EIO0000002071 06/2020
High Speed Counting Input and Output Function
NOTE: If the screws are not tightened, the terminal block may not be properly fixed to the module.
EIO0000002071 06/2020 63
High Speed Counting Input and Output Function
At a Glance
The High Speed Counting function is supplemented by a 28-pin terminal block.
There are two types of 28-pin terminal blocks:
BMX FTB 2820 spring terminal blocks.
BMX FTB 2800 caged terminal blocks.
DANGER
ELECTRICAL SHOCK
The terminal block must be connected or disconnected with sensor and pre-actuator voltage switched off.
Failure to follow these instructions will result in death or serious injury.
64 EIO0000002071 06/2020
High Speed Counting Input and Output Function
Sensor Connections
The example below shows three-wire input devices used on inputs IN_A and IN_B and two-wire devices
used on inputs IN_EN and IN_SYNC:
1 IN_A input
2 IN_B input
3 IN_SYNC input (synchronization input)
4 IN_EN input (enable input)
Encoder Connection
The example below shows an incremental encoder used for axis control and the three auxiliary inputs used
especially for largest mode (Free Large Counting):
EIO0000002071 06/2020 65
High Speed Counting Input and Output Function
66 EIO0000002071 06/2020
Modicon MC80 Programmable Logic Controller (PLC)
Communication
EIO0000002071 06/2020
Chapter 9
Communication
Communication
EIO0000002071 06/2020 67
Communication
Communication
Description
The communication functions available in MC80 controller are:
Serial link
Ethernet port
CANopen link
Representation
1 Rotary switches
2 Ethernet ports
3 Serial link
4 CANopen link
68 EIO0000002071 06/2020
Communication
Serial Link
Description
Serial link is a communication protocol in which the serial port can be configured as RS485 or RS232 by
Control Expert. The serial link is used for connecting the HMI, modem, and other serial devices.
The following table describes the characteristics of the serial communication channels:
Characteristic Description
Protocols supported Modbus protocol (RTU and ASCII)
Character mode protocol
(For an isolated link, the TWD XCA ISO isolation box must be used.)
The following figure shows the LED indicator of the Serial Communication:
The following table describes the LED pattern and the indication:
EIO0000002071 06/2020 69
Communication
Representation
The following figure shows the RJ45 serial port:
NOTE: The RS232 4-wire, RS485 2-wire, and power supply cables all use the same RJ45 connectors.
MC80 PLC can use TWDXCAISO module as an isolation solution.
70 EIO0000002071 06/2020
Communication
Ethernet Link
Description
The MC80 PLC have two Ethernet ports dedicated to Ethernet communication with two rotary switches
which enable easy selection of the IP address.
The following table shows the specification of the Ethernet link:
The figure below shows the LED indicator of the Ethernet Communication:
EIO0000002071 06/2020 71
Communication
The below figure shows the LED indicator of the Ethernet Communication (connector):
The following table lists the definition of the embedded LED on the RJ45 connector:
Representation
The following figure shows the RJ45 Ethernet port:
The following table lists the pin assignment of the RJ45 Ethernet port:
Rotary Switches
The purpose of the two rotary switches is to select an IP address. To set an IP address, rotate the arrow
firmly into the desired position.
NOTE: If you do not feel the switch click into place, the value of the switch may be incorrect or
undetermined.
72 EIO0000002071 06/2020
Communication
Switch Settings
This table describes the switch settings:
Lower switch 0…9 Ones value for the device name (0, 1, 2, …, 9)
DHCP Set the lower rotary switch to one of its DHCP positions to perform a DHCP request that has a
MAC address as Client Identify.
Stored The lower rotary switch is set to STORED (default setting) to use the application’s configured
parameters.
Configure static IP
Configure Device Name to get IP address through DHCP
NOTE: When the Device Name is empty, MC80 will use MAC address to get IP address.
Clear IP The lower rotary switch is set to CLEAR IP to use the MAC-based default IP address.
The default IP address format is 10.10.x.x
10.10: is a fixed value
x: The last two fields in the default IP address are composed of the decimal equivalents of
the last two hexadecimal bytes in the MAC address.
Disabled Set the switch to Disabled to disable communications.
Device Name Naming Rules
There are three components of the device name. The default device name of the module is:
BMK C80 20310 : BMK_20310_xxy
The numeric value between 00 and 159 is set on the rotary switches. (For the default device name, xx is the value of the upper rotary switch
and y is the value of the lower rotary switch.)
For example: For a BMK C80 20310 module, values of 120 (12 x 10) and 6 (6 x 1) on the respective upper and lower rotary switches indicate
a value of 126. The value is appended to the default device name (BMK_20310_xxy) to create the valid DHCP device name of
BMK_20310_126.
NOTE: The selection on the lower switch of any non-numeric parameter (DHCP, STORED, CLEAR IP,
DISABLED) makes the setting on the upper switch inconsequential.
NOTE: Make sure to restart the PLC after changing the rotary switch position.
EIO0000002071 06/2020 73
Communication
CANopen Link
Description
The CANopen port is a built-in communication channel dedicated to CANopen communication. The
CANopen port of the processor module is fitted with a SUB-D9 connection.
The following table shows the specification of the CANopen link:
The following figure shows the LED indicator of the CANopen Communication:
NOTE: The priority of CANopen led status is: on > 2 flashes > 1 flash > flashing > off.
The following table describes the LED pattern and the indication:
74 EIO0000002071 06/2020
Communication
Representation
The following figure shows the CANopen port and the pin labels:
EIO0000002071 06/2020 75
Communication
USB Link
Description
The USB port is a default terminal connection for application download/upload, programming tool (Control
Expert) connection and so on. The USB port is USB 2.0 type which uses a mini-B type shield connector.
The following table shows the specification of the USB link:
Representation
The following figure shows the USB port and the pin labels:
NOTE: To avoid unexpected behavior of the PLC, always use one of the following shielded cable USB that
comply the international standard:
BMX XCA USB 018
BMX XCA USB 045
76 EIO0000002071 06/2020
Modicon MC80 Programmable Logic Controller (PLC)
Grounding of PLC
EIO0000002071 06/2020
Chapter 10
Grounding of PLC
Grounding of PLC
Grounding of PLC
Description
The grounding of MC80 PLC is important to avoid electric shock and the configuration involves the
grounding screw and power supply terminal.
WARNING
UNINTENDED EQUIPMENT OPERATION
Tighten the clamping screws of the modules. A break in the circuit could lead to an unexpected behavior
of the system.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
DANGER
HAZARD OF ELECTRIC SHOCK
Power supply terminal must be grounded. Do not connect anything else to the power supply ground.
Failure to follow these instructions will result in death or serious injury.
Representations
The following figure shows the ground connection between grounding screw and FG of power supply using
two independent ground cables.
EIO0000002071 06/2020 77
Grounding of PLC
The following figure shows the ground connection between grounding screw and FG of power supply.
DANGER
HAZARD OF ELECTRIC SHOCK
Use only cables with ring or spade lugs to ensure connection to ground. Ensure grounding hardware is
tightened properly.
Failure to follow these instructions will result in death or serious injury.
Grounding Bar
To guarantee protection against electromagnetic interferences, the cable shielding is directly connected to
the ground.
NOTE: The cable shielding is not connected to the module shielding.
This connection can be made using any method but a protection bar is provided in order to facilitate the
set up.
A protection bar is used in two cases:
counting module with 28-pin terminal blocks
analog module with 20-pin terminal block
Reference Description
STBXSP3000 SHD KIT BRACKETS AND BAR
STBXSP3020 QTY10 SHD KIT SIZE 2 WIRE CLAMP (for fastening analog and counting modules connection
cables)
78 EIO0000002071 06/2020
Grounding of PLC
The following figure shows a grounding bar fastened to DIN rail Hook:
EIO0000002071 06/2020 79
Grounding of PLC
80 EIO0000002071 06/2020
Modicon MC80 Programmable Logic Controller (PLC)
Operating Standards and Conditions
EIO0000002071 06/2020
Chapter 11
Operating Standards and Conditions
EIO0000002071 06/2020 81
Operating Standards and Conditions
Description
The Modicon MC80 PLCs are designed to comply with the relevant standards or rules related to an
electrical equipment as PLCs for the industrial use.
DANGER
HAZARD OF ELECTRIC SHOCK, EXPLOSION
Disconnect all power before removing components, if installed in a hazardous location where flammable
gases or combustible dusts may be present. Electrical sparks in a hazardous location will cause an
explosion.
Failure to follow these instructions will result in death or serious injury.
82 EIO0000002071 06/2020
Operating Standards and Conditions
Operating Conditions
Operating Temperature/Hygrometry/Altitude
These are the operating conditions relative to the outside environment:
Characteristic Value
Temperature Operating -25…70 °C
Storage -40…85 °C
Humidity Max. 93% (non-condensing) at 70 °C
Altitude 0...2,000 m: full specification for temperature and isolation
2,000…5,000 m:
temperature de-rating: -1 °C/400 m
EIO0000002071 06/2020 83
Operating Standards and Conditions
84 EIO0000002071 06/2020
Modicon MC80 Programmable Logic Controller (PLC)
EIO0000002071 06/2020
Part III
MC80 Software Implementation
EIO0000002071 06/2020 85
86 EIO0000002071 06/2020
Modicon MC80 Programmable Logic Controller (PLC)
Configuration of MC80
EIO0000002071 06/2020
Chapter 12
Configuration of MC80
Configuration of MC80
EIO0000002071 06/2020 87
Configuration of MC80
Enable MC80
The following table describes the steps to enable MC80 in Unity Pro 8.1 or later:
Step Action
1 Install Unity 8.1 or later.
2 Install the Hot fix: UnityPro_V81_HF_MC80
3 Create a new project with MC80.
Step Action
1 Select the processor.
88 EIO0000002071 06/2020
Configuration of MC80
CAUTION
LOSS OF DATA ON APPLICATION TRANSFER
Press the RESET button on the power supply. Otherwise, %MWi is reset and initial values are loaded.
Failure to follow these instructions can result in injury or equipment damage.
Step Action
1 Enable the Run/Stop input option, if required.
Do not enable this option if the associated discrete input is mapped because this inhibits the PLC start-up.
2 Enable the Memory protect option, if required.
The protection is activated by an input bit. It prohibits the transfer of a project into the PLC and modifications
in online mode, regardless of the communication channel. The Run and Stop commands are authorized.
3 Enable the Automatic start in Run option, if required.
4 Confirm whether the internal words %MWi are to be initialized on cold start triggered by software (application
download, initialize command, restore command, %S0 activation, cold start button on the PLC screen) or
not. By checking the box, the PLC writes the initial values to %MWI.
5 Enable the Cold Start Only option, if required.
6 In the Size of global address fields of the dialog box define for the application the number of internal bits %M.
7 Define the number of internal words %MW.
8 Define the number of constants %KW.
EIO0000002071 06/2020 89
Configuration of MC80
The following table shows the different elements of configuration screen and their functions:
Element Function
Operating mode
Operating mode Operating mode zone includes the following elements:
Run/Stop input
Memory protect
Automatic start in Run
Initialize %MWi on cold start
Cold Start Only
The Run/Stop by input only parameter is significant only if the Run/Stop input is valid.
If the Run/Stop by input only is unchecked it is possible to change the PLC state from Run
to Stop (or the opposite) either with a Run/Stop
Request or by changing the value of the
Run/Stop input.
If the Run/Stop by input only is checked it is only possible to change the PLC state from
Run to Stop (or the opposite) by changing the
value of the Run/Stop input.
NOTE: Before downloading a different
application, reset the Run/Stop input to 0 or
press the reset button.
Memory protect Memory protect follows the same rules as Run/Stop input.
When you configure and enable memory protect, you cannot change the PLC configuration or
application and upload the application.
Initialize %MWi On a cold start or on download if you check the the %MWi are handled like other global
on cold start box (default state) variables (initialized to 0 or initial value,
according to current application) in all cold start
cases.
On cold start or on download if you uncheck the if %MW were previously saved in internal flash
box memory (using the %SW96 word) they are
restored from internal flash memory
if not,
if cold start is linked to 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 checked, this option forces the cold start of the application, instead of the normal warm start.
By default, the Cold Start Only option is unchecked.
An application using this functionality is not:
downloadable on a PLC with a previous version,
executable on a PLC with a previous version.
If cold start only is checked and run/stop is configured on unlocated variable, then the PLC will
restart in run or stop, depending on an initial value of the variable. It does not restart in the same
state as before.
Memory Management
Memory It includes the Size of global address fields (%M, %MW, %KW, %S, %SW)
Management
CAUTION
UNINTENDED EQUIPMENT OPERATION
At the end of download, the PLC starts automatically if the default value of a user-defined unlocated
Run/Stop variable is 1.
Failure to follow these instructions can result in injury or equipment damage.
90 EIO0000002071 06/2020
Configuration of MC80
Connecting to MC80
Description
MC80 is password protected to avoid unwanted application modification and download. A password is
required to open the application and connect to MC80.
Creating a Password
Follow the steps below for creating the password:
Step Action
1 In the project browser, right-click Project.
2 Select Properties command from the pop-up menu.
Result: The Properties of Project window appears.
3 Select Protection tab.
4 In the Application field, click Change password ....
Result: The Modify Password window appears.
5 Enter the new password in the Entry field.
6 Enter the confirmation of the new password in the Confirmation field.
7 Click OK to confirm.
8 Click OK or Apply in the Properties of Project window to confirm all changes.
If you click Cancel in the Properties of Project window, all changes are canceled.
NOTE: You should enter the password to open the application and connect to MC80.
EIO0000002071 06/2020 91
Configuration of MC80
IO Configuration
The following screen shows MC80 Digital IO 8 Input 8 Output functions configuration screen:
The following screen shows MC80 Digital IO 8 Input 12 Output functions configuration screen:
92 EIO0000002071 06/2020
Configuration of MC80
The following table shows the various elements of the configuration screen and their functions:
to select a channel
to display the Symbol, name of the channel defined by the user (using the variable
editor)
NOTE: All channels are activated and a channel cannot be de-activated to None.
4 General Allows you to select the associated function and task in groups of 8 channels:
parameters area Function: Defines the configuration/de-configuration of the channel group selected
(other than groups 0…7)
Task: Defines the task (MAST) in which channel default exchange objects will be
exchanged
The Supply monitoring check box defines the active or inactive state of the external
power supply monitoring.
The Reactivate and Fallback mode drop-down menus enable you to configure the
output reset and output fallback mode.
5 Configuration Enables the configuration of parameters for the various channels. This field includes
area various items, displayed according to the selected discrete module.
The Symbol column displays the symbol associated with the channel.
Task Parameter
This parameter defines the processor task MAST where input acquisitions and output updates are
performed.
Step Action
1 Open the desired module configuration screen.
2 Check the Supply monitoring check box in the General Parameters area.
Result : The I/O editor window appears. Click OK.
3 Validate the change by clicking Edit → Validate.
NOTE: The external power supply monitoring function is not available for channel 0…7.
EIO0000002071 06/2020 93
Configuration of MC80
Mode Meaning
Fallback Channels are set to 0 or 1 according to the defined fallback value for the corresponding 8-channel group.
Maintain The outputs remain in the status they were in before switching to Stop.
The following table shows the procedure for defining the fallback mode to be assigned to a channel group.
Step Action
1 Open the desired module configuration screen.
2 For the desired channel group, click the arrow of the Fallback mode drop-down menu.
Result : The following list appears
Mode Meaning
Programmed Reactivation is executed with a command from the PLC application or through the appropriate debug
screen.
Remark : In order to avoid repeated reactivations, the module implements an automatic 10 s delay
between two resets.
Automatic The reactivation is executed automatically every 10 s until the error disappears.
The following table shows the procedure for defining the module output channel reset mode.
Step Action
1 Open the desired module configuration screen.
2 For the desired channel group, click the arrow of the Reactivate drop-down menu.
Result : The following list appears.
NOTE: The MC80 IO function does not support the capability to unconfigure channels as the NONE
function.
94 EIO0000002071 06/2020
Configuration of MC80
EIO0000002071 06/2020 95
Configuration of MC80
The below screen shows MC80 Analog Input functions configuration screen:
This following table shows the various elements of the configuration screen and their functions:
to select a channel
to display the Symbol, name of the channel defined by the user (using the variable
editor)
NOTE: All channel are activated and a channel cannot be de-activated to None.
4 General This is used to set up the channels using several fields:
parameters area Task: Defines the MAST task through which the exchanges between the processor and
the module will be carried out.
Cycle: Allows you to define the scan cycle for inputs (only available on some analog
modules).
5 Configuration This is used to define the configuration parameters of the different channels. This area
area includes several topics, whose display varies depending on the analog module you've
selected.
The Symbol column displays the symbol associated with the channel.
For each input, the information related to the following are configurable in the configuration screen
associated to the analog input:
Range
Scale factor
Overflow (high and low limits)
Filtering
96 EIO0000002071 06/2020
Configuration of MC80
The following table describes the procedure to define the type of task assigned to an analog function’s
channels:
Step Action
1 Access the hardware configuration screen for the appropriate module
2 In the Range column, click the arrow of the drop-down menu pertaining to the channel you need to configure.
Result : The following list appears
Task Parameter
This parameter defines the processor task MAST where input acquisitions and output updates are
performed.
user-defined (User).
The following table provides the instructions defining the display scale assigned to an analog module
channel:
Step Action
1 Access the hardware configuration screen for the appropriate module.
2 Click the cell of the Scale column for the channel you need to configure.
Result: An arrow appears.
EIO0000002071 06/2020 97
Configuration of MC80
Step Action
3 Click the arrow in the cell of the Scale column for the channel you need to configure.
Result: The Channel Parameters dialog box appears.
NOTE: The display modification change only concerns the Scale area. The Overflow area enables the
modification of the overflow control.
4 Type in the values to be assigned to the channel in the two Display boxes situated in the Scale zone.
5 Confirm your changes by closing the dialog box.
NOTE: If default values have been selected (standardized display), the corresponding cell in the Scale
column displays %... Otherwise it will show User (user display).
6 Validate the change by clicking Edit → Validate.
NOTE: Filtering is taken into account in both fast scan and normal cycles.
The following table provides instructions for defining the filter value assigned to input channels for analog
function.
Step Action
1 Access the hardware configuration screen for the appropriate module.
2 In the Filter column, click the arrow of the drop-down menu pertaining to the channel you need to configure.
Result : The drop-down menu appears.
3 Select the filter value you need to assign to the selected channel.
4 Validate the change by clicking Edit → Validate.
98 EIO0000002071 06/2020
Configuration of MC80
EIO0000002071 06/2020 99
Configuration of MC80
to select a channel
to display the Symbol, name of the channel defined by the user (using the variable
editor)
NOTE: All channels are activated and a channel cannot be de-activated to None.
4 General Allows you to select the counting function and the task associated with the channel:
parameters area Function: Counting function among those available for the modules involved.
Depending on this choice, the headings of the configuration area may differ. By
default, in Frequency Mode no function is configured.
Task: defines the MAST task through which the channel's implicit exchange objects
will be exchanged. These choices are only possible in offline mode.
NOTE: In Configuration view, the events are not managed.
5 Parameters in This area has various functionalities which depend upon the current mode:
progress area Configuration: It is used to configure the channel parameters.
NOTE: The Input and Output fault parameters are set by default with the value Local
or General IO Fault.
General Properties
The serial links of the CPU support two communication protocols:
Modbus Serial
Character Mode
Configuration
Communicating via Serial link enables data exchange between all devices connected to the bus. The
Modbus Serial is a protocol that creates a hierarchical structure (one master and several slaves).
The master manages all exchanges in two ways:
The master exchanges with the slave and awaits a response.
The master exchanges with all the slaves without waiting for a response (general broadcast).
NOTE: Be careful that two masters (on the same bus) do not send requests simultaneously otherwise the
requests are lost and each report will have a bad result which could be 16#0100 (request could not be
processed) or 16#ODFF (slave is not present).
The below table describes the procedure for accessing the serial link:
Step Action
1 In the Project Browser, open the following directory: Station\Configuration\0: Bus MC80\0: processor
reference\SerialPort.
The following screen appears:
The following table describes the different elements of the configuration screen:
Display the channel name and symbol defined by the user using the variables
editor.
3 General parameters This enables you to choose the general parameters associated with the channel:
zone Function:The available functions are Modbus and Character Mode. The default
configuration is with the Modbus function.
Task: Defines the master task in which the implicit exchange objects of the
channel will be exchanged. This zone is grayed out and therefore not
configurable.
4 Configuration zone In configuration mode, this zone is used to configure the channel parameters.
These zones are used to configure channel parameters. In offline mode, these zones are accessible. In
online mode, the zone is accessible but some parameters are unavailable.
The following table shows the different zones of the Modbus link configuration screen:
3 Signal and physical line parameters These parameters are accessible via 3 zones:
Physical line
Signals
RTS/CTS delay
NOTE: When configuring Modbus Serial communication in Master mode, the Slave zone is unavailable for
modification and vice-versa.
RX/TX signals - X
RTS / CTS delay - X
RX/TX/CTS(DCE Mode) - X
X: Accessible function
-: Inaccessible function
The Master zone This zone enables you to enter the following
parameters:
Number of retries: Number of connection
attempts made by the master before defining
the slave as absent. The default value is 3.
Possible values range from 0…15. A value of 0
indicates no retries by the Master.
Answer delay: The time between the Master’s
initial request and a repeated attempt if the slave
does not respond. This is the maximum time
between the transmission of the last character
of the Master's request and receipt of the first
character of the request sent back by the slave.
The default value is 1 second (100*10 ms).
Possible values range from 10 ms to 10 s.
NOTE: The Answer delay of the Master must be at
least equal to the longest Answer delay of the
Slaves present on the bus.
The Slave zone This zone enables you to enter the processor’s
slave number. The default value is 1. Possible
values range from 1…247.
The Parity zone This zone enables you to determine whether a parity bit is
added or not, as well as its type. This field is set according to
the other devices. The configurable values are:
Even
Odd
None
The Signals zone In this zone, you can select the signals supported by the RS232 physical
line:
RX/TX
RX/TX + RTS/CTS DCE mode
If the RS485 is configured, the entire zone will be unavailable and the
default value is RX/TX.
NOTE: The Modbus Master is the default type. When RS232 is selected,
DTE mode is not supported but DCE mode is supported.
The RTS/CTS The RTS/CTS delay zone is available only when both RS232 and
delay zone RX/TX+RTS/CTS check boxes are selected. An RTS/CTS flow control
algorithm is selected if the default value is 0 ms. A value different from 0
enables an RTS/CTS modem control algorithm.
The RTS/CTS flow control algorithm (DTE <-> DTE) is different from the
RTS/CTS modem control algorithm (DTE <-> DCE) as follows:
The RTS/CTS flow control algorithm is related to the overflow
reception buffer (full duplex).
The RTS/CTS modem control algorithm deals with the shared
transmission process, e.g. a radio modem.
These zones are used to configure channel parameters. In the online mode, these zones are accessible.
In the offline mode, these zones are accessible but some parameters may not be accessible and are
grayed out.
The following table shows the different zones of the Character mode communication configuration screen:
3 Signal and physical line parameters This parameters are accessible via three zones:
Physical line
Signals
RTS/CTS delay
Stop on reception X X
Stop on silence X X
RX/TX Signals X X
RTS/CTS Signals - X
RTS/CTS delay - X
X: Accessible function
-: Inaccessible function
The following table shows the default values for Character mode communication parameters:
Selecting Stop on silence means that Stop on reception is deselected and vice versa.
The Signals zone In this zone, you can select the signals supported by the RS232
physical line:
RX/TX
RX/TX + RTS/CTS Full Duplex (DTE mode)
If the RS485 is configured, the entire zone is grayed out and the
default value is RX/TX.
The RTS/CTS The RTS/CTS delay zone is available only when both RS232 and
delay zone RX/TX+RTS/CTS check boxes are selected.
An RTS/CTS flow control algorithm is selected:
before a character string is transmitted, the system waits for the
CTS (Clear To Send) signal to be activated. This zone enables you
to enter the maximum waiting time between the two signals. When
this value is timed out, the request is not transmitted on the bus.
The Configurable values range from 0...10 s.
NOTE: The default value is 0 ms.
NOTE: A value of 0 s indicates that the delay between the two
signals is not managed.
Configuration
In the application browser, you can create an Ethernet network from the Communication node similar to
the older versions of Control Expert (formerly Unity Pro).
To link the network to the Ethernet port of the CPU, use the Ethernet configuration screen.
Open the Ethernet configuration screen:
Double-click the Ethernet connector node in the application browser.
Or
Double-click the Ethernet hotspot of the CPU in the bus editor.
Creating a Network
Create a logical Ethernet network:
Step Action
1 In the Project Browser, right-click the Network subdirectory in the Communication directory and select the
New Network option.
Result: The Add Network screen appears.
2 Choose Ethernet in the List of available networks and choose a meaningful name for your selection:
Step Action
1 Open the project browser in order to see the logic networks of your application.
2 Right-click the Ethernet logic network to be configured and select Open.
Result: The Ethernet configuration screen is displayed.
Step Action
1 Open the Ethernet configuration screen.
2 Configure the Ethernet link with the ETH TCP IP function.
3 Link to the Ethernet network.
Security
This Security Service applies to the Cyber Security of the MC80 network.
Access the Security tab from the index page:
Step Action
1 Access the module configuration screen.
2 Select the Security tab as shown in the following figure.
Feature Characteristic
FTP Enabled or Disabled
Access Control Enabled or Disabled
ACL with 128 lines 1 hidden reserved for USB
NOTE: By default, the Security is Enforced (FTP Disabled and Access Control Enabled).
IP Configuration
Access the IP configuration tab from the index page:
Step Action
1 Access the module configuration screen.
2 Select the IP configuration tab as shown in the following figure.
Zone Description
IP address On the IP Configuration tab, you can define the IP address of a module in the IP address
configuration configuration zone. The options are:
Configured: Manually enter the IP address, subnetwork mask, and gateway address.
From a server: The configuration is supplied by a server device.
NOTE: To configure IP addresses, obtain the appropriate network address and subnetwork mask
from your system administrator.
Configured Selecting the Configured option allows manual configuration according to your own requirements:
IP Address: The IP address of the module
Subnetwork mask: The mask defines the part allocated to the subnetwork identifier in the IP
address.
Gateway Address: The gateway address is the IP address of the default gateway to which
messages for other networks are transmitted.
NOTE:
If the module is connected to an existing TCP/IP network, the IP addresses are administered
globally, therefore the IP parameters must be configured. Otherwise there may be an instance of
duplice IP addresses on the existing network.
The configured IP address is valid only when the lower rotary switch turns to "Stored" position.
From a server Selecting the From a server option allows the configuration of module’s IP address from a remote
device acting as a DHCP server. When the From a server button is active:
Leaving the Device Name field empty facilitates communications that are compatible with any
setting on the rotary switches.
To use a device name in the Device Name field, set the lower rotary switch to its STORED
position. If you set the switch any other position, the result depends on the setting of the lower
rotary switch, as described in the Ethernet Port Status table.
The configured IP parameters have no effect and are grayed out.
NOTE: The maximum length for the device name is 16 characters. Valid characters include
alphanumerics (0…9, A…Z) and underscores.
NOTE: TCP/IP communications use the Ethernet II frame format, which complies with the RFC 894
standard.
Port Status
The status of the Ethernet port depends on the IP address configuration in the application and the setting
on the rotary switches:
CAUTION
UNINTENDED EQUIPMENT OPERATION
The communications port can enter the idle state when the position of the rotary switches does not match
the port network configuration in the application. For example, the switches may be set to DHCP while
the application calls for a fixed IP address.
Failure to follow these instructions can result in injury or equipment damage.
SNMP
Access the SNMP tab from the index page:
Step Action
1 Access the module configuration screen.
2 Select the SNMP tab as shown in the following figure.
Step Action
1 Enter the IP address managers addresses:
IP address manager 1
IP address manager 2
Or alternatively check the SNMP manager check box to indicate that the information will be completed by the SNMP manager.
3 If you want to set access rights, fill in the Community names:
Set
Get
Trap
Zone Description
SNMP Parameters on the SNMP configuration tab are divided into four categories:
the IP addresses of SNMP manager devices
SNMP agents
the community names
security
NOTE: Only 7-bit ASCII characters can be used in the character string entry fields.
IP address This zone allows you to complete the IP addresses of the SNMP managers. The modules authorize a maximum of two managers.
managers These addresses are used during possible transmission of events (TRAP). The transmission of supervised data is detailed at the topic
SNMP.
Agent This zone allows the localization and identification of an agent from the SNMP manager.
It consists of two fields:
The Location (SysLocation) field: Indicates the physical location of the device (32 characters maximum).
The Contact (SysLocation) field: Indicates the person to contact for device management and the method of contact (strings of 32
characters maximum).
If you prefer to have this information assigned by an SNMP Manager tool for network management, check the SNMP Manager check
box.
Community This zone is used to define community names for the Set, Get and Trap utilities. It consists of three fields:
names The Set field defines the community name for the Set utility (strings of 16 characters maximum). The default value of the field is
Public.
The Get field defines the community name for the Get utility (strings of 16 characters maximum). The default value of the field is
Public.
The Trap field defines the community name for the Trap utility (strings of 16 characters maximum). The default value of the field is
Public.
The purpose of these fields are to define the access rights for the MIB objects of the SNMP agent (local module) in relation to requests
sent by the manager.
Example: If the manager sends a SetRequest request with the community name Test and the module has the community name Public,
the request is not executed.
Security This zone contains the Enable "Authentication Failure" trap check box. Checking this box allows you to validate the transmission of an
authentication failure event (TRAP) from the SNMP agent to the configured manager. In this way, the agent warns the manager that
the request has been refused following an identification error (community name configured in the manager is different from the one
configured in the agent).
CAUTION
UNEXPECTED NETWORK BEHAVIOR - SNMP PARAMETERS RESET
The SNMP manager is able to modify the value of certain configurable parameters (Enabling "Authenti-
cation failure," Location, Contact. etc.). The SNMP Manager box is not checked and there is a cold start,
warm restart, or application download, the initially configured values are restored.
Failure to follow these instructions can result in injury or equipment damage.
RSTP
Access the RSTP tab from the index page:
Step Action
1 Access the module configuration screen.
2 Select the RSTP tab as shown in the following figure.
This screen shows the RSTP screen for an MC80 Ethernet network, you can choose the priority of the
bridge from the Bridge Priority arrow:
Zone Description
Bridge Priority Select one of the following values in the drop-down list:
Root (0)
Backup Root (4096)
Participant (32768)
NOTE: Network switches running RSTP software periodically exchange information about
themselves using special packets called Bridge Protocol Data Units (BPDUs), which act as a
heartbeat. The Bridge Priority value is stored in the BPDU and it establishes the relative position
of the switch in the RSTP hierarchy.
Forward delay The delay used by STP Bridges to transition Root and Designated Ports to Forwarding.
Maximum Age This value is set to the length of time, from 6…40 seconds the switch waits for receipt of the next
hello message, before initiating a change to the RSTP topology. Default = 40 s.
Transmit Hold Count The maximum number of BPDUs, from 1…40, the switch can transmit per second. Default = 40.
Hello Time When the frequency is set at 2 seconds, the embedded switch sends heartbeat BPDUs.
Bandwidth
Access the Bandwidth tab:
Step Action
1 Access the module configuration screen.
2 Select the Bandwidth tab as shown in the following figure.
3 Select the appropriate Ethernet Environment zone.
Isolated: Lessens the impact of Ethernet communication on the scan by limiting the number of polled
Ethernet messages to 500 per second
Mastered: Increases the maximum number of polled messages to 1,000 per second
Open: Increases the maximum number of polled messages to 2,200 per second
Port Features
These are the features of the Ethernet port:
Feature Description
addressing STORED
CLEAR IP
DHCP
supported application protocols Stored IP (from application)
IP from BootP
IP from DHCP
MAC-based IP
Modbus messaging
FDR client
FDR server
SNMP agent
Bandwidth Management
FTP
ARP
RSTP
auto MDI/MDI-X supported
auto-negotiation supported
connector type dual-shield RJ45
max. connections for Modbus TCP 16 Modbus TCP connections as server
(port 502) all services included
Feature Description
max. connections for Modbus TCP Modbus TCP connections as server not taking into account IO scanner, from
(port 502) messaging only which only one connection is used by Control Expert in programming mode.
Modbus TCP connections as client not taking into account IO Scanner, i.e. 6
simultaneous communication EFB on Ethernet.
max. connections for FTP 1 (for firmware upgrade only)
max. server requests per cycle 8
max. client requests per cycle 4
max. message length 1026 including network headers
max. message throughput for This value is a function of the PLC cycle (PLC cyc * max req/cyc).
Modbus TCP The default value in not configured in an M340 system.
max. message throughput for The Ethernet Environment (or CPU load) identified in the Bandwidth window:
Modbus TCP isolated
mastered
open
CANopen Configuration
Bus Configuration
Follow the below steps to access the CANopen field bus:
Step Action
1 From the project navigator, expand the Configuration directory.
Result: The following screen appears:
2 To open the CANopen bus screen, select one of the following methods:
double-click the CANopen directory
select the CANopen sub-directory and select Open in the contextual menu.
Follow the steps below to add a device connected to the CANopen bus:
Step Action
1 Access the CANopen configuration screen.
2 Double-click the place where the module should be connected.
Result: The New Device screen appears.
3 Enter the number of the connection point corresponding to the address.
By default, the Unity Pro software offers the first free consecutive address.
4 In the Communicator field, select the element type enabling communication on the CANopen bus.
For modules with built-in communicators, this window does not appear.
5 Validate with Ok.
Result: The module is declared.
Follow the steps below to delete a device connected to the CANopen bus:
Step Action
1 Access the CANopen configuration screen.
2 Right-click the connection point of the device to be deleted, then click Delete the drop.
Follow the steps below to move a device connected to the CANopen bus:
Step Action
1 Access the CANopen configuration screen.
2 Select the connection point to be moved (a frame surrounds the selected connection point).
3 Drag and drop the connection point to be moved to an empty connection point.
Result: The Move Device screen appears.
4 Enter the number of the destination connection point.
5 Confirm the new connection point by pressing OK.
Result: The Move Device screen appears.
6 Confirm the modification by selecting Yes to modify the addresses of the inputs/outputs objects in the
program and move the variables associated with these objects.
Follow the steps below to duplicate a device connected to the CANopen bus:
Step Action
1 Access the CANopen configuration screen.
2 Right-click the device to be copied, then click Copy.
3 Right-click the connection point desired, then click Paste.
Result: The New Device screen appears.
4 Enter the number of the destination connection point.
5 Confirm the new connection point by selecting OK.
Master Configuration
The Master configuration and the devices configuration are stored in the PLC application in order to be
used by the CANopen stack of the MC80 firmware.
The following table describes how to Access the CANopen Master Configuration screen:
Step Action
1 Open the CANopen directory under BUS MC80 directory
Result: The following screen appears:
Step Action
2 The master configuration screen appears:
The following table describes the different areas which make up the master configuration screen:
The following table describes the configuration parameters for CANopen Master Configuration screen:
Parameter Description
Outputs- The fallback information area contains two options, which defines the behavior of the device when the
Fallback CPU is in STOP or in HALT:
Maintain: Maintains outputs (values are kept),
Reset: Resets outputs (values are set to 0).
NOTE: The Bus Stop when PLC stop check box in the fallback area configuration is only available in
CANopen expert mode.
If it is not checked: the CANopen bus remains in RUN after a PLC stop and the global strategy of
fallback is applied to the outputs according to Maintain or Reset radio button.
If it is checked: the CANopen bus is stopped when a PLC stop; in this case, Maintain and Reset
radio buttons are greyed out.
Bus To configure the bus, it is necessary to indicate the following parameters:
Parameters Transmission speed – 250 kBauds default
SYNC Message COB-ID - 128 default
SYNC Message Period - 100 ms default
NMT inhibit time - 5 ms default. During Bootup, the CANopen Master implements a delay between
each NMT messages to avoid slave overload. The value must be given in multiple of 100 µs. The
value 0 disables the inhibit time.
Device Bootup Time Out - 50 ms default. The global SDO timeout for the master is related to the
scanning of the network. During this time, the master reads the object 1000 of each slave to analyze
the CANopen bus configuration.
Specific SDO timeout: 15,000 ms default. The slaves SDO timeout is necessary for devices with
long response times i.e. for accesses to the objects 1010,1011,1F50. A grid displays all present
devices with the NodeId, the name and the timeout value.
Device Configuration
To configure a slave, perform the following actions:
Step Action
1 Access the CANopen bus configuration screen.
2 Double-click the slave to be configured.
3 Configure the Bootup Procedure using the Bootup tab.
4 Integrate a third pary product using the Object Dictionary tab.
5 Configure the usage function using the Configuration tab.
6 Configure the PDOs using the PDO tab.
7 Select the error control using the Error control tab.
The following table shows the various elements of the configuration screen and their functions:
The following table lists the behavior of configuring CANopen devices in Unity:
Zone Description
PDO PDOs make it possible to manage the communication flow between the CANopen Master and the
slaves. The PDO tab allows you to configure a PDO.
Transmit PDOs: Information transmitted by the Slave to the Master,
Receive PDOs: Information received by the Slave from the Master,
Variables: Variables that can be mapped to the PDOs. To assign a variable to a PDO, drag
and drop the variable into the desired PDO. No variable can be assigned with a static PDO.
Error Control The Error control tab for CANopen slave modules allows you to configure monitoring.
Bootup The goal of bootup procedure tab is to bypass the standard bootup procedure for devices which
do not comply with CANopen standards.
Object Dictionary The Object Dictionary tab allows you to configure and integrate third party products, by:
Force parameters to be transmitted even if they are unchanged, by selecting the associated
checkbox of each parameter.
Block parameters that do not need to be sent to the device, by unselecting the associated
checkbox of each parameter.
Set objects to a specific value just before (prologue), or just after (epilogue) the standard boot
up procedure.
Modify the current value of an object (except read only objects), if the value box is not greyed
out. By default, if the current value is modified, the object is sent. Nevertheless, after filling the
box, you still have the choice to modify this behaviour, by removing the mark of the checkbox
in order to block the object sending. To prevent programming redundancies or conflicts,
parameters which can be modified in other tabs, Configuration, PDO or Error Control, are
greyed out in the Object Dictionary tab.
NOTE: The I/O vision of CANopen devices is based on Device DDT.
The Unity user interface works on a catalog database which is installed with Unity Pro, and uses some
basic services from the Unity Pro installation. Therefore Unity Pro software must be installed on your
workstation, for the Catalog Manager to work.
NOTE: An overview of the Catalog Manager in read only mode is available in Unity Pro through the
Hardware Catalog.
The Catalog Manager is composed of three levels of data:
Device Families
Devices
Functions
The table below shows the procedure to launch the Catalog Manager:
Step Action
1 Verify that Unity Pro software is not running
if Unity Pro Software is running, close it
if Unity Pro Software is not running, go to the next step
2 Select:
Start ->Programs->Schneider Electric->Unity Pro->Hardware Catalog Manager
Zone Description
Overview In this screen, you can enter a text description of the device and the related functions. It will be
displayed in the Unity Module Editor.
PDO Mapping The PDO mapping tab opens a CANopen expert screen for PDO configuration.
The PDO mapping configuration is composed of 3 parts:
Transmit PDOs
Receive PDOs
Variables
Bootup Procedure The goal of bootup procedure tab is to bypass the standard bootup procedure for devices which
do not comply with CANopen standards
Object Dictionary The object dictionary screen is a CANopen Expert editor, and allows to:
Force parameters to be transmitted even if they are unchanged.
Suppress parameters that do not need to be sent to the device.
Set objects to a specific value just before (prologue), or just after (epilogue) the standard
bootup procedure.
Modify the current value of an object (except read only objects).
EDS The EDS tab displays in read-only mode the content of the EDS used to build the device.
The following table describes the procedure to add a device to the Catalog Manager.
Step Action
1 Open the Catalog Manager.
2 Select Edit → Add Device
Or
Right-click a device family.
Select ‘Add Device’
3 A windows dialog box appears to select the EDS or DCF file to import:
4 Select the EDS or DCF file name corresponding to the device that is to be added
Enter a unique name for the device (optional).
Only one EDS or DCF file can be selected at a time - multiple selections are not permitted.
By default, the name of the EDS or DCF file is used as device name although it can be modified.
The device name cannot be changed after this step.
5 A screen appears showing the new device parameters. In this tab, you can sort the objects in different ways:
either clicking the column head or selecting the checkboxes then clicking the column head again.
6 Some parameters on the device profile screen can be changed by the user:
Family: Select the device family from the list.
Image File: Select the image file (BMP or JPG format) associated to the device which will be displayed
in the graphical Catalog Manager Configurator Editor. There is no limit to the size of the image. In the
boxes included in the label zone, you define the device name position compared to the bitmap position.
Expert Mode: Expert Mode Configuration Parameters.
The table below shows the procedure to add a function and access the configuration screen:
Step Action
1 Open the Catalog Manager.
2 There are different ways to access the configuration screen:
Right-click a device.
Select ‘Add Function"
OR
Select a device in the Catalog Manager.
Select Edit → Add Function
3 A windows dialog box appears showing the basic configuration parameters.
4 When configuration is complete, click OK.
Return to the Catalog Manager main screen and click the button ‘Build Catalog’ in order to save any
changes and to load the new function into the Catalog Manager database.
The table below shows the procedure to close the Catalog Manager:
Step Action
1 Verify that your changes have been saved:
If there are changes, click Build Catalog.
A window appears showing the progress of the catalog build.
When the build is complete, go to the next step
If there are not any changes, go to the next step.
Description
MC80 supports the following system words dedicated to communication functions. Some of them already
exist on previous Premium or Quantum ranges but they are re-used with other semantic (highlighted in
Bold).
This bit is set to 1 during the first complete restored cycle of the PLC either in RUN or
in STOP mode. It is reset to 0 by the system before the following cycle.
To detect the first cycle in run after cold start, refer to %SW10.
1 - Warm-start Rd/Wr
Normally at 0, this bit is set to 1 by:
power is restored with data save
the user program
It is reset to 0 by the system at the end of the first complete cycle and before the
outputs are updated.
4 - Timebase 10 ms Rd
An internal timer regulates the change in status of this bit.
It is asynchronous in relation to the PLC cycle.
5 - Timebase 100 ms Rd
6 - Timebase 1 sec Rd
7 - Timebase 1 min Rd
10 - Global I/O detected error Rd
Normally at 1, this bit is set to 0 when an error on the embedded I/O or device on a
network is detected (e.g. non-compliant configuration, exchange fault, hardware fault,
etc.). The %S10 bit is reset to 1 by the system when all the detected errors have
disappeared.
11 - Watchdog overflow Rd/Wr
Normally at 0, this is set to 1 by the system as soon as the task execution time
becomes greater than the maximum execution time (i.e., the watchdog) declared in the
task properties.
12 - PLC running Rd
This bit is set to 1 by the system when the PLC is in RUN.
It is set to 0 by the system as soon as the PLC is no longer in RUN (STOP, INIT, etc.).
13 - 1st scan in RUN Rd
First cycle after switching to RUN.
Switching the PLC from STOP mode to RUN mode (including after a cold start with
automatic start in run) is indicated by setting system bit %S13 to 1. This bit is reset to
0 at the end of the first cycle of the MAST task in RUN mode
15 - Character string error Rd
Normally set to 0, this bit is set to 1 when the destination zone for a character string
transfer is not of sufficient size (including the number of characters and the end of
string character) to receive this character string.
The application stops in error state if the %S78 bit is to set to 1.
This bit must be reset to 0 by the application.
16 - Task I/O error Rd/Wr
Normally set to 1, this bit is set to 0 by the system when a fault on an in-rack module
is detected (For example, non-compliant configuration, exchange fault, hardware fault,
etc.).
This bit must be set to 1 by the user.
17 - Capacity overrun/carry Rd/Wr
Rotate shift output
Normally at 0.
During a rotate shift operation, this bit takes the state of the outgoing bit.
11 - Watchdog duration Rd
Reads the duration of the watchdog. The duration is expressed in milliseconds
(10...1500 ms).
This word cannot be modified.
12 - Modbus slave address for terminal port Rd
Gives the Modbus slave address of the CPU serial port. Modification is not taken into
account. it is 0 if the CPU does not have a Serial Port link.
14 - Commercial version of PLC processor Rd
This word contains the current Operating System (OS) version of the PLC processor.
Example: 16#0135
version: 01
issue number: 35
This word is reset to 0 by the system on cold start, and also by the program for re-
usage purposes.
18, 19 - Absolute time counter Rd/Wr
%SW18 represents the least significant bytes and %SW19 the most significant bytes
of the double word %SD18, which is incremented by the system every 1/10th of a
second. The application can read or write these words in order to perform duration
calculations.
%SD18 is incremented systematically, even in STOP mode and equivalent states.
However, times when the PLC is switched off are not taken into account, since the
function is not linked to the real-time scheduler, but only to the real-time clock.
For Quantum safety PLC, knowing that the 2 processors must process exactly the
same data, the value of %SD18 is updated at the beginning of the mast task, and then
frozen during the application execution.
20 - 1 ms counter low Rd
21 - 1 ms counter high Rd
23 - Rotary switch value Rd
7...0 Rotary switch value(Ethernet role name) Rd
8 Rotary switch change since power up Rd
9 Rotary switch error Rd
26 - Number of requests processed Rd/Wr
This system word allows to verify on server side the number of requests processed by
PLC per second.
27, 28, 29 - System overhead time Rd/Wr
%SW27 is the last system overhead time.
%SW28 contains the maximum system overhead time.
%SW29 contains the minimum system overhead time.
The system overhead time depends on the configuration (number of I/O) and on the
current cycle requests (communication, diagnostics).
System overhead time = Mast Cycle Time - User code execution time.
This can be read and written by the user program or by the terminal.
30 - Master task execution time Rd/Wr
This word indicates the execution time of the last master task cycle (in ms).
31 - Maximum master task execution time Rd/Wr
This word indicates the longest master task execution time since the last cold start (in
ms).
32 - Minimum master task execution time Rd/Wr
This word indicates the shortest master task execution time since the last cold start
(in ms).
These words are managed by the system when the bit %S50 is set to 0.
These words can be written by the user program or by the terminal when the bit %S50
is set to 1.
For M580:
The current time is in UTC (Coordinated Universal Time). If a local time is needed, use
the RRTC_DT function.
54…58 - Real-time clock function on last stop Rd
System words containing date and time of the last power failure or PLC stop (in Binary
Coded Decimal):
%SW54: Seconds (00SS)
%SW55: Hours and Minutes (HHMM)
%SW56: Month and Day (MMDD)
%SW57: Year (YYYY)
%SW58: the most significant byte contains the day of the week (1 for Monday
through to 7 for Sunday), and the least significant byte contains the code for the
last stop:
1 = change from RUN to STOP by the terminal or the dedicated input
2 = stop by watchdog (PLC task or SFC overrun)
4 = power outage or memory card lock operation
5 = stop on hardware fault
6 = stop on software fault. Details on the type of software fault are stored in
%SW125
59 - Adjustment of current date Rd/Wr
Contains two 8-bit series to adjust the current date.
The action is always performed on the rising edge of the bit.
This word is enabled by bit %S59=1.
70 - Week of year Rd
System word containing the number of the week in the year: 1…52 (in BCD).
76 - Diagnostics function: recording Rd/Wr
Result of the last registration
= 0 if the recording was successful
= 1 if the diagnostics buffer has not been configured
= 2 if the diagnostics buffer is full
77 - Diagnostics function: non-recording Rd/Wr
Result of the last de-registration
= 0 if the non-recording was successful
= 1 if the diagnostics buffer has not been configured
= 21 if the error identifier is invalid
= 22 if the error has not been recorded
78 - Diagnostics function: number of errors Rd
Number of errors currently in the diagnostics buffer.
80, 81 - Message management Rd
These words are updated by the system, and can also be reset using %S80.
%SW80: Number of message sent by the system to the terminal port (Modbus
serial port)
%SW81: Number of message received by the system to the terminal port (Modbus
serial port).
NOTE: The following codes 16#8xF4, 16#9xF4, and -16#DEF7 indicate an error on
Sequence Function Chart (SFC).
126…127 - Blocking error instruction address Rd
Address of the instruction that generated the application blocking error.
%SW126 contains the least significant word for this address
%SW127 contains the most significant word for this address
Chapter 13
MC80 Firmware Upgrade
Firmware Upgrade
Description
The MC80 PLC Firmware upgrade is done using Unity Loader. The MC80 PLC provides a fast and reliable
firmware upgrade from the Unity Loader to PLC through USB connection or through Ethernet connection.
For upgrading, select the correct .ldx file and then connect to the PLC.
NOTE:
BMK C80 ••••• processors have different .ldx files.
If an application is present before starting an upgrade then the CPU must be in stop mode. Stop
command is available from Unity Loader.
The Firmware upgrade cannot be performed with serial port connection.
Security Features
The Firmware Upgrade feature can be enabled or disabled in Unity Pro configuration. This feature is
disabled in default state.
NOTE: Before upgrading, you have to change the Unity Pro configuration to enable the Firmware Upgrade
feature.
The following describes the Firmware upgrade process:
When FW upgrade process is started, the CPU enters a specific state where only the communication
with Unity Loader is active and the state is shown by an LED combination.
At the end of upgrade, the CPU will reboot with a new version and the application is stored in flash.
In the stop mode, the CPU does a cold start and if the run option is checked, the application starts
automatically.
If there is an error during the FW upgrade (connection broken or power outage of CPU), the CPU must
be reset and restarted with old OS.