
S7-1500/ET 200MP
DI 32x24VDC HF digital input
module
(6ES7521-1BL00-0AB0)
Interrupts/diagnostics alarms

Siemens AG
Division Digital Factory
Postfach 48 48
90026 NÜRNBERG
GERMANY
09/2016 Subject to change
Copyright © Siemens AG 2013 - 2016.
All rights reserved
Legal information
Warning notice system
This manual contains notices you have to observe in order to ensure your personal safety, as well as to prevent
damage to property. The notices referring to your personal safety are highlighted in the manual by a safety alert
symbol, notices referring only to property damage have no safety alert symbol. These notices shown below are
graded according to the degree of danger.
indicates that death or severe personal injury will result if proper precautions are not taken.
indicates that death or severe personal injury may result if proper precautions are not taken.
indicates that minor personal injury can result if proper precautions are not taken.
indicates that property damage can result if proper precautions are not taken.
If more than one degree of danger is present, the warning notice representing the highest degree of danger will
be used. A notice warning of injury to persons with a safety alert symbol may also include a warning relating to
property damage.
The product/system described in this documentation may be operated only by
for the specific
task in accordance with the relevant documentation, in particular its warning notices and safety instructions.
Qualified personnel are those who, based on their training and experience, are capable of identifying risks and
avoiding potential hazards when working with these products/systems.
Proper use of Siemens products
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. The permissible
ambient conditions must be complied with. The information in the relevant documentation must be observed.
All names identified by ® are registered trademarks of Siemens AG. The remaining trademarks in this publication
may be trademarks whose use by third parties for their own purposes could violate the rights of the owner.
We have reviewed the contents of this publication to ensure consistency with the hardware and software
described. Since variance cannot be precluded entirely, we cannot guarantee full consistency. However, the
information in this publication is reviewed regularly and any necessary corrections are included in subsequent
editions.

DI 32x24VDC HF digital input module (6ES7521-1BL00-0AB0)
4 Manual, 09/2016, A5E03485935-AF
Purpose of the documentation
This manual supplements the S7-1500/ET 200MP
(https://support.industry.siemens.com/cs/ww/en/view/59191792
) system manual.
Functions that relate in general to the systems are described in this system manual.
The information provided in this manual and in the system/function manuals supports you in
commissioning the systems.
Changes compared to previous version
Compared to the previous version, this manual contains the following change:
Original texts of the license conditions and copyright notes for open-source software are
available on the Internet as of 09/2016.
CPU: The term "CPU" is used in this manual both for the CPUs of the S7-1500 automation
system and for interface modules of the ET 200MP distributed I/O system.
STEP 7: In this documentation, "STEP 7" is used as a synonym for all versions of the
configuration and programming software "STEP 7 (TIA Portal)".
DI mode: DI 32x24VDC HF as digital input module with 32 digital inputs (channels 0 to 31).
Counting mode: DI 32x24VDC HF as digital input module with 2 counters (channels 0 and 1)
and 30 digital inputs (channels 2 to 31).
Please also observe notes marked as follows:
Note
A note contains important information on the product described in the documentation, on
handling of the product or on the section of the documentation to which particular attention
should be paid.

Preface
DI 32x24VDC HF digital input module (6ES7521-1BL00-0AB0)
Manual, 09/2016, A5E03485935-AF
5
Siemens provides products and solutions with industrial security functions that support the
secure operation of plants, systems, machines and networks.
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.
Customer is responsible to prevent unauthorized access to its plants, systems, machines
and networks. Systems, machines and components should only be connected to the
enterprise network or the internet if and to the extent necessary and with appropriate security
measures (e.g. use of firewalls and network segmentation) in place.
Additionally, Siemens’ guidance on appropriate security measures should be taken into
account. For more information about industrial security, please visit
(http://www.siemens.com/industrialsecurity
).
Siemens’ products and solutions undergo continuous development to make them more
secure. Siemens strongly recommends to apply product updates as soon as available and to
always use the latest product versions. Use of product versions that are no longer supported,
and failure to apply latest updates may increase customer’s exposure to cyber threats.
To stay informed about product updates, subscribe to the Siemens Industrial Security RSS
Feed under (http://www.siemens.com/industrialsecurity
).
Open-source software is used in the firmware of the I/O modules. Open Source Software is
provided free of charge. We are liable for the product described, including the open-source
software contained in it, pursuant to the conditions applicable to the product. 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.
For legal reasons, we are obliged to publish the original text of the license conditions and
copyright notices. Please read the information relating to this on the Internet
(https://support.industry.siemens.com/cs/ww/en/view/109741045
).

DI 32x24VDC HF digital input module (6ES7521-1BL00-0AB0)
6 Manual, 09/2016, A5E03485935-AF
Preface ................................................................................................................................................... 4
1 Documentation guide .............................................................................................................................. 7
2 Product overview .................................................................................................................................. 11
2.1 Properties ............................................................................................................................... 11
2.2 Functions ................................................................................................................................ 13
2.2.1 Count ...................................................................................................................................... 13
3 Wiring ................................................................................................................................................... 14
4 Parameters/address space ................................................................................................................... 16
4.1 Parameter .............................................................................................................................. 16
4.1.1 Parameters DI mode .............................................................................................................. 16
4.1.2 Explanation of the parameters of the DI mode ...................................................................... 17
4.1.3 Parameters of the Counting mode ......................................................................................... 18
4.1.4 Explanation of the parameters of the Counting mode ........................................................... 19
4.2 Address space ....................................................................................................................... 21
4.2.1 Address space DI mode ......................................................................................................... 22
4.2.2 Address space Counting mode .............................................................................................. 26
4.2.3 Examples of counting ............................................................................................................. 30
5 Interrupts/diagnostics alarms................................................................................................................. 34
5.1 Status and error displays ....................................................................................................... 34
5.2 Interrupts ................................................................................................................................ 36
5.3 Diagnostics alarms ................................................................................................................. 38
6 Technical specifications ........................................................................................................................ 39
A Dimensional drawing ............................................................................................................................. 43
B Parameter data records ........................................................................................................................ 45
B.1 Parameter assignment and structure of the parameter data records .................................... 45
B.2 Structure of the parameter data records DI mode ................................................................. 46
B.3 Structure of the parameter data records Counting mode ...................................................... 48

DI 32x24VDC HF digital input module (6ES7521-1BL00-0AB0)
Manual, 09/2016, A5E03485935-AF
7
The documentation for the SIMATIC S7-1500 automation system, the CPU 1516pro-2 PN
based on SIMATIC S7-1500 and the SIMATIC ET 200MP distributed I/O system is arranged
into three areas.
This arrangement enables you to access the specific content you require.
The System Manual and Getting Started describe in detail the configuration, installation,
wiring and commissioning of the SIMATIC S7-1500 and ET 200MP systems. For
CPU 1516pro-2 PN you use the corresponding operating instructions. The STEP 7 online
help supports you in the configuration and programming.
Product manuals contain a compact description of the module-specific information, such as
properties, wiring diagrams, characteristics and technical specifications.

Documentation guide
DI 32x24VDC HF digital input module (6ES7521-1BL00-0AB0)
8 Manual, 09/2016, A5E03485935-AF
The function manuals contain detailed descriptions on general topics regarding the SIMATIC
S7-1500 and ET 200MP systems, e.g. diagnostics, communication, motion control, Web
server, OPC UA.
You can download the documentation free of charge from the Internet
(
http://w3.siemens.com/mcms/industrial-automation-systems-simatic/en/manual-
overview/Pages/Default.aspx).
Changes and supplements to the manuals are documented in a Product Information.
You can download the product information free of charge from the Internet
(https://support.industry.siemens.com/cs/us/en/view/68052815
).
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
).
SIMATIC S7-1500 comparison list for programming languages
The comparison list contains an overview of which instructions and functions you can use for
which controller families.
You can find the comparison list on the Internet
(https://support.industry.siemens.com/cs/ww/en/view/86630375
).
With "mySupport", your personal workspace, you make the best out of your Industry Online
Support.
In "mySupport", you can save filters, favorites and tags, request CAx data and compile your
personal library in the Documentation area. In addition, your data is already filled out in
support requests and you can get an overview of your current requests at any time.
You must register once to use the full functionality of "mySupport".
You can find "mySupport" on the Internet (https://support.industry.siemens.com/My/ww/en
).
"mySupport" - Documentation
In the Documentation area in "mySupport" you can combine entire manuals or only parts of
these to your own manual.
You can export the manual as PDF file or in a format that can be edited later.
You can find "mySupport" - Documentation on the Internet
(http://support.industry.siemens.com/My/ww/en/documentation
).

Documentation guide
DI 32x24VDC HF digital input module (6ES7521-1BL00-0AB0)
Manual, 09/2016, A5E03485935-AF
9
In the CAx data area in "mySupport", you can access the current product data for your CAx
or CAe system.
You configure your own download package with a few clicks.
In doing so you can select:
● Product images, 2D dimension drawings, 3D models, internal circuit diagrams, EPLAN
macro files
● Manuals, characteristics, operating manuals, certificates
● Product master data
You can find "mySupport" - CAx data on the Internet
(http://support.industry.siemens.com/my/ww/en/CAxOnline
).
The application examples support you with various tools and examples for solving your
automation tasks. Solutions are shown in interplay with multiple components in the system separated from the focus on individual products.
You will find the application examples on the Internet
(https://support.industry.siemens.com/sc/ww/en/sc/2054
).
With the TIA Selection Tool, you can select, configure and order devices for Totally
Integrated Automation (TIA).
This tool is the successor of the SIMATIC Selection Tool and combines the known
configurators for automation technology into one tool.
With the TIA Selection Tool, you can generate a complete order list from your product
selection or product configuration.
You can find the TIA Selection Tool on the Internet
(http://w3.siemens.com/mcms/topics/en/simatic/tia-selection-tool
).

Documentation guide
DI 32x24VDC HF digital input module (6ES7521-1BL00-0AB0)
10 Manual, 09/2016, A5E03485935-AF
You can use the SIMATIC Automation Tool to run commissioning and maintenance activities
simultaneously on various SIMATIC S7 stations as a bulk operation independently of the
TIA Portal.
The SIMATIC Automation Tool provides a multitude of functions:
● Scanning of a PROFINET/Ethernet network and identification of all connected CPUs
● Address assignment (IP, subnet, gateway) and station name (PROFINET device) to a
CPU
● Transfer of the date and the programming device/PC time converted to UTC time to the
module
● Program download to CPU
● Operating mode switchover RUN/STOP
● Localization of the CPU by means of LED flashing
● Reading out CPU error information
● Reading the CPU diagnostic buffer
● Reset to factory settings
● Updating the firmware of the CPU and connected modules
You can find the SIMATIC Automation Tool on the Internet
(https://support.industry.siemens.com/cs/ww/en/view/98161300
).
With SIEMENS PRONETA (PROFINET network analysis), you analyze the PROFINET
network during commissioning. PRONETA features two core functions:
● The topology overview independently scans PROFINET and all connected components.
● The IO check is a fast test of the wiring and the module configuration of a system.
You can find SIEMENS PRONETA on the Internet
(https://support.industry.siemens.com/cs/ww/en/view/67460624
).

DI 32x24VDC HF digital input module (6ES7521-1BL00-0AB0)
Manual, 09/2016, A5E03485935-AF
11
Properties
Article number:
Figure 2-1 View of the DI 32x24VDC HF module
The module has the following technical properties:
● 32 digital inputs; electrically isolated in groups of 16
– of which channel 0 and 1 optionally with counter function
● Rated input voltage 24 V DC
● Configurable input delay: 0.05 ms to 20 ms
● Configurable diagnostics (per channel)
● Configurable hardware interrupt (per channel)
● Suitable for switches and 2-/3-/4-wire proximity switches
● Hardware compatible with digital input module DI 16x24VDC HF (6ES7521-1BH00-0AB0)

Product overview
2.1 Properties
DI 32x24VDC HF digital input module (6ES7521-1BL00-0AB0)
12 Manual, 09/2016, A5E03485935-AF
The module supports the following functions:
Table 2- 1 Version dependencies of the module functions
Firmware version
of the module
GSD file in STEP 7
(TIA Portal) V12 or higher, or
STEP 7 V5.5 SP3 or higher
Identification data I&M0 to I&M3
Parameter assignment in RUN V1.0.0 or higher V12 or higher X
Module-internal Shared Input (MSI) V2.0.0 or higher V13 Update 3 or higher
Configurable submodules / submodules for Shared Device
V2.0.0 or higher V13 Update 3 or higher
Channel 0 and 1 optionally with
V2.1.0 or higher V13, SP1 with HSP 0118 or
* Requirement for counter function: Interface module IM 155
-5 firmware version V3.0 or higher or CPU S7-15XX firmware
version V1.7 or higher
** Not possible in counting mode
You can configure the module with STEP 7 (TIA Portal) and with a GSD file.
The following accessories are supplied with the module and can also be ordered separately
as spare parts:
● Labeling strips
● U connector
● Universal front door
The following component must be ordered separately:
Front connectors, including potential jumpers and cable ties
For more information on accessories, refer to the system manual S7-1500/ET 200MP
(http://support.automation.siemens.com/WW/view/en/59191792
).

Product overview
2.2 Functions
DI 32x24VDC HF digital input module (6ES7521-1BL00-0AB0)
Manual, 09/2016, A5E03485935-AF
13
As of firmware version V2.1.0 of the module you have the option of using channels 0 and 1
in the "Count" mode. The other channels can be used as standard inputs (DI mode).
If do not use channels 0 and 1 in the "Count" mode, these channels can also be used as
digital inputs. The two channels 0 and 1 can only be used as counter inputs together.
When counting, the edges of the digital input are acquired and evaluated accordingly e.g.:
● For counting single items up to a maximum limit
● For applications with repeating counting procedures
You will find the basics and additional information on the counting function in the function
manual Counting, measuring and position detection
(http://support.automation.siemens.com/WW/view/en/59709820
).
Counting with channel 0 and channel 1
You control the counting function via the IO addresses of the module. These IO addresses
are also known as the control interface (output addresses) and feedback interface (input
addresses), see section Address space Counting mode (Page 26).
If you set the parameters of channels 0 and 1 for counting, you then have the following
options:
● You influence the behavior if one of the counting limits is exceeded using
– Stop counting.
– Continue counting.
● The bit STS_DQ (bit in the feedback interface) signals that the counted value is in one of
the following ranges depending on the parameter assignment:
– Between a comparison value and the high counting limit.
– Between a comparison value and the low counting limit.
● You can set a parameter for a hardware interrupt if a comparison event occurs for DQ.
● You can define counting limits and comparison values for counting from 0 ... 4294967295
(2
32
-1).
● You can set start values or have the user program set load values for counting.
The count direction is only up.
You will find examples of counting with channels 0 and 1 in the section AUTOHOTSPOT

DI 32x24VDC HF digital input module (6ES7521-1BL00-0AB0)
14 Manual, 09/2016, A5E03485935-AF
This section contains the block diagram of the module and outlines various wiring options.
You will find information on wiring the front connector, establishing a cable shield, etc in the
system manual S7-1500/ET 200MP
(http://support.automation.siemens.com/WW/view/en/59191792
) in section Wiring.
The figure below shows you how to wire the module and the assignment of the channels to
the addresses (input byte a to input byte d). You can set parameters so that channels 0 and
1 are used for counting. Channels 2 to 31 can continue to be used as digital inputs.
Channel or channel status LED (green/red)
Status display LED (green)
POWER supply voltage LED (green)
Figure 3-1 Block diagram and terminal assignment

Wiring
DI 32x24VDC HF digital input module (6ES7521-1BL00-0AB0)
Manual, 09/2016, A5E03485935-AF
15
Resistor circuitry of the encoders
To detect a wire break, it is necessary that enough quiescent current is flowing even when
the encoder contacts are open. Connect a resistor of 25 kΩ to 45 kΩ with 0.25 W to the
encoder contacts for this reason.
Figure 3-2 Resistor circuitry of the encoders
Tip: Using the potential jumpers
If you want to supply both load groups with the same potential (non-isolated), use the
potential jumpers supplied with the front connector. This helps you to avoid having to
terminate two wires to one terminal.
Proceed as follows:
1. Connect the 24 V DC supply voltage to terminals 19 and 20.
2. Insert the potential jumpers between terminals 19 and 39 (xL+) and between terminals 20
and 40 (xM).
3. Use the terminals 39 and 40 to distribute the potential to the next module
Figure 3-3 Using the potential jumpers
Note
Ensure that the maximum current load of 8 A per potential jumper is not exceeded.