Modicon TM3 (SoMachine Basic) Expansion Modules Configuration Programming Guide
Modicon TM3 (SoMachine Basic) Expansion Modules Configuration Programming Guide
EIO0000001396 07/2014
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.
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 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.
© 2014 Schneider Electric. All rights reserved.
2 EIO0000001396 07/2014
Table of Contents
Safety Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
About the Book. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Chapter 1 I/O Configuration General Information . . . . . . . . . . . . . 11
I/O Configuration General Practices . . . . . . . . . . . . . . . . . . . . . . . . . . 12
General Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Using I/O Modules in a Configuration . . . . . . . . . . . . . . . . . . . . . . . . . 21
Configuring Digital I/Os . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Adding Transmitter and Receiver Modules . . . . . . . . . . . . . . . . . . . . . 27
Chapter 2 TM3 Digital I/O Modules Configuration . . . . . . . . . . . . 29
Configuring the TM3 Digital I/O Modules. . . . . . . . . . . . . . . . . . . . . . . 29
Chapter 3 TM3 Analog I/O Modules Configuration . . . . . . . . . . . . 31
3.1 TM3 Analog Input Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
TM3AI2H / TM3AI2HG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
TM3AI4 / TM3AI4G . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
TM3AI8 / TM3AI8G . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
TM3TI4 / TM3TI4G . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
TM3TI8T / TM3TI8TG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
3.2 TM3 Analog Output Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
TM3AQ2 / TM3AQ2G . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
TM3AQ4 / TM3AQ4G . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
3.3 TM3 Analog Mixed Input/Output Modules . . . . . . . . . . . . . . . . . . . . . . 50
TM3AM6 / TM3AM6G . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
TM3TM3 / TM3TM3G . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
3.4 TM3 Analog I/O Modules Diagnostic . . . . . . . . . . . . . . . . . . . . . . . . . . 58
Analog I/O Modules Diagnostic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
Chapter 4 TM3 Expert I/O Modules Configuration . . . . . . . . . . . . 61
TM3XTYS4 Module Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
Chapter 5 TM3 Safety Modules Configuration . . . . . . . . . . . . . . . 63
5.1 Configuration: TM3 Safety Modules . . . . . . . . . . . . . . . . . . . . . . . . . . 64
Configuring the TM3 Safety Modules . . . . . . . . . . . . . . . . . . . . . . . . . 64
5.2 General Principles: TM3 Safety Functionality Modes . . . . . . . . . . . . . 65
Interlock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
Start . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
External Device Monitoring (EDM) . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
Synchronization Time Monitoring for TM3SAK6R / TM3SAK6RG . . . 72
EIO0000001396 07/2014 3
5.3 General Principles: TM3 Safety Operation Modes . . . . . . . . . . . . . . . 73
Power-On Condition. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
Enable Condition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
Output Response Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
On Delay and Restart Delay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
5.4 I/O Mapping: TM3 Safety Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
TM3 Safety Modules I/O Mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
Chapter 6 TM3 Transmitter and Receiver I/O Modules
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
Configuring the TM3 Transmitter and Receiver I/O Modules. . . . . . . . 84
Behavior of the TM3 Transmitter and Receiver Modules. . . . . . . . . . . 85
Glossary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
4 EIO0000001396 07/2014
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.
EIO0000001396 07/2014 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 EIO0000001396 07/2014
About the Book
At a Glance
Document Scope
This document describes the configuration of the TM3 expansion modules for SoMachine Basic.
For further information, refer to the separate documents provided in the SoMachine Basic online
help.
Validity Note
This document has been updated with the release of SoMachine Basic V1.2.
Related Documents
EIO0000001396 07/2014 7
Title of Documentation Reference Number
Modicon TM3 Expert Modules - Hardware Guide EIO0000001420 (ENG)
EIO0000001421 (FRA)
EIO0000001422 (GER)
EIO0000001423 (SPA)
EIO0000001424 (ITA)
EIO0000001425 (CHS)
EIO0000001380 (POR)
EIO0000001381 (TUR)
Modicon TM3 Safety Modules - Hardware Guide EIO0000001831 (ENG)
EIO0000001832 (FRA)
EIO0000001833 (GER)
EIO0000001834 (SPA)
EIO0000001835(ITA)
EIO0000001836 (CHS)
EIO0000001837 (POR)
EIO0000001838 (TUR)
Modicon TM3 Transmitter and Receiver Modules - Hardware Guide EIO0000001426 (ENG)
EIO0000001427 (FRA)
EIO0000001428 (GER)
EIO0000001429 (SPA)
EIO0000001430 (ITA)
EIO0000001431 (CHS)
EIO0000001382 (POR)
EIO0000001383 (TUR)
You can download these technical publications and other technical information from our website
at www.schneider-electric.com.
8 EIO0000001396 07/2014
Product Related Information
WARNING
LOSS OF CONTROL
The designer of any control scheme must consider the potential failure modes of control paths
and, for certain critical control functions, provide a means to achieve a safe state during and
after a path failure. Examples of critical control functions are emergency stop and overtravel
stop, power outage and restart.
Separate or redundant control paths must be provided for critical control functions.
System control paths may include communication links. Consideration must be given to the
implications of unanticipated transmission delays or failures of the link.
Observe all accident prevention regulations and local safety guidelines.1
Each implementation of this equipment must be individually and thoroughly tested for proper
operation before being placed into service.
Failure to follow these instructions can result in death, serious injury, or equipment
damage.
1For additional information, refer to NEMA ICS 1.1 (latest edition), "Safety Guidelines for the
Application, Installation, and Maintenance of Solid State Control" and to NEMA ICS 7.1 (latest
edition), "Safety Standards for Construction and Guide for Selection, Installation and Operation of
Adjustable-Speed Drive Systems" or their equivalent governing your particular location.
WARNING
UNINTENDED EQUIPMENT OPERATION
Only use software approved by Schneider Electric for use with this equipment.
Update your application program every time you change the physical hardware configuration.
Failure to follow these instructions can result in death, serious injury, or equipment
damage.
EIO0000001396 07/2014 9
10 EIO0000001396 07/2014
Modicon TM3 (SoMachine Basic)
I/O Configuration General Information
EIO0000001396 07/2014
Chapter 1
I/O Configuration General Information
Introduction
This chapter provides general information to help you configure TM3 expansion modules for
SoMachine Basic.
EIO0000001396 07/2014 11
I/O 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,
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 EIO0000001396 07/2014
I/O Configuration General Information
General Description
Introduction
The range of TM3 expansion modules includes:
Digital modules, classified as follows:
Input modules (see page 13)
Output modules (see page 14)
Mixed input/output modules (see page 15)
EIO0000001396 07/2014 13
I/O Configuration General Information
14 EIO0000001396 07/2014
I/O Configuration General Information
EIO0000001396 07/2014 15
I/O Configuration General Information
16 EIO0000001396 07/2014
I/O Configuration General Information
EIO0000001396 07/2014 17
I/O Configuration General Information
18 EIO0000001396 07/2014
I/O Configuration General Information
EIO0000001396 07/2014 19
I/O Configuration General Information
For more information on the terms methods used concerning functional safety as they apply to the
TM3 Safety Modules, refer to the sections TM3 Safety Functionality modes (see page 65) and TM3
Safety Operation Modes (see page 73).
20 EIO0000001396 07/2014
I/O Configuration General Information
Adding a Module
The following steps explain how to add an expansion module to the logic controller in a SoMachine
Basic project:
Step Action
1 Click the Configuration tab in the SoMachine Basic window.
2 In the catalog area, click one of the following module types to expand the list of expansion modules:
TM3 Digital I/O Modules
TM3 Analog I/O Modules
TM2 Digital I/O Modules
TM2 Analog I/O Modules
TM3 Expert I/O Modules
EIO0000001396 07/2014 21
I/O Configuration General Information
WARNING
UNINTENDED EQUIPMENT OPERATION
Update the configuration of your program each time you add or delete an I/O expansion, 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.
Removing a Module
You can remove an expansion module by pressing the Delete key or by right-clicking the module
and clicking Remove on the contextual menu that appears.
If the expansion module contains at least one address being used in a program, a message
appears asking you to confirm the operation. Click Yes to continue.
In this case, however, the I/O bus of the logic controller operates at the speed of the slower module
type. For example, when both TM2 and TM3 modules are used, the I/O bus of the logic controller
operates at the speed of the TM2 modules.
22 EIO0000001396 07/2014
I/O Configuration General Information
EIO0000001396 07/2014 23
I/O Configuration General Information
Overview
You can configure digital I/Os of your expansion module using:
Configuration tab:
Digital inputs (see page 24)
Digital outputs (see page 25)
Step Description
1 Click the Configuration tab in the SoMachine Basic window.
2 In the hardware tree, click MyController →IO Bus →Module x →Digital inputs, where x is the
expansion module number on the controller.
Result: The digital input properties of the selected module are displayed in the editor area, for
example:
24 EIO0000001396 07/2014
I/O Configuration General Information
Step Description
1 Click the Configuration tab in the SoMachine Basic window.
2 In the hardware tree, click MyController →IO Bus →Module x →Digital outputs, where x is
the expansion module number on the controller.
Result: The digital output properties of the selected module are displayed in the editor area, for
example:
EIO0000001396 07/2014 25
I/O Configuration General Information
Step Description
1 Click the Programming tab in the SoMachine Basic window.
2 In the left-hand area of the Programming tab, click on the Tools tab and from the I/O objects
branch, select one of the following I/O types to display the properties:
Digital inputs
Digital outputs
Analog inputs
Analog outputs
Result: A list of all embedded and expansion module I/O addresses appears in the lower central
area of the SoMachine Basic window, for example:
3 Scroll down to the range of addresses corresponding to the expansion module you are configuring.
The following properties are displayed:
Used: Indicates whether the corresponding address is being used in the program or not.
Address: Displays the address of the digital output on the expansion module. For details on
addressing I/O objects, refer to I/O Addressing (see SoMachine Basic, Generic Functions
Library Guide).
Symbol: Allows you to specify a symbol to associate with the corresponding I/O object to be
used in the program.
Double-click in the Symbol column, type the symbol name of the corresponding object, and
press Enter.
If a symbol already exists, right-click in the Symbol column and choose Search and Replace
to find and replace occurrences of this symbol throughout the program and/or program
comments.
Comment: Allows you to specify a comment to associate with the corresponding I/O object.
Double-click in the Comment column, type a comment for the corresponding object, and press
Enter.
4 Click Apply to save the changes.
26 EIO0000001396 07/2014
I/O Configuration General Information
Overview
TM3 Transmitter and Receiver modules increase the maximum number of I/O modules in a
configuration and allow expansion modules to be installed in a remote location. For details, refer
to the TM3 Transmitter and Receiver Modules - Hardware Guide.
Procedure
Before adding the Transmitter and Receiver modules, create a SoMachine Basic project and add
a logic controller as described in the SoMachine Basic Operating Guide.
In SoMachine Basic, the Transmitter and Receiver modules are paired together as a single
reference. To add the Transmitter and Receiver module pair to a configuration:
Step Description
1 Click the Configuration tab in the SoMachine Basic window.
2 In the catalog area, click TM3 Expert I/O Modules to expand the list of expansion modules.
3 Select TM3_XTRA1_XREC1 from the list.
Result: The description of the physical characteristics of the Transmitter and Receiver module
appears in the bottom of the catalog area.
4 Drag the selected Transmitter and Receiver module to the editor area and drop the module on the
right-hand side of the controller or the last expansion module in the configuration.
Result: The Transmitter and Receiver module is added under the My Controller →I/O Bus branch
of the hardware tree and the description of the physical characteristics of the Transmitter and
Receiver module appears in the bottom of the editor area.
5 Add further expansion modules to the right of the Transmitter and Receiver module pair, up to the
maximum number of modules allowed.
NOTE: Only one Transmitter and Receiver module pair can be added to a configuration.
EIO0000001396 07/2014 27
I/O Configuration General Information
EIO0000001396 07/2014 28
Modicon TM3 (SoMachine Basic)
TM3 Digital I/O Modules Configuration
EIO0000001396 07/2014
Chapter 2
TM3 Digital I/O Modules Configuration
Introduction
The range of TM3 digital I/O expansion modules includes:
TM3 Digital Input Modules (see page 13)
TM3 Digital Output Modules (see page 14)
TM3 Digital Mixed Input/Output Modules (see page 15)
EIO0000001396 07/2014 29
TM3 Digital I/O Modules Configuration
30 EIO0000001396 07/2014
Modicon TM3 (SoMachine Basic)
TM3 Analog I/O Modules Configuration
EIO0000001396 07/2014
Chapter 3
TM3 Analog I/O Modules Configuration
Introduction
This chapter describes how to configure the TM3 analog I/O modules.
The range of TM3 analog I/O expansion modules includes:
TM3 Analog Input Modules (see page 16)
TM3 Analog Output Modules (see page 17)
TM3 Analog Mixed Input/Output Modules (see page 18)
EIO0000001396 07/2014 31
TM3 Analog I/O Modules Configuration
Section 3.1
TM3 Analog Input Modules
32 EIO0000001396 07/2014
TM3 Analog I/O Modules Configuration
TM3AI2H / TM3AI2HG
Introduction
The TM3AI2H (screw terminal block) / TM3AI2HG (spring terminal block) expansion module
feature 2 analog input channels with 16-bit resolution.
The channel input types are:
0...10 V
-10...+10 V
0...20 mA
4...20 mA
For further hardware information, refer to TM3AI2H / TM3AI2HG (see Modicon TM3,
Analog I/O Modules, Hardware Guide).
NOTE: For example, if you have physically wired the analog channel for a voltage signal and you
configure the channel for a current signal in SoMachine Basic, 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.
EIO0000001396 07/2014 33
TM3 Analog I/O Modules Configuration
Programming tab: Displaying Configuration Details in the Programming Tab (see page 26)
describes how to view and update programming-related properties of these modules.
34 EIO0000001396 07/2014
TM3 Analog I/O Modules Configuration
TM3AI4 / TM3AI4G
Introduction
The TM3AI4 (screw terminal block) / TM3AI4G (spring terminal block) expansion module feature
4 analog input channels with 12-bit resolution.
The channel input types are:
0...10 V
-10...+10 V
0...20 mA
4...20 mA
For further hardware information, refer to TM3AI4 / TM3AI4G (see Modicon TM3,
Analog I/O Modules, Hardware Guide).
NOTE: For example, if you have physically wired the analog channel for a voltage signal and you
configure the channel for a current signal in SoMachine Basic, 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.
EIO0000001396 07/2014 35
TM3 Analog I/O Modules Configuration
1 The 12-bit data (0 to 4095) processed in the analog I/O module can be linear-converted to a value
36 EIO0000001396 07/2014
TM3 Analog I/O Modules Configuration
TM3AI8 / TM3AI8G
Introduction
The TM3AI8 (screw terminal block) / TM3AI8G (spring terminal block) expansion module feature
8 analog input channels with 12-bit resolution.
The channel input types are:
0...10 V
-10...+10 V
0...20 mA
4...20 mA
For further hardware information, refer to TM3AI8 / TM3AI8G (see Modicon TM3,
Analog I/O Modules, Hardware Guide).
NOTE: For example, if you have physically wired the analog channel for a voltage signal and you
configure the channel for a current signal in SoMachine Basic, 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.
EIO0000001396 07/2014 37
TM3 Analog I/O Modules Configuration
1 The 12-bit data (0 to 4095) processed in the analog I/O module can be linear-converted to a value
38 EIO0000001396 07/2014
TM3 Analog I/O Modules Configuration
TM3TI4 / TM3TI4G
Introduction
The TM3TI4 (screw terminal block) / TM3TI4G (spring terminal block) expansion module feature 4
analog input channels with 16-bit resolution.
The channel input types are:
0...10 V
-10...+10 V
0...20 mA
4...20 mA
K thermocouple
J thermocouple
R thermocouple
S thermocouple
B thermocouple
E thermocouple
T thermocouple
N thermocouple
C thermocouple
PT100
PT1000
NI100
NI1000
For further hardware information, refer to TM3TI4 / TM3TI4G (see Modicon TM3,
Analog I/O Modules, Hardware Guide).
NOTE: For example, if you have physically wired the analog channel for a voltage signal and you
configure the channel for a current signal in SoMachine Basic, 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.
EIO0000001396 07/2014 39
TM3 Analog I/O Modules Configuration
40 EIO0000001396 07/2014
TM3 Analog I/O Modules Configuration
Programming tab: Displaying Configuration Details in the Programming Tab (see page 26)
describes how to view and update programming-related properties of these modules.
EIO0000001396 07/2014 41
TM3 Analog I/O Modules Configuration
TM3TI8T / TM3TI8TG
Introduction
The TM3TI8T (screw terminal block) / TM3TI8TG (spring terminal block) expansion module feature
8 analog input channels with 16-bit resolution.
The channel input types are:
K thermocouple
J thermocouple
R thermocouple
S thermocouple
B thermocouple
E thermocouple
T thermocouple
N thermocouple
C thermocouple
NTC thermistor
PTC thermistor
For further hardware information, refer to TM3TI8T / TM3TI8TG (see Modicon TM3,
Analog I/O Modules, Hardware Guide).
NOTE: For example, if you have physically wired the analog channel for a voltage signal and you
configure the channel for a current signal in SoMachine Basic, 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.
42 EIO0000001396 07/2014
TM3 Analog I/O Modules Configuration
EIO0000001396 07/2014 43
TM3 Analog I/O Modules Configuration
Programming tab: Displaying Configuration Details in the Programming Tab (see page 26)
describes how to view and update programming-related properties of these modules.
NTC Probe
The temperature (Tm) varies in relation to the resistance (r) following the equation below:
Where:
Tm = temperature measured by the probe, in Kelvin
r = physical value of the resistance in Ohm
R (Resistance parameter) = reference resistance in Ohm at temperature T
T (Temperature parameter) = reference temperature in Kelvin
B (Sensitivity parameter) = sensitivity of the NTC probe in Kelvin
44 EIO0000001396 07/2014
TM3 Analog I/O Modules Configuration
Section 3.2
TM3 Analog Output Modules
EIO0000001396 07/2014 45
TM3 Analog I/O Modules Configuration
TM3AQ2 / TM3AQ2G
Introduction
The TM3AQ2 (screw terminal block) / TM3AQ2G (spring terminal block) expansion module feature
2 analog output channels with 12-bit resolution.
The channel output types are:
0...10 V
-10...+10 V
0...20 mA
4...20 mA
For further hardware information, refer to TM3AQ2 / TM3AQ2G (see Modicon TM3,
Analog I/O Modules, Hardware Guide).
NOTE: For example, if you have physically wired the analog channel for a voltage signal and you
configure the channel for a current signal in SoMachine Basic, 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.
46 EIO0000001396 07/2014
TM3 Analog I/O Modules Configuration
0 - 20 mA 20000
4 - 20 mA 20000
Fallback value Min....Max. If Min. value ≤0: 0 Specifies the fallback value of the
If Min. value > 0: Min. value output channel.
1 The 12-bit data (0 to 4095) processed in the analog I/O module can be linear-converted to a value
EIO0000001396 07/2014 47
TM3 Analog I/O Modules Configuration
TM3AQ4 / TM3AQ4G
Introduction
The TM3AQ4 (screw terminal block) / TM3AQ4G (spring terminal block) expansion module feature
4 analog output channels with 12-bit resolution.
The channel output types are:
0...10 V
-10...+10 V
0...20 mA
4...20 mA
For further hardware information, refer to TM3AQ4 / TM3AQ4G (see Modicon TM3,
Analog I/O Modules, Hardware Guide).
NOTE: For example, if you have physically wired the analog channel for a voltage signal and you
configure the channel for a current signal in SoMachine Basic, 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.
48 EIO0000001396 07/2014
TM3 Analog I/O Modules Configuration
1
The 12-bit data (0 to 4095) processed in the analog I/O module can be linear-converted to a value
between -32768 and 32767.
Programming tab: Displaying Configuration Details in the Programming Tab (see page 26)
describes how to view and update programming-related properties of these modules.
EIO0000001396 07/2014 49
TM3 Analog I/O Modules Configuration
Section 3.3
TM3 Analog Mixed Input/Output Modules
50 EIO0000001396 07/2014
TM3 Analog I/O Modules Configuration
TM3AM6 / TM3AM6G
Introduction
The TM3AM6 (screw terminal block) / TM3AM6G (spring terminal block) expansion module feature
4 analog input channels and 2 analog output channels with 12-bit resolution.
The channel input types are:
0...10 V
-10...+10 V
0...20 mA
4...20 mA
For further hardware information, refer to TM3AM6 / TM3AM6G (see Modicon TM3,
Analog I/O Modules, Hardware Guide).
NOTE: For example, if you have physically wired the analog channel for a voltage signal and you
configure the channel for a current signal in SoMachine Basic, 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.
EIO0000001396 07/2014 51
TM3 Analog I/O Modules Configuration
1 The 12-bit data (0 to 4095) processed in the analog I/O module can be linear-converted to a value
52 EIO0000001396 07/2014
TM3 Analog I/O Modules Configuration
0 - 20 mA 20000
4 - 20 mA 20000
Fallback value Min....Max. If Min. value ≤0: 0 Specifies the fallback value of
If Min. value > 0: Min. value the output channel.
1 The 12-bit data (0 to 4095) processed in the analog I/O module can be linear-converted to a value
EIO0000001396 07/2014 53
TM3 Analog I/O Modules Configuration
TM3TM3 / TM3TM3G
Introduction
The TM3TM3 (screw terminal block) / TM3TM3G (spring terminal block) expansion module feature
2 analog input channels with 16-bit resolution and 1 analog output with 12-bit resolution.
The channel input types are:
0...10 V
-10...+10 V
0...20 mA
4...20 mA
K thermocouple
J thermocouple
R thermocouple
S thermocouple
B thermocouple
E thermocouple
T thermocouple
N thermocouple
C thermocouple
PT100
PT1000
NI100
NI1000
For further hardware information, refer to TM3TM3 / TM3TM3G (see Modicon TM3,
Analog I/O Modules, Hardware Guide).
NOTE: For example, if you have physically wired the analog channel for a voltage signal and you
configure the channel for a current signal in SoMachine Basic, 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.
54 EIO0000001396 07/2014
TM3 Analog I/O Modules Configuration
EIO0000001396 07/2014 55
TM3 Analog I/O Modules Configuration
56 EIO0000001396 07/2014
TM3 Analog I/O Modules Configuration
0 - 20 mA 0
4 - 20 mA 4000
Max. 0 - 10 V -32768...327671 10000 Specifies the upper measurement
limit.
-10 - +10 V 10000
0 - 20 mA 20000
4 - 20 mA 20000
Fallback value Min....Max. If Min. value ≤0: 0 Specifies the fallback value of the
If Min. value > 0: Min. output channel.
value
1 The 12-bit data (0 to 4095) processed in the analog I/O module can be linear-converted to a value
EIO0000001396 07/2014 57
TM3 Analog I/O Modules Configuration
Section 3.4
TM3 Analog I/O Modules Diagnostic
Introduction
The operating status of each I/O channel is given by the diagnostic bytes in the I/O Mapping tab:
%IWSx.y for input channel y of module x
%QWSx.y for output channel y of module x
58 EIO0000001396 07/2014
TM3 Analog I/O Modules Configuration
EIO0000001396 07/2014 59
TM3 Analog I/O Modules Configuration
60 EIO0000001396 07/2014
Modicon TM3 (SoMachine Basic)
TM3 Expert I/O Modules Configuration
EIO0000001396 07/2014
Chapter 4
TM3 Expert I/O Modules Configuration
Introduction
This chapter describes how to configure the TM3 expert I/O modules (see page 19).
EIO0000001396 07/2014 61
TM3 Expert I/O Modules Configuration
62 EIO0000001396 07/2014
Modicon TM3 (SoMachine Basic)
TM3 Safety Modules Configuration
EIO0000001396 07/2014
Chapter 5
TM3 Safety Modules Configuration
Introduction
This chapter describes how to configure the TM3 Safety Modules (see page 19).
EIO0000001396 07/2014 63
TM3 Safety Modules Configuration
Section 5.1
Configuration: TM3 Safety Modules
Introduction
For more information on the terms methods used concerning functional safety as they apply to the
TM3 Safety Modules, refer to the TM3 Safety Modules Hardware Guide.
64 EIO0000001396 07/2014
TM3 Safety Modules Configuration
Section 5.2
General Principles: TM3 Safety Functionality Modes
EIO0000001396 07/2014 65
TM3 Safety Modules Configuration
Interlock
Description
In 2 channel operation, both inputs related to both channels must be seen open before a safety
cycle can be started and the output can be closed. This functionality ensures that the output circuit
cannot be activated if one of the input channels is not able to be open (for example in case of
contact malfunction or short circuit).
The interlock function checks if both K1 and K2 relays are open before the safety cycle. In case of
short power-supply interruption, one of the relays may be off while the other remains on. To allow
the operation of the module on power return, the power-supply interruption should be at least
100 ms in duration.
Power Cycle
The interlock condition is reset by a power cycle. Information about a possible malfunction
detected, provided by the interlock, is interrupted and not recovered before the next safety cycle.
Reset
The logic controller can request to reset the safety module by communicating with the safety
module on the TM3 Bus.
When the reset signal is active, both safety module internal relays are deactivated.
The reset signal can be used to reset the module after the activation of the interlock function.
NOTE: The reset signal overwrites an activated interlock function. Information about a possible
malfunction detected, provided by the interlock, is interrupted and not recovered before the next
safety cyle.
The interruption of the interlock function could lead to the degradation of the safety level of the
system. The reset of this function should only be done manually after verification of the intended
functionality.
WARNING
UNINTENDED EQUIPMENT OPERATION
Do not use the reset function to reset an interlock programmatically.
Always verify the interlock notification before using the reset function.
Failure to follow these instructions can result in death, serious injury, or equipment
damage.
66 EIO0000001396 07/2014
TM3 Safety Modules Configuration
Start
Description
Two modes are available for the start functionality:
Non-monitored start: When non-monitored, the start mode can be:
Manually controlled (conditioned by the input state)
Automatic (hardwired)
Monitored start: When monitored, the start mode is manually controlled (conditioned by the input
edge).
This figure represents the events sequence for the two start modes available:
Events description:
1. Monitored start condition is triggered by a falling edge on the start input.
2. Non-monitored start condition is available as long as the start input is on.
The start condition can be valid before the safety-related input.
3. The outputs get activated only if start + safety-related input conditions are valid.
NOTE: For a monitored start, the falling edge on the start input must appear within 20 seconds
(± 5 seconds) after activation of the start input at nominal supply voltage.
Both the safety conditions and the start conditions must be valid before allowing the activation of
outputs.
WARNING
UNINTENDED EQUIPMENT OPERATION
Do not use either the monitored start or the non-monitored start as a safety function.
Failure to follow these instructions can result in death, serious injury, or equipment
damage.
EIO0000001396 07/2014 67
TM3 Safety Modules Configuration
This figure represents how to connect a switch on a TM3 safety module to configure a manual non-
monitored start:
Automatic Start
There is no start interlock when automatic start is used. After a power cycle, the output behavior
depends solely on the state of the inputs.
WARNING
UNINTENDED EQUIPMENT OPERATION
Do not use automatic start if a start interlock is required in your application after a power cycle.
Failure to follow these instructions can result in death, serious injury, or equipment
damage.
The module is in automatic start mode if the start input is permanently closed (hardwired).
This figure represents how to connect a switch on a TM3 safety module to configure an automatic
start:
68 EIO0000001396 07/2014
TM3 Safety Modules Configuration
Monitored Start
In monitored start mode, the outputs are activated when:
All required inputs are closed
A falling edge is applied to the start input. A falling edge means that the start switch is pressed
and released again.
At nominal supply voltage, the start switch must be released within 20 seconds (± 5 seconds) after
it has been closed. The exact delay depends on supply voltage and ambient temperature.
This figure represents how to connect a switch on a TM3 safety module to configure a monitored
start (when available on the module):
EIO0000001396 07/2014 69
TM3 Safety Modules Configuration
Description
External device monitoring functionality is used to ensure that external contactors controlled by the
safety module outputs are able to interrupt the safety circuit. This functionality is implemented by
adding the external contactor feedback to the start condition of the safety module.
The external contactor must provide a feedback through a normally closed auxiliary contact forcibly
guided by its normally open safety contact. The start condition is valid only when the external
feedback (normally closed) is closed.
External device monitoring can be performed on:
1 channel.
External feedback is provided to the start condition.
2 channels for short circuit detection.
External feedback is provided to the start condition and to the S4 input.
NOTE: The state of the external device is only monitored when the safety module is analyzing the
start condition validity. When outputs are activated, the external device is not monitored.
K3 External contactor with a normally closed feedback and normally open safety contact
K4 External contactor with a normally closed feedback and normally open safety contact
S2 Start switch
(1) Safety outputs
70 EIO0000001396 07/2014
TM3 Safety Modules Configuration
K3 External contactor with a normally closed feedback and normally open safety contact
K4 External contactor with a normally closed feedback and normally open safety contact
S2 Start switch
(1) Safety outputs
EIO0000001396 07/2014 71
TM3 Safety Modules Configuration
Description
The synchronization time monitoring is relevant for 2 channel applications. It monitors both inputs
to determine that they are activated simultaneously (within a defined time).
When the synchronization time monitoring is enabled, the outputs are allowed to be activated if
both input S2 (S21-S22) and input S3 (S31-S32) are activated within 2 or 4 seconds. The defined
time depends on which input is activated first as explained in the following figure. The outputs are
not activated if the synchronization time is expired.
This figure represents the synchronization time monitoring chronogram on a TM3SAK6R• module
in a 2 channel application:
Events description:
1. S2 operated before S3
2. S3 operated before S2
3. Outputs are not activated because the synchronization time is expired.
The synchronization time monitoring allows to detect a closed input without intention (short circuit)
before the activation of the other input.
WARNING
MISUSE OF THE INTERNAL SYNCHRONIZATION TIME CONDITION
Do not use the synchronization time monitoring to control safety-related operations.
Failure to follow these instructions can result in death, serious injury, or equipment
damage.
When enabled, the synchronization time is monitored by the module internal safety-related
microcontroller.
In a 2 channel application, S2 and S3 simultaneous activation is monitored if SyncOn bit is set to 1.
72 EIO0000001396 07/2014
TM3 Safety Modules Configuration
Section 5.3
General Principles: TM3 Safety Operation Modes
EIO0000001396 07/2014 73
TM3 Safety Modules Configuration
Power-On Condition
Description
When applying power to the safety module, the outputs are activated only if these four conditions
are fulfilled:
The start condition (see page 67) is valid.
The safety conditions (safety-related inputs) indicate to activate the outputs.
The internal enable (see page 75) condition is valid.
WARNING
UNINTENDED EQUIPMENT OPERATION
Do not use automatic start if a start interlock is required in your application after a power cycle.
Failure to follow these instructions can result in death, serious injury, or equipment
damage.
74 EIO0000001396 07/2014
TM3 Safety Modules Configuration
Enable Condition
Description
The enable condition is a module internal control required to allow the internal relays to be switched
on. The internal relays can only be switched on if the following conditions are fulfilled:
The start condition (see page 67) is valid.
The safety conditions (safety-related inputs) indicate to activate the outputs.
The internal enable condition is valid.
Once the safety outputs are activated, they are deactivated if either the enable condition is not valid
or the safety conditions are no longer valid.
Enable Condition
The enable condition is set by the logic controller through a communication with the safety module
on the TM3 Bus.
WARNING
MISUSE OF THE INTERNAL ENABLE CONDITION
Do not use the internal enable condition, transacted over the TM3 Bus, to control safety-related
operations.
Failure to follow these instructions can result in death, serious injury, or equipment
damage.
The enable condition is enabled by the system logic controller through a communication on the
TM3 Bus.
The enable condition is disabled by:
The system logic controller through a communication on the TM3 Bus.
The module internal safety-related microcontroller when:
The synchronization time (see page 72) is enabled and a time-out occurs.
The TM3 Bus time-out occurs.
EIO0000001396 07/2014 75
TM3 Safety Modules Configuration
Description
This figure represents the response time (tr) between the opening of one input (safety condition
invalid) and all outputs deactivation:
NOTE: tr ≤20 ms
76 EIO0000001396 07/2014
TM3 Safety Modules Configuration
On Delay Description
On delay represents the time elapsed between the enabling of the condition for activation and the
activation of the outputs.
NOTE: On delay ≤100 ms
EIO0000001396 07/2014 77
TM3 Safety Modules Configuration
Section 5.4
I/O Mapping: TM3 Safety Modules
Overview
The diagnostic is not safety-related and provides information on:
Power supply voltage (in or out voltage tolerance)
TM3 Bus communication status
Relays state (energized or not)
Inputs state (open or closed)
WARNING
UNINTENDED EQUIPMENT OPERATION
Do not use the data transferred over the TM3 Bus for any functional safety-related task(s).
Failure to follow these instructions can result in death, serious injury, or equipment
damage.
This table describes the diagnostic data transferred by the TM3SAC5R• module on the TM3 Bus:
Bit Description
%Ix.0 Safety outputs active (on)
%Ix.1 Power supply available
%Ix.2 Power supply out of tolerance
%Ix.3 Not applicable
%Ix.4 Not applicable
%Ix.5 Start active
%Ix.6 Relay K1 activated
%Ix.7 Relay K2 activated
%Ix.8 Reserved
78 EIO0000001396 07/2014
TM3 Safety Modules Configuration
Bit Description
%Ix.9 Reserved
%Ix.10 Reserved
%Ix.11 Reserved
%Ix.12 Waiting for start condition (see page 67)
%Ix.13 Not applicable
%Ix.14 Reserved
%Ix.15 Reserved
Bit Description
%Qx.0 TRUE enables the activation of safety outputs.
%Qx.1 TRUE resets the module: current source switched off, outputs deactivated, and
interlock reset.
%Qx.2 TRUE defines that the safety function remains active even when the TM3 Bus is
unavailable.
WARNING
UNINTENDED EQUIPMENT OPERATION
Do not use the data transferred over the TM3 Bus for any functional safety-related task(s).
Failure to follow these instructions can result in death, serious injury, or equipment
damage.
This table describes the diagnostic data transferred by the TM3SAF5R• module on the TM3 Bus:
Bit Description
%Ix.0 Safety outputs active (on)
%Ix.1 Power supply available
%Ix.2 Power supply out of tolerance
%Ix.3 Channel 1 active
%Ix.4 Channel 2 active
%Ix.5 Start active
%Ix.6 Relay K1 activated
EIO0000001396 07/2014 79
TM3 Safety Modules Configuration
Bit Description
%Ix.7 Relay K2 activated
%Ix.8 Reserved
%Ix.9 S1 (S11-S12) input active
%Ix.10 S2 (S21-S22) input active
%Ix.11 S4 (S31-S32) input active
%Ix.12 Waiting for start condition (see page 67)
%Ix.13 Not applicable
%Ix.14 Reserved
%Ix.15 Reserved
Bit Description
%Qx.0 TRUE enables the activation of safety outputs.
%Qx.1 TRUE resets the module: current source switched off, outputs deactivated, and
interlock reset.
%Qx.2 TRUE defines that the safety function remains active even when the TM3 Bus is
unavailable.
80 EIO0000001396 07/2014
TM3 Safety Modules Configuration
WARNING
UNINTENDED EQUIPMENT OPERATION
Do not use the data transferred over the TM3 Bus for any functional safety-related task(s).
Failure to follow these instructions can result in death, serious injury, or equipment
damage.
This table describes the diagnostic data transferred by the TM3SAFL5R• module on the TM3 Bus:
Bit Description
%Ix.0 Safety outputs active (on)
%Ix.1 Power supply available
%Ix.2 Power supply out of tolerance
%Ix.3 Channel 1 active
%Ix.4 Channel 2 active
%Ix.5 Start active
%Ix.6 Relay K1 activated
%Ix.7 Relay K2 activated
%Ix.8 S1 (S11-S12) input active
%Ix.9 Reserved
%Ix.10 S2 (S21-S22) input active
%Ix.11 S4 (S31-S32) input active
%Ix.12 Waiting for start condition (see page 67)
%Ix.13 Not applicable
%Ix.14 Reserved
%Ix.15 Reserved
Bit Description
%Qx.0 TRUE enables the activation of safety outputs.
%Qx.1 TRUE resets the module: current source switched off, outputs deactivated, and
interlock reset.
%Qx.2 TRUE defines that the safety function remains active even when the TM3 Bus is
unavailable.
EIO0000001396 07/2014 81
TM3 Safety Modules Configuration
WARNING
UNINTENDED EQUIPMENT OPERATION
Do not use the data transferred over the TM3 Bus for any functional safety-related task(s).
Failure to follow these instructions can result in death, serious injury, or equipment
damage.
This table describes the diagnostic data transferred by each TM3SAK6R• module on the TM3 Bus:
Bit Description
%Ix.0 Safety outputs active (on)
%Ix.1 Power supply available
%Ix.2 Power supply out of tolerance
%Ix.3 Channel 1 active
%Ix.4 Channel 2 active
%Ix.5 Start active
%Ix.6 Relay K1 activated
%Ix.7 Relay K2 activated
%Ix.8 S1 (S11-S12) input active
%Ix.9 S2 (S21-S22) input active
%Ix.10 S3 (S31-S32) input active
%Ix.11 S4 (S41-S42) input active
%Ix.12 Waiting for start condition (see page 67)
%Ix.13 Synchronization time expired (see page 72)
%Ix.14 Reserved
%Ix.15 Reserved
Bit Description
%Qx.0 TRUE enables the activation of safety outputs.
%Qx.1 TRUE resets the module: current source switched off, outputs deactivated, and interlock reset.
%Qx.2 TRUE defines that the safety function remains active even when the TM3 Bus is unavailable.
%Qx.3 TRUE enables the synchronization time monitoring of S2 and S3 inputs.
82 EIO0000001396 07/2014
Modicon TM3 (SoMachine Basic)
TM3 Expert I/O Modules Configuration
EIO0000001396 07/2014
Chapter 6
TM3 Transmitter and Receiver I/O Modules Configuration
Introduction
This chapter describes how to configure the TM3 transmitter and receiver I/O modules
(see page 20).
EIO0000001396 07/2014 83
TM3 Expert I/O Modules Configuration
Introduction
The TM3XTRA1 transmitter module is equipped with:
1 RJ-45 connector
1 functional ground screw
2 status LEDs (link and power)
The transmitter expansion module is connected to the logic controller through the TM3 bus.The
transmitter must be the last physical module directly connected to the logic controller.
The receiver module is connected to the transmitter module using a specific cable
(VDIP1845460••).
Additional TM3 modules can then be connected to the receiver module through the extended TM3
bus.
NOTE: You cannot use TM2 expansion modules in configurations that include the TM3
transmitter/receiver modules.
84 EIO0000001396 07/2014
TM3 Expert I/O Modules Configuration
Overview
The following exceptional behaviors can occur with TM3 transmitter and receiver modules:
Transmitter/receiver cable disconnected or broken during operation
Removing receiver module power during operation
Receiver module disconnected during startup
Receiver module powered on after the controller
The TM3 modules before the transmitter module are called "Local", and those after the receiver
module are called "Remote".
The I/O that may be embedded in your controller is independent of the I/O that you may have
added in the form of I/O expansion. It is important that the logical I/O configuration within your
program matches the physical I/O configuration of your installation. If you add or remove any
physical I/O to or from the I/O expansion bus, update your application configuration (this is also
true for any field bus devices you may have in your installation). Otherwise, there is the potential
that the expansion bus or field bus will no longer function while the embedded I/O that may be
present in your controller will continue to operate.
WARNING
UNINTENDED EQUIPMENT OPERATION
Update the configuration of your program each time you add or delete an I/O expansion, 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.
EIO0000001396 07/2014 85
TM3 Expert I/O Modules Configuration
86 EIO0000001396 07/2014
Modicon TM3 (SoMachine Basic)
Glossary
EIO0000001396 07/2014
Glossary
A
application
A program including configuration data, symbols, and documentation.
C
configuration
The arrangement and interconnection of hardware components within a system and the hardware
and software parameters that determine the operating characteristics of the system.
controller
Automates industrial processes (also known as programmable logic controller or programmable
controller).
D
digital I/O
(digital input/output) An individual circuit connection at the electronic module that corresponds
directly to a data table bit. The data table bit holds the value of the signal at the I/O circuit. It gives
the control logic digital access to I/O values.
E
expansion bus
An electronic communication bus between expansion I/O modules and a controller.
H
HE10
Rectangular connector for electrical signals with frequencies below 3 MHz, complying with IEC
60807-2.
I
I/O
(input/output)
EIO0000001396 07/2014 87
Glossary
P
program
The component of an application that consists of compiled source code capable of being installed
in the memory of a logic controller.
R
RJ-45
A standard type of 8-pin connector for network cables defined for Ethernet.
T
terminal block
(terminal block) The component that mounts in an electronic module and provides electrical
connections between the controller and the field devices.
88 EIO0000001396 07/2014
Modicon TM3 (SoMachine Basic)
Index
EIO0000001396 07/2014
Index
A displaying
programming details, 26
addressing
when moving modules, 21
analog input modules E
specifications, 16
EDM
analog mixed I/O modules
external device monitoring, 70
specifications, 18
enable, 75
analog output modules
expansion modules
specifications, 17
configuring, 24
automatic
external device monitoring
start, 67
EDM, 70
B F
bus speed, 22
fallback
values, configuring, 25
C
comments H
displaying, 26
hardware tree, 21
configuration, 29, 64, 84
configuring
digital I/Os, 24
digital inputs, 24
I
fallback values, 25 I/O bus speed, 22
I/O configuration general information, 13
general practices, 12
D inserting a module, 21
interlock, 66
delay
on, 77
restart, 77
device tree, 27
L
diagnostic logic controller
TM3 safety modules, 78 adding to SoMachine Basic configuration,
digital I/O modules 21, 27
specifications, 13, 14, 15, 19, 20 adding transmitter/receiver, 27
digital inputs embedded I/Os, 21
configuring, 24
digital outputs
configuring fallback values for, 25
M
maximum number of modules, 23
EIO0000001396 07/2014 89
Index
90 EIO0000001396 07/2014