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.
Generally-applicable information on installation and commissioning of the S7-1500 or ET 200MP is available in the S7-1500 / ET 200MP automation system (http://support.automation.siemens.com/WW/view/en/59191792) System Manual. The counting and measuring functions and position input of the TM PosInput 2 technology module are described in more detail in the Counting, measurement and position input (http://support.automation.siemens.com/WW/view/en/59709820) Function Manual.
This information is provided by the Siemens Industry Online Support in the Internet (https://support.industry.siemens.com). Industry Mall The Industry Mall is the catalog and order system of Siemens AG for automation and drive solutions on the basis of Totally Integrated Automation (TIA) and Totally Integrated Power (TIP).
Siemens accepts no liability for the use of the open source software over and above the intended program sequence, or for any faults caused by modifications to the software.
This arrangement enables you to access the specific content you require. Basic information The System Manual and Getting Started describe in detail the configuration, installation, wiring and commissioning of the SIMATIC S7-1500 and ET 200MP systems. The STEP 7 online help supports you in the configuration and programming. Device information Product manuals contain a compact description of the module-specific information, such as properties, wiring diagrams, characteristics and technical specifications.
Documentation guide Manual Collection S7-1500/ET 200MP The Manual Collection contains the complete documentation on the SIMATIC S7-1500 automation system and the ET 200MP 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/86140384).
Product overview Properties Article number 6ES7551-1AB01-0AB0 The TM PosInput 2 technology module with article number 6ES7551-1AB01-0AB0 and firmware version V2.0 is a compatible replacement for the TM PosInput 2 with article number 6ES7551-1AB00-0AB0. The TM PosInput 2 with article number 6ES7551-1AB01-0AB0 can be used in configurations in which the TM PosInput 2 with article number 6ES7551-1AB00-0AB0 is configured.
Page 12
Product overview 2.1 Properties View of the module ① Module type and designation ⑥ LED for 24 V encoder supply ② Article number ⑦ LED for supply voltage ③ Release number ⑧ LEDs for diagnostics ④ LEDs for status channel 0 ⑨...
Page 13
Product overview 2.1 Properties Properties The TM PosInput 2 technology module has the following properties: • Technical properties – Two channels – Interfaces: SSI encoder signals D (SSI data) and C (SSI clock) or RS422/TTL encoder signals A, B and N 5 V and 24 V encoder supply, short-circuit proof DI0 and DI1 digital input signals (per channel) DQ0 and DQ1 digital output signals (per channel, short-circuit proof)
The following component needs to be ordered separately: • Front connectors, including potential jumpers and cable ties You can find information on the front connector in system manual S7-1500 / ET 200MP Automation System (http://support.automation.siemens.com/WW/view/en/59191792), section "Accessories". Technology module TM PosInput 2 (6ES7551-1AB01-0AB0)
Product overview 2.2 Functions Functions 2.2.1 Acquisition of encoder signals 2.2.1.1 Position input with SSI absolute encoder You can use the TM PosInput 2 technology module per channel with one SSI absolute encoder for position detection. The technology module reads the position value via a synchronous serial interface from the SSI absolute encoder and makes it available to the controller.
Product overview 2.2 Functions 2.2.1.2 Counting with incremental or pulse encoder Counting is the detecting and adding up of events. The counters of the technology module detect encoder signals and pulses and evaluate them accordingly. The count direction can be specified using encoder or pulse signals or through the user program.
Product overview 2.2 Functions 2.2.2 Measured value determination The following high-accuracy measurement functions are available (accuracy up to 100 ppm): • Frequency measurement with the unit of hertz • Period measurement with the unit of seconds • Velocity measurement with a flexibly adaptable unit •...
You can find a detailed description of the use of Motion Control and its configuration in the following: • Function manual S7-1500 Motion Control available for download on the Internet (https://support.industry.siemens.com/cs/ww/en/view/59381279) • Function manual S7-1500T Motion Control available for download on the Internet (https://support.industry.siemens.com/cs/ww/en/view/109481326) 2.2.5...
Product overview 2.2 Functions Diagnostic interrupt The technology module can trigger diagnostic interrupts. You enable the diagnostic interrupts in the device configuration. Input filter To suppress interference, you can configure an input filter for the RS422/TTL encoder inputs and for the digital inputs. Isochronous mode The technology module supports the "Isochronous mode"...
You can find information on wiring the front connector, shielding the cable, etc., in system manual S7-1500 / ET 200MP Automation System (http://support.automation.siemens.com/WW/view/en/59191792), section Wiring. Pin assignment for the power supply element The power supply element is plugged onto the front connector and serves to supply the technology module.
Wiring 3.1 SSI encoder signals Input delay for digital inputs To suppress interference, you can configure an input delay for the digital inputs. Note If you select the "None" or "0.05 ms" option, you must use shielded cables for connection of the digital inputs.
Wiring 3.1 SSI encoder signals Pin assignment for the front connector The table below shows the pin assignment of the front connector. Table 3- 1 Pin assignment of the front connector Designation Signal name View Signal name Designation Channel 0 Channel 1 SSI data signal +D +CH0.A/D...
Page 23
Wiring 3.1 SSI encoder signals The figure below shows the block diagram of the technology module with one connected SSI absolute encoder. ① Electrical isolation ② Encoder supply, optionally 5 V DC or 24 V DC, according to the specification of the encoder manufacturer ③...
Wiring 3.2 RS422 encoder signals RS422 encoder signals RS422 encoder signals/count signals The TM PosInput 2 can process RS422 encoder signals. These counting encoder signals are designated with the letters A, B and N. An RS422 encoder signal uses a pair of wires and the counter information is transmitted as differential voltage.
Page 25
Wiring 3.2 RS422 encoder signals Pin assignment for the front connector The table below shows the pin assignment of the front connector. Table 3- 2 Pin assignment of the front connector: Channel 0 Designation Signal name View RS422 RS422 pulse encoder incremental encoder with without...
Page 26
Wiring 3.2 RS422 encoder signals Table 3- 3 Pin assignment of the front connector: Channel 1 View Signal name Designation RS422 RS422 pulse encoder incremental encoder with without with direc- without direc- signal N signal N tion signal tion signal down +CH1.A/D Encoder signal +A...
Page 27
Wiring 3.2 RS422 encoder signals The figure below shows the block diagram of the technology module with one connected RS422 incremental encoder. ① Electrical isolation ② Encoder supply, optionally 5 V DC or 24 V DC, according to the specification of the encoder manufacturer ③...
Wiring 3.3 TTL encoder signals TTL encoder signals TTL encoder signals/counting signals The TM PosInput 2 can process TTL encoder signals. The counting encoder signals are designated with the letters A, B and N. An encoder signal with TTL standard uses a single cable.
Page 29
Wiring 3.3 TTL encoder signals Pin assignment for the front connector The table below shows the pin assignment of the front connector. Table 3- 4 Pin assignment of the front connector: Channel 0 Designation Signal name View TTL incremental encoder TTL pulse encoder with without...
Page 30
Wiring 3.3 TTL encoder signals Table 3- 5 Pin assignment of the front connector: Channel 1 View Signal name Designation TTL incremental encoder TTL pulse encoder with without with direction without direc- signal N signal N signal tion signal down +CH1.A/D Encoder signal A Counting signal A...
Page 31
Wiring 3.3 TTL encoder signals The figure below shows the block diagram of the technology module with one connected TTL incremental encoder. ① Electrical isolation ② Encoder supply, optionally 5 V DC or 24 V DC, according to the specification of the encoder manufacturer ③...
• Function manual Counting, Measurement and Position Detection available for download on the Internet (http://support.automation.siemens.com/WW/view/en/59709820) • Information system of STEP 7 (TIA Portal) under "Using technology functions > Counting, measurement and position input > Counting, measurement and position input (S7-1500)"...
Portal versions. You can find the Hardware Support Packages (HSP) for download on the Internet (https://support.industry.siemens.com/cs/ww/en/view/72341852). You can also access this download from the menu bar of STEP 7 (TIA Portal): "Options > Support packages > Download from the Internet".
Configuring/address space 4.1 Operating with "Counting and measurement" technology object 4.1.2.1 Parameters (SSI absolute encoder) Parameters of the TM PosInput 2 with SSI absolute encoder The following parameter settings are possible in the hardware configuration. The default settings of the parameters are shown in bold in the "Value range" column. Table 4- 1 Settable parameters and their default setting (SSI absolute encoder) Parameter...
Page 35
Configuring/address space 4.1 Operating with "Counting and measurement" technology object The following parameter settings are possible in the technology object: Table 4- 2 Settable parameters and their default setting (SSI absolute encoder) Parameter Value range Scope 10 bits...13 bits...40 bits Frame length Channel Code type...
Page 36
Configuring/address space 4.1 Operating with "Counting and measurement" technology object Parameter Value range Scope Edge selection for DI Channel At rising edge • • At falling edge • At rising and falling edge Frequency of Capture function Channel • Once •...
You can find a detailed description of the parameters in function manual Counting, Measurement and Position Detection in sections Basic parameters and Configuring the SSI_Absolute_Encoder available for download on the Internet (http://support.automation.siemens.com/WW/view/en/59709820). Technology module TM PosInput 2 (6ES7551-1AB01-0AB0) Equipment Manual, 06/2022, A5E03982218-AC...
Configuring/address space 4.1 Operating with "Counting and measurement" technology object 4.1.2.2 Parameters (incremental or pulse encoder) Parameters of the TM PosInput 2 with incremental or pulse encoder The following parameter settings are possible in the hardware configuration. The default settings of the parameters are shown in bold in the "Value range" column. Table 4- 3 Settable parameters and their default setting (incremental or pulse encoder) Parameter...
Page 39
Configuring/address space 4.1 Operating with "Counting and measurement" technology object The following parameter settings are possible in the technology object: Table 4- 4 Settable parameters and their default setting (incremental or pulse encoder) Parameter Value range Scope Signal type Channel •...
Page 40
Configuring/address space 4.1 Operating with "Counting and measurement" technology object Parameter Value range Scope Counting high limit -2147483648...2147483647 Channel Start value -2147483648...0...2147483647 Channel -2147483648...2147483647 Counting low limit Channel Reaction to violation of a count- Channel • Stop counting ing limit •...
Page 41
You can find a detailed description of the parameters in function manual Counting, Measurement and Position Detection in sections Basic parameters and Configuring the High_Speed_Counter available for download on the Internet (http://support.automation.siemens.com/WW/view/en/59709820). Technology module TM PosInput 2 (6ES7551-1AB01-0AB0) Equipment Manual, 06/2022, A5E03982218-AC...
Configuring/address space 4.1 Operating with "Counting and measurement" technology object 4.1.3 Address space Address space of the technology module Table 4- 5 Size of input and output addresses of the TM PosInput 2 when operating with "Counting and measurement" technology object Inputs Outputs Size per channel...
You can find a detailed description of isochronous mode in the following: • In the Isochronous Mode Function Manual as a download from the Internet (https://support.industry.siemens.com/cs/ww/en/view/109755401) • Function manual PROFINET with STEP 7 available for download on the Internet (https://support.industry.siemens.com/cs/ww/en/view/49948856)
• Function manual Counting, Measurement and Position Detection available for download on the Internet (http://support.automation.siemens.com/WW/view/en/59709820) • Information system of STEP 7 (TIA Portal) under "Using technology functions > Counting, measurement and position input > Counting, measurement and position input (S7-1500)"...
For information on the configuration with axis technology objects, refer to the S7-1500T Motion Control (https://support.industry.siemens.com/cs/ww/en/view/109481326) Function Manual. 4. Open the configuration of the axis technology object, e.g. using the Configuration button in the respective instruction for the technology object.
Configuring/address space 4.2 Position input for "Motion Control" technology object 4.2.2.1 Parameters (SSI absolute encoder) Parameters of the TM PosInput 2 with SSI absolute encoder The following parameter settings are possible. The default settings of the parameters are shown in bold in the "Value range" column. Table 4- 7 Settable parameters and their default setting (SSI absolute encoder) Parameter...
You can find a detailed description of the parameters in function manual Counting, Measurement and Position Detection, section Module parameters (position input for Motion Control) available for download on the Internet (http://support.automation.siemens.com/WW/view/en/59709820). 4.2.2.2 Parameters (incremental or pulse encoder) Parameters of the TM PosInput 2 with incremental or pulse encoder The following parameter settings are possible.
Page 48
You can find a detailed description of the parameters in function manual Counting, Measurement and Position Detection, section Module parameters (position input for Motion Control) available for download on the Internet (http://support.automation.siemens.com/WW/view/en/59709820). Technology module TM PosInput 2 (6ES7551-1AB01-0AB0) Equipment Manual, 06/2022, A5E03982218-AC...
Configuring/address space 4.2 Position input for "Motion Control" technology object 4.2.3 Address space Address space of the technology module Table 4- 9 Size of input and output addresses of the TM PosInput 2 with position input for "Motion Control" technology object Inputs Outputs Size per channel...
You can find a detailed description of isochronous mode in the following: • In the Isochronous Mode Function Manual as a download from the Internet (https://support.industry.siemens.com/cs/ww/en/view/109755401). • Function manual PROFINET with STEP 7 available for download on the Internet (https://support.industry.siemens.com/cs/ww/en/view/49948856)
Configuring/address space 4.3 Manual operation (without technology object) Manual operation (without technology object) 4.3.1 Configuring Introduction You configure the technology module and assign its parameters with the configuration software. The functions of the technology module are controlled and checked by the user program via the control and feedback interface.
Page 52
• Function manual Counting, Measurement and Position Detection available for download on the Internet (http://support.automation.siemens.com/WW/view/en/59709820) • Information system of STEP 7 (TIA Portal) under "Using technology functions > Counting, measurement and position input > Counting, measurement and position input (S7-1500)"...
2. Set the parameters in the hardware configuration. You can find information on the respective dependencies of the parameters in function manual Counting, Measurement and Position Detection (http://support.automation.siemens.com/WW/view/en/59709820). The parame- ters marked with in the following tables are not configurable in the PROFIBUS GSD file.
Configuring/address space 4.3 Manual operation (without technology object) 4.3.2.1 Parameters (SSI absolute encoder) Parameters of the TM PosInput 2 with SSI absolute encoder The following parameter settings are possible: Table 4- 10 Settable parameters and their default setting (SSI absolute encoder) Parameter Value range Scope...
Page 56
Configuring/address space 4.3 Manual operation (without technology object) Parameter Value range Scope Set output Channel Between comparison value • and count high limit / meas- ured value >= comparison value • Between comparison value and low limit / measured value <= comparison value •...
Page 57
You can find a detailed description of the parameters in function manual Counting, Measurement and Position Detection, sections Basic parameters and Manual operation available for download on the Internet (http://support.automation.siemens.com/WW/view/en/59709820). Technology module TM PosInput 2 (6ES7551-1AB01-0AB0) Equipment Manual, 06/2022, A5E03982218-AC...
Configuring/address space 4.3 Manual operation (without technology object) 4.3.2.2 Parameters (incremental or pulse encoder) Parameters of the TM PosInput 2 with incremental or pulse encoder The following parameter settings are possible: Table 4- 11 Settable parameters and their default setting (incremental or pulse encoder) Parameter Value range Scope...
Page 59
Configuring/address space 4.3 Manual operation (without technology object) Parameter Value range Scope Signal type Channel • Pulse (A) Pulse (A) and direction (B) • • Count up (A), count down (B) • Incremental encoder (A, B phase-shifted) • Incremental encoder (A, B, N) Signal evaluation Channel Single...
Page 60
Configuring/address space 4.3 Manual operation (without technology object) Parameter Value range Scope Counting high limit -2147483648...2147483647 Channel Start value -2147483648...0...2147483647 Channel Counting low limit -2147483648...2147483647 Channel Reaction to violation of a counting Channel • Stop counting limit Continue counting • Reset when counting limit is violated Channel •...
Page 61
You can find a detailed description of the parameters in function manual Counting, Measurement and Position Detection, sections Basic parameters and Manual operation available for download on the Internet (http://support.automation.siemens.com/WW/view/en/59709820). Technology module TM PosInput 2 (6ES7551-1AB01-0AB0) Equipment Manual, 06/2022, A5E03982218-AC...
Configuring/address space 4.3 Manual operation (without technology object) 4.3.3 Address space Address space of the technology module Table 4- 12 Size of input and output addresses of the TM PosInput 2 with manual operation Inputs Outputs Size per channel 16 bytes 12 bytes Total size 32 bytes...
Page 63
Configuring/address space 4.3 Manual operation (without technology object) Byte offset Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 from start address Channel ↓ ↓ LD_SLOT_1 LD_SLOT_0 SET_DQ1 SET_DQ0 SW_GATE CAPTURE SYNC_DN SYNC_UP CTRL_DQ1 CTRL_DQ0 SET_DIR...
Page 64
Configuring/address space 4.3 Manual operation (without technology object) Control bit/value Explanations SET_DQ1 Use this bit to set digital output DQ1 when TM_CTRL_DQ1 is set to 0. In the case of the function "After set command from CPU until comparison value", SET_DQ1 is effective regardless of TM_CTRL_DQ1 as long as the counter value is not equal to the compari- son value.
Configuring/address space 4.3 Manual operation (without technology object) 4.3.4.2 Assignment of the feedback interface The user program receives current values and status information from the technology module by means of the feedback interface. Feedback interface per channel The following table shows the assignment of the feedback interface: Byte offset Bit 7...
Page 66
Configuring/address space 4.3 Manual operation (without technology object) Explanations Feedback bit/value Explanations COUNT_VALUE This DINT value indicates the current counter value or position value. If you use an SSI absolute encoder with a position value length up to 31 bits, the position value is treated as unsigned and as a positive value and can assume values between 0 and 2 -1.
Page 67
Configuring/address space 4.3 Manual operation (without technology object) Feedback bit/value Explanations ENC_ERROR This bit indicates that one of the following errors has occurred at the encoder signals (retentive) for the respective technology module: • Invalid transition of A/B signals (with incremental encoder) •...
Page 68
Configuring/address space 4.3 Manual operation (without technology object) Feedback bit/value Explanations EVENT_CAP This bit indicates that a Capture event has occurred and a counter value has been saved in CAPTURED_VALUE . You reset the state by resetting EN_CAPTURE . EVENT_SYNC This bit indicates the saved state that the counter was loaded with the start value by an external reference signal (synchronization) when using an incremental or pulse encoder.
Configuring/address space 4.3 Manual operation (without technology object) 4.3.4.3 Reaction to CPU STOP Reaction to CPU STOP You set the reaction of the technology module to a STOP of the CPU on a channel-by-channel basis in the basic parameters of the device configuration. Table 4- 13 Reaction of technology module to CPU STOP Option...
You can find a detailed description of isochronous mode in the following: • In the Isochronous Mode Function Manual as a download from the Internet (https://support.industry.siemens.com/cs/ww/en/view/109755401). • Function manual PROFINET with STEP 7 available for download on the Internet (https://support.industry.siemens.com/cs/ww/en/view/49948856)
Configuring/address space 4.4 Fast Mode Fast Mode You can use the technology module in Fast Mode for very fast acquisition of counter or position value with compressed functionality. A reduced feedback interface but no control interface is available in Fast Mode. This allows you to use a shorter send clock for the CPU. The range of functions of the technology module has the following limitations in Fast Mode: •...
Page 72
• Function manual Counting, Measurement and Position Detection available for download on the Internet (http://support.automation.siemens.com/WW/view/en/59709820) • Information system of STEP 7 (TIA Portal) under "Using technology functions > Counting, measurement and position input > Counting, measurement and position input (S7-1500)"...
Page 73
V2.0 of the module is integrated into the following TIA Portal versions. You can find the Hardware Support Packages (HSP) for download on the Internet (https://support.industry.siemens.com/cs/ww/en/view/72341852). You can also access this download from the menu bar of STEP 7 (TIA Portal): "Options >...
Configuring/address space 4.4 Fast Mode 4.4.2 Parameter setting 4.4.2.1 Parameter setting You specify the properties of the technology module using various parameters. Depending on the settings, not all parameters are available. When parameters are assigned in the user program, the parameters are transferred to the module with the "WRREC" instruction and data record 128 (Page 100).
Configuring/address space 4.4 Fast Mode 4.4.2.2 Parameters (SSI absolute encoder) Parameters of the TM PosInput 2 with SSI absolute encoder The following parameter settings are possible. The default settings of the parameters are shown in bold in the "Value range" column. Table 4- 14 Adjustable parameters (SSI absolute encoder) Parameter...
A detailed description of the parameters can be found in the Basic parameters and Fast Mode sections of the Counting, Measurement and Position Detection Function Manual which is available for downloaded on the Internet (http://support.automation.siemens.com/WW/view/en/59709820). Technology module TM PosInput 2 (6ES7551-1AB01-0AB0) Equipment Manual, 06/2022, A5E03982218-AC...
Page 77
Configuring/address space 4.4 Fast Mode 4.4.2.3 Parameters (incremental or pulse encoder) Parameters of the TM PosInput 2 with incremental or pulse encoder The following parameter settings are possible. The default settings of the parameters are shown in bold in the "Value range" column. Table 4- 15 Adjustable parameters (incremental or pulse encoder) Parameter...
Page 78
Configuring/address space 4.4 Fast Mode Parameter Value range Scope High counting limit 1...33554431 Channel Start value 0...33554431 Channel Counting low limit 0...33554430 Channel Reaction to violation of a counting limit • Stop counting Channel Continue counting • Reset when counting limit is violated •...
A detailed description of the parameters can be found in the Basic parameters and Fast Mode sections of the Counting, Measurement and Position Detection Function Manual which is available for downloaded on the Internet (http://support.automation.siemens.com/WW/view/en/59709820). 4.4.3 Address space Address space of the technology module...
Configuring/address space 4.4 Fast Mode 4.4.4 Assignment of the feedback interface The user program receives current values and status information from the technology module by means of the feedback interface. Feedback interface The following table shows the assignment of the feedback interface: Byte offset Bit 7...
Configuring/address space 4.4 Fast Mode 4.4.5 Reaction to CPU STOP Reaction to CPU STOP You set the reaction of the technology module to a STOP of the CPU on a channel-by-channel basis in the basic parameters of the device configuration. Table 4- 17 Reaction of technology module to CPU STOP Option...
You can find a detailed description of isochronous mode in the following: • In the Isochronous mode function manual as a download from the Internet (https://support.industry.siemens.com/cs/ww/en/view/109755401). • Function manual PROFINET with STEP 7 available for download on the Internet (https://support.industry.siemens.com/cs/ww/en/view/49948856)
Interrupts/diagnostic messages Status and error display LEDs The following figure shows you the LED displays (status and error displays) of TM PosInput 2. Figure 5-1 LED displays of the TM PosInput 2 Technology module TM PosInput 2 (6ES7551-1AB01-0AB0) Equipment Manual, 06/2022, A5E03982218-AC...
Interrupts/diagnostic messages 5.1 Status and error display Meaning of the LED displays The following tables explain the meaning of the status and error displays. Remedial measures for diagnostic alarms can be found in section Diagnostic alarms (Page 85). Table 5- 1 Status and error displays RUN/ERROR/MAINT LEDs Meaning...
Page 85
Interrupts/diagnostic messages 5.1 Status and error display LEDs Meaning Remedy 24VDC/ ERROR 5VDC Short circuit or overload at the encoder • Check the encoder wiring. supply and "Enable additional diagnos- • Check the loads connected to the tic interrupts" not enabled encoder supply.
"RALRM" (Read additional alarm information), in the information system of STEP 7 and in function manual Diagnostics (https://support.industry.siemens.com/cs/ww/en/view/59192926), section "System diagnostics in user program". If the module is operated as a distributed module with PROFIBUS DP in an ET 200MP system, you have the option of reading out diagnostic data with the RDREC or RD_REC instruction using data record 0 and 1.
Page 87
Interrupts/diagnostic messages 5.2 Diagnostic alarms Diagnostic alarms The display of diagnostics is in 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 Diagnostic alarms, their meaning and remedies Diagnostic alarm...
Page 88
Interrupts/diagnostic messages 5.2 Diagnostic alarms Diagnostic alarm Error Meaning Remedy code RS422/TTL error • Error at connection of the RS422 en- • Check process wiring coder, TTL encoder or SSI absolute en- • Check encoder/sensor coder • Check parameter assignment •...
Interrupts/diagnostic messages 5.3 Hardware interrupts Hardware interrupts Introduction For the technology module, you can configure which events are to trigger a hardware interrupt during operation. What is a hardware interrupt? The technology module will trigger a hardware interrupt as configured in response to specific events/states.
Page 90
Interrupts/diagnostic messages 5.3 Hardware interrupts Feedback bit STS_DIR is preassigned with "0". A hardware interrupt is not triggered when the first counter value or position value is changed immediately after switching on the technology module in down direction. When the hardware interrupt is enabled, for system-related reasons it can also be triggered if "0"...
Technical specifications Article number 6ES7551-1AB01-0AB0 General information Product type designation TM PosInput 2 Firmware version V2.0 • FW update possible Number of channels Product function Yes; I&M0 to I&M3 • I&M data • Isochronous mode Engineering with • STEP 7 TIA Portal configurable/integrated from version GSD Revision 5 •...
Page 92
Technical specifications Article number 6ES7551-1AB01-0AB0 Power Power available from the backplane bus 1.3 W Power loss Power loss, typ. 5.5 W Address area Address space per module 32 byte; 16 bytes per channel; 4 bytes for fast • Inputs mode 24 byte;...
Page 93
Technical specifications Article number 6ES7551-1AB01-0AB0 Digital outputs Type of digital output Transistor Number of digital outputs 4; 2 per channel Digital outputs, parameterizable Short-circuit protection Yes; electronic/thermal • Response threshold, typ. Limitation of inductive shutdown voltage to L+ (-33 V) Controlling a digital input Digital output functions, parameterizable •...
Page 94
Technical specifications Article number 6ES7551-1AB01-0AB0 Encoder Encoder signals, incremental encoder (sym- metrical) RS 422 • Input voltage 1 MHz • Input frequency, max. 4 MHz; with quadruple evaluation • Counting frequency, max. 32 m; at 1 MHz • Cable length, shielded, max. •...
Page 96
Technical specifications Article number 6ES7551-1AB01-0AB0 Integrated Functions Counter • Number of counters 4 MHz; with quadruple evaluation • Counting frequency, max. Fast mode Counting functions Yes; only for pulse and incremental encoders • Can be used with TO High_Speed_Counter • Continuous counting •...
Page 97
Installation altitude above sea level, max. > 2 000 m, see ET 200MP system manual Decentralized operation to SIMATIC S7-300 to SIMATIC S7-400 to SIMATIC S7-1200 to SIMATIC S7-1500 to standard PROFIBUS master to standard PROFINET controller Dimensions Width 35 mm...
Page 98
Technical specifications Derating information for total current of outputs If the digital outputs of the TM PosInput 2 are operated with inductive loads, you should derate the total current of the loads at the digital outputs of the respective channel. The total current is the sum of the load currents at all digital outputs of a channel (without encoder supply).
Dimensional drawing The dimensional drawing of the module on the mounting rail, as well as a dimensional drawing with open front panel, are provided in the appendix. Always observe the specified dimensions for installation in cabinets, control rooms, etc. Figure A-1 Dimensional drawing of the TM PosInput 2 technology module Technology module TM PosInput 2 (6ES7551-1AB01-0AB0) Equipment Manual, 06/2022, A5E03982218-AC...
Page 100
Dimensional drawing Figure A-2 Dimensional drawing of the TM PosInput 2 module, side view with open front panel Technology module TM PosInput 2 (6ES7551-1AB01-0AB0) Equipment Manual, 06/2022, A5E03982218-AC...
Parameter data record Parameter assignment and structure of parameter data record You have the option of reassigning module parameters with the user program while the CPU is in RUN. The parameters are transferred to the module using data record 128, e.g. with the WRREC instruction.
Page 102
Parameter data record B.1 Parameter assignment and structure of parameter data record Bit → Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Byte channel ↓ 4/52 Operating mode 4/52 Reserved Operating mode: 0000 : Not permitted 0001...
Page 103
Parameter data record B.1 Parameter assignment and structure of parameter data record Bit → Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Byte channel ↓ 6...7/ Counter inputs (parameters for SSI absolute encoder) 54...55 6/54 Monoflop time...
Page 104
Parameter data record B.1 Parameter assignment and structure of parameter data record Bit → Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Byte channel ↓ 11/59 Count direction (DQ1): Count direction (DQ0): Reserved Substitute Substitute...
Page 105
Parameter data record B.1 Parameter assignment and structure of parameter data record Bit → Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Byte channel ↓ 20...43/ Values 68...91 20...23/ Counting high limit 68...71 DWORD: Value range: –2147483648 to 2147483647 or 80000001 to 7FFFFFFF...
Page 106
Parameter data record B.1 Parameter assignment and structure of parameter data record Bit → Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Byte channel ↓ 49...51/ Parameters for SSI absolute encoder 97...99 49/97 Reserved Frame length...
Page 107
Parameter data record B.1 Parameter assignment and structure of parameter data record Structure of data record 128 in Fast Mode The following table shows you the structure of data record 128 for TM PosInput 2 in Fast Mode. The values in byte 0 to byte 3 are fixed and must not be changed. Table B- 2 Parameter data record 128: "Fast Mode"...
Page 108
Parameter data record B.1 Parameter assignment and structure of parameter data record Bit → Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Byte ↓ 7/55 Reaction to signal N: Invert direc- Enable Filter frequency tion diagnostic...
Page 109
Parameter data record B.1 Parameter assignment and structure of parameter data record Bit → Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Byte ↓ 10...15/ Behavior of a DQ 58...63 10/58 Set output (DQ1): Set output (DQ0): 0000 : Digital output without function...
Page 110
Parameter data record B.1 Parameter assignment and structure of parameter data record Bit → Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Byte ↓ 17/65 Behavior of DI1: See Byte 16 18/66 Reserved 19/67 Frequency...
Page 111
Parameter data record B.1 Parameter assignment and structure of parameter data record Bit → Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Byte ↓ 44/92 Counter behavior at limits and gate start 44/92 Reaction to gate start Reaction to violation of a counting limit...
Parameter data record B.2 Parameter validation error Parameter validation error 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.
Parameter data record B.2 Parameter validation error Error codes The following table shows the module-specific error codes and their meaning for parameter data record 128 when using an incremental or pulse encoder. Table B- 3 Error codes for parameter validation (incremental or pulse encoder) Error code in STATUS parame- Meaning Remedy...
Page 114
Parameter data record B.2 Parameter validation error Error code in STATUS parame- Meaning Remedy ter (hexadecimal) Byte Byte Byte Byte • Low counting limit > comparison value 0 • Low counting limit < comparison value 0 • Low counting limit > comparison value 1 •...
Page 115
Parameter data record B.2 Parameter validation error Error code in STATUS parame- Meaning Remedy ter (hexadecimal) Byte Byte Byte Byte Reserved bit is not set to 0. Set reserved bit to 0. Conflict with the isochronous times configured Enter suitable isochronous times in the hardware in the hardware configuration.
Page 116
Parameter data record B.2 Parameter validation error The following table shows the module-specific error codes and their meaning for parameter data record 128 when using an SSI absolute encoder. Table B- 4 Error codes for parameter validation (SSI absolute encoder) Error code in STATUS parame- Meaning Remedy...
Page 117
Parameter data record B.2 Parameter validation error Error code in STATUS parame- Meaning Remedy ter (hexadecimal) Byte Byte Byte Byte "Capture" configured for DIn.m in "Measuring" Do not configure "Capture" for DIn.m in "Measuring" operating mode operating mode. "Set function of DI" parameter invalid Enter valid parameter value.
Need help?
Do you have a question about the SIMATIC S7-1500 and is the answer not in the manual?
Questions and answers