modicon tm3 eio0000001402 03/208 modicon tm3 · 1 day ago · data, only the manufacturer should...

116
EIO0000001402.09 www.schneider-electric.com Modicon TM3 EIO0000001402 03/208 Modicon TM3 Expansion Modules Programming Guide 03/2018

Upload: others

Post on 16-Feb-2021

18 views

Category:

Documents


0 download

TRANSCRIPT

  • Modicon TM3

    EIO0000001402 03/208

    EIO

    0000

    0014

    02.0

    9

    www.schneider-electric.com

    Modicon TM3Expansion ModulesProgramming Guide03/2018

  • 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.© 2018 Schneider Electric. All Rights Reserved.

    2 EIO0000001402 03/2018

  • Table of Contents

    Safety Information. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5About the Book . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

    Chapter 1 I/O Configuration General Information . . . . . . . . . . . . . . 11I/O Configuration General Practices . . . . . . . . . . . . . . . . . . . . . . . . . . 12General Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13Adding an Expansion Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23Optional I/O Expansion Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26

    Chapter 2 TM3 Digital I/O Modules Configuration. . . . . . . . . . . . . . 29Configuring the TM3 Digital I/O Modules. . . . . . . . . . . . . . . . . . . . . . . 29

    Chapter 3 TM3 Analog I/O Modules Configuration . . . . . . . . . . . . . 313.1 TM3 Analog Input Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32

    TM3AI2H / TM3AI2HG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33TM3AI4 / TM3AI4G . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35TM3AI8 / TM3AI8G . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38TM3TI4 / TM3TI4G . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41TM3TI4D / TM3TI4DG. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45TM3TI8T / TM3TI8TG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48

    3.2 TM3 Analog Output Modules. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55TM3AQ2 / TM3AQ2G . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56TM3AQ4 / TM3AQ4G . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58

    3.3 TM3 Analog Mixed Input/Output Modules . . . . . . . . . . . . . . . . . . . . . . 61TM3AM6 / TM3AM6G . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62TM3TM3 / TM3TM3G . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66

    3.4 TM3 Analog I/O Modules Diagnostic . . . . . . . . . . . . . . . . . . . . . . . . . . 70Analog I/O Modules Diagnostics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70

    Chapter 4 TM3 Expert I/O Modules Configuration . . . . . . . . . . . . . 73TM3XTYS4 Module Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74TM3XTYS4 Module Configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . 75FB_TesysU: Control the TM3 Expert I/O Module . . . . . . . . . . . . . . . . 78

    Chapter 5 TM3 Safety Modules Configuration . . . . . . . . . . . . . . . . 815.1 Configuration: TM3 Safety Modules . . . . . . . . . . . . . . . . . . . . . . . . . . 82

    Configuring the TM3 Safety Modules . . . . . . . . . . . . . . . . . . . . . . . . . 82

    EIO0000001402 03/2018 3

  • 5.2 General Principles: TM3 Safety Functionality Modes . . . . . . . . . . . . . 83Interlock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84Start . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85External Device Monitoring (EDM). . . . . . . . . . . . . . . . . . . . . . . . . . . . 88Synchronization Time Monitoring for TM3SAK6R / TM3SAK6RG. . . . 90

    5.3 General Principles: TM3 Safety Operation Modes . . . . . . . . . . . . . . . 92Power-On Condition. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93Enable Condition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94Output Response Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95On Delay and Restart Delay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96

    5.4 I/O Mapping: TM3 Safety Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . 97TM3SAC5R / TM3SAC5RG I/O Mapping . . . . . . . . . . . . . . . . . . . . . . 98TM3SAF5R / TM3SAF5RG I/O Mapping . . . . . . . . . . . . . . . . . . . . . . . 99TM3SAFL5R / TM3SAFL5RG I/O Mapping . . . . . . . . . . . . . . . . . . . . . 101TM3SAK6R / TM3SAK6RG I/O Mapping. . . . . . . . . . . . . . . . . . . . . . . 102

    5.5 Function Blocks: TM3 Safety Modules. . . . . . . . . . . . . . . . . . . . . . . . . 103TM3_Safety: Control the TM3 Safety Module . . . . . . . . . . . . . . . . . . . 104TM3_SAx: Get the name of the I/O . . . . . . . . . . . . . . . . . . . . . . . . . . . 106

    Chapter 6 TM3 Transmitter and Receiver I/O Modules Configuration 107Compatibility of the TM3 Transmitter and Receiver Modules . . . . . . . 108Configuring the TM3 Transmitter and Receiver I/O Modules. . . . . . . . 109Behavior of the TM3 Transmitter and Receiver Modules. . . . . . . . . . . 110

    Glossary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115

    4 EIO0000001402 03/2018

  • Safety Information

    Important Information

    NOTICERead 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.

    EIO0000001402 03/2018 5

  • PLEASE NOTEElectrical 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 EIO0000001402 03/2018

  • About the Book

    At a Glance

    Document ScopeThis document describes the configuration of the TM3 expansion modules for SoMachine. For further information, refer to the separate documents provided in the SoMachine online help.

    Validity NoteThis document has been updated for the release of TM3TI4D Add-on for SoMachine V4.3.

    Related Documents

    Title of Documentation Reference NumberTM3 Digital I/O Modules - Hardware Guide EIO0000001408 (ENG)

    EIO0000001409 (FRE)EIO0000001410 (GER)EIO0000001411 (SPA)EIO0000001412 (ITA)EIO0000001413 (CHS)EIO0000001376 (POR)EIO0000001377 (TUR)

    TM3 Analog I/O Modules - Hardware Guide EIO0000001414 (ENG)EIO0000001415 (FRE)EIO0000001416 (GER)EIO0000001417 (SPA)EIO0000001418 (ITA)EIO0000001419 (CHS)EIO0000001378 (POR)EIO0000001379 (TUR)

    TM3 Expert Modules - Hardware Guide EIO0000001420 (ENG)EIO0000001421 (FRE)EIO0000001422 (GER)EIO0000001423 (SPA)EIO0000001424 (ITA)EIO0000001425 (CHS)EIO0000001380 (POR)EIO0000001381 (TUR)

    EIO0000001402 03/2018 7

    http://www.schneider-electric.com/ww/en/download/document/EIO0000001408http://www.schneider-electric.com/ww/en/download/document/EIO0000001409http://www.schneider-electric.com/ww/en/download/document/EIO0000001410http://www.schneider-electric.com/ww/en/download/document/EIO0000001411http://www.schneider-electric.com/ww/en/download/document/EIO0000001412http://www.schneider-electric.com/ww/en/download/document/EIO0000001413http://www.schneider-electric.com/ww/en/download/document/EIO0000001376http://www.schneider-electric.com/ww/en/download/document/EIO0000001377http://www.schneider-electric.com/ww/en/download/document/EIO0000001414http://www.schneider-electric.com/ww/en/download/document/EIO0000001415http://www.schneider-electric.com/ww/en/download/document/EIO0000001416http://www.schneider-electric.com/ww/en/download/document/EIO0000001417http://www.schneider-electric.com/ww/en/download/document/EIO0000001418http://www.schneider-electric.com/ww/en/download/document/EIO0000001419http://www.schneider-electric.com/ww/en/download/document/EIO0000001378http://www.schneider-electric.com/ww/en/download/document/EIO0000001379http://www.schneider-electric.com/ww/en/download/document/EIO0000001420http://www.schneider-electric.com/ww/en/download/document/EIO0000001421http://www.schneider-electric.com/ww/en/download/document/EIO0000001422http://www.schneider-electric.com/ww/en/download/document/EIO0000001423http://www.schneider-electric.com/ww/en/download/document/EIO0000001424http://www.schneider-electric.com/ww/en/download/document/EIO0000001425http://www.schneider-electric.com/ww/en/download/document/EIO0000001380http://www.schneider-electric.com/ww/en/download/document/EIO0000001381

  • You can download these technical publications and other technical information from our website at https://www.schneider-electric.com/en/download

    Product Related Information

    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.

    TM3 Safety Modules - Hardware Guide EIO0000001831 (ENG)EIO0000001832 (FRE)EIO0000001833 (GER)EIO0000001834 (SPA)EIO0000001835 (ITA)EIO0000001836 (CHS)EIO0000001837 (POR)EIO0000001838 (TUR)

    TM3 Transmitter and Receiver Modules - Hardware Guide EIO0000001426 (ENG)EIO0000001427 (FRE)EIO0000001428 (GER)EIO0000001429 (SPA)EIO0000001430 (ITA)EIO0000001431 (CHS)EIO0000001382 (POR)EIO0000001383 (TUR)

    Title of Documentation Reference Number

    WARNINGLOSS 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.

    8 EIO0000001402 03/2018

    http://www.schneider-electric.com/ww/en/download/document/EIO0000001831http://www.schneider-electric.com/ww/en/download/document/EIO0000001832http://www.schneider-electric.com/ww/en/download/document/EIO0000001833http://www.schneider-electric.com/ww/en/download/document/EIO0000001834http://www.schneider-electric.com/ww/en/download/document/EIO0000001835http://www.schneider-electric.com/ww/en/download/document/EIO0000001836http://www.schneider-electric.com/ww/en/download/document/EIO0000001837http://www.schneider-electric.com/ww/en/download/document/EIO0000001838http://www.schneider-electric.com/ww/en/download/document/EIO0000001426http://www.schneider-electric.com/ww/en/download/document/EIO0000001427http://www.schneider-electric.com/ww/en/download/document/EIO0000001428http://www.schneider-electric.com/ww/en/download/document/EIO0000001429http://www.schneider-electric.com/ww/en/download/document/EIO0000001430http://www.schneider-electric.com/ww/en/download/document/EIO0000001431http://www.schneider-electric.com/ww/en/download/document/EIO0000001382http://www.schneider-electric.com/ww/en/download/document/EIO0000001383

  • Terminology Derived from StandardsThe 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:

    WARNINGUNINTENDED 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.

    Standard DescriptionEN 61131-2:2007 Programmable controllers, part 2: Equipment requirements and tests.ISO 13849-1:2008 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

    reductionEN 60204-1:2006 Safety of machinery - Electrical equipment of machines - Part 1: General

    requirementsEN 1088:2008ISO 14119:2013

    Safety of machinery - Interlocking devices associated with guards - Principles for design and selection

    ISO 13850:2006 Safety of machinery - Emergency stop - Principles for designEN/IEC 62061:2005 Safety of machinery - Functional safety of safety-related electrical, electronic,

    and electronic programmable control systemsIEC 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:2008 Digital data communication for measurement and control: Functional safety field buses.

    EIO0000001402 03/2018 9

  • In addition, terms used in the present document may tangentially be used as they are derived from other standards such as:

    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.

    2006/42/EC Machinery Directive2014/30/EU Electromagnetic Compatibility Directive2014/35/EU Low Voltage Directive

    Standard DescriptionIEC 60034 series Rotating electrical machinesIEC 61800 series Adjustable speed electrical power drive systemsIEC 61158 series Digital data communications for measurement and control – Fieldbus for use in

    industrial control systems

    Standard Description

    10 EIO0000001402 03/2018

  • Modicon TM3I/O Configuration General InformationEIO0000001402 03/208

    I/O Configuration General Information

    Chapter 1I/O Configuration General Information

    IntroductionThis chapter provides general information to help you configure TM3 expansion modules for SoMachine.

    What Is in This Chapter?This chapter contains the following topics:

    Topic PageI/O Configuration General Practices 12General Description 13Adding an Expansion Module 23Optional I/O Expansion Modules 26

    EIO0000001402 03/2018 11

  • I/O Configuration General Information

    I/O Configuration General Practices

    Match Software and Hardware ConfigurationThe 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 or, depending on the controller reference, to or from the controller (in the form of cartridges), then you must 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.

    Use the GetRightBusStatus function regularly to monitor the expansion bus status.

    Presentation of the Optional Feature for I/O Expansion ModulesI/O expansion modules can be marked as optional in the configuration. The Optional module feature provides a more flexible configuration by the acceptance of the definition of modules that are not physically attached to the logic controller. Therefore, a single application can support multiple physical configurations of I/O expansion modules, allowing a greater degree of scalability without the necessity of maintaining multiple application files for the same application.You must be fully aware of the implications and impacts of marking I/O modules as optional in your application, both when those modules are physically absent and present when running your machine or process. Be sure to include this feature in your risk analysis.

    NOTE: For more details about this feature, refer to Optional I/O Expansion Modules (see page 26).

    WARNINGUNINTENDED EQUIPMENT OPERATIONUpdate 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.

    WARNINGUNINTENDED EQUIPMENT OPERATIONInclude in your risk analysis each of the variations of I/O configurations that can be realized marking I/O expansion modules as optional, and in particular the establishment of TM3 Safety modules (TM3S…) as optional I/O modules, and make a determination whether it is acceptable as it relates to your application.Failure to follow these instructions can result in death, serious injury, or equipment damage.

    12 EIO0000001402 03/2018

  • I/O Configuration General Information

    General Description

    IntroductionThe 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 16)

    Analog modules, classified as follows: Input modules (see page 17) Output modules (see page 18) Mixed input/output modules (see page 19)

    Expert modules (see page 20) Safety modules (see page 21) Transmitter and receiver modules (see page 22)

    TM3 Digital Input ModulesThe following table shows the TM3 digital input expansion modules, with corresponding channel type, nominal voltage/current, and terminal type. For information on configuration of these modules, refer to the TM3 Digital I/O Modules Configuration (see page 29) section.

    Reference Channels Channel Type VoltageCurrent

    Terminal Type / Pitch

    TM3DI8A 8 Regular inputs 120 Vac7.5 mA

    Removable screw terminal block / 5.08 mm

    TM3DI8 8 Regular inputs 24 Vdc7 mA

    Removable screw terminal block / 5.08 mm

    TM3DI8G 8 Regular inputs 24 Vdc7 mA

    Removable spring terminal block / 5.08 mm

    TM3DI16 16 Regular inputs 24 Vdc7 mA

    Removable screw terminal block / 3.81 mm

    TM3DI16G 16 Regular inputs 24 Vdc7 mA

    Removable spring terminal block / 3.81 mm

    TM3DI16K 16 Regular inputs 24 Vdc5 mA

    HE10 (MIL 20) connector

    TM3DI32K 32 Regular inputs 24 Vdc5 mA

    HE10 (MIL 20) connector

    EIO0000001402 03/2018 13

  • I/O Configuration General Information

    TM3 Digital Output ModulesThe following table shows the TM3 digital output modules, with corresponding channel type, nominal voltage/current, and terminal type. For information on configuration of these modules, refer to the TM3 Digital I/O Modules Configuration (see page 29) section.

    Reference Channels Channel Type VoltageCurrent

    Terminal Type / Pitch

    TM3DQ8R 8 Relay outputs 24 Vdc / 240 Vac7 A maximum per common line / 2 A maximum per output

    Removable screw terminal block / 5.08 mm

    TM3DQ8RG 8 Relay outputs 24 Vdc / 240 Vac7 A maximum per common line / 2 A maximum per output

    Removable spring terminal block / 5.08 mm

    TM3DQ8T 8 Regular transistor outputs (source)

    24 Vdc4 A maximum per common line/0.5 A maximum per output

    Removable screw terminal block / 5.08 mm

    TM3DQ8TG 8 Regular transistor outputs (source)

    24 Vdc4 A maximum per common line/0.5 A maximum per output

    Removable spring terminal block / 5.08 mm

    TM3DQ8U 8 Regular transistor outputs (sink)

    24 Vdc4 A maximum per common line/0.5 A maximum per output

    Removable screw terminal block / 5.08 mm

    TM3DQ8UG 8 Regular transistor outputs (sink)

    24 Vdc4 A maximum per common line/0.5 A maximum per output

    Removable spring terminal block / 5.08 mm

    TM3DQ16R 16 Relay outputs 24 Vdc / 240 Vac8 A maximum per common line / 2 A maximum per output

    Removable screw terminal block / 3.81 mm

    TM3DQ16RG 16 Relay outputs 24 Vdc / 240 Vac8 A maximum per common line / 2 A maximum per output

    Removable spring terminal block / 3.81 mm

    TM3DQ16T 16 Regular transistor outputs (source)

    24 Vdc4 A maximum per common line / 0.5 A maximum per output

    Removable screw terminal block / 3.81 mm

    14 EIO0000001402 03/2018

  • I/O Configuration General Information

    TM3DQ16TG 16 Regular transistor outputs (source)

    24 Vdc4 A maximum per common line / 0.5 A maximum per output

    Removable spring terminal block / 3.81 mm

    TM3DQ16U 16 Regular transistor outputs (sink)

    24 Vdc2 A maximum per common line / 0.3 A maximum per output

    Removable screw terminal block / 3.81 mm

    TM3DQ16UG 16 Regular transistor outputs (sink)

    24 Vdc2 A maximum per common line / 0.3 A maximum per output

    Removable spring terminal block / 3.81 mm

    TM3DQ16TK 16 Regular transistor outputs (source)

    24 Vdc2 A maximum per common line / 0.1 A maximum per output

    HE10 (MIL 20) connector

    TM3DQ16UK 16 Regular transistor outputs (sink)

    24 Vdc2 A maximum per common line / 0.1 A maximum per output

    HE10 (MIL 20) connector

    TM3DQ32TK 32 Regular transistor outputs (source)

    24 Vdc2 A maximum per common line / 0.1 A maximum per output

    HE10 (MIL 20) connector

    TM3DQ32UK 32 Regular transistor outputs (sink)

    24 Vdc2 A maximum per common line / 0.1 A maximum per output

    HE10 (MIL 20) connector

    Reference Channels Channel Type VoltageCurrent

    Terminal Type / Pitch

    EIO0000001402 03/2018 15

  • I/O Configuration General Information

    TM3 Digital Mixed Input/Output ModulesThis following table shows the TM3 mixed I/O modules, with corresponding channel type, nominal voltage/current, and terminal type. For information on configuration of these modules, refer to the TM3 Digital I/O Modules Configuration (see page 29) section.

    Reference Channels Channel Type VoltageCurrent

    Terminal Type / Pitch

    TM3DM8R 4 Regular inputs 24 Vdc7 mA

    Removable screw terminal block / 5.08 mm

    4 Relay outputs 24 Vdc / 240 Vac7 A maximum per common line / 2 A maximum per output

    TM3DM8RG 4 Regular inputs 24 Vdc7 mA

    Removable spring terminal block /5.08 mm

    4 Relay outputs 24 Vdc / 240 Vac7 A maximum per common line / 2 A maximum per output

    TM3DM24R 16 Regular inputs 24 Vdc7 mA

    Removable screw terminal block / 3.81 mm

    8 Relay outputs 24 Vdc / 240 Vac7 A maximum per common line / 2 A maximum per output

    TM3DM24RG 16 Regular inputs 24 Vdc7 mA

    Removable spring terminal block / 3.81 mm

    8 Relay outputs 24 Vdc / 240 Vac7 A maximum per common line / 2 A maximum per output

    16 EIO0000001402 03/2018

  • I/O Configuration General Information

    TM3 Analog Input ModulesThe following table shows the TM3 analog input expansion modules, with corresponding channel type, nominal voltage/current, and terminal type. For information on configuration of these modules, refer to the TM3 Analog Input Modules Configuration (see page 32) section.

    Reference Resolution Channels Channel Type

    Mode Terminal Type / Pitch

    TM3AI2H 16 bit, or 15 bit + sign

    2 inputs 0...10 Vdc-10…+10 Vdc0...20 mA4...20 mA

    Removable screw terminal block / 5.08 mm

    TM3AI2HG 16 bit, or 15 bit + sign

    2 inputs 0...10 Vdc-10…+10 Vdc0...20 mA4...20 mA

    Removable spring terminal block / 5.08 mm

    TM3AI4 12 bit, or 11 bit + sign

    4 inputs 0...10 Vdc-10…+10 Vdc0...20 mA4...20 mA

    Removable screw terminal block / 3.81 mm

    TM3AI4G 12 bit, or 11 bit + sign

    4 inputs 0...10 Vdc-10…+10 Vdc0...20 mA4...20 mA

    Removable spring terminal blocks / 3.81 mm

    TM3AI8 12 bit, or 11 bit + sign

    8 inputs 0...10 Vdc-10…+10 Vdc0...20 mA4...20 mA0...20 mA extended4...20 mA extended

    Removable screw terminal block / 3.81 mm

    TM3AI8G 12 bit, or 11 bit + sign

    8 inputs 0...10 Vdc-10…+10 Vdc0...20 mA4...20 mA 0...20 mA extended4...20 mA extended

    Removable spring terminal blocks / 3.81 mm

    TM3TI4 16 bit, or 15 bit + sign

    4 inputs 0...10 Vdc-10…+10 Vdc0...20 mA4...20 mAThermocouplePT100/1000NI100/1000

    Removable screw terminal block / 3.81 mm

    EIO0000001402 03/2018 17

  • I/O Configuration General Information

    TM3 Analog Output ModulesThe following table shows the TM3 analog output modules, with corresponding channel type, nominal voltage/current, and terminal type. For information on configuration of these modules, refer to the TM3 Analog Output Modules Configuration (see page 55) section.

    TM3TI4G 16 bit, or 15 bit + sign

    4 inputs 0...10 Vdc-10…+10 Vdc0...20 mA4...20 mAThermocouplePT100/1000NI100/1000

    Removable spring terminal blocks / 3.81 mm

    TM3TI4D 16 bit, or 15 bit + sign

    4 inputs Thermocouple Removable screw terminal block / 3.81 mm

    TM3TI4DG 16 bit, or 15 bit + sign

    4 inputs Thermocouple Removable spring terminal blocks / 3.81 mm

    TM3TI8T 16 bit, or 15 bit + sign

    8 inputs ThermocoupleNTC/PTC

    Removable screw terminal block / 3.81 mm

    TM3TI8TG 16 bit, or 15 bit + sign

    8 inputs ThermocoupleNTC/PTC

    Removable spring terminal blocks / 3.81 mm

    Reference Resolution Channels Channel Type

    Mode Terminal Type / Pitch

    Reference Resolution Channels Channel Type

    Mode Terminal Type / Pitch

    TM3AQ2 12 bit, or 11 bit + sign

    2 outputs 0...10 Vdc-10…+10 Vdc0...20 mA4...20 mA

    Removable screw terminal block / 5.08 mm

    TM3AQ2G 12 bit, or 11 bit + sign

    2 outputs 0...10 Vdc-10…+10 Vdc0...20 mA4...20 mA

    Removable spring terminal block / 5.08 mm

    18 EIO0000001402 03/2018

  • I/O Configuration General Information

    TM3 Analog Mixed Input/Output ModulesThis following table shows the TM3 analog mixed I/O modules, with corresponding channel type, nominal voltage/current, and terminal type. For information on configuration of these modules, refer to the TM3 Analog Mixed I/O Modules Configuration (see page 61) section.

    TM3AQ4 12 bit, or 11 bit + sign

    4 outputs 0...10 Vdc-10…+10 Vdc0...20 mA4...20 mA

    Removable screw terminal block / 5.08 mm

    TM3AQ4G 12 bit, or 11 bit + sign

    4 outputs 0...10 Vdc-10…+10 Vdc0...20 mA4...20 mA

    Removable spring terminal block / 5.08 mm

    Reference Resolution Channels Channel Type

    Mode Terminal Type / Pitch

    Reference Resolution Channels Channel Type

    Mode Terminal Type / Pitch

    TM3AM6 12 bit, or 11 bit + sign

    4 inputs 0...10 Vdc-10...+10 Vdc0...20 mA4...20 mA

    Removable screw terminal block / 3.81 mm

    2 outputs

    TM3AM6G 12 bit, or 11 bit + sign

    4 inputs 0...10 Vdc-10...+10 Vdc0...20 mA4...20 mA

    Removable spring terminal block / 3.81 mm

    2 outputs

    TM3TM3 16 bit, or 15 bit + sign

    2 inputs 0...10 Vdc-10...+10 Vdc0...20 mA4...20 mAThermocouplePT100/1000NI100/1000

    Removable screw terminal block / 5.08 mm

    12 bit, or 11 bit + sign

    1 output 0...10 Vdc-10...+10 Vdc0...20 mA4...20 mA

    EIO0000001402 03/2018 19

  • I/O Configuration General Information

    TM3 Expert ModulesThe following table shows the TM3 expert expansion modules, with corresponding terminal type. For information on configuration of these modules, refer to the TM3 Expert I/O Modules Configuration (see page 73) section.

    TM3TM3G 16 bit, or 15 bit + sign

    2 inputs 0...10 Vdc-10...+10 Vdc0...20 mA4...20 mAThermocouplePT100/1000NI100/1000

    Removable spring terminal block / 5.08 mm

    12 bit, or 11 bit + sign

    1 output 0...10 Vdc-10...+10 Vdc0...20 mA4...20 mA

    Reference Resolution Channels Channel Type

    Mode Terminal Type / Pitch

    Reference Description Terminal Type / PitchTM3XTYS4 TeSys module 4 front connectors RJ-45

    1 removable power supply connector / 5.08 mm

    20 EIO0000001402 03/2018

  • I/O Configuration General Information

    TM3 Safety ModulesThis table contains the TM3 safety modules (see Modicon TM3, Safety Modules, Hardware Guide), with the corresponding channel type, nominal voltage/current, and terminal type:

    Reference FunctionCategory

    Channels Channel type VoltageCurrent

    Terminal type

    TM3SAC5R 1 function, up to category 3

    1 or 2 (1) Safety input 24 Vdc100 mA maximum

    3.81 mm (0.15 in.) and 5.08 mm (0.20 in.), removable screw terminal block

    Start (2) Input

    3 in parallel Relay outputsNormally open

    24 Vdc / 230 Vac6 A maximum per output

    TM3SAC5RG 1 function, up to category 3

    1 or 2 (1) Safety input 24 Vdc100 mA maximum

    3.81 mm (0.15 in.) and 5.08 mm (0.20 in.), removable spring terminal block

    Start (2) Input

    3 in parallel Relay outputsNormally open

    24 Vdc / 230 Vac6 A maximum per output

    TM3SAF5R 1 function, up to category 4

    2 (1) Safety inputs 24 Vdc100 mA maximum

    3.81 mm (0.15 in.) and 5.08 mm (0.20 in.), removable screw terminal block

    Start Input3 in parallel Relay outputs

    Normally open24 Vdc / 230 Vac6 A maximum per output

    TM3SAF5RG 1 function, up to category 4

    2 (1) Safety inputs 24 Vdc100 mA maximum

    3.81 mm (0.15 in.) and 5.08 mm (0.20 in.), removable spring terminal block

    Start Input3 in parallel Relay outputs

    Normally open24 Vdc / 230 Vac6 A maximum per output

    TM3SAFL5R 2 functions, up to category 3

    2 (1) Safety inputs 24 Vdc100 mA maximum

    3.81 mm (0.15 in.) and 5.08 mm (0.20 in.), removable screw terminal block

    Start Input3 in parallel Relay outputs

    Normally open24 Vdc / 230 Vac6 A maximum per output

    TM3SAFL5RG 2 functions, up to category 3

    2 (1) Safety inputs 24 Vdc100 mA maximum

    3.81 mm (0.15 in.) and 5.08 mm (0.20 in.), removable spring terminal block

    Start Input3 in parallel Relay outputs

    Normally open24 Vdc / 230 Vac6 A maximum per output

    (1) Depending on external wiring(2) Non-monitored start

    EIO0000001402 03/2018 21

  • 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 83) and TM3 Safety Operation Modes (see page 92).

    TM3 Transmitter and Receiver ModulesThe following table shows the TM3 transmitter and receiver expansion modules, with corresponding terminal type. For information on configuration of these modules, refer to the TM3 Transmitter and Receiver I/O Modules Configuration (see page 107) section.

    TM3SAK6R 3 functions, up to category 4

    1 or 2 (1) Safety inputs 24 Vdc100 mA maximum

    3.81 mm (0.15 in.) and 5.08 mm (0.20 in.), removable screw terminal block

    Start Input3 in parallel Relay outputs

    Normally open24 Vdc / 230 Vac6 A maximum per output

    TM3SAK6RG 3 functions, up to category 4

    1 or 2 (1) Safety inputs 24 Vdc100 mA maximum

    3.81 mm (0.15 in.) and 5.08 mm (0.20 in.), removable spring terminal block

    Start Input3 in parallel Relay outputs

    Normally open24 Vdc / 230 Vac6 A maximum per output

    Reference FunctionCategory

    Channels Channel type VoltageCurrent

    Terminal type

    (1) Depending on external wiring(2) Non-monitored start

    Reference Description Terminal Type / PitchTM3XTRA1 Data transmitter module for remote I/O 1 front connector RJ-45

    1 screw for functional ground connection

    TM3XREC1 Data receiver module for remote I/O 1 front connector RJ-451 removable power supply connector / 5.08 mm

    22 EIO0000001402 03/2018

  • I/O Configuration General Information

    Adding an Expansion Module

    Adding a ModuleTo add an expansion module to your controller, select the expansion module 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 SoMachine, Programming Guide)• Using the Contextual Menu or Plus Button (see SoMachine, Programming Guide)

    I/O ConfigurationThe I/O mapping of an expansion module is carried out through the I/O Mapping tab of the expansion module configuration.This table describes how to configure an expansion module:

    I/O Mapping Tab DescriptionThis figure shows the I/O Mapping tab:

    Step Action1 Double-click the expansion module node in the Devices tree to display the I/O Mapping tab.2 Edit the parameters of the I/O Mapping tab to configure the expansion module.

    EIO0000001402 03/2018 23

  • I/O Configuration General Information

    This table describes each parameter of the I/O Mapping tab:

    Parameter DescriptionVariable 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.Create new variable:Double-click the variable to enter the new variable name. A new variable is created if the variable does not already exist.Map to existing variable:Double-click the variable and click [...] to open the Input Assistant window. Select the variable from the list and press OK.This figure shows the Input Assistant window:

    Mapping Indicates whether the channel is mapped on a new variable or an existing variable.Channel Displays the channel name of the device.

    24 EIO0000001402 03/2018

  • I/O Configuration General Information

    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.You can toggle between the following values: No value (empty cell) TRUE FALSE

    Unit Displays the unit of the channel value.Description Allows you to enter a short description of the channel.

    Parameter Description

    EIO0000001402 03/2018 25

  • I/O Configuration General Information

    Optional I/O Expansion Modules

    PresentationI/O expansion modules can be marked as optional in the configuration. The Optional module feature provides a more flexible configuration by the acceptance of the definition of modules that are not physically attached to the logic controller. Therefore, a single application can support multiple physical configurations of I/O expansion modules, allowing a greater degree of scalability without the necessity of maintaining multiple application files for the same application.Without the Optional module feature, when the logic controller starts up the I/O expansion bus (following a power cycle, application download or initialization command), it compares the configuration defined in the application with the physical I/O modules attached to the I/O bus. Among other diagnostics made, if the logic controller determines that there are I/O modules defined in the configuration that are not physically present on the I/O bus, an error is detected and the I/O bus does not start.With the Optional module feature, the logic controller ignores the absent I/O expansion modules that you have marked as optional, which then allows the logic controller to start the I/O expansion bus.The logic controller starts the I/O expansion bus at configuration time (following a power cycle, application download, or initialization command) even if optional expansion modules are not physically connected to the logic controller. The following module types can be marked as optional: TM3 I/O expansion modules TM2 I/O expansion modulesNOTE: TM3 Transmitter/Receiver modules (TM3XTRA1 and the TM3XREC1) and TMC4 cartridges cannot be marked as optional.You must be fully aware of the implications and impacts of marking I/O modules as optional in your application, both when those modules are physically absent and present when running your machine or process. Be sure to include this feature in your risk analysis.

    WARNINGUNINTENDED EQUIPMENT OPERATIONInclude in your risk analysis each of the variations of I/O configurations that can be realized marking I/O expansion modules as optional, and in particular the establishment of TM3 Safety modules (TM3S…) as optional I/O modules, and make a determination whether it is acceptable as it relates to your application.Failure to follow these instructions can result in death, serious injury, or equipment damage.

    26 EIO0000001402 03/2018

  • I/O Configuration General Information

    Marking an I/O Expansion Module as OptionalTo add an expansion module and mark it as optional in the configuration:

    Shared Internal ID CodesLogic controllers identify expansion modules by a simple internal ID code. This ID code is not specific to each reference, but identifies the structure of the expansion module. Therefore, different references can share the same ID code.You cannot have two modules with the same internal ID code declared as optional without at least one mandatory module placed between them.This table groups the module references sharing the same internal ID code:

    Step Action1 Add the expansion module to your controller.2 Double-click the expansion module in the Devices tree.3 Select the I/O Configuration tab4 In the Optional module line, select Yes in the Value column:

    Modules sharing the same internal ID codeTM2DDI16DT, TM2DDI16DKTM2DRA16RT, TM2DDO16UK, TM2DDO16TKTM2DDI8DT, TM2DAI8DTTM2DRA8RT, TM2DDO8UT, TM2DDO8TTTM2DDO32TK, TM2DDO32UKTM3DI16K, TM3DI16, TM3DI16GTM3DQ16R, TM3DQ16RG, TM3DQ16T, TM3DQ16TG, TM3DQ16TK, TM3DQ16U, TM3DQ16UG, TM3DQ16UKTM3DQ32TK, TM3DQ32UKTM3DI8, TM3DI8G, TM3DI8ATM3DQ8R, TM3DQ8RG, TM3DQ8T, TM3DQ8TG, TM3DQ8U, TM3DQ8UGTM3DM8R, TM3DM8RGTM3DM24R, TM3DM24RGTM3SAK6R, TM3SAK6RGTM3SAF5R, TM3SAF5RGTM3SAC5R, TM3SAC5RG

    EIO0000001402 03/2018 27

  • I/O Configuration General Information

    TM3SAFL5R, TM3SAFL5RGTM3AI2H, TM3AI2HGTM3AI4, TM3AI4GTM3AI8, TM3AI8GTM3AQ2, TM3AQ2GTM3AQ4, TM3AQ4GTM3AM6, TM3AM6GTM3TM3, TM3TM3GTM3TI4, TM3TI4GTM3TI4D, TM3TI4DGTM3TI8T, TM3TI8TG

    Modules sharing the same internal ID code

    28 EIO0000001402 03/2018

  • Modicon TM3TM3 Digital I/O Modules ConfigurationEIO0000001402 03/208

    TM3 Digital I/O Modules Configuration

    Chapter 2TM3 Digital I/O Modules Configuration

    Configuring the TM3 Digital I/O Modules

    IntroductionThe 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 16)

    Configuring the ModulesRefer to the I/O Configuration (see page 23) for detailed information on the configuration of the digital I/O expansion modules in SoMachine.

    EIO0000001402 03/2018 29

  • TM3 Digital I/O Modules Configuration

    30 EIO0000001402 03/2018

  • Modicon TM3TM3 Analog I/O Modules ConfigurationEIO0000001402 03/208

    TM3 Analog I/O Modules Configuration

    Chapter 3TM3 Analog I/O Modules Configuration

    IntroductionThis 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 17) TM3 Analog Output Modules (see page 18) TM3 Analog Mixed Input/Output Modules (see page 19)

    What Is in This Chapter?This chapter contains the following sections:

    Section Topic Page3.1 TM3 Analog Input Modules 323.2 TM3 Analog Output Modules 553.3 TM3 Analog Mixed Input/Output Modules 613.4 TM3 Analog I/O Modules Diagnostic 70

    EIO0000001402 03/2018 31

  • TM3 Analog I/O Modules Configuration

    TM3 Analog Input Modules

    Section 3.1TM3 Analog Input Modules

    What Is in This Section?This section contains the following topics:

    Topic PageTM3AI2H / TM3AI2HG 33TM3AI4 / TM3AI4G 35TM3AI8 / TM3AI8G 38TM3TI4 / TM3TI4G 41TM3TI4D / TM3TI4DG 45TM3TI8T / TM3TI8TG 48

    32 EIO0000001402 03/2018

  • TM3 Analog I/O Modules Configuration

    TM3AI2H / TM3AI2HG

    IntroductionThe 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 mAFor information on the diagnostic codes produced by each input type, refer to Analog I/0 Modules Diagnostics (see page 70).For further hardware information, refer to TM3AI2H / TM3AI2HG (see Modicon TM3, Analog I/O Modules, Hardware Guide).NOTE: If you have physically wired the analog channel for a voltage signal and you configure the channel for a current signal in SoMachine, you may damage the analog circuit.

    NOTICEINOPERABLE EQUIPMENTVerify 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.

    EIO0000001402 03/2018 33

  • TM3 Analog I/O Modules Configuration

    Configuring the ModuleFor each input, you can define:

    I/O Mapping TabVariables can be defined and named in the I/O Mapping tab. Additional information such as topological addressing is also provided in this tab.This table describes the I/O Mapping tab:

    For further generic descriptions, refer to I/O Mapping Tab Description (see page 23).

    Parameter Value Default Value DescriptionType Not used

    0 - 10 V-10 - +10 V0 - 20 mA4 - 20 mA

    Not used Choose the mode of the channel.

    Min. 0 - 10 V -32768...32767 0 Specifies the lower measurement limit.-10 - +10 V -100000 - 20 mA 04 - 20 mA 4000

    Max. 0 - 10 V -32768...32767 10000 Specifies the upper measurement limit.-10 - +10 V 100000 - 20 mA 200004 - 20 mA 20000

    Input Filter 0...1000 0 Specifies the first order filter time constant (0...10 s) in increments of 10 ms.

    Sampling 1ms/Channel 1ms/Channel Specifies the sampling period of the channel.

    Status Enabled YesNo

    Yes Enables the diagnostic byte of each channel.If the status is disabled (value = No), the status bytes IBStatusIW0 and IBStatusIW1 do not contain relevant information.

    Variable Channel Type DescriptionInputs IW0 INT Current value of the input 0

    IW1 INT Current value of the input 1Diagnostic IBStatusIW0 BYTE Status of input 0 (see page 70)

    IBStatusIW1 BYTE Status of input 1 (see page 70)

    34 EIO0000001402 03/2018

  • TM3 Analog I/O Modules Configuration

    TM3AI4 / TM3AI4G

    IntroductionThe 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 mAFor information on the diagnostic codes produced by each input type, refer to Analog I/0 Modules Diagnostics (see page 70).For further hardware information, refer to TM3AI4 / TM3AI4G (see Modicon TM3, Analog I/O Modules, Hardware Guide).NOTE: If you have physically wired the analog channel for a voltage signal and you configure the channel for a current signal in SoMachine, you may damage the analog circuit.

    NOTICEINOPERABLE EQUIPMENTVerify 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.

    EIO0000001402 03/2018 35

  • TM3 Analog I/O Modules Configuration

    Configuring the ModuleFor each input, you can define:

    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.

    Parameter Value Default Value DescriptionType Not used

    0 - 10 V-10 - +10 V0 - 20 mA4 - 20 mA

    Not used Choose the mode of the channel.

    Min. 0 - 10 V -32768...327671 0 Specifies the lower measurement limit.-10 - +10 V -100000 - 20 mA 04 - 20 mA 4000

    Max. 0 - 10 V -32768...327671 10000 Specifies the upper measurement limit.-10 - +10 V 100000 - 20 mA 200004 - 20 mA 20000

    Input Filter 0...1000 0 Specifies the first order filter time constant (0...10 s) in increments of 10 ms.

    Sampling 1ms/Channel10ms/Channel

    1ms/Channel Specifies the sampling period of the channel. If an input filter is active, sampling is set internally to 1 ms.

    Status Enabled YesNo

    Yes Enables the diagnostic byte of each channel.If the status is disabled (value = No), the status bytes IBStatusIWx do not contain relevant information.

    36 EIO0000001402 03/2018

  • TM3 Analog I/O Modules Configuration

    I/O Mapping TabVariables can be defined and named in the I/O Mapping tab. Additional information such as topological addressing is also provided in this tab.This table describes the I/O Mapping tab:

    For further generic descriptions, refer to I/O Mapping Tab Description (see page 23).

    Variable Channel Type DescriptionInputs IW0 INT Current value of the input 0

    IW1 INT Current value of the input 1IW2 INT Current value of the input 2IW3 INT Current value of the input 3

    Diagnostic IBStatusIW0 BYTE Status of input 0 (see page 70)IBStatusIW1 BYTE Status of input 1 (see page 70)IBStatusIW2 BYTE Status of input 2 (see page 70)IBStatusIW3 BYTE Status of input 3 (see page 70)

    EIO0000001402 03/2018 37

  • TM3 Analog I/O Modules Configuration

    TM3AI8 / TM3AI8G

    IntroductionThe 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 0...20 mA extended 4...20 mA extendedFor information on the diagnostic codes produced by each input type, refer to Analog I/0 Modules Diagnostics (see page 70).For further hardware information, refer to TM3AI8 / TM3AI8G (see Modicon TM3, Analog I/O Modules, Hardware Guide).NOTE: If you have physically wired the analog channel for a voltage signal and you configure the channel for a current signal in SoMachine, you may damage the analog circuit.

    NOTICEINOPERABLE EQUIPMENTVerify 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.

    38 EIO0000001402 03/2018

  • TM3 Analog I/O Modules Configuration

    Configuring the ModuleFor each input, you can define:

    Parameter Value Default Value DescriptionType Not used,

    0 - 10 V,-10 - +10 V,0 - 20 mA,4 - 20 mA,0 - 20 mA extended,4 - 20 mA extended.

    Not used Choose the mode of the channel.

    Min. 0 - 10 V -32768...327671 0 Specifies the lower measurement limit.-10 - +10 V -10000

    0 - 20 mA 04 - 20 mA 4000

    0 - 20 mA extended2 0 Not editable.

    4 - 20 mA extended2 1200 Not editable.

    Max. 0 - 10 V -32768...327671 10000 Specifies the upper measurement limit.-10 - +10 V 10000

    0 - 20 mA 200004 - 20 mA 20000

    0 - 20 mA extended2 23540 Not editable.

    4 - 20 mA extended2 23170 Not editable.

    Input Filter 0...1000 0 Specifies the first order filter time constant (0...10 s) in increments of 10 ms.

    Sampling 1ms/Channel10ms/Channel

    1ms/Channel Specifies the sampling period of the channel.If an input filter is active, sampling is set internally to 1 ms.

    EIO0000001402 03/2018 39

  • 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.2 The extended ranges are supported by modules from product version 03, firmware version (SV) 1.4 and programming software SoMachine V4.1 SP2.

    I/O Mapping TabVariables can be defined and named in the I/O Mapping tab. Additional information such as topological addressing is also provided in this tab.This table describes the I/O Mapping tab:

    For further generic descriptions, refer to I/O Mapping Tab Description (see page 23).

    Status Enabled YesNo

    Yes Enables the diagnostic byte of each channel.If the status is disabled (value = No), the status bytes IBStatusIWx do not contain relevant information.

    Parameter Value Default Value Description

    Variable Channel Type DescriptionInputs IW0 INT Current value of the input 0

    IW1 INT Current value of the input 1IW2 INT Current value of the input 2IW3 INT Current value of the input 3IW4 INT Current value of the input 4IW5 INT Current value of the input 5IW6 INT Current value of the input 6IW7 INT Current value of the input 7

    Diagnostic IBStatusIW0 BYTE Status of input 0 (see page 70)IBStatusIW1 BYTE Status of input 1 (see page 70)IBStatusIW2 BYTE Status of input 2 (see page 70)IBStatusIW3 BYTE Status of input 3 (see page 70)IBStatusIW4 BYTE Status of input 4 (see page 70)IBStatusIW5 BYTE Status of input 5 (see page 70)IBStatusIW6 BYTE Status of input 6 (see page 70)IBStatusIW7 BYTE Status of input 7 (see page 70)

    40 EIO0000001402 03/2018

  • TM3 Analog I/O Modules Configuration

    TM3TI4 / TM3TI4G

    IntroductionThe 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 NI1000For information on the diagnostic codes produced by each input type, refer to Analog I/0 Modules Diagnostics (see page 70).For further hardware information, refer to TM3TI4 / TM3TI4G (see Modicon TM3, Analog I/O Modules, Hardware Guide).NOTE: If you have physically wired the analog channel for a voltage signal and you configure the channel for a current signal in SoMachine, you may damage the analog circuit.

    NOTICEINOPERABLE EQUIPMENTVerify 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.

    EIO0000001402 03/2018 41

  • TM3 Analog I/O Modules Configuration

    Configuring the ModuleFor each input, you can define:

    Parameter Value Default Value DescriptionType Not used

    0 - 10 V-10 - +10 V0 - 20 mA4 - 20 mAK ThermocoupleJ ThermocoupleR ThermocoupleS ThermocoupleB ThermocoupleE ThermocoupleT ThermocoupleN ThermocoupleC ThermocouplePT100PT1000NI100NI1000

    Not used Choose the mode of the channel.

    Scope CustomizedCelsius (0.1°C)Fahrenheit (0.1°F)Fahrenheit (0.2°F)*

    Customized The range of values for a channel.* Only for B and C thermocouples.

    Min. 0 - 10 V -32768...32767 0 Specifies the lower measurement limit.-10 - +10 V -100000 - 20 mA 04 - 20 mA 4000Temperature See the table below

    Max. 0 - 10 V -32768...32767 10000 Specifies the upper measurement limit.-10 - +10 V 100000 - 20 mA 200004 - 20 mA 20000Temperature See the table below

    Input Filter 0...1000 0 Specifies the first order filter time constant (0...10 s) in increments of 10 ms.

    42 EIO0000001402 03/2018

  • TM3 Analog I/O Modules Configuration

    Sampling 10ms/Channel100ms/Channel

    100ms/Channel Specifies the sampling period of the channel.If an input filter is active, sampling is set internally to 10 ms.

    Status Enabled YesNo

    Yes Enables the diagnostic byte of each channel.If the status is disabled (value = No), the status bytes IBStatusIWx do not contain relevant information.

    Parameter Value Default Value Description

    Type Customized Celsius (0.1 °C) FahrenheitMinimum Maximum Minimum Maximum Minimum Maximum Unit

    K Thermocouple -32768 32767 -2000 13000 -3280 23720 0.1 °FJ Thermocouple -32768 32767 -2000 10000 -3280 18320 0.1 °FR Thermocouple -32768 32767 0 17600 320 32000 0.1 °FS Thermocouple -32768 32767 0 17600 320 32000 0.1 °FB Thermocouple -32768 32767 0 18200 160 16540 0.2 °FE Thermocouple -32768 32767 -2000 8000 -3280 14720 0.1 °FT Thermocouple -32768 32767 -2000 4000 -3280 7520 0.1 °FN Thermocouple -32768 32767 -2000 13000 -3280 23720 0.1 °FC Thermocouple -32768 32767 0 23150 160 20995 0.2 °FPT100 -32768 32767 -2000 8500 -3280 15620 0.1 °FPT1000 -32768 32767 -2000 6000 -3280 11120 0.1 °FNI100 -32768 32767 -600 1800 -760 3560 0.1 °FNI1000 -32768 32767 -600 1800 -760 3560 0.1 °F

    EIO0000001402 03/2018 43

  • TM3 Analog I/O Modules Configuration

    I/O Mapping TabVariables can be defined and named in the I/O Mapping tab. Additional information such as topological addressing is also provided in this tab.This table describes the I/O Mapping tab:

    For further generic descriptions, refer to I/O Mapping Tab Description (see page 23).

    Variable Channel Type DescriptionInputs IW0 INT Current value of the input 0

    IW1 INT Current value of the input 1IW2 INT Current value of the input 2IW3 INT Current value of the input 3

    Diagnostic IBStatusIW0 BYTE Status of input 0 (see page 70)IBStatusIW1 BYTE Status of input 1 (see page 70)IBStatusIW2 BYTE Status of input 2 (see page 70)IBStatusIW3 BYTE Status of input 3 (see page 70)

    44 EIO0000001402 03/2018

  • TM3 Analog I/O Modules Configuration

    TM3TI4D / TM3TI4DG

    IntroductionThe TM3TI4D (screw terminal block) / TM3TI4DG (spring terminal block) expansion module feature 4 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 thermocoupleFor information on the diagnostic codes produced by each input type, refer to Analog I/0 Modules Diagnostics (see page 70).For further hardware information, refer to TM3TI4D / TM3TI4DG.

    Configuring the ModuleFor each input, you can define:

    Parameter Value Default Value DescriptionType Not used

    K ThermocoupleJ ThermocoupleR ThermocoupleS ThermocoupleB ThermocoupleE ThermocoupleT ThermocoupleN ThermocoupleC Thermocouple

    Not used Choose the mode of the channel.

    Scope CustomizedCelsius (0.1°C)Fahrenheit (0.1°F)Fahrenheit (0.2°F)*

    Customized The range of values for a channel.* Only for B and C thermocouples.

    Min. Temperature See the table below Specifies the lower measurement limit.Max. Temperature See the table below Specifies the upper measurement limit.Input Filter 0...1000 0 Specifies the first order filter time

    constant (0...10 s) in increments of 10 ms.

    EIO0000001402 03/2018 45

  • TM3 Analog I/O Modules Configuration

    Sampling 10ms/Channel100ms/Channel

    100ms/Channel Specifies the sampling period of the channel.If an input filter is active, sampling is set internally to 10 ms.

    Status Enabled YesNo

    Yes Enables the diagnostic byte of each channel.If the status is disabled (value = No), the status bytes IBStatusIWx do not contain relevant information.

    Parameter Value Default Value Description

    Type Customized Celsius (0.1 °C) FahrenheitMinimum Maximum Minimum Maximum Minimum Maximum Unit

    K Thermocouple -32768 32767 -2000 13000 -3280 23720 0.1 °FJ Thermocouple -32768 32767 -2000 10000 -3280 18320 0.1 °FR Thermocouple -32768 32767 0 17600 320 32000 0.1 °FS Thermocouple -32768 32767 0 17600 320 32000 0.1 °FB Thermocouple -32768 32767 0 18200 160 16540 0.2 °FE Thermocouple -32768 32767 -2000 8000 -3280 14720 0.1 °FT Thermocouple -32768 32767 -2000 4000 -3280 7520 0.1 °FN Thermocouple -32768 32767 -2000 13000 -3280 23720 0.1 °FC Thermocouple -32768 32767 0 23150 160 20995 0.2 °F

    46 EIO0000001402 03/2018

  • TM3 Analog I/O Modules Configuration

    I/O Mapping TabVariables can be defined and named in the I/O Mapping tab. Additional information such as topological addressing is also provided in this tab.This table describes the I/O Mapping tab:

    For further generic descriptions, refer to I/O Mapping Tab Description (see page 23).

    Variable Channel Type DescriptionInputs IW0 INT Value of the input 0

    IW1 INT Value of the input 1IW2 INT Value of the input 2IW3 INT Value of the input 3

    Diagnostic IBStatusIW0 BYTE Status of input 0 (see page 70)IBStatusIW1 BYTE Status of input 1 (see page 70)IBStatusIW2 BYTE Status of input 2 (see page 70)IBStatusIW3 BYTE Status of input 3 (see page 70)

    EIO0000001402 03/2018 47

  • TM3 Analog I/O Modules Configuration

    TM3TI8T / TM3TI8TG

    IntroductionThe 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 OhmmeterFor information on the diagnostic codes produced by each input type, refer to Analog I/0 Modules Diagnostics (see page 70).For further hardware information, refer to TM3TI8T / TM3TI8TG (see Modicon TM3, Analog I/O Modules, Hardware Guide).NOTE: If you have physically wired the analog channel for a voltage signal and you configure the channel for a current signal in SoMachine, you may damage the analog circuit.

    NOTICEINOPERABLE EQUIPMENTVerify 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 EIO0000001402 03/2018

  • TM3 Analog I/O Modules Configuration

    Configuring the ModuleFor each input, you can define the following parameters:

    Parameter Value Default Value DescriptionType Not used

    - Not used Choose the parameter type and scope for the channel.

    Type K Thermocouple J Thermocouple R Thermocouple S Thermocouple E Thermocouple T Thermocouple N Thermocouple NTC Thermistor

    Scope Customized Celsius

    (0.1 °C) Fahrenheit

    (0.1 °F)

    Celsius (0.1 °C)

    Type B Thermocouple C Thermocouple

    Scope Customized Celsius

    (0.1 °C) Fahrenheit

    (0.2 °F)

    Celsius (0.1 °C)

    Type PTC Thermistor

    Scope Customized Threshold

    Threshold

    Type Ohmmeter

    Scope Resistance

    (Ω)

    Resistance

    Minimum See the table below Specifies the low measurement limit.Maximum See the table below Specifies the high measurement limit.Rref (used only with NTC probe (see page 51))

    1...65535 330 Reference resistance in Ohm at temperature Tref.

    Tref (used only with NTC probe)

    1...1000 25 Reference temperature value in Celsius.

    Beta (used only with NTC probe)

    1...32767 3569 Sensitivity of NTC probe in Kelvin.

    Input Filter 0...1000 0 Specifies the first order filter time constant (0...10 s) in increments of 10 ms.

    Sampling 100ms/Channel 100ms/Channel Specifies the sampling period of the channel.

    EIO0000001402 03/2018 49

  • TM3 Analog I/O Modules Configuration

    The following table indicates the possible range values for the selected type of thermocouple:

    Status Enabled YesNo

    Yes Enables the diagnostic byte of each channel.If the status is disabled (value = No), the status bytes IBStatusIWx do not contain relevant information.

    High Threshold (used only with PTC probe (see page 52))

    100...10000 3100 Activation threshold

    Low Threshold (used only with PTC probe)

    100...10000 1500 Reactivation threshold

    Type Customized Range in Celsius Range in FahrenheitK Thermocouple -32768...32767 -2000...13000 (0.1°C) -3280...23720 (0.1°F)J Thermocouple -2000...10000 (0.1°C) -3280...18320 (0.1°F)R Thermocouple 0...17600 (0.1°C) 320...32000 (0.1°F)S Thermocouple 0...17600 (0.1°C) 320...32000 (0.1°F)B Thermocouple 0...18200 (0.1°C) 160...16540 (0.2°F)E Thermocouple -2000...8000 (0.1°C) -3280...14720 (0.1°F)T Thermocouple -2000...4000 (0.1°C) -3280...7520 (0.1°F)N Thermocouple -2000...13000 (0.1°C) -3280...23720 (0.1°F)C Thermocouple 0...23150 (0.1°C) 160...20995 (0.2°F)NTC Thermistor -900...1500 (0.1°C) -1300...3020 (0.1°F)PTC Thermistor – –

    Parameter Value Default Value Description

    50 EIO0000001402 03/2018

  • TM3 Analog I/O Modules Configuration

    NTC ThermistorThe 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 = reference resistance in Ohm at temperature T T = reference temperature in Kelvin B = sensitivity of the NTC probe in KelvinR,T, and B must be greater or equal to 1.NOTE: 25 °C = 77 °F = 298.15 K

    EIO0000001402 03/2018 51

  • TM3 Analog I/O Modules Configuration

    PTC ThermistorThis table describes the read value according to the resistance:

    This figure represents the threshold operation:

    Resistance Value Read ValueUnder the low threshold 1Between thresholds 2Over the high threshold 4

    52 EIO0000001402 03/2018

  • TM3 Analog I/O Modules Configuration

    This figure represents an example hysteresis curve:

    OhmmeterThis table describes the minimum and maximum values:

    Parameter ValueMinimum 100 ΩMaximum 32 kΩ

    EIO0000001402 03/2018 53

  • TM3 Analog I/O Modules Configuration

    I/O Mapping TabVariables can be defined and named in the I/O Mapping tab. Additional information such as topological addressing is also provided in this tab.This table describes the I/O Mapping tab:

    For further generic descriptions, refer to I/O Mapping Tab Description (see page 23).

    Variable Channel Type DescriptionInputs IW0 INT Current value of the input 0

    IW1 INT Current value of the input 1IW2 INT Current value of the input 2IW3 INT Current value of the input 3IW4 INT Current value of the input 4IW5 INT Current value of the input 5IW6 INT Current value of the input 6IW7 INT Current value of the input 7

    Diagnostic IBStatusIW0 BYTE Status of input 0 (see page 70)IBStatusIW1 BYTE Status of input 1 (see page 70)IBStatusIW2 BYTE Status of input 2 (see page 70)IBStatusIW3 BYTE Status of input 3 (see page 70)IBStatusIW4 BYTE Status of input 4 (see page 70)IBStatusIW5 BYTE Status of input 5 (see page 70)IBStatusIW6 BYTE Status of input 6 (see page 70)IBStatusIW7 BYTE Status of input 7 (see page 70)

    54 EIO0000001402 03/2018

  • TM3 Analog I/O Modules Configuration

    TM3 Analog Output Modules

    Section 3.2TM3 Analog Output Modules

    What Is in This Section?This section contains the following topics:

    Topic PageTM3AQ2 / TM3AQ2G 56TM3AQ4 / TM3AQ4G 58

    EIO0000001402 03/2018 55

  • TM3 Analog I/O Modules Configuration

    TM3AQ2 / TM3AQ2G

    IntroductionThe 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 mAFor further hardware information, refer to TM3AQ2 / TM3AQ2G (see Modicon TM3, Analog I/O Modules, Hardware Guide).NOTE: If you have physically wired the analog channel for a voltage signal and you configure the channel for a current signal in SoMachine, you may damage the analog circuit.

    Configuring the ModuleFor each output, you can define:

    NOTICEINOPERABLE EQUIPMENTVerify 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.

    Parameter Value Default Value DescriptionType Not used

    0 - 10 V-10 - +10 V0 - 20 mA4 - 20 mA

    Not used Choose the mode of the channel.

    Min. 0 - 10 V -32768...327671 0 Specifies the lower measurement limit.-10 - +10 V -100000 - 20 mA 04 - 20 mA 4000

    Max. 0 - 10 V -32768...327671 10000 Specifies the upper measurement limit.-10 - +10 V 100000 - 20 mA 200004 - 20 mA 20000

    56 EIO0000001402 03/2018

  • 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.

    I/O Mapping TabVariables can be defined and named in the I/O Mapping tab. Additional information such as topological addressing is also provided in this tab.This table describes the I/O Mapping tab:

    For further generic descriptions, refer to I/O Mapping Tab Description (see page 23).

    Status Enabled YesNo

    Yes Enables the diagnostic byte of each channel.If the status is disabled (value = No), the status bytes IBStatusQWx do not contain relevant information.

    Parameter Value Default Value Description

    Variable Channel Type Default Value DescriptionOutputs QW0 INT -32768...32767 Command word of the output 0

    QW1 INT -32768...32767 Command word of the output 1Diagnostic IBStatusQW0 BYTE - Status of output 0 (see page 71)

    IBStatusQW1 BYTE - Status of output 1 (see page 71)

    EIO0000001402 03/2018 57

  • TM3 Analog I/O Modules Configuration

    TM3AQ4 / TM3AQ4G

    IntroductionThe 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 mAFor further hardware information, refer to TM3AQ4 / TM3AQ4G (see Modicon TM3, Analog I/O Modules, Hardware Guide).NOTE: If you have physically wired the analog channel for a voltage signal and you configure the channel for a current signal in SoMachine, you may damage the analog circuit.

    NOTICEINOPERABLE EQUIPMENTVerify 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.

    58 EIO0000001402 03/2018

  • TM3 Analog I/O Modules Configuration

    Configuring the ModuleFor each output, you can define:

    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.

    Parameter Value Default Value DescriptionType Not used

    0 - 10 V-10 - +10 V0 - 20 mA4 - 20 mA

    Not used Choose the mode of the channel.

    Scope Customized Customized The range of values for a channel.Min. 0 - 10 V -32768...327671 0 Specifies the lower measurement limit.

    -10 - +10 V -100000 - 20 mA 04 - 20 mA 4000

    Max. 0 - 10 V -32768...327671 10000 Specifies the upper measurement limit.-10 - +10 V 100000 - 20 mA 200004 - 20 mA 20000

    Status Enabled YesNo

    Yes Enables the diagnostic byte of each channel.If the status is disabled (value = No), the status bytes IBStatusQWx do not contain relevant information.

    EIO0000001402 03/2018 59

  • TM3 Analog I/O Modules Configuration

    I/O Mapping TabVariables can be defined and named in the I/O Mapping tab. Additional information such as topological addressing is also provided in this tab.This table describes the I/O Mapping tab:

    For further generic descriptions, refer to I/O Mapping Tab Description (see page 23).

    Variable Channel Type Default Value DescriptionOutputs QW0 INT -32768...32767 Command word of the output 0

    QW1 INT -32768...32767 Command word of the output 1QW2 INT -32768...32767 Command word of the output 2QW3 INT -32768...32767 Command word of the output 3

    Diagnostic IBStatusQW0 BYTE - Status of output 0 (see page 71)IBStatusQW1 BYTE - Status of output 1 (see page 71)IBStatusQW2 BYTE - Status of output 2 (see page 71)IBStatusQW3 BYTE - Status of output 3 (see page 71)

    60 EIO0000001402 03/2018

  • TM3 Analog I/O Modules Configuration

    TM3 Analog Mixed Input/Output Modules

    Section 3.3TM3 Analog Mixed Input/Output Modules

    What Is in This Section?This section contains the following topics:

    Topic PageTM3AM6 / TM3AM6G 62TM3TM3 / TM3TM3G 66

    EIO0000001402 03/2018 61

  • TM3 Analog I/O Modules Configuration

    TM3AM6 / TM3AM6G

    IntroductionThe 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 mAFor information on the diagnostic codes produced by each input type, refer to Analog I/0 Modules Diagnostics (see page 70).The channel output types are: 0...10 V -10...+10 V 0...20 mA 4...20 mAFor further hardware information, refer to TM3AM6 / TM3AM6G (see Modicon TM3, Analog I/O Modules, Hardware Guide).NOTE: If you have physically wired the analog channel for a voltage signal and you configure the channel for a current signal in SoMachine, you may damage the analog circuit.

    NOTICEINOPERABLE EQUIPMENTVerify 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.

    62 EIO0000001402 03/2018

  • TM3 Analog I/O Modules Configuration

    Configuring the ModuleFor each input, you can define:

    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.

    Parameter Value Default Value DescriptionType Not used

    0 - 10 V-10 - +10 V0 - 20 mA4 - 20 mA

    Not used Choose the mode of the channel.

    Min. 0 - 10 V -32768...327671 0 Specifies the lower measurement limit.-10 - +10 V -100000 - 20 mA 04 - 20 mA 4000

    Max. 0 - 10 V -32768...327671 10000 Specifies the upper measurement limit.-10 - +10 V 100000 - 20 mA 200004 - 20 mA 20000

    Input Filter 0...1000 0 Specifies the first order filter time constant (0...10 s) in increments of 10 ms.

    Sampling 1ms/Channel10ms/Channel

    1ms/Channel Specifies the sampling period of the channel.If an input filter is active, sampling is set internally to 1 ms.

    Status Enabled YesNo

    Yes Enables the diagnostic byte of each channel.If the status is disabled (value = No), the status bytes IBStatusIWx do not contain relevant information.

    EIO0000001402 03/2018 63

  • TM3 Analog I/O Modules Configuration

    For each output, you can define:

    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.

    Parameter Value Default Value DescriptionType Not used

    0 - 10 V-10 - +10 V0 - 20 mA4 - 20 mA

    Not used Choose the mode of the channel.

    Min. 0 - 10 V -32768...327671 0 Specifies the lower measurement limit.-10 - +10 V -100000 - 20 mA 04 - 20 mA 4000

    Max. 0 - 10 V -32768...327671 10000 Specifies the upper measurement limit.-10 - +10 V 100000 - 20 mA 200004 - 20 mA 20000

    Status Enabled YesNo

    Yes Enables the diagnostic byte of each channel.If the status is disabled (value = No), the status bytes IBStatusQWx do not contain relevant information.

    64 EIO0000001402 03/2018

  • TM3 Analog I/O Modules Configuration

    I/O Mapping TabVariables can be defined and named in the I/O Mapping tab. Additional information such as topological addressing is also provided in this tab.This table describes the I/O Mapping tab:

    For further generic descriptions, refer to I/O Mapping Tab Description (see page 23).

    Variable Channel Type Default Value DescriptionInputs IW0 INT - Current value of the input 0

    IW1 INT - Current value of the input 1IW2 INT - Current value of the input 2IW3 INT - Current value of the input 3

    Outputs QW0 INT -32768...32767 Command word of the output 0QW1 INT -32768...32767 Command word of the output 1

    Diagnostic IBStatusIW0 BYTE - Status of input 0 (see page 70)IBStatusIW1 BYTE - Status of input 1 (see page 70)IBStatusIW2 BYTE - Status of input 2 (see page 70)IBStatusIW3 BYTE - Status of input 3 (see page 70)IBStatusQW0 BYTE - Status of output 0 (see page 71)IBStatusQW1 BYTE - Status of output 1 (see page 71)

    EIO0000001402 03/2018 65

  • TM3 Analog I/O Modules Configuration

    TM3TM3 / TM3TM3G

    IntroductionThe 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 NI1000For information on the diagnostic codes produced by each input type, refer to Analog I/0 Modules Diagnostics (see page 70).The channel output types are: 0...10 V -10...+10 V 0...20 mA 4...20 mA

    66 EIO0000001402 03/2018

  • TM3 Analog I/O Modules Configuration

    For further hardware information, refer to TM3TM3 / TM3TM3G (see Modicon TM3, Analog I/O Modules, Hardware Guide).NOTE: If you have physically wired the analog channel for a voltage signal and you configure the channel for a current signal in SoMachine, you may damage the analog circuit.

    Configuring the ModuleFor each input, you can define:

    NOTICEINOPERABLE EQUIPMENTVerify 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.

    Parameter Value Default Value DescriptionType Not used

    0 - 10 V-10 - +10 V0 - 20 mA4 - 20 mAK ThermocoupleJ ThermocoupleR ThermocoupleS ThermocoupleB ThermocoupleE ThermocoupleT ThermocoupleN ThermocoupleC ThermocouplePT100PT1000NI100NI1000

    Not used Choose the mode of the channel.

    Scope CustomizedCelsius (0.1°C)Fahrenheit (0.1°F)Fahrenheit (0.2°F)*

    Customized The range of values for a channel.* Only for B and C thermocouples.

    Min. 0 - 10 V -32768...32767 0 Specifies the lower measurement limit.-10 - +10 V -100000 - 20 mA 04 - 20 mA 4000Temperature See the table below

    EIO0000001402 03/2018 67

  • TM3 Analog I/O Modules Configuration

    Max. 0 - 10 V -32768...32767 10000 Specifies the upper measurement limit.-10 - +10 V 100000 - 20 mA 200004 - 20 mA 20000Temperature See the table below

    Input Filter 0...1000 0 Specifies the first order filter time constant (0...10 s) in increments of 10 ms.

    Sampling 10ms/Channel100ms/Channel

    100ms/Channel Specifies the sampling period of the channel.If an input filter is active, sampling is set internally to 10 ms.

    Status Enabled YesNo

    Yes Enables the diagnostic byte of each channel.If the status is disabled (value = No), the status bytes IBStatusIWx do not contain relevant information.

    Parameter Value Default Value Description

    Type Customized Celsius (0.1 °C) FahrenheitMinimum Maximum Minimum Maximum Minimum Maximum Unit

    K Thermocouple -32768 32767 -2000 13000 -3280 23720 0.1 °FJ Thermocouple -32768 32767 -2000 10000 -3280 18320 0.1 °FR Thermocouple -32768 32767 0 17600 320 32000 0.1 °FS Thermocouple -32768 32767 0 17600 320 32000 0.1 °FB Thermocouple -32768 32767 0 18200 160 16540 0.2 °FE Thermocouple -32768 32767 -2000 8000 -3280 14720 0.1 °FT Thermocouple -32768 32767 -2000 4000 -3280 7520 0.1 °FN Thermocouple -32768 32767 -2000 13000 -3280 23720 0.1 °FC Thermocouple -32768 32767 0 23150 160 20995 0.2 °FPT100 -32768 32767 -2000 8500 -3280 15620 0.1 °FPT1000 -32768 32767 -2000 6000 -3280 11120 0.1 °FNI100 -32768 32767 -600 1800 -760 3560 0.1 °FNI1000 -32768 32767 -600 1800 -760 3560 0.1 °F

    68 EIO0000001402 03/2018

  • TM3 Analog I/O Modules Configuration

    For the output, you can define:

    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.

    I/O Mapping TabVariables can be defined and named in the I/O Mapping tab. Additional information such as topological addressing is also provided in this tab.This table describes the I/O Mapping tab:

    For further generic descriptions, refer to I/O Mapping Tab Description (see page 23).

    Parameter Value Default Value DescriptionType Not used

    0 - 10 V-10 - +10 V0 - 20 mA4 - 20 mA

    Not used Choose the mode of the channel.

    Min. 0 - 10 V -32768...327671 0 Specifies the lower measurement limit.-10 - +10 V -100000 - 20 mA 04 - 20 mA 4000

    Max. 0 - 10 V -32768...327671 10000 Specifies the upper measurement limit.-10 - +10 V 100000 - 20 mA 200004 - 20 mA 20000

    Status Enabled YesNo

    Yes Enables the diagnostic byte of each channel.If the status is disabled (value = No), the status byte IBStatusQW0 does not contain relevant information.

    Variable Channel Type Default Value DescriptionInputs IW0 INT - Current value of the input 0

    IW1 INT - Current value of the input 1Outputs QW0 INT -32768...32767 Command word of the output 0Diagnostic IBStatusIW0 BYTE - Status of input 0 (see page 70)

    IBStatusIW1 BYTE - Status of input 1 (see page 70)IBStatusQW0 BYTE - Status of output 0

    (see page 71)

    EIO0000001402 03/2018 69

  • TM3 Analog I/O Modules Configuration

    TM3 Analog I/O Modules Diagnostic

    Section 3.4TM3 Analog I/O Modules Diagnostic

    Analog I/O Modules Diagnostics

    IntroductionThe operating status of each I/O channel is given by the diagnostic bytes in the I/O Mapping tab: IBStatusIWx for input channel x IBStatusQWx for output channel xNOTE: If the Status Enabled parameter in the I/O Configuration tab is deactivated, it is possible to update the value of the diagnostic bytes by calling the TM3_GetModuleInternalStatus function.For more information about TM3_GetModuleInternalStatus function: Refer to M241 Controller PLCSystem Library Guide for Modicon M241 Logic Controller. Refer to M251 Controller PLCSystem Library Guide for Modicon M251 Logic Controller.

    Input Diagnostic Byte DescriptionThis table describes the IBStatusIWx diagnostic byte:

    Byte value Description0 Normal1 Undefined2 Undefined3 Configuration error detected.4 External power supply error detected.5 Wiring error detected (input voltage/current high limit exceeded).6 Wiring error detected (input voltage/current low limit exceeded).7 Hardware error detected.8 The measured value is in the High extended zone.9 The measured value is in the Low extended zone.10...255 Undefined

    70 EIO0000001402 03/2018

  • TM3 Analog I/O Modules Configuration

    Output Diagnostic Byte DescriptionThis table describes the IBStatusQWx diagnostic byte:

    Status Byte Values Produced By Channel Input TypesThe following tables shows the Input Channel Status Byte (see page 70) values generated by different channel input types of the TM3 Analog expansion modules.0...10 V channel input type:

    -10...+10 V input channel type:

    0...20 mA input channel type:

    Byte value Description0 Normal1 Undefined2 Undefined3 Configuration error detected4 External power supply voltage limits exceeded5 Undefined6 Undefined7 Hardware error detected8...255 Undefined

    Input voltage Status Code Generated≤ -0.20 V 6-0.19 V...10.19 V 0≥ 10.20 V 5

    Input voltage Status Code Generated≤ -10.40 V 6-10.39 V...10.39 V 0≥ 10.40 V 5

    Input voltage Status Code Generated≤ -0.40 mA 6-0.39 mA...20.39 mA 0≥ 20.40 mA 5

    EIO0000001402 03/2018 71

  • TM3 Analog I/O Modules Configuration

    4...20 mA input channel type:

    0...20 mA extended mode of the TM3AI8 / TM3AI8G expansion modules:

    4...20 mA extended mode of the TM3AI8 / TM3AI8G expansion modules:

    Input voltage Status Code Generated≤ 3.68 mA 63.69 mA...20.31 mA 0≥ 20.32 mA 5

    Input voltage Status Code Generated≤ -0.40 mA 6-0.39 mA...20.00 mA 020.01 mA...23.54 mA 8≥ 23.55 mA 5

    Input voltage Status Code Generated< 1.19 mA 61.20 mA...3.99 mA 94.00 mA...20.00 mA 020.01 mA...23.17 mA 8≥ 23.18 mA 5

    72 EIO0000001402 03/2018

  • Modicon TM3TM3 Expert I/O Modules ConfigurationEIO0000001402 03/208

    TM3 Expert I/O Modules Configuration

    Chapter 4TM3 Expert I/O Modules Configuration

    IntroductionThis chapter describes how to configure the TM3 expert I/O modules (see page 20).

    What Is in This Chapter?This chapter contains the following topics:

    Topic PageTM3XTYS4 Module Overview 74TM3XTYS4 Module Configuration 75FB_TesysU: Control the TM3 Expert I/O Module 78

    EIO0000001402 03/2018 73

  • TM3 Expert I/O Modules Configuration

    TM3XTYS4 Module Overview

    IntroductionThe TeSys expansion module TM3XTYS4 is equipped with: 4 RJ-45 connectors to connect to Tesys starter motor devices 2 digital inputs for each channel: Forward Reverse

    3 digital outputs for each channel: Ready Run Trip

    Removable 24 Vdc power supplyThe TeSys expansion module is connected to the logic controller through the TM3 bus. TM3XTYS4 expansion modules can be connected to the logic controller in any order.

    Adding and Configuring the TM3XTYS4 ModuleTo add a TM3XTYS4 module to a project:1. Add the expansion module (see page 23) to your logic controller.2. Configure the expansion module (see page 75) inputs and outputs.3. Insert a channel (see page 76) that is connected to the device.4. Select the device type (see page 77) that is associated with the channel.5. Add the FB_TeSysU function block (see page 78) to your application and configure it in order to

    control the device directly from the application.

    74 EIO0000001402 03/2018

  • TM3 Expert I/O Modules Configuration

    TM3XTYS4 Module Configuration

    IntroductionThis chapter describes how to configure the TM3 expert I/O modules (see page 20).

    Configuring the ModuleConfiguration of the TM3XTYS4 module is carried out through the I/O Mapping tab of the module.In the Devices tree, double-click the Module_n subnode of the module, where n is the unique identifier of the module. The I/O Mapping tab appears.The digital inputs of this module are:

    Channel Address DescriptionCH1_Ready %IXx.0 Input active if the selector of TeSys is in the ON position.CH1_Run %IXx.1 Input active if the power contacts of TeSys are closed.CH1_Trip %IXx.2 Input active if the selector of TeSys is in the TRIP position.CH2_Ready %IXx.3 Input active if the selector of TeSys is in the ON position.CH2_Run %IXx.4 Input active if the power contacts of TeSys are closed.CH2_Trip %IXx.5 Input active if the selector of TeSys is in the TRIP position.CH3_Ready %IXx.6 Active if the selector of TeSys is in the ON position.CH3_Run %IXx.7 Input active if the power contacts of TeSys are closed.CH3_Trip %IXx.8 Input active if the selector of TeSys is in the TRIP position.CH4_Ready %IXx.9 Input active if the selector of TeSys is in the ON position.CH4_Run %IXx.10 Input active if the power contacts of TeSys are closed.CH4_Trip %IXx.11 Input active if the selector of TeSys is in the TRIP position.Error %IXx.12 Over current error flag of protect source outputs (0:Error,

    1:Normal).

    EIO0000001402 03/2018 75

  • TM3 Expert I/O Modules Configuration

    The digital outputs of this module are:

    Inserting a ChannelEach channel connected to a device can be separately configured.To add channels to the configuration:

    Tesys Address DescriptionCH1_Dir1Control %QXx.0 This 24 V output drives the direct (forward) command of the

    motor.CH1_Dir2Control %QXx.1 This 24 V output drives the reverse (backward) command of the

    motor.CH2_Dir1Control %QXx.2 This 24 V output drives the direct (forward) command of the

    motor.CH2_Dir2Control %QXx.3 This 24 V output drives the reverse (backward) command of the

    motor.CH3_Dir1Control %QXx.4 This 24 V output drives the direct (forward) command of the

    motor.CH3_Dir2Control %QXx.5 This 24 V output drives the reverse (backward) command of the

    motor.CH4_Dir1Control %QXx.6 This 24 V output drives the direct (forward) command of the

    motor.CH4_Dir2Control %QXx.7 This 24 V output drives the reverse (backward) command of the

    motor.

    Step Action1

    Select the Module_x node in the Devices tree and click , or right-click the module node and select Add Device from the context menu.Result: The Add Device dialog box is displayed.

    2 Select the channel to insert in the Name list.3 Click Add Device.

    Result: The selected channel is added to the project and displayed in the Devices tree as a new Tesys_Channel_x subnode of the expansion module.The Add Device dialog box remains open. You can do the following: Add another channel by repeating step 2 of this procedure. Or, click the Close button.

    76 EIO0000001402 03/2018