Modicon TMC4: Cartridges Programming Guide
Modicon TMC4: Cartridges Programming Guide
EIO0000003107 05/2019
Modicon TMC4
Cartridges
Programming Guide
05/2019
EIO0000003107.00
www.schneider-electric.com
The information provided in this documentation contains general descriptions and/or technical
characteristics of the performance of the products contained herein. This documentation is not
intended as a substitute for and is not to be used for determining suitability or reliability of these
products for specific user applications. It is the duty of any such user or integrator to perform the
appropriate and complete risk analysis, evaluation and testing of the products with respect to the
relevant specific application or use thereof. Neither Schneider Electric nor any of its affiliates or
subsidiaries shall be responsible or liable for misuse of the information contained herein. If you
have any suggestions for improvements or amendments or have found errors in this publication,
please notify us.
You agree not to reproduce, other than for your own personal, noncommercial use, all or part of
this document on any medium whatsoever without permission of Schneider Electric, given in
writing. You also agree not to establish any hypertext links to this document or its content.
Schneider Electric does not grant any right or license for the personal and noncommercial use of
the document or its content, except for a non-exclusive license to consult it on an "as is" basis, at
your own risk. All other rights are reserved.
All pertinent state, regional, and local safety regulations must be observed when installing and
using this product. For reasons of safety and to help ensure compliance with documented system
data, only the manufacturer should perform repairs to components.
When devices are used for applications with technical safety requirements, the relevant
instructions must be followed.
Failure to use Schneider Electric software or approved software with our hardware products may
result in injury, harm, or improper operating results.
Failure to observe this information can result in injury or equipment damage.
© 2019 Schneider Electric. All rights reserved.
2 EIO0000003107 05/2019
Table of Contents
Safety Information. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
About the Book . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Chapter 1 Cartridge Configuration General Information . . . . . . . . . 11
I/O Configuration General Practices . . . . . . . . . . . . . . . . . . . . . . . . . . 12
General Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Adding Cartridges to a Configuration . . . . . . . . . . . . . . . . . . . . . . . . . 14
Configuring Cartridges. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Updating Cartridges Firmware. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Chapter 2 TMC4 Standard Cartridges. . . . . . . . . . . . . . . . . . . . . . . 19
TMC4AI2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
TMC4TI2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
TMC4AQ2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Chapter 3 TMC4 Application Cartridges . . . . . . . . . . . . . . . . . . . . . 29
TMC4HOIS01 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
TMC4PACK01 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Glossary ......................................... 35
Index ......................................... 37
EIO0000003107 05/2019 3
4 EIO0000003107 05/2019
Safety Information
Important Information
NOTICE
Read these instructions carefully, and look at the equipment to become familiar with the device
before trying to install, operate, service, or maintain it. The following special messages may appear
throughout this documentation or on the equipment to warn of potential hazards or to call attention
to information that clarifies or simplifies a procedure.
EIO0000003107 05/2019 5
PLEASE NOTE
Electrical equipment should be installed, operated, serviced, and maintained only by qualified
personnel. No responsibility is assumed by Schneider Electric for any consequences arising out of
the use of this material.
A qualified person is one who has skills and knowledge related to the construction and operation
of electrical equipment and its installation, and has received safety training to recognize and avoid
the hazards involved.
6 EIO0000003107 05/2019
About the Book
At a Glance
Document Scope
This document describes the software configuration of the TMC4 cartridges for EcoStruxure
Machine Expert. For further information, refer to the separate documents provided in the
EcoStruxure Machine Expert online help.
Validity Note
This document has been updated for the release of EcoStruxureTM Machine Expert V1.1.
Related Documents
EIO0000003107 05/2019 7
Title of Documentation Reference Number
Modicon M241 Logic Controller - Hardware Guide EIO0000003083 (ENG)
EIO0000003084 (FRE)
EIO0000003085 (GER)
EIO0000003086 (SPA)
EIO0000003087 (ITA)
EIO0000003088 (CHS)
You can download these technical publications and other technical information from our website
at https://www.schneider-electric.com/en/download
WARNING
LOSS OF CONTROL
The designer of any control scheme must consider the potential failure modes of control paths
and, for certain critical control functions, provide a means to achieve a safe state during and
after a path failure. Examples of critical control functions are emergency stop and overtravel
stop, power outage and restart.
Separate or redundant control paths must be provided for critical control functions.
System control paths may include communication links. Consideration must be given to the
implications of unanticipated transmission delays or failures of the link.
Observe all accident prevention regulations and local safety guidelines.1
Each implementation of this equipment must be individually and thoroughly tested for proper
operation before being placed into service.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
1
For additional information, refer to NEMA ICS 1.1 (latest edition), "Safety Guidelines for the
Application, Installation, and Maintenance of Solid State Control" and to NEMA ICS 7.1 (latest
edition), "Safety Standards for Construction and Guide for Selection, Installation and Operation of
Adjustable-Speed Drive Systems" or their equivalent governing your particular location.
WARNING
UNINTENDED EQUIPMENT OPERATION
Only use software approved by Schneider Electric for use with this equipment.
Update your application program every time you change the physical hardware configuration.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
8 EIO0000003107 05/2019
Terminology Derived from Standards
The technical terms, terminology, symbols and the corresponding descriptions in this manual, or
that appear in or on the products themselves, are generally derived from the terms or definitions
of international standards.
In the area of functional safety systems, drives and general automation, this may include, but is not
limited to, terms such as safety, safety function, safe state, fault, fault reset, malfunction, failure,
error, error message, dangerous, etc.
Among others, these standards include:
Standard Description
IEC 61131-2:2007 Programmable controllers, part 2: Equipment requirements and tests.
ISO 13849-1:2015 Safety of machinery: Safety related parts of control systems.
General principles for design.
EN 61496-1:2013 Safety of machinery: Electro-sensitive protective equipment.
Part 1: General requirements and tests.
ISO 12100:2010 Safety of machinery - General principles for design - Risk assessment and risk
reduction
EN 60204-1:2006 Safety of machinery - Electrical equipment of machines - Part 1: General
requirements
ISO 14119:2013 Safety of machinery - Interlocking devices associated with guards - Principles
for design and selection
ISO 13850:2015 Safety of machinery - Emergency stop - Principles for design
IEC 62061:2015 Safety of machinery - Functional safety of safety-related electrical, electronic,
and electronic programmable control systems
IEC 61508-1:2010 Functional safety of electrical/electronic/programmable electronic safety-
related systems: General requirements.
IEC 61508-2:2010 Functional safety of electrical/electronic/programmable electronic safety-
related systems: Requirements for electrical/electronic/programmable
electronic safety-related systems.
IEC 61508-3:2010 Functional safety of electrical/electronic/programmable electronic safety-
related systems: Software requirements.
IEC 61784-3:2016 Industrial communication networks - Profiles - Part 3: Functional safety
fieldbuses - General rules and profile definitions.
2006/42/EC Machinery Directive
2014/30/EU Electromagnetic Compatibility Directive
2014/35/EU Low Voltage Directive
EIO0000003107 05/2019 9
In addition, terms used in the present document may tangentially be used as they are derived from
other standards such as:
Standard Description
IEC 60034 series Rotating electrical machines
IEC 61800 series Adjustable speed electrical power drive systems
IEC 61158 series Digital data communications for measurement and control – Fieldbus for use in
industrial control systems
Finally, the term zone of operation may be used in conjunction with the description of specific
hazards, and is defined as it is for a hazard zone or danger zone in the Machinery Directive
(2006/42/EC) and ISO 12100:2010.
NOTE: The aforementioned standards may or may not apply to the specific products cited in the
present documentation. For more information concerning the individual standards applicable to the
products described herein, see the characteristics tables for those product references.
10 EIO0000003107 05/2019
Modicon TMC4
Cartridge Configuration General Information
EIO0000003107 05/2019
Chapter 1
Cartridge Configuration General Information
Introduction
This chapter provides general information to help you configure TMC4 cartridges for EcoStruxure
Machine Expert.
EIO0000003107 05/2019 11
Cartridge Configuration General Information
WARNING
UNINTENDED EQUIPMENT OPERATION
Update the configuration of your program each time you add or delete any type of I/O expansions
on your I/O bus, or you add or delete any devices on your field bus.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
12 EIO0000003107 05/2019
Cartridge Configuration General Information
General Description
Introduction
The TMC4 cartridges connect to Modicon M241 Logic Controllers to increase the number of I/Os
available on the controller.
Cartridge Features
The following table describes the TMC4 cartridge features:
Reference Description
TMC4AI2 TMC4 cartridge with 2 analog voltage or current inputs (0...10 V, 0...20 mA, 4...20 mA), 12 bits
TMC4TI2 TMC4 cartridge with 2 analog temperature inputs (thermocouple, RTD), 14 bits
TMC4AQ2 TMC4 cartridge with 2 analog voltage or current outputs (0...10 V, 4...20 mA), 16 bits
TMC4HOIS01 TMC4 application cartridge with 2 analog voltage or current inputs for hoisting load cells
TMC4PACK01 TMC4 application cartridge with 2 analog voltage or current inputs for packaging
EIO0000003107 05/2019 13
Cartridge Configuration General Information
Adding a Cartridge
TMC4 cartridges can be connected to Modicon M241 Logic Controllers with 1 or 2 available
cartridge slots.
To add a cartridge to your configuration, select the cartridge in the Hardware Catalog, drag it to the
Devices tree, and drop it on one of the highlighted nodes.
For more information on adding a device to your project, refer to:
• Using the Drag-and-drop Method (see EcoStruxure Machine Expert, Programming Guide)
• Using the Contextual Menu or Plus Button (see EcoStruxure Machine Expert, Programming
Guide)
14 EIO0000003107 05/2019
Cartridge Configuration General Information
Configuring Cartridges
I/O Configuration
The configuration of a cartridge is carried out through the I/O Mapping and I/O Configuration tabs
of the cartridge module.
To display the configuration tabs:
Step Action
1 In the Devices tree, double-click the cartridge. The I/O Mapping tab appears.
2 Edit the parameters of the I/O Mapping tab to configure the addresses used by the cartridge module
and diagnostic information.
3 Click the I/O Configuration tab to configure the cartridge. For details on the I/O Configuration tab, refer
to the description of individual modules.
EIO0000003107 05/2019 15
Cartridge Configuration General Information
Parameter Description
Variable Allows you to map the channel on a variable.
NOTE: Expand the list of variables from the category Inputs or Outputs.
You can map a channel by either creating a new variable or mapping to an existing variable.
Mapping Indicates whether the channel is mapped on a new variable or an existing variable.
16 EIO0000003107 05/2019
Cartridge Configuration General Information
Parameter Description
Channel Displays the channel name of the device.
Address Displays the address of the channel.
NOTE: If the channel is mapped to an existing variable, corresponding address appears as
strikethrough text in the table.
Type Displays the data type of the channel.
Default Value Indicates the value taken by the output when the controller is in a STOPPED or HALT state.
Double-click the cell to change the default value.
Unit Displays the unit of the channel value.
Description Allows you to enter a short description of the channel.
EIO0000003107 05/2019 17
Cartridge Configuration General Information
Introduction
The TMC4 cartridges have a firmware that you can update. The firmware update can only be done
when the cartridge is mounted on the controller.
The firmware version of the cartridge can be seen in the i_uifirmwareVersion variable of the
CART_R_STRUCT (see Modicon M241 Logic Controller, System Functions and Variables,
PLCSystem Library Guide) in the M241 PLCSystem Library Guide.
The cartridge firmware is delivered in .bin files.
Description
When the controller starts, it checks if there is a file named cart1.bin or cart2.bin in the
/sys/OS directory of the internal file system. If such a file is found, and if a cartridge is installed in
the controller and configured, the firmware update of the cartridge starts.
NOTE: The firmware is only updated if the firmware file is different from the current firmware of the
cartridge. The firmware file is not automatically deleted from the /sys/OS directory.
The firmware update operation lasts approximately 10 seconds per cartridge.
Procedure
Follow this procedure to update the cartridge firmware:
Step Action
1 Copy the .bin file onto the SD card (see Modicon M241 Logic Controller, Programming Guide).
2 Generate a script using the SD Card Mass Storage (see Modicon M241 Logic Controller,
Programming Guide) editor and the Download command to store the cart1.bin file into the
/sys/OS directory of the controller.
3 Insert the SD card into the controller.
4 Restart the controller.
NOTE: The PWR LED of the cartridge is OFF to indicate that the firmware update is in progress.
5 Wait until the PWR LED of the cartridge is ON or flashing, indicating that the firmware update is
complete.
18 EIO0000003107 05/2019
Modicon TMC4
TMC4 Standard Cartridges
EIO0000003107 05/2019
Chapter 2
TMC4 Standard Cartridges
EIO0000003107 05/2019 19
TMC4 Standard Cartridges
TMC4AI2
Introduction
The TMC4AI2 cartridge features 2 analog voltage or current input channels with 12-bit resolution.
The channel input types are:
0...10 V
0...20 mA
4...20 mA
For further hardware information, refer to TMC4AI2 (see Modicon TMC4, Cartridges, Hardware
Guide).
If you have physically wired the analog channel for a voltage signal and you configure the channel
for a current signal in EcoStruxure Machine Expert, you may damage the analog circuit.
NOTICE
INOPERABLE EQUIPMENT
Verify that the physical wiring of the analog circuit is compatible with the software configuration
for the analog channel.
Failure to follow these instructions can result in equipment damage.
20 EIO0000003107 05/2019
TMC4 Standard Cartridges
For further generic descriptions, refer to I/O Mapping Tab Description (see page 15).
EIO0000003107 05/2019 21
TMC4 Standard Cartridges
22 EIO0000003107 05/2019
TMC4 Standard Cartridges
TMC4TI2
Introduction
The TMC4TI2 cartridge features 2 analog input channels with 14-bit resolution.
The channel input types are:
K thermocouple
J thermocouple
R thermocouple
S thermocouple
B thermocouple
E thermocouple
T thermocouple
N thermocouple
PT100
PT1000
NI100
NI1000
For further hardware information, refer to TMC4TI2 (see Modicon TMC4, Cartridges, Hardware
Guide).
EIO0000003107 05/2019 23
TMC4 Standard Cartridges
For further generic descriptions, refer to I/O Mapping Tab Description (see page 15).
24 EIO0000003107 05/2019
TMC4 Standard Cartridges
EIO0000003107 05/2019 25
TMC4 Standard Cartridges
TMC4AQ2
Introduction
The TMC4AQ2 cartridge features 2 voltage or current analog output channels with 16-bit
resolution.
The channel output types are:
0...10 V
4...20 mA
For further hardware information, refer to TMC4AQ2 (see Modicon TMC4, Cartridges, Hardware
Guide).
If you have physically wired the analog channel for a voltage signal and you configure the channel
for a current signal in EcoStruxure Machine Expert, you may damage the analog circuit.
NOTICE
INOPERABLE EQUIPMENT
Verify that the physical wiring of the analog circuit is compatible with the software configuration
for the analog channel.
Failure to follow these instructions can result in equipment damage.
26 EIO0000003107 05/2019
TMC4 Standard Cartridges
For further generic descriptions, refer to I/O Mapping Tab Description (see page 15).
EIO0000003107 05/2019 27
TMC4 Standard Cartridges
28 EIO0000003107 05/2019
Modicon TMC4
TMC4 Application Cartridges
EIO0000003107 05/2019
Chapter 3
TMC4 Application Cartridges
EIO0000003107 05/2019 29
TMC4 Application Cartridges
TMC4HOIS01
Introduction
The TMC4HOIS01 cartridge features 2 analog voltage or current input channels with 12-bit
resolution.
The channel input types are:
0...10 V
0...20 mA
4...20 mA
For further hardware information, refer to TMC4HOIS01 (see Modicon TMC4, Cartridges,
Hardware Guide).
If you have physically wired the analog channel for a voltage signal and you configure the channel
for a current signal in EcoStruxure Machine Expert, you may damage the analog circuit.
NOTICE
INOPERABLE EQUIPMENT
Verify that the physical wiring of the analog circuit is compatible with the software configuration
for the analog channel.
Failure to follow these instructions can result in equipment damage.
30 EIO0000003107 05/2019
TMC4 Application Cartridges
For further generic descriptions, refer to I/O Mapping Tab Description (see page 15).
EIO0000003107 05/2019 31
TMC4 Application Cartridges
32 EIO0000003107 05/2019
TMC4 Application Cartridges
TMC4PACK01
Introduction
The TMC4PACK01 cartridge module features 2 analog voltage or current input channels with 12-
bit resolution.
The channel input types are:
0...10 V
0...20 mA
4...20 mA
For further hardware information, refer to TMC4PACK01 (see Modicon TMC4, Cartridges,
Hardware Guide).
If you have physically wired the analog channel for a voltage signal and you configure the channel
for a current signal in EcoStruxure Machine Expert, you may damage the analog circuit.
NOTICE
INOPERABLE EQUIPMENT
Verify that the physical wiring of the analog circuit is compatible with the software configuration
for the analog channel.
Failure to follow these instructions can result in equipment damage.
EIO0000003107 05/2019 33
TMC4 Application Cartridges
For further generic descriptions, refer to I/O Mapping Tab Description (see page 15).
34 EIO0000003107 05/2019
Modicon TMC4
Glossary
EIO0000003107 05/2019
Glossary
A
analog input
Converts received voltage or current levels into numerical values. You can store and process these
values within the logic controller.
analog output
Converts numerical values within the logic controller and sends out proportional voltage or current
levels.
EIO0000003107 05/2019 35
Glossary
36 EIO0000003107 05/2019
Modicon TMC4
Index
EIO0000003107 05/2019
Index
C
cartridge
compatibility, 13
description, 13
features, 13
cartridges
adding, 14
configuration, 15
configuring, 15
properties, 15
compatibility
cartridge, 13
D
description
cartridge, 13
F
features
cartridge, 13
I
I/O configuration general information
general practices, 12
T
TMC4 analog I/O modules
TMC4AI2, 20
TMC4AQ2, 26
TMC4HOIS01, 30
TMC4PACK01, 33
TMC4TI2 , 23
EIO0000003107 05/2019 37
Index
38 EIO0000003107 05/2019