hit counter script
Siemens ET 200SP Manual

Siemens ET 200SP Manual

Technology module tm pulse 2x24v
Hide thumbs Also See for ET 200SP:
Table of Contents

Advertisement

Technology Module TM Pulse 2x24V (6ES7138-6DB00-
0BB1)

Advertisement

Table of Contents
loading

Summary of Contents for Siemens ET 200SP

  • Page 1 Technology Module TM Pulse 2x24V (6ES7138-6DB00- 0BB1)
  • Page 2 Preface Documentation guide SIMATIC Product overview Connecting ET 200SP Technology Module Configuring/address space TM Pulse 2x24V (6ES7138‑6DB00‑0BB1) Interrupts/diagnostic messages Manual Technical specifications Parameter data record Flow chart: Handling of the SLOT parameters 05/2019 A5E35061186-AB...
  • Page 3 Note the following: WARNING Siemens products may only be used for the applications described in the catalog and in the relevant technical documentation. If products and components from other manufacturers are used, these must be recommended or approved by Siemens. Proper transport, storage, installation, assembly, commissioning, operation and maintenance are required to ensure that the products operate safely and without any problems.
  • Page 4: Preface

    In order to protect plants, systems, machines and networks against cyber threats, it is necessary to implement – and continuously maintain – a holistic, state-of-the-art industrial security concept. Siemens’ products and solutions only form one element of such a concept. Customers are responsible for preventing unauthorized access to their plants, systems, machines and networks.
  • Page 5 For legal reasons, we are obliged to publish the original text of the license conditions and copyright notices. Please read the information on this on the Internet (https://support.industry.siemens.com/cs/ww/en/view/109740777). Technology Module TM Pulse 2x24V (6ES7138‑6DB00‑0BB1) Manual, 05/2019, A5E35061186-AB...
  • Page 6: Table Of Contents

    Table of contents Preface ..............................3 Documentation guide ..........................8 Product overview ............................. 12 Properties ..........................12 Operating modes ........................14 Connecting .............................. 15 Terminal assignment and schematic circuit diagram .............. 15 Configuring/address space ........................21 Pulse output (single pulse) mode ................... 21 4.1.1 Function ..........................
  • Page 7 Table of contents 4.2.6 Control interface and feedback interface ................55 4.2.6.1 Assignment of the control interface..................55 4.2.6.2 Assignment of the feedback interface ..................58 4.2.7 Isochronous mode ......................... 61 Pulse train mode ........................63 4.3.1 Function ..........................63 4.3.1.1 Introduction ..........................
  • Page 8 Table of contents PWM with DC motor motor ....................108 4.6.1 Function ..........................108 4.6.1.1 Introduction ........................... 108 4.6.1.2 Duty cycle ..........................111 4.6.1.3 Period duration ........................111 4.6.1.4 On delay ..........................112 4.6.2 Configuring ..........................113 4.6.3 Parameter setting ........................115 4.6.4 Address space ........................
  • Page 9: Documentation Guide

    Documentation guide The documentation for the SIMATIC ET 200SP distributed I/O system is arranged into three areas. This arrangement enables you to access the specific content you require. Basic information The system manual describes in detail the configuration, installation, wiring and commissioning of the SIMATIC ET 200SP.
  • Page 10 Documentation guide Manual Collection ET 200SP The Manual Collection contains the complete documentation on the SIMATIC ET 200SP distributed I/O system gathered together in one file. You can find the Manual Collection on the Internet (https://support.industry.siemens.com/cs/ww/en/view/84133942). "mySupport" With "mySupport", your personal workspace, you make the most of your Industry Online Support.
  • Page 11 You can find the SIMATIC Automation Tool on the Internet (https://support.industry.siemens.com/cs/ww/en/view/98161300). PRONETA With SIEMENS PRONETA (PROFINET network analysis), you analyze the plant network during commissioning. PRONETA features two core functions: ● The topology overview independently scans PROFINET and all connected components.
  • Page 12 Documentation guide SINETPLAN SINETPLAN, the Siemens Network Planner, supports you in planning automation systems and networks based on PROFINET. The tool facilitates professional and predictive dimensioning of your PROFINET installation as early as in the planning stage. In addition, SINETPLAN supports you during network optimization and helps you to exploit network resources optimally and to plan reserves.
  • Page 13: Product Overview

    Product overview Properties Article number 6ES7138-6DB00-0BB1 View of the module ① ⑦ Module type and designa- LED for supply voltage tion ② ⑧ LED for diagnostics Function class ③ ⑨ 2D matrix code Module type color coding ④ ⑩ Terminal diagram Function and firmware version ⑤...
  • Page 14 BaseUnits you can use with the technology module in Product information on the documentation of the ET 200SP distributed I/O system (http://support.automation.siemens.com/WW/view/en/73021864). You can find additional information on accessories in the ET 200SP Distributed I/O System system manual (http://support.automation.siemens.com/WW/view/en/58649293). Technology Module TM Pulse 2x24V (6ES7138‑6DB00‑0BB1)
  • Page 15: Operating Modes

    Product overview 2.2 Operating modes Operating modes The technology module supports the following operating modes: Operating mode Meaning Pulse output (Page 21) output of a single pulse with defined On delay and variable pulse dura- tion (e.g. for dosing using a switch valve) Pulse width modulation Closed-loop current control, e.g.
  • Page 16: Connecting

    You will find an overview of the BaseUnits you can use with the technology module in Product information on the documentation of the ET 200SP distributed I/O system (http://support.automation.siemens.com/WW/view/en/73021864). You can find information on selecting the right BaseUnit in the ET 200SP Distributed I/O System (http://support.automation.siemens.com/WW/view/en/58649293) system manual and the ET 200SP Base Units (http://support.automation.siemens.com/WW/view/en/58532597/133300) equipment manual.
  • Page 17 Connecting 3.1 Terminal assignment and schematic circuit diagram Sensor supply To supply sensors connected to the digital inputs, the technology module supplies 24 V DC at the 24VDC output (terminals 1 and 2) with reference to M (terminals 5 and 7 as well as 6 and 8).
  • Page 18 Connecting 3.1 Terminal assignment and schematic circuit diagram If a wire break interrupts one of the two ground connections, the outputs are maintained at the required potential via the remaining ground connection. NOTICE Wire break at ground connection Always route cables to the central ground connection.
  • Page 19 Connecting 3.1 Terminal assignment and schematic circuit diagram The following figure shows the wiring of the technology module in one-channel operation. Figure 3-2 Wiring in one-channel operation (parallel connection) Note Load wiring resistance In one-channel operation, the cables for the DQ0.A and DQ1.A connections must have identical resistance (length and cross-section) to achieve optimal current distribution between the two outputs and to prevent errors in current measurement.
  • Page 20 Connecting 3.1 Terminal assignment and schematic circuit diagram Terminal assignment of the BaseUnit The table below shows the terminal assignment of the BaseUnit BU20-P12+A0+4B. Table 3- 1 Terminal assignment of the BaseUnit BU20-P12+A0+4B Description Terminal name View Terminal name Description 24 V DC sensor supply 24VDC 24VDC...
  • Page 21 Connecting 3.1 Terminal assignment and schematic circuit diagram Schematic circuit diagram The figure below shows the schematic circuit diagram of the technology module in two- channel operation. ① Electrical isolation ② Shield connection (to DIN rail or ground connection of the plant) ③...
  • Page 22: Configuring/Address Space

    Configuring/address space Pulse output (single pulse) mode 4.1.1 Function 4.1.1.1 Introduction In this operating mode, the respective channel of the technology module outputs a single pulse with the configured On delay and the pulse duration specified via the control interface. 4.1.1.2 Output sequence Starting the output sequence...
  • Page 23 Configuring/address space 4.1 Pulse output (single pulse) mode Pulse diagram The following figure shows an example of an output sequence when DIn.0 is being used as a hardware enable. Figure 4-1 Example of an output sequence If you are using the hardware enable, it is combined with the software enable. When the software enable is active, the output sequence starts at the first positive edge of the hardware enable.
  • Page 24: Pulse Duration

    Configuring/address space 4.1 Pulse output (single pulse) mode 4.1.1.3 Pulse duration The pulse duration is the time period that the digital output DQn.A remains set after the On delay has elapsed. You set the pulse duration in µs in the control interface using OUTPUT_VALUE as integer (UDINT).
  • Page 25: Sequence Counter

    Configuring/address space 4.1 Pulse output (single pulse) mode 4.1.1.5 Sequence counter The technology module has one sequence counter per channel, which counts the completed output sequences. Output sequences that were successfully completed as well those that were not successfully completed are counted. When the HW enable is being used, there is a possibility of very short output sequences that are not reliably detected by the CPU.
  • Page 26: Configuring

    Components needed Configuration software In the user program Centralized operation STEP 7 (TIA Portal): Direct access to control ET 200SP automation sys- • with a CPU 151xSP interface and feedback Device configuration and param- interface in the I/O data eter setting with hardware con- TM Pulse 2x24V •...
  • Page 27: Reaction To Cpu Stop

    The Hardware Support Packages (HSP) are available for download on the Internet (https://support.industry.siemens.com/cs/ww/en/view/23183356). GSD file The respective GSD file for the ET 200SP distributed I/O system is available for download on the Internet: ● GSD file PROFINET IO (http://support.automation.siemens.com/WW/view/en/57138621) ● GSD file PROFIBUS DP (http://support.automation.siemens.com/WW/view/en/73016883) 4.1.3...
  • Page 28: Parameter Setting

    1. Install the corresponding HSP file. STEP 7 with HSP You will then find the module in the hardware catalog under "ET 200SP". 2. Set the "Pulse output" mode and the further parameters of the module in the hardware configuration.
  • Page 29 Configuring/address space 4.1 Pulse output (single pulse) mode Parameters of the TM Pulse 2x24V in "Pulse output" mode The default settings of the parameters are shown in bold in the "Value range" column. Table 4- 2 Adjustable parameters Parameter Value range Scope Channel configuration Module...
  • Page 30: Address Space

    Note A library of PLC data types (LPD) for STEP 7 (TIA Portal) and SIMATIC S7-1200 / S7-1500 is available for download on the Internet (https://support.industry.siemens.com/cs/ww/en/view/109482396). 4.1.6.1 Assignment of the control interface The user program uses the control interface to influence the behavior of the technology module.
  • Page 31 Configuring/address space 4.1 Pulse output (single pulse) mode Byte offset Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 relative to start address Channel ↓ ↓ Reserved SET_DQB SET_DQA Reserved CTRL_DQ ENABLE Reserved RES_ ERROR Reserved...
  • Page 32 Configuring/address space 4.1 Pulse output (single pulse) mode Control bit/value Explanations SET_DQA You use this bit to set digital output DQn.A when TM_CTRL_DQ and SET_DQB are set to 0. SET_DQB You use this bit to set digital output DQn.B when TM_CTRL_DQ and SET_DQA are set to 0. TM_CTRL_DQ You enable the technological function of the digital output with this bit.
  • Page 33: Assignment Of The Feedback Interface

    Configuring/address space 4.1 Pulse output (single pulse) mode 4.1.6.2 Assignment of the feedback interface The user program receives current values and status information from the technology module via the feedback interface. Feedback interface per channel The following table shows the assignment of the feedback interface: Byte offset Bit 7...
  • Page 34: Isochronous Mode

    Further information You will find a detailed description of isochronous mode in: ● In the isochronous mode function manual as a download from the Internet (https://support.industry.siemens.com/cs/ww/en/view/109755401). ● PROFINET with STEP 7 function manual available for download on the Internet (https://support.industry.siemens.com/cs/ww/en/view/49948856).
  • Page 35: Pulse Width Modulation Pwm Mode

    Configuring/address space 4.2 Pulse width modulation PWM mode Pulse width modulation PWM mode 4.2.1 Function 4.2.1.1 Introduction In this operating mode, the respective channel of the technology module outputs a pulse width modulated signal with the configured minimum pulse duration and the configured period duration.
  • Page 36 Configuring/address space 4.2 Pulse width modulation PWM mode Pulse diagram The following figure shows an example of an output sequence when DIn.0 is being used as a hardware enable. Figure 4-2 Example of an output sequence If you are using the hardware enable, it is combined with the software enable. When the software enable is active, the output sequence starts at the first rising edge of the hardware enable.
  • Page 37: Duty Cycle

    Configuring/address space 4.2 Pulse width modulation PWM mode 4.2.1.3 Duty cycle The duty cycle corresponds to the ratio of pulse duration to period duration (also referred to as mark-to-space ratio). You set the duty cycle in the control interface (Page 55) using OUTPUT_VALUE as integer (UDINT).
  • Page 38: Period Duration

    Configuring/address space 4.2 Pulse width modulation PWM mode 4.2.1.4 Period duration You set the period duration in µs in the hardware configuration. The value range is dependent on whether or not the high-speed output function is being used: High-speed output Value range of the period duration Activated 10 ...
  • Page 39: On Delay

    Configuring/address space 4.2 Pulse width modulation PWM mode 4.2.1.5 On delay You set the On delay from 0 s to 85 s with a precision of 1 µs in the hardware configuration. In addition, you can change the On delay via the control interface by entering a new value in SLOT as an integer (UDINT).
  • Page 40: Dithering

    Configuring/address space 4.2 Pulse width modulation PWM mode 4.2.1.6 Dithering The dither function is specially designed for control of proportional valves. The dither function superimposes an adjustable symmetrical variation on the setpoint for control of the valve solenoid. This results in a minimal motion around the set position and prevents the valve from sticking due to stiction or hysteresis effect.
  • Page 41 Configuring/address space 4.2 Pulse width modulation PWM mode Dithering period duration The dithering period duration is the period duration of the dither signal. The value must be at least 4 times the period duration of the PWM signal and greater than 2 ms. The maximum value is 100 ms.
  • Page 42 Configuring/address space 4.2 Pulse width modulation PWM mode Incline of dithering ramp up and down Incline of dithering ramp up: This parameter is the slope of the ramp up of the dithering amplitude for a theoretical increase of amplitude from 0% to 100%. Incline of dithering ramp down: This parameter is the slope of the ramp down of the dithering amplitude for a theoretical decrease of amplitude from 100% to 0%.
  • Page 43 Configuring/address space 4.2 Pulse width modulation PWM mode Starting and stopping dithering The dithering starts with the configured ramp up as soon as the DITHER bit is set in the control interface (Page 55) during an active output sequence and a new dithering period duration starts.
  • Page 44 Configuring/address space 4.2 Pulse width modulation PWM mode The following figure shows an example of an output sequence with the following properties: ● Duty cycle = 50% ● Dithering period duration = 6 × Period duration of the PWM signal ●...
  • Page 45: Current Measurement/Control

    Configuring/address space 4.2 Pulse width modulation PWM mode 4.2.1.7 Current measurement/control Current measurement The technology module measures the load current at the digital output. The measured value of the current is returned as an S7 analog value in the MEASURED_CURRENT value in the feedback interface (Page 58).
  • Page 46 Configuring/address space 4.2 Pulse width modulation PWM mode Current control You can use the current control function to proportionally control the power transferred to an inductive or resistive load. Thermal effects are automatically regulated out. The setpoint of the current is specified by the user program. The module controls the duty cycle of the PWM signal according to the setpoint and the reaction depends on the PID parameters.
  • Page 47 ● New parameter data record is sent to module Further information You can find further information on PID controllers in the PID Control (https://support.industry.siemens.com/cs/ww/en/view/108210036) function manual, e.g. in the CONT_C section. Technology Module TM Pulse 2x24V (6ES7138‑6DB00‑0BB1) Manual, 05/2019, A5E35061186-AB...
  • Page 48: Minimum Pulse Duration And Minimum Interpulse Period

    Configuring/address space 4.2 Pulse width modulation PWM mode 4.2.1.8 Minimum pulse duration and minimum interpulse period The minimum pulse duration and the minimum interpulse period are the minimum pulse duration and interpulse period that are to be output. The module suppresses pulses and interpulse periods whose duration is less the minimum pulse duration.
  • Page 49: High-Speed Output

    Configuring/address space 4.2 Pulse width modulation PWM mode 4.2.1.9 High-speed output The high-speed output function enables an output frequency of a maximum of 100 kHz with an output current of a maximum of 100 mA. A high-speed output generates very steep edges.
  • Page 50: Configuring

    Components needed Configuration software In the user program Centralized operation STEP 7 (TIA Portal): Direct access to control ET 200SP automation sys- • with a CPU 151xSP interface and feedback Device configuration and param- interface in the I/O data eter setting with hardware con- TM Pulse 2x24V •...
  • Page 51 The Hardware Support Packages (HSP) are available for download on the Internet (https://support.industry.siemens.com/cs/ww/en/view/23183356). GSD file The respective GSD file for the ET 200SP distributed I/O system is available for download on the Internet: ● GSD file PROFINET IO (http://support.automation.siemens.com/WW/view/en/57138621) ● GSD file PROFIBUS DP (http://support.automation.siemens.com/WW/view/en/73016883) Technology Module TM Pulse 2x24V (6ES7138‑6DB00‑0BB1)
  • Page 52: Reaction To Cpu Stop

    Configuring/address space 4.2 Pulse width modulation PWM mode 4.2.3 Reaction to CPU STOP You set the response of the channel to a CPU STOP in the parameters of the device configuration. Table 4- 4 Response of channel to CPU STOP Option Meaning Output substitute...
  • Page 53: Parameter Setting

    1. Install the corresponding HSP file. STEP 7 with HSP You will then find the module in the hardware catalog under "ET 200SP". 2. Set the "Pulse width modulation PWM" mode and the further pa- rameters of the module in the hardware configuration.
  • Page 54 Configuring/address space 4.2 Pulse width modulation PWM mode Parameters of the TM Pulse 2x24V in "Pulse width modulation PWM" mode The following table shows the parameters for the module. The default settings of the parameters are shown in bold in the "Value range" column. Table 4- 5 Adjustable parameters Parameter...
  • Page 55 Configuring/address space 4.2 Pulse width modulation PWM mode Parameter Value range Scope Period duration 10...2000000...85000000 μs Channel Actual period duration Automatically calculated (read-only) Channel On delay for pulse output 0...85000000 μs Channel Dithering Channel Deactivated • Activated • Incline of dithering ramp up 0...30000 ms Channel Incline of dithering ramp down...
  • Page 56: Address Space

    Note A library of PLC data types (LPD) for STEP 7 (TIA Portal) and SIMATIC S7-1200 / S7-1500 is available for download on the Internet (https://support.industry.siemens.com/cs/ww/en/view/109482396). 4.2.6.1 Assignment of the control interface The user program uses the control interface to influence the behavior of the technology module.
  • Page 57 Configuring/address space 4.2 Pulse width modulation PWM mode Byte offset Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 relative to start address Channel ↓ ↓ Reserved DITHER SET_DQB SET_DQA Reserved CTRL_DQ ENABLE Reserved RES_ ERROR...
  • Page 58 Configuring/address space 4.2 Pulse width modulation PWM mode Control bit/value Explanations MODE_SLOT You specify whether you want to apply a change in SLOT once or cyclically with this bit. 0 means: As soon as you write the respective value in the corresponding output byte, the value from SLOT is applied once and kept until the next change.
  • Page 59: Assignment Of The Feedback Interface

    Configuring/address space 4.2 Pulse width modulation PWM mode 4.2.6.2 Assignment of the feedback interface The user program receives current values and status information from the technology module via the feedback interface. Feedback interface per channel The following table shows the assignment of the feedback interface: Byte offset Bit 7...
  • Page 60 Configuring/address space 4.2 Pulse width modulation PWM mode Feedback bit/value Explanations ERR_SLOT_VAL This bit indicates that the value in SLOT or LD_SLOT is invalid (when MODE_SLOT = 1) and was not accepted. As soon as the module has received a valid value from the control interface, ERR_SLOT_VAL is automatically reset.
  • Page 61 Configuring/address space 4.2 Pulse width modulation PWM mode Feedback bit/value Explanations QLMN_HLM This bit indicates that the manipulated value high limit of the current control has been reached. QLMN_LLM This bit indicates that the manipulated value low limit of the current control has been reached. Reserved Reserved bits are set to 0.
  • Page 62: Isochronous Mode

    Configuring/address space 4.2 Pulse width modulation PWM mode 4.2.7 Isochronous mode The technology module supports the "Isochronous mode" system function. In isochronous mode, the output sequence starts at time T after the SW_ENABLE control bit has been set. The period duration is also adapted to the application cycle (T ) and synchronized with it.
  • Page 63 Further information You will find a detailed description of isochronous mode in: ● In the isochronous mode function manual as a download from the Internet (https://support.industry.siemens.com/cs/ww/en/view/109755401). ● PROFINET with STEP 7 function manual available for download on the Internet (https://support.industry.siemens.com/cs/ww/en/view/49948856).
  • Page 64: Pulse Train Mode

    Configuring/address space 4.3 Pulse train mode Pulse train mode 4.3.1 Function 4.3.1.1 Introduction In this operating mode, the respective channel of the technology module outputs a number of pulses with the configured period duration, duty cycle and On delay. You specify the number of pulses via the control interface.
  • Page 65 Configuring/address space 4.3 Pulse train mode Pulse diagram The following figure shows an example of an output sequence when DIn.0 is being used as a hardware enable. Figure 4-4 Example of an output sequence If you are using the hardware enable, it is combined with the software enable. When the software enable is active, the output sequence starts at the first positive edge of the hardware enable.
  • Page 66: Number Of Pulses

    Configuring/address space 4.3 Pulse train mode 4.3.1.2 Number of pulses You set the number of pulses in the control interface (Page 73) using OUTPUT_VALUE as integer (UDINT). The value range is 1 to 4294967295 (2 -1). A change takes effect immediately.
  • Page 67: Period Duration

    Configuring/address space 4.3 Pulse train mode 4.3.1.4 Period duration You set the period duration in µs in the hardware configuration. The value range is dependent on whether or not the high-speed output function (Page 67) is being used: High-speed output Value range of the period duration Activated 10 ...
  • Page 68: Current Measurement

    Configuring/address space 4.3 Pulse train mode 4.3.1.6 Current measurement The technology module measures the load current at the digital output. The measured value of the current is returned as an S7 analog value in the MEASURED_CURRENT value in the feedback interface (Page 76). A valid measured value is available when the STS_ENABLE feedback bit is set after the first period duration of the output sequence.
  • Page 69: Configuring

    Components needed Configuration software In the user program Centralized operation STEP 7 (TIA Portal): Direct access to control ET 200SP automation sys- • with a CPU 151xSP interface and feedback Device configuration and param- interface in the I/O data eter setting with hardware con- TM Pulse 2x24V •...
  • Page 70: Reaction To Cpu Stop

    The Hardware Support Packages (HSP) are available for download on the Internet (https://support.industry.siemens.com/cs/ww/en/view/23183356). GSD file The respective GSD file for the ET 200SP distributed I/O system is available for download on the Internet: ● GSD file PROFINET IO (http://support.automation.siemens.com/WW/view/en/57138621) ● GSD file PROFIBUS DP (http://support.automation.siemens.com/WW/view/en/73016883) 4.3.3...
  • Page 71: Parameter Setting

    1. Install the corresponding HSP file. STEP 7 with HSP You will then find the module in the hardware catalog under "ET 200SP". 2. Set the "Pulse train" mode and the further parameters of the mod- ule in the hardware configuration.
  • Page 72 Configuring/address space 4.3 Pulse train mode Parameters of the TM Pulse 2x24V in "Pulse train" mode The default settings of the parameters are shown in bold in the "Value range" column. Table 4- 8 Adjustable parameters Parameter Value range Scope Channel configuration Module 2 channels (2 A)
  • Page 73 Configuring/address space 4.3 Pulse train mode Parameter Value range Scope On delay for pulse output 0...85000000 μs Channel Duty cycle Dependent on the output format Channel When configuring with HSP for STEP 7 or with a GSD file, you define the channel configuration by the selection of the module name.
  • Page 74: Address Space

    Note A library of PLC data types (LPD) for STEP 7 (TIA Portal) and SIMATIC S7-1200 / S7-1500 is available for download on the Internet (https://support.industry.siemens.com/cs/ww/en/view/109482396). 4.3.6.1 Assignment of the control interface The user program uses the control interface to influence the behavior of the technology module.
  • Page 75 Configuring/address space 4.3 Pulse train mode Byte offset Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 relative to start address Channel ↓ ↓ Reserved SET_DQB SET_DQA Reserved CTRL_DQ ENABLE Reserved RES_ ERROR Reserved Note Channel 1 is only available in two-channel operation of the module.
  • Page 76 Configuring/address space 4.3 Pulse train mode Control bit/value Explanations LD_SLOT You specify the meaning of the value in SLOT with this load request: 0000 means: No action, idle • 0001 means: Period duration in μs • 0010 means: On delay in μs •...
  • Page 77: Assignment Of The Feedback Interface

    Configuring/address space 4.3 Pulse train mode 4.3.6.2 Assignment of the feedback interface The user program receives current values and status information from the technology module via the feedback interface. Feedback interface per channel The following table shows the assignment of the feedback interface: Byte offset Bit 7...
  • Page 78 Configuring/address space 4.3 Pulse train mode Feedback bit/value Explanations ERR_SLOT_VAL This bit indicates that the value in SLOT or LD_SLOT is invalid (when MODE_SLOT = 1) and was not accepted. As soon as the module has received a valid value from the control interface, ERR_SLOT_VAL is automatically reset.
  • Page 79: Isochronous Mode

    Further information You will find a detailed description of isochronous mode in: ● In the isochronous mode function manual as a download from the Internet (https://support.industry.siemens.com/cs/ww/en/view/109755401). ● PROFINET with STEP 7 function manual available for download on the Internet (https://support.industry.siemens.com/cs/ww/en/view/49948856).
  • Page 80: On/Off Delay Mode

    Configuring/address space 4.4 On/Off delay mode On/Off delay mode 4.4.1 Function 4.4.1.1 Introduction In this operating mode, the respective channel of the technology module outputs pulses with a specified switching delay relative to digital input DIn.0. You specify the On delay via the control interface.
  • Page 81 Configuring/address space 4.4 On/Off delay mode Pulse diagram The following figure shows an example of an output sequence for the case that you set SW_ENABLE while digital input DIn.0 is not set. Figure 4-5 Example 1 of an output sequence The output sequence starts on a positive edge of SW_ENABLE, and the STS_SW_ENABLE and STS_ENABLE feedback bits are set.
  • Page 82 Configuring/address space 4.4 On/Off delay mode The following figure shows an example of an output sequence for the case that you set SW_ENABLE while digital input DIn.0 is set. Figure 4-6 Example 2 of an output sequence If you set SW_ENABLE while digital input DIn.0 is set, the first (falling) edge of DIn.0 is ignored.
  • Page 83 Configuring/address space 4.4 On/Off delay mode Aborting the output sequence If you reset the SW_ENABLE control bit, the software enable is deactivated and the current output sequence is aborted. The STS_ENABLE feedback bit and the digital output DQn.A are reset. A renewed pulse output is only possible after a restart of the output sequence.
  • Page 84: On Delay

    Configuring/address space 4.4 On/Off delay mode Retriggering the Off delay In the following case, the module cancels the current Off delay and restarts it with the next rising edge at digital input DIn.0: Off delay > Pulse duration + Interpulse period The following figure shows an example of the retriggering of the Off delay: Figure 4-8 Retriggering the Off delay...
  • Page 85: High-Speed Output

    Configuring/address space 4.4 On/Off delay mode 4.4.1.5 High-speed output The high-speed output function enables an output frequency of a maximum of 100 kHz with an output current of a maximum of 100 mA. A high-speed output generates very steep edges. The high-speed output generates signals at a higher frequency, but provides a lower maximum load current.
  • Page 86: Configuring

    Components needed Configuration software In the user program Centralized operation STEP 7 (TIA Portal): Direct access to control ET 200SP automation sys- • with a CPU 151xSP interface and feedback Device configuration and param- interface in the I/O data eter setting with hardware con- TM Pulse 2x24V •...
  • Page 87: Reaction To Cpu Stop

    The Hardware Support Packages (HSP) are available for download on the Internet (https://support.industry.siemens.com/cs/ww/en/view/23183356). GSD file The respective GSD file for the ET 200SP distributed I/O system is available for download on the Internet: ● GSD file PROFINET IO (http://support.automation.siemens.com/WW/view/en/57138621) ● GSD file PROFIBUS DP (http://support.automation.siemens.com/WW/view/en/73016883) 4.4.3...
  • Page 88: Parameter Setting

    1. Install the corresponding HSP file. STEP 7 with HSP You will then find the module in the hardware catalog under "ET 200SP". 2. Set the "On/Off delay" mode and the further parameters of the module in the hardware configuration.
  • Page 89 Configuring/address space 4.4 On/Off delay mode Parameters of the TM Pulse 2x24V in "On/Off delay" mode The default settings of the parameters are shown in bold in the "Value range" column. Table 4- 11 Adjustable parameters Parameter Value range Scope Channel configuration Module 2 channels (2 A)
  • Page 90: Address Space

    Note A library of PLC data types (LPD) for STEP 7 (TIA Portal) and SIMATIC S7-1200 / S7-1500 is available for download on the Internet (https://support.industry.siemens.com/cs/ww/en/view/109482396). 4.4.6.1 Assignment of the control interface The user program uses the control interface to influence the behavior of the technology module.
  • Page 91 Configuring/address space 4.4 On/Off delay mode Byte offset Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 relative to start address Channel ↓ ↓ Reserved SET_DQB SET_DQA Reserved CTRL_DQ ENABLE Reserved RES_ ERROR Reserved Note Channel 1 is only available in two-channel operation of the module.
  • Page 92 Configuring/address space 4.4 On/Off delay mode Control bit/value Explanations TM_CTRL_DQ You enable the technological function of the digital output with this bit. 0 means: SET_DQA and SET_DQB define states of DQn.A and DQn.B • 1 means: Output sequence defines the state of DQn.A; DQn.B is always 0. •...
  • Page 93: Assignment Of The Feedback Interface

    Configuring/address space 4.4 On/Off delay mode 4.4.6.2 Assignment of the feedback interface The user program receives current values and status information from the technology module via the feedback interface. Feedback interface per channel The following table shows the assignment of the feedback interface: Byte offset Bit 7...
  • Page 94 Configuring/address space 4.4 On/Off delay mode Feedback bit/value Explanations ERR_SLOT_VAL This bit indicates that the value in SLOT or LD_SLOT is invalid (when MODE_SLOT = 1) and was not accepted. As soon as the module has received a valid value from the control interface, ERR_SLOT_VAL is automatically reset.
  • Page 95: Isochronous Mode

    Further information You will find a detailed description of isochronous mode in: ● In the isochronous mode function manual as a download from the Internet (https://support.industry.siemens.com/cs/ww/en/view/109755401). ● PROFINET with STEP 7 function manual available for download on the Internet (https://support.industry.siemens.com/cs/ww/en/view/49948856).
  • Page 96: Frequency Output Mode

    Configuring/address space 4.5 Frequency output mode Frequency output mode 4.5.1 Function 4.5.1.1 Introduction In this operating mode, the respective channel of the technology module outputs a signal with a fixed duty cycle of 50% and the configured On delay. You specify the frequency via the control interface.
  • Page 97 Configuring/address space 4.5 Frequency output mode If you are using the hardware enable, it is combined with the software enable. When the software enable is active, the output sequence starts at the first rising edge of the hardware enable. Additional rising edges of the hardware enable during the output sequence are ignored.
  • Page 98: Frequency

    Configuring/address space 4.5 Frequency output mode 4.5.1.2 Frequency You set the output frequency in the control interface using OUTPUT_VALUE as floating point number (REAL). The value range is dependent on whether or not the high-speed output function (Page 98) is being used: High-speed output Value range of Value range of the frequency...
  • Page 99: High-Speed Output

    Configuring/address space 4.5 Frequency output mode 4.5.1.4 High-speed output The high-speed output function enables an output frequency of a maximum of 100 kHz with an output current of a maximum of 100 mA. A high-speed output generates very steep edges. The high-speed output generates signals at a higher frequency, but provides a lower maximum load current.
  • Page 100: Configuring

    Components needed Configuration software In the user program Centralized operation STEP 7 (TIA Portal): Direct access to control ET 200SP automation sys- • with a CPU 151xSP interface and feedback Device configuration and param- interface in the I/O data eter setting with hardware con- TM Pulse 2x24V •...
  • Page 101: Reaction To Cpu Stop

    The Hardware Support Packages (HSP) are available for download on the Internet (https://support.industry.siemens.com/cs/ww/en/view/23183356). GSD file The respective GSD file for the ET 200SP distributed I/O system is available for download on the Internet: ● GSD file PROFINET IO (http://support.automation.siemens.com/WW/view/en/57138621) ● GSD file PROFIBUS DP (http://support.automation.siemens.com/WW/view/en/73016883) 4.5.3...
  • Page 102: Parameter Setting

    1. Install the corresponding HSP file. STEP 7 with HSP You will then find the module in the hardware catalog under "ET 200SP". 2. Set the "Frequency output" mode and the further parameters of the module in the hardware configuration.
  • Page 103 Configuring/address space 4.5 Frequency output mode Parameters of the TM Pulse 2x24V in "Frequency output" mode The default settings of the parameters are shown in bold in the "Value range" column. Table 4- 14 Adjustable parameters Parameter Value range Scope Channel configuration Module 2 channels (2 A)
  • Page 104: Address Space

    Note A library of PLC data types (LPD) for STEP 7 (TIA Portal) and SIMATIC S7-1200 / S7-1500 is available for download on the Internet (https://support.industry.siemens.com/cs/ww/en/view/109482396). 4.5.6.1 Assignment of the control interface The user program uses the control interface to influence the behavior of the technology module.
  • Page 105 Configuring/address space 4.5 Frequency output mode Byte offset Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 relative to start address Channel ↓ ↓ Reserved SET_DQB SET_DQA Reserved CTRL_DQ ENABLE Reserved RES_ ERROR Reserved Note Channel 1 is only available in two-channel operation of the module.
  • Page 106 Configuring/address space 4.5 Frequency output mode Control bit/value Explanations TM_CTRL_DQ You enable the technological function of the digital output with this bit. 0 means: SET_DQA and SET_DQB define states of DQn.A and DQn.B • 1 means: Output sequence defines the state of DQn.A; DQn.B is always 0. •...
  • Page 107: Assignment Of The Feedback Interface

    Configuring/address space 4.5 Frequency output mode 4.5.6.2 Assignment of the feedback interface The user program receives current values and status information from the technology module via the feedback interface. Feedback interface per channel The following table shows the assignment of the feedback interface: Byte offset Bit 7...
  • Page 108: Isochronous Mode

    Further information You will find a detailed description of isochronous mode in: ● In the isochronous mode function manual as a download from the Internet (https://support.industry.siemens.com/cs/ww/en/view/109755401). ● PROFINET with STEP 7 function manual available for download on the Internet (https://support.industry.siemens.com/cs/ww/en/view/49948856).
  • Page 109: Pwm With Dc Motor Motor

    Configuring/address space 4.6 PWM with DC motor motor PWM with DC motor motor 4.6.1 Function 4.6.1.1 Introduction In this operating mode, the respective channel of the technology module at the bipolar digital output sends a pulse width modulated signal to control a brushed DC motor in both directions of rotation.
  • Page 110 Configuring/address space 4.6 PWM with DC motor motor Starting the output sequence To start the output sequence using the software enable, you set the SW_ENABLE control bit (Page 117). The STS_SW_ENABLE feedback bit indicates that the software enable in the technology module is active.
  • Page 111 Configuring/address space 4.6 PWM with DC motor motor The following figure shows an example of an output sequence for the forward direction when DIn.0 is being used as a limit switch. Figure 4-11 Example of an output sequence (limit switch) Aborting the output sequence If you reset the SW_ENABLE control bit, the software enable is deactivated and the current output sequence is aborted.
  • Page 112: Duty Cycle

    Configuring/address space 4.6 PWM with DC motor motor 4.6.1.2 Duty cycle The duty cycle corresponds to the ratio of pulse duration to period duration (also referred to as mark-to-space ratio). You set the duty cycle in the control interface (Page 117) using OUTPUT_VALUE in S7 analog format (DINT).
  • Page 113: On Delay

    Configuring/address space 4.6 PWM with DC motor motor 4.6.1.4 On delay You set the On delay from 0 s to 85 s with a precision of 1 µs in the hardware configuration. In addition, you can change the On delay via the control interface by entering a new value in SLOT as an integer (UDINT).
  • Page 114: Configuring

    Components needed Configuration software In the user program Centralized operation STEP 7 (TIA Portal): Direct access to control ET 200SP automation sys- • with a CPU 151xSP interface and feedback Device configuration and param- interface in the I/O data eter setting with hardware con- TM Pulse 2x24V •...
  • Page 115 The Hardware Support Packages (HSP) are available for download on the Internet (https://support.industry.siemens.com/cs/ww/en/view/23183356). GSD file The respective GSD file for the ET 200SP distributed I/O system is available for download on the Internet: ● GSD file PROFINET IO (http://support.automation.siemens.com/WW/view/en/57138621) ● GSD file PROFIBUS DP (http://support.automation.siemens.com/WW/view/en/73016883) Technology Module TM Pulse 2x24V (6ES7138‑6DB00‑0BB1)
  • Page 116: Parameter Setting

    1. Install the corresponding HSP file. STEP 7 with HSP You will then find the module in the hardware catalog under "ET 200SP". 2. Set the "PWM with DC motor" mode and the further parameters of the module in the hardware configuration.
  • Page 117 Configuring/address space 4.6 PWM with DC motor motor Parameters of the TM Pulse 2x24V in "PWM with DC motor" mode The default settings of the parameters are shown in bold in the "Value range" column. Table 4- 16 Adjustable parameters Parameter Value range Scope...
  • Page 118: Address Space

    Note A library of PLC data types (LPD) for STEP 7 (TIA Portal) and SIMATIC S7-1200 / S7-1500 is available for download on the Internet (https://support.industry.siemens.com/cs/ww/en/view/109482396). 4.6.5.1 Assignment of the control interface The user program uses the control interface to influence the behavior of the technology module.
  • Page 119 Configuring/address space 4.6 PWM with DC motor motor Byte offset Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 relative to start address Channel ↓ ↓ Reserved ENABLE Reserved RES_ ERROR Reserved Note Channel 1 is only available in two-channel operation of the module.
  • Page 120 Configuring/address space 4.6 PWM with DC motor motor Control bit/value Explanations LD_SLOT You specify the meaning of the value in SLOT with this load request: 0000 means: No action, idle • 0001 means: Period duration in μs • 0010 means: On delay in μs •...
  • Page 121: Assignment Of The Feedback Interface

    Configuring/address space 4.6 PWM with DC motor motor 4.6.5.2 Assignment of the feedback interface The user program receives current values and status information from the technology module via the feedback interface. Feedback interface per channel The following table shows the assignment of the feedback interface: Byte offset Bit 7...
  • Page 122 Configuring/address space 4.6 PWM with DC motor motor Feedback bit/value Explanations ERR_LD This bit indicates that the value in SLOT or LD_SLOT (when MODE_SLOT = 0) is invalid and was not accepted. The bit is reset once you have acknowledged the error with RES_ERROR. ERR_24V This bit indicates a short-circuit or an overload at output 24VDC If you have enabled diagnostic interrupts, the diagnostic interrupt "Short circuit / overload of the sensor supply voltage"...
  • Page 123: Isochronous Mode

    Configuring/address space 4.6 PWM with DC motor motor 4.6.6 Isochronous mode The technology module supports the "Isochronous mode" system function. In isochronous mode, the output sequence starts at time T after the SW_ENABLE control bit has been set. The period duration is also adapted to the application cycle (T ) and synchronized with it.
  • Page 124 Further information You will find a detailed description of isochronous mode in: ● In the isochronous mode function manual as a download from the Internet (https://support.industry.siemens.com/cs/ww/en/view/109755401). ● PROFINET with STEP 7 function manual available for download on the Internet (https://support.industry.siemens.com/cs/ww/en/view/49948856).
  • Page 125: Parallel Connection Of Channels

    Configuring/address space 4.7 Parallel connection of channels Parallel connection of channels When the two channels are connected in parallel, you get a logical channel with an output current of up to 4 A. The figure below shows two-channel operation in which the channels operate independent of each other and are separately configured.
  • Page 126 Configuring/address space 4.7 Parallel connection of channels The figure below shows one-channel operation in which you only configure Channel 0. Figure 4-13 One-channel operation (parallel connection) The following table presents the possible load current depending on whether or not the high- speed output is activated: Maximum output current High-speed output deactivated...
  • Page 127: Direct Control Of Digital Outputs

    Configuring/address space 4.8 Direct control of digital outputs Direct control of digital outputs Controlling of the output sequence by the user program or module You define how DQn.A and DQn.B are controlled using the TM_CTRL_DQ control bit: TM_CTRL_DQ = 0 TM_CTRL_DQ = 1 You define the states of outputs DQn.A and The output sequence of the configured operating...
  • Page 128 Configuring/address space 4.8 Direct control of digital outputs The following figure shows an example of an output sequence for direct control of DQn.A: Figure 4-14 Example of an output sequence for direct control of DQn.A (Pulse output mode) Note If you set the SET_DQA and SET_DQB control bits simultaneously, the ERR_DQB bit is set in the feedback interface and only the digital output DQn.A is set.
  • Page 129: Explanation Of Parameters

    Configuring/address space 4.9 Explanation of parameters Explanation of parameters 4.9.1 Channel configuration Channel configuration This parameter is used to specify whether both channels are to be connected in parallel. Channel configuration Meaning 2 channels (2 A) The two channels operate separately and each has a maximum output (default) current of 2 A.
  • Page 130: Operating Mode

    Configuring/address space 4.9 Explanation of parameters 4.9.2 Operating mode Operating mode You use this parameter to specify the function for which the channel of the technology module is used. This defines the setting options under "Parameters". Operating mode Meaning Mode-dependent parameters Pulse output The channel outputs a single pulse.
  • Page 131 Configuring/address space 4.9 Explanation of parameters Operating mode Meaning Mode-dependent parameters Pulse train The channel outputs a number of pulses. You specify High-speed output (0.1 A) • the number of pulses in the control interface. Function DI • Input delay •...
  • Page 132: Reaction To Cpu Stop

    Configuring/address space 4.9 Explanation of parameters 4.9.3 Reaction to CPU STOP Reaction to CPU STOP You use this parameter to determine the response of the channel to the failure of a higher- level controller. Reaction to CPU STOP Meaning Output substitute value The channel outputs the configured substitute values at the digital (default) outputs until the next STOP-RUN transition of the CPU.
  • Page 133: Diagnostics

    Configuring/address space 4.9 Explanation of parameters 4.9.4 Diagnostics The technology module can trigger additional diagnostic interrupts when you enable the diagnostic interrupts in the basic parameters. These diagnostic interrupts are processed in an interrupt OB. Group diagnostics You use this parameter to specify whether a diagnostic interrupt is to be triggered for following errors: ●...
  • Page 134: Parameter

    Configuring/address space 4.9 Explanation of parameters 4.9.5 Parameter High-speed output (0.1 A) Use this parameter to specify whether or not the respective digital output works as a fast push-pull switch. Option Meaning Activated The digital outputs work as fast push-pull switches and each can carry a rated load current of 0.1 A.
  • Page 135 Configuring/address space 4.9 Explanation of parameters Input delay This parameter can be used to suppress signal noise at the digital inputs of a channel. Changes to the signal are only detected if they remain stable for longer than the configured input delay time.
  • Page 136 Configuring/address space 4.9 Explanation of parameters Minimum pulse duration This parameter is used to specify the minimum permitted pulse duration for the PWM signal. Pulses and pauses which fall below the value are suppressed. The default setting is "0 μs". Note The Minimum pulse duration is not effective if you have activated "Current control".
  • Page 137 Configuring/address space 4.9 Explanation of parameters Duty cycle This parameter is used to specify the pulse-pause ratio (also referred to as pulse duty factor or duty factor) of the output signal in the selected output format. The default setting is "50%". Dithering You can use this parameter to specify whether the PWM signal will be overlaid by a dither signal:...
  • Page 138 Configuring/address space 4.9 Explanation of parameters Dithering frequency This value is calculated from the configured period duration of the dither signal. The value cannot be changed (read only). Current control You can use this parameter to activate the PID algorithm for the control of the output current. The parameter is disabled in the default setting.
  • Page 139 Configuring/address space 4.9 Explanation of parameters Dead band width You can use this parameter to specify the deviation of the output current from the current setpoint, within which there is no readjustment. The deviation refers to a range above and below the current setpoint.
  • Page 140: Handling Of The Slot Parameters

    Configuring/address space 4.10 Handling of the SLOT parameters 4.10 Handling of the SLOT parameters In addition to the main setpoint OUTPUT_VALUE, you can change a setpoint for another parameter. You specify the load value with the SLOT value in the control interface. You use the LD_SLOT load request to specify the meaning of the value in SLOT depending on the operating mode: LD_SLOT...
  • Page 141 Configuring/address space 4.10 Handling of the SLOT parameters MODE_SLOT One-time change (MODE_SLOT = 0) A one-time change is recommended when another parameter besides OUTPUT_VALUE must be changed occasionally. The module is not reset in this case. By contrast, if the change is made by transferring a new parameter data record (Page 155), the module is reset.
  • Page 142 Configuring/address space 4.10 Handling of the SLOT parameters Cyclic change (MODE_SLOT = 1) A cyclic change is recommended when another parameter besides OUTPUT_VALUE is to be cyclically changed. Note You can stop the cyclic change during the output sequence by setting LD_SLOT and MODE_SLOT to 0.
  • Page 143 Configuring/address space 4.10 Handling of the SLOT parameters 4b You cyclically write invalid values in SLOT. 4c The ERR_SLOT_VAL feedback bit is set because the value in SLOT is invalid. The respective value from SLOT is not applied. 4d You cyclically write valid values in SLOT. 4e The ERR_SLOT_VAL feedback bit is automatically reset because the module has again received valid values.
  • Page 144: Interrupts/Diagnostic Messages

    Interrupts/diagnostic messages Status and error displays LED displays ① ⑥ DIAG (green/red) PWR (green) ② ⑦ Status of DI0.0 (green) Status of DI1.0 (green) ③ ⑧ Status of DQ0.A (green) Status of DQ1.A (green) ④ ⑨ Status of DQ0.B (green) Status of DQ1.B (green) ⑤...
  • Page 145 Table 5- 1 Status and error displays DIAG LED DIAG Meaning Solution Backplane bus supply of the ET 200SP not OK Check or switch on the supply voltage on the CPU or on the interface module. Technology module parameters not assigned —...
  • Page 146: Diagnostic Messages

    (https://support.industry.siemens.com/cs/ww/en/view/59192926), section "System diagnostics in user program". If the module is being operated as a distributed module in an ET 200SP system with PROFIBUS DP, you have the option of reading out diagnostic data with the RDREC or RD_REC instruction using data record 0 and 1. You can find the structure of the data records in the manual for the IM 155-6 DP HF interface module available for download on the Internet (https://support.industry.siemens.com/cs/ww/en/view/73098660).
  • Page 147 Interrupts/diagnostic messages 5.2 Diagnostic messages Diagnostics alarms The diagnostics are displayed as plain text in STEP 7 (TIA Portal) in the online and diagnostics view. You can evaluate the error codes with the user program. The following diagnostics can be signaled: Table 5- 5 Diagnostics alarms, their meaning and corrective measures Diagnostics alarm...
  • Page 148 Interrupts/diagnostic messages 5.2 Diagnostic messages Diagnostics alarm Error Meaning Solution code Supply voltage Error at supply voltage L+ Check supply voltage L+ at the Ba- • • fault seUnit Possible causes: • Check wiring of supply voltage L+ • – Low voltage –...
  • Page 149: Technical Specifications

    Technical specifications Article number 6ES7138-6DB00-0BB1 General information Product type designation TM Pulse 2x24 V Firmware version V1.0 FW update possible • usable BaseUnits BU type B1 Color code for module-specific color identifica- CC40 tion plate Product function Yes; I&M 0 I&M data •...
  • Page 150 Technical specifications Article number 6ES7138-6DB00-0BB1 Encoder supply Number of outputs 2; A common 24V encoder supply for both chan- nels 24 V encoder supply Yes; L+ (-0.8 V) 24 V • Yes; per module, electronic Short-circuit protection • 300 mA Output current, max.
  • Page 151 Technical specifications Article number 6ES7138-6DB00-0BB1 Digital outputs Type of digital output P- and M-switching Number of digital outputs 2; 1 per channel Current-sinking Current-sourcing Short-circuit protection Yes; electronic/thermal 6.8 A with Standard output, 2 A with High Speed Response threshold, typ. •...
  • Page 152 Technical specifications Article number 6ES7138-6DB00-0BB1 Switching capacity of the outputs with resistive load, max. • 10 W; 1 W with High Speed output on lamp load, max. • Load resistance range 12 Ω; 240 ohm with High Speed output lower limit •...
  • Page 153 Technical specifications Article number 6ES7138-6DB00-0BB1 Interrupts/diagnostics/status information Diagnostics function Substitute values connectable Yes; Parameterizable Alarms Diagnostic alarm • Diagnostic messages Monitoring the supply voltage • Short-circuit • Diagnostics indication LED Yes; green PWR LED Monitoring of the supply voltage (PWR- •...
  • Page 154 Technical specifications Article number 6ES7138-6DB00-0BB1 Dimensions Width 20 mm Height 73 mm Depth 58 mm Weights Weight, approx. 50 g Derating information for total current of outputs If the digital outputs of the module are operated with resistive or inductive loads, you should derate the total current of the loads at the digital outputs of the technology module.
  • Page 155 Total current depending on the ambient temperature with a duty cycle of 50% (horizontal installation of the system) The derating curves for a vertical installation of the system are shifted by 10 °C to the left. Dimension drawing See ET 200SP BaseUnits (http://support.automation.siemens.com/WW/view/en/58532597/133300) manual Technology Module TM Pulse 2x24V (6ES7138‑6DB00‑0BB1) Manual, 05/2019, A5E35061186-AB...
  • Page 156: Parameter Data Record

    PLC data types (LPD) for STEP 7 (TIA Portal) and SIMATIC S7-1200 / S7-1500 is available for download on the Internet (https://support.industry.siemens.com/cs/ww/en/view/109482396). Structure of data record 128 The following tables show you the structure of data record 128 for TM Pulse 2x24V per operating mode.
  • Page 157 Parameter data record A.1 Parameter assignment and structure of the parameter data record Bit → Byte channel ↓ 56...107 Channel 1 4/56 Reserved High-speed Operating mode: output 0000 : Pulse output (0.1 A) 0001 : Pulse width modulation PWM 0010 : Pulse train 0011 : On/Off delay...
  • Page 158 Parameter data record A.1 Parameter assignment and structure of the parameter data record Table A- 2 Parameter data record 128 in the operating mode "Pulse width modulation PWM" Bit → Byte channel ↓ 0...3 Header Major Version = 0 Minor Version = 1 Length of parameter data per channel = 52 Reserved 4...55...
  • Page 159 Parameter data record A.1 Parameter assignment and structure of the parameter data record Bit → Byte channel ↓ 8...55/ Values 60...107 8...11/ Minimum pulse duration: 60...63 UDINT: Value range in μs: 0 to 85000000 or 0 to 510FF40 12...15/ Period duration: 64...67 UDINT: Value range in μs: 10 to 85000000 or A to 510FF40...
  • Page 160 Parameter data record A.1 Parameter assignment and structure of the parameter data record Table A- 3 Parameter data record 128 in the "Pulse train" mode Bit → Byte channel ↓ 0...3 Header Major Version = 0 Minor Version = 1 Length of parameter data per channel = 52 Reserved 4...55...
  • Page 161 Parameter data record A.1 Parameter assignment and structure of the parameter data record Bit → Byte channel ↓ 8...55/ Values 60...107 8...11/ Reserved 60...63 12...15/ Period duration: 64...67 UDINT: Value range in μs: 10 to 85000000 or A to 510FF40 16...19/ On delay: 68...71...
  • Page 162 Parameter data record A.1 Parameter assignment and structure of the parameter data record Table A- 4 Parameter data record 128 in "On/Off delay" mode Bit → Byte channel ↓ 0...3 Header Major Version = 0 Minor Version = 1 Length of parameter data per channel = 52 Reserved 4...55 Channel 0...
  • Page 163 Parameter data record A.1 Parameter assignment and structure of the parameter data record Bit → Byte channel ↓ 8...55/ Values 60...107 8...19/ Reserved 60...71 20...23/ Off delay: 72...75 UDINT: Value range in μs: 0 to 85000000 or 0 to 510FF40 24...55/ Reserved 76...107...
  • Page 164 Parameter data record A.1 Parameter assignment and structure of the parameter data record Table A- 5 Parameter data record 128 in the "Frequency output" mode Bit → Byte channel ↓ 0...3 Header Major Version = 0 Minor Version = 1 Length of parameter data per channel = 52 Reserved 4...55...
  • Page 165 Parameter data record A.1 Parameter assignment and structure of the parameter data record Bit → Byte channel ↓ 8...55/ Values 60...107 8...15/ Reserved 60...67 16...19/ On delay: 68...71 UDINT: Value range in μs: 0 to 85000000 or 0 to 510FF40 20...55/ Reserved 72...107...
  • Page 166 Parameter data record A.1 Parameter assignment and structure of the parameter data record Table A- 6 Parameters data record 128 in "PWM with DC motor" mode Bit → Byte channel ↓ 0...3 Header Major Version = 0 Minor Version = 1 Length of parameter data per channel = 52 Reserved 4...55...
  • Page 167 Parameter data record A.1 Parameter assignment and structure of the parameter data record Bit → Byte channel ↓ 8...55/ Values 60...107 8...11/ Reserved 60...63 12...15/ Period duration: 64...67 UDINT: Value range in μs: 100 to 85000000 or 64 to 510FF40 16...19/ On delay: 68...71...
  • Page 168: Parameter Validation Errors

    Parameter data record A.2 Parameter validation errors Parameter validation errors If you make the parameter settings in STEP 7 (TIA Portal) or in STEP 7, the parameter values are checked before they are transferred to the technology module. This process prevents parameter errors.
  • Page 169 Parameter data record A.2 Parameter validation errors Error codes The following table shows the module-specific error codes and their meaning for parameter data record 128. Table A- 7 Error codes for parameter validation Error code in STATUS parame- Meaning Solution ter (hexadecimal) Byte 0 Byte 1 Byte 2 Byte 3 Data record number unknown...
  • Page 170 Parameter data record A.2 Parameter validation errors Error code in STATUS parame- Meaning Solution ter (hexadecimal) Byte 0 Byte 1 Byte 2 Byte 3 Value below low limit of the parameter "Period Without High-speed output: Enter a parameter value duration" of at least 100 With high-speed output: Enter a parameter value of at least 10...
  • Page 171: Flow Chart: Handling Of The Slot Parameters

    Flow chart: Handling of the SLOT parameters The following figure shows a flow chart for the handling of the SLOT parameters with a one- time change (MODE_SLOT = 0). Figure B-1 Flow chart for one-time change (MODE_SLOT = 0) Technology Module TM Pulse 2x24V (6ES7138‑6DB00‑0BB1) Manual, 05/2019, A5E35061186-AB...
  • Page 172: Index

    Index LED displays, 143 Load wiring, 15 Address space, 29, 55, 73, 89, 103, 117 MODE_SLOT, 139 BaseUnit, 15 On/Off delay mode, 79 Control interface, 89 Feedback interface, 92 Channel configuration, 128 Minimum pulse duration, 82 Configuration Off delay, 83 Address space, 29, 55, 73, 89, 103, 117 On delay, 83 Configuration software, 25, 49, 68, 85, 99, 113...
  • Page 173 Index Isochronous mode, 61 Minimum pulse duration, 47 On delay, 38 Period duration, 37 PWM with DC motor mode, 108 Control interface, 117 Duty cycle, 111 Feedback interface, 120 Isochronous mode, 122 On delay, 112 Period duration, 111 Reaction to CPU STOP, 131 Sensor wiring, 15 SLOT, 139 System environment, 25, 49, 68, 85, 99, 113...

Table of Contents