S7 1500 Cpu 1512C-1 PN (6es7512-1ck01-0ab0)
S7 1500 Cpu 1512C-1 PN (6es7512-1ck01-0ab0)
S7 1500 Cpu 1512C-1 PN (6es7512-1ck01-0ab0)
Preface
S7-1500 / ET 200MP
Documentation Guide 1
2
SIMATIC Product overview
Technology functions 3
S7-1500
CPU 1512C-1 PN 4
(6ES7512-1CK01-0AB0) Wiring
Parameters/address space 5
Equipment Manual
Interrupts/diagnostics
alarms 6
Technical specifications 7
Dimension drawings A
05/2021
A5E40898741-AB
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.
DANGER
indicates that death or severe personal injury will result if proper precautions are not taken.
WARNING
indicates that death or severe personal injury may result if proper precautions are not taken.
CAUTION
indicates that minor personal injury can result if proper precautions are not taken.
NOTICE
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.
Qualified Personnel
The product/system described in this documentation may be operated only by personnel qualified 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
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. The permissible
ambient conditions must be complied with. The information in the relevant documentation must be observed.
Trademarks
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.
Disclaimer of Liability
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.
Security information
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 constitute one element of such a concept.
Customers are responsible for preventing unauthorized access to their plants, systems,
machines and networks. Such systems, machines and components should only be connected
to an enterprise network or the internet if and to the extent such a connection is necessary
and only when appropriate security measures (e.g. firewalls and/or network segmentation)
are in place.
For additional information on industrial security measures that may be implemented, please
visit (https://www.siemens.com/industrialsecurity).
Siemens' products and solutions undergo continuous development to make them more
secure. Siemens strongly recommends that product updates are applied as soon as they are
available and that the latest product versions are used. Use of product versions that are no
longer supported, and failure to apply the latest updates may increase customers' exposure to
cyber threats.
To stay informed about product updates, subscribe to the Siemens Industrial Security RSS
Feed visit (https://www.siemens.com/industrialsecurity).
Conventions
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)".
Note
A note contains important information on the product described in the documentation, on
the handling of the product or on the section of the documentation to which particular
attention should be paid.
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).
Catalogs for all the products in automation and drives are available on the Internet
(https://mall.industry.siemens.com).
Preface ................................................................................................................................................... 3
1 S7-1500 / ET 200MP Documentation Guide ........................................................................................... 8
2 Product overview ................................................................................................................................. 10
2.1 New functions ................................................................................................................... 10
2.2 Area of application of the SIMATIC S7-1500 CPUs ............................................................... 12
2.3 Hardware properties and firmware functions ...................................................................... 23
2.3.1 Hardware properties of the CPU part .................................................................................. 24
2.3.2 Firmware functions of the CPU part .................................................................................... 26
2.3.3 Hardware properties of the analog on-board I/O module .................................................... 30
2.3.4 Firmware functions of the analog on-board I/O module ...................................................... 32
2.3.5 Hardware properties of the digital on-board I/O module ..................................................... 34
2.3.6 Firmware functions of the digital on-board I/O module ....................................................... 37
2.4 Operator controls and display elements.............................................................................. 39
2.4.1 Front view with closed front panel ..................................................................................... 39
2.4.2 Front view of the CPU without front panel and view from below......................................... 41
2.4.3 Rear view........................................................................................................................... 43
2.5 Operating mode buttons .................................................................................................... 44
3 Technology functions .......................................................................................................................... 45
3.1 High-speed counters .......................................................................................................... 45
3.1.1 Functions .......................................................................................................................... 46
3.1.1.1 Counting ........................................................................................................................... 46
3.1.1.2 Measuring ......................................................................................................................... 47
3.1.1.3 Position detection for motion control ................................................................................. 48
3.1.1.4 Additional functions........................................................................................................... 49
3.1.2 Configuring the high-speed counters ................................................................................. 50
3.1.2.1 General ............................................................................................................................. 50
3.1.2.2 Assignment of the control interface of the high-speed counters ......................................... 50
3.1.2.3 Assignment of the feedback interface of the high-speed counters....................................... 52
3.2 Pulse generators ................................................................................................................ 54
3.2.1 Operating modes ............................................................................................................... 54
3.2.1.1 Operating mode: Pulse-width modulation (PWM) ............................................................... 54
3.2.1.2 Operating mode: Frequency output ................................................................................... 61
3.2.1.3 Operating mode: PTO ........................................................................................................ 65
3.2.2 Functions .......................................................................................................................... 70
3.2.2.1 Function: High-speed output.............................................................................................. 70
3.2.2.2 Function: Direct control of the pulse output (DQA) ............................................................. 71
3.2.3 Configuring the PWM and frequency output modes ............................................................ 72
3.2.3.1 Assignment of the control interface ................................................................................... 72
3.2.3.2 Handling the SLOT parameter (control interface) ................................................................ 74
3.2.3.3 Assignment of the feedback interface ................................................................................ 77
4 Wiring .................................................................................................................................................. 79
4.1 Supply voltage ................................................................................................................... 79
4.2 PROFINET interfaces........................................................................................................... 80
4.3 Terminal and block diagrams ............................................................................................. 82
4.3.1 Block diagram of the CPU part ............................................................................................ 82
4.3.2 Terminal and block diagram of the analog on-board I/O ...................................................... 83
4.3.3 Terminal and block diagram of the digital on-board I/O....................................................... 92
4.3.4 Addresses of the high-speed counters .............................................................................. 105
4.3.5 Addresses of the pulse generators in the Pulse Width Modulation (PWM) and Frequency
Output modes ................................................................................................................. 109
4.3.6 Addresses of pulse generators in the PTO mode ............................................................... 110
4.3.7 Interconnection overview of the inputs ............................................................................ 111
4.3.8 Interconnection overview of outputs ................................................................................ 113
5 Parameters/address space ................................................................................................................. 116
5.1 Address space of the analog on-board I/O......................................................................... 116
5.2 Address space of the digital on-board I/O ......................................................................... 118
5.3 Address space of the pulse generators ............................................................................. 120
5.4 Measurement types and measuring ranges of the analog on-board I/O ............................. 121
5.5 Output type and output ranges of the analog on-board I/O ............................................... 122
5.6 Parameters of the analog on-board I/O ............................................................................. 122
5.7 Parameters of the digital on-board I/O .............................................................................. 125
6 Interrupts/diagnostics alarms ............................................................................................................ 127
6.1 Status and error displays .................................................................................................. 127
6.1.1 Status and error displays of the CPU part .......................................................................... 127
6.1.2 Status and error displays of the analog on-board I/O ......................................................... 130
6.1.3 Status and error displays of the digital on-board I/O .......................................................... 132
6.2 Interrupts and diagnostics................................................................................................ 134
6.2.1 Interrupts and diagnostics of the CPU part ........................................................................ 134
6.2.2 Interrupts and diagnostics of the analog on-board I/O....................................................... 134
6.2.3 Interrupts and diagnostics of the digital on-board I/O ....................................................... 136
7 Technical specifications..................................................................................................................... 140
A Dimension drawings .......................................................................................................................... 165
B Parameter data records ..................................................................................................................... 167
B.1 Parameter assignment and structure of the parameter data records of the analog on-
board I/O ......................................................................................................................... 167
B.2 Structure of a data record for input channels of the analog on-board I/O........................... 168
B.3 Structure of a data record for output channels of the analog on-board I/O ........................ 173
B.4 Parameter assignment and structure of the parameter data records of the digital on-
board I/O ......................................................................................................................... 176
B.5 Structure of a data record for input channels of the digital on-board I/O ........................... 177
B.6 Structure of a data record for output channels of the digital on-board I/O ......................... 179
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.
General information
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
(https://support.industry.siemens.com/cs/ww/en/view/109742691).
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).
"mySupport"
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).
Application examples
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/cs/ww/en/ps/ae).
Reference
You can find an overview of all new functions, improvements and revisions in the respective
firmware versions on the Internet
(https://support.industry.siemens.com/cs/ww/en/view/109478459).
Area of application
SIMATIC S7-1500 is the modular control system for a wide variety of automation applications
in discrete automation.
SIMATIC S7-1500 is the cost-effective and convenient solution for a broad range of tasks and
offers the following advantages:
• Modular, fanless design
• Simple realization of distributed structures
• User-friendly handling
Areas of application of the SIMATIC S7-1500 automation system include, for example:
• Special-purpose machines
• Textile machinery
• Packaging machines
• General mechanical engineering
• Controller engineering
• Machine tool engineering
• Installation engineering
• Electrical industry and crafts
• Automobile engineering
• Water/waste water
• Food & Beverage
Areas of application of the SIMATIC S7-1500R/H redundant system include, for example:
• Tunnels
• Airports (e.g. baggage conveyors)
• Subways
• Shipbuilding
• Wastewater treatment plants
• High-bay warehouses
Areas of application of the SIMATIC S7-1500T automation system for advanced motion
control applications include, for example:
• Packaging machines
• Converting applications
• Assembly automation
• Pick-and-place automation
• Palletizers
You can choose between CPUs with various levels of performance and a comprehensive
range of modules with many convenient functions. Fail-safe CPUs enable use in fail-safe
applications. The modular design allows you to use only the modules that you need for your
application. The controller can be retrofitted with additional modules at any time to expand
its range of tasks.
High industrial suitability due to the high resistance to EMC, shock and vibration enable
universal use of the SIMATIC S7-1500, S7-1500R/H and S7-1500T automation systems.
* 50 MB of the integrated work memory is reserved for the function library of CPU runtime
* 50 MB of the integrated work memory is reserved for the function library of CPU runtime
The technology CPUs of the SIMATIC S7-1500-automation system offer enhanced Motion
Control functions:
• Advanced synchronization functions
– Synchronization with specification of the synchronous position
– Actual value coupling
– Shifting of the master value at the following axis
– Camming
• Up to 4 encoder or measuring systems as actual position for position control
• Cam
• Kinematics for control of:
– Cartesian portals
– Roller pickers
– Jointed-arm robots
– Delta pickers
– SCARA robots
Due to the supported technology functions, the S7-1500T CPUs are suitable for controlling
packaging machines, converting applications, assembly automation, etc.
Redundant CPUs
The CPUs of the S7-1500R/H redundant system offer a high degree of reliability and system
availability. A redundant configuration of the most important automation components
reduces the likelihood of production downtimes and the consequences of component errors.
The higher the risks and costs of a production downtime, the more worthwhile the use of a
redundant system. The avoidance of production downtimes compensates for the generally
higher investment costs.
Security Integrated
In conjunction with STEP 7, each CPU offers password-based know-how protection against
unauthorized reading out or modification of the program blocks.
Copy protection provides reliable protection against unauthorized reproduction of program
blocks. With copy protection, individual blocks on the SIMATIC memory card can be tied to its
serial number so that the block can only be run if the configured memory card is inserted into
the CPU.
In addition, you can assign various access rights to different user groups in the controller
using four different authorization levels.
Improved manipulation protection allows changed or unauthorized transfers of engineering
data to be detected by the controller.
The use of an Ethernet CP (CP 1543-1) provides you with additional access protection
through a firewall or possibilities to establish secure VPN connections.
Safety Integrated
The fail-safe CPUs are intended for users who want to implement demanding standard and
fail-safe applications both centrally and decentrally.
These fail-safe CPUs allow the processing of standard and safety programs on a single CPU.
This allows fail-safe data to be evaluated in the standard user program. The integration also
provides the system advantages and the extensive functionality of SIMATIC for fail-safe
applications.
The fail-safe CPUs are certified for use in safety mode up to:
• Safety class (Safety Integrity Level) SIL 3 according to IEC 61508:2010
• Performance Level (PL) e and Category 4 according to ISO 13849-1:2015 or EN ISO 13849-
1:2015
Additional password protection for F-configuration and F-program is set up for IT security.
Article number
6ES7512-1CK01-0AB0
Accessories
The following accessories are included in the scope of delivery and can also be ordered
separately as spare parts:
• 3 x front connector (push-in terminals) including cable ties
• 3 x shield clamp
• 3 x shield terminal
• 3 x infeed element (push-in terminals)
• 3 x labeling strip
• 3 x universal front cover
For more information on accessories, refer to the S7-1500, ET 200MP system manual
(http://support.automation.siemens.com/WW/view/en/59191792).
Note
Protective film
Note that a protective film is attached to the display of the CPU when shipped from the
factory. Remove the protective film if necessary.
Properties
The CPU 1512C-1 PN has the following technical properties:
Functions
The CPU 1512C-1 PN supports the following functions:
Integrated closed-loop • PID Compact (continuous PID controller) PID control function manual
control functionality (https://support.industry.siemens.co
• PID 3Step (step controller for integrating actuators) m/cs/ww/en/view/108210036)
• PID Temp (temperature controller for heating and
cooling with two separate actuators)
View
The following figure shows the analog on-board I/O (X10) of the CPU 1512C-1 PN.
View
The following figure shows the digital on-board I/O (X11 and X12) of the CPU 1512C-1 PN.
See also
Parameter assignment and structure of the parameter data records of the digital on-board I/O
(Page 176)
① LEDs for the current operating mode and diagnostics status of the CPU
② Status and error displays RUN/ERROR of the analog on-board I/O
③ Status and error displays RUN/ERROR of the digital on-board I/O
④ Control keys
⑤ Display
Figure 2-4 View of the CPU 1512C-1 PN with closed front panels (front)
Note
Temperature range for display
To increase its service life, the display switches off at a temperature below the permitted
operating temperature of the device. When the display cools down again, it automatically
switches itself on again. When the display is switched off, the LEDs continue to show the
status of the CPU.
You can find additional information on the temperatures at which the display switches itself
on and off in the Technical specifications (Page 140).
WARNING
Personal injury and damage to property may occur
If you pull or plug the front panel of an S7-1500 automation system during operation,
personal injury or damage to property can occur in zone 2 hazardous areas.
Before you remove or fit the front panel, switch off the power supply to the S7-1500
automation system in hazardous area zone 2.
In addition to the mechanical lock, you can also block access to a password-protected CPU on
the display (local lock) and assign a password for the display. For more information on the
display, the configurable protection levels and the local lock, refer to the S7-1500, ET 200MP
(http://support.automation.siemens.com/WW/view/en/59191792) system manual.
Reference
You will find detailed information on the individual display options, a training course and a
simulation of the available menu commands in the SIMATIC S7-1500 Display Simulator
(https://support.industry.siemens.com/cs/ww/en/view/109761758).
2.4.2 Front view of the CPU without front panel and view from below
The following figure shows the operator control and connection elements of the
CPU 1512C-1 PN with the front cover of the CPU open.
① LEDs for the current operating mode and diagnostics status of the CPU
② Status and error displays RUN/ERROR of the analog on-board I/O
③ Status and error displays RUN/ERROR of the digital on-board I/O
④ Connector for power supply
⑤ Operating modes with "STOP ACTIVE" LED
⑥ LEDs for the 2 ports (X1 P1 and X1 P2) of the PROFINET interface X1
⑦ MAC address
⑧ Display
Figure 2-6 View of the CPU 1512C-1 PN without front panel on the CPU (front)
Note
Removing the display
Only remove the display if it is faulty.
You can find information on removing and replacing displays in the S7-1500, ET 200MP
system manual (http://support.automation.siemens.com/WW/view/en/59191792).
Properties
The technology functions of the compact CPU have the following technical properties:
• 32 high-speed digital inputs (up to 100 kHz), isolated
– 6 high-speed counters (High Speed Counter/HSC), which can all be used as A/B/N
• Interfaces
– 24 V encoder signals of sourcing or push-pull encoders and sensors
– 24 V encoder supply output, short-circuit-proof
– Up to 2 additional digital inputs per high-speed counter for possible HSC DI functions
(Sync, Capture, Gate)
– 1 digital output per high-speed counter for fast reaction to the count
• Counting range: 32 bits
• Diagnostics and hardware interrupts can be configured
• Supported encoder/signal types
– 24 V incremental encoder
(with 2 tracks A and B, phase-shifted by 90°, up to 6 incremental encoders also with
zero track N)
– 24 V pulse encoder with direction signal
– 24 V pulse encoder without direction signal
– 24 V pulse encoder each for forward pulse & reverse pulse
The high-speed counters support reconfiguration in RUN. You can find additional information
in section Parameter data records of the high-speed counters (Page 181).
3.1.1 Functions
3.1.1.1 Counting
Counting refers to the detection and adding up of events. The counters acquire and evaluate
encoder signals and pulses. You can specify the count direction using encoder or pulse
signals or through the user program.
You can control counting processes using the digital inputs. You can switch the digital
outputs exactly at defined count values, regardless of the user program.
You can configure the response of the counters using the functionalities described below.
Counting limits
The counting limits define the count value range used. The counting limits are selectable and
can be modified during runtime by the user program.
The highest counting limit that can be set is 2147483647 (231–1). The lowest counting limit
that can be set is –2147483648 (–231).
You can configure the response of the counter at the counting limits:
• Continue or stop counting (automatic gate stop) on violation of a counting limit
• Set count value to start value or to opposite counting limit on violation of a counting limit
Start value
You can configure a start value within the counting limits. The start value can be modified
during runtime by the user program.
Depending on the parameter assignment, the compact CPU can set the current count value to
the start value during synchronization, during the Capture function, on violation of a
counting limit or when the gate is opened.
Gate control
Opening and closing the hardware gate and software gate defines the period of time during
which the counting signals are acquired.
The digital inputs of the digital on-board I/O control the hardware gate. The user program
controls the software gate. You can enable the hardware gate using the parameter
assignment. The software gate (bit in the control interface of the cyclic I/O data) cannot be
disabled.
Capture
You can configure an external reference signal edge that triggers the saving of the current
count value as a Capture value. The following external signals can trigger the Capture
function:
• Rising or falling edge of a digital input
• Both edges of a digital input
• Rising edge of signal N at the encoder input
You can configure whether counting continues from the current count value or from the start
value after the Capture function.
Hysteresis
You can specify hysteresis for the comparison values, within which a digital output is
prevented from switching again. An encoder may stop at a certain position, and slight
movements may make the count value fluctuate around this position. If a comparison value
or a counting limit lies within this fluctuation range, the corresponding digital output will be
switched on and off often if hysteresis is not used. The hysteresis prevents these unwanted
switching operations.
Reference
For more information on the counter, refer to the S7-1500, ET 200MP, ET 200SP Counting,
measurement and position detection function manual
(http://support.automation.siemens.com/WW/view/en/59709820).
3.1.1.2 Measuring
Measuring functions
The following measuring functions are available:
The measured value and count value are both available in the feedback interface.
Update time
You can configure the interval at which the compact CPU updates the measured values
cyclically as the update time. Larger update times smooth uneven measured variables and
increase the measuring accuracy.
Gate control
Opening and closing the hardware gate and software gate defines the period of time during
which the count signals are acquired. The update time is asynchronous to the opening of the
gate, which means that the update time is not started when the gate is opened. After the
gate is closed, the last measured value calculated is still returned.
Measuring ranges
The measuring functions have the following measuring range limits:
Table 3- 2 Overview of low and high measuring range limits
Measurement type Low measuring range limit High measuring range limit
Frequency measurement 0.04 Hz 400 kHz *
Period measurement 2.5 μs * 25 s
Velocity measurement Depending on the configured number of "increments per unit" and the "timebase
for velocity measurement"
All measured values are returned as signed values. The sign indicates whether the count
value increased or decreased during the relevant time period. For example, a value of -80 Hz
means that the count value decreases at 80 Hz.
Reference
For more information on measuring, refer to the S7-1500, ET 200MP, ET 200SP Counting,
measurement and position detection function manual
(http://support.automation.siemens.com/WW/view/en/59709820).
Reference
For a detailed description of the use of motion control and its configuration, refer to the
S7-1500 Motion Control function manual
(http://support.automation.siemens.com/WW/view/en/109749262). In the function module,
the interface between the drives and encoders is referred to as a technology module (TM). In
this context, a technology module (TM) also refers to the digital on-board I/O of the compact
CPU described here.
Synchronization
You can configure an external reference signal edge to load the counter with the specified
start value. The following external signals can trigger a synchronization:
• Rising or falling edge of a digital input
• Rising edge of signal N at the encoder input
• Rising edge of signal N at the encoder input depending on the level of the assigned digital
input
Comparison values
The integrated counter supports 2 comparison values and digital output HSC DQ1. If the
counter or measured value meets the set comparison condition, HSC DQ1 can be set in order
to trigger direct control operations in the process.
Both comparison values can be set in the parameters and can be changed during runtime by
the user program.
Hardware interrupts
If you have enabled a hardware interrupt in the hardware configuration, the counter can
trigger a hardware interrupt in the CPU when a comparison event occurs, if there is overflow
or underflow, at a zero crossing of the counter, and/or at a change of count direction
(direction reversal). You can specify which events are to trigger a hardware interrupt during
operation in the hardware configuration.
Diagnostics interrupts
If you have enabled a diagnostics interrupt in the hardware configuration, the counter can
trigger a diagnostics interrupt if the supply voltage is missing, if there is an incorrect A/B
count signal or lost hardware interrupt.
3.1.2.1 General
You configure the high-speed counters (HSC) in STEP 7 (TIA Portal).
The functions are controlled by the user program.
Reference
A detailed description of configuring the counting and measuring functions can be found in:
• S7-1500, ET 200MP, ET 200SP Counting, measurement and position detection
(http://support.automation.siemens.com/WW/view/en/59709820) function manual
• in the STEP 7 online help under "Using technology functions > Counting, measuring and
position detection > Counting, measuring and position detection (S7-1500)"
A detailed description of configuring Motion Control be found in:
• in the S7-1500/S7-1500T Motion Control
(https://support.industry.siemens.com/cs/ww/en/view/109766459) function manual
• in the STEP 7 online help under "Using technology functions > Motion Control > Motion
Control (S7-1500)"
Note
Operation with High_Speed_Counter technology object
The High_Speed_Counter technology object is available for high-speed counting mode. We
therefore recommend use of the High_Speed_Counter technology object instead of the
control interface/feedback interface for controlling the high speed counter.
For information on configuring the technology object and programming the associated
instruction, refer to the S7-1500, ET 200MP, ET 200SP Counting, measurement and position
detection (http://support.automation.siemens.com/WW/view/en/59709820) function manual.
* If values are loaded simultaneously via LD_SLOT_0 and LD_SLOT_1, the value from Slot 0 is taken first internally and then
the value from Slot 1 . This may lead to unexpected intermediate states.
Reference
You can find a graphic representation of the processing of the various SLOT parameters in the
section Handling the SLOT parameter (control interface) (Page 74).
Note
Operation with High_Speed_Counter technology object
The High_Speed_Counter technology object is available for high-speed counting mode. We
therefore recommend use of the technology object High_Speed_Counter instead of the
control interface/feedback interface for controlling the high speed counter.
For information on configuring the technology object and programming the associated
instruction, refer to the S7-1500, ET 200MP, ET 200SP Counting, measurement and position
detection (http://support.automation.siemens.com/WW/view/en/59709820) function manual.
Properties
The pulse-width modulation (PWM) mode of the compact CPU has the following technical
properties:
Minimum Maximum
Standard output High-speed out- High-speed output Standard High-speed High-speed
put deactivated activated output output deac- output acti-
tivated vated
Pulse 400 µs with load > 20 µs with load 2 µs 1)
duration 0.1 A 1) > 0.1 A 1) 10,000,000 µs (10 s)
500 µs with load 40 µs with load
≥ 2m A 1) ≥ 2m A 1)
Period 10 ms 2) 100 μs 2) 10 μs
duration
1) A lower value is theoretically possible but, depending on the connected load, the output voltage can no longer be output
as complete rectangular pulse
2) Load dependent
Principle of operation
With pulse width modulation, a signal with defined cycle duration and variable on-load factor
is output at the digital output. The on-load factor is the relationship of the pulse duration to
the cycle duration. In PWM mode, you can control the on-load factor and the cycle duration.
With pulse width modulation you vary the mean value of the output voltage. Depending on
the connected load, you can control the load current or the power with this.
You can specify the pulse duration as one-hundredth of the period duration (0 bis 100), as
one-thousandth (0 to 1000), as one ten-thousandth (0 to 10,000) or in S7 analog format.
① Period duration
② Pulse duration
The pulse duration can be between 0 (no pulse, always off) and full-scale deflection (no
pulse, period duration always on).
The PWM output can, for example, be used to control the speed of a motor from standstill to
full speed or you can use it to control the position of a valve from closed to completely open.
You configure the pulse width modulation (PWM) mode in STEP 7 (TIA Portal).
The pulse width modulation mode has the following functions:
• When the option "High-speed output (0.1 A)" is activated, you can generate a minimum
pulse duration of 2 μs at a current of 100 mA. If the option "High-speed output (0.1 A)" is
not activated, you can generate a minimum pulse duration of 20 μs with a load > 0.1 A
and a minimum pulse duration of 40 μs with a load of ≥ 2 mA and a current of maximum
0.5 A. If a standard output is used, you can generate a minimum pulse duration of 400 µs
with a load of > 0.1 A and a minimum pulse duration of 500 µs with a load of ≥ 2 mA.
• You can control the pulse output (DQA) of the channel manually via the control and
feedback interface.
• You can configure the reaction to CPU STOP. Upon change to CPU STOP, the pulse output
(DQA) is set to the configured state.
Controller
For the pulse width modulation (PWM) mode, the user program directly accesses the control
and feedback interface of the channel.
A reconfiguration via the instructions WRREC/RDREC and parameter assignment data record
128 is supported. You can find additional information in section Parameter data records
(PWM) (Page 187)
You control the on-load factor (pulse-cycle ratio) of the pulse width via the OUTPUT_VALUE
field of the control interface. Pulse width modulation generates continuous pulses based on
this value. The period duration is adjustable.
Note
Output control signal TM_CTRL_DQ
• If TM_CTRL_DQ = 1, the technology function takes over the control and generates pulse
sequences at the output PWM DQA.
• If TM_CTRL_DQ = 0, the user program takes over the control and the user can set the
output PWM DQA directly via the control bit SET_DQA.
① Cycle duration
② Cycle duration minus minimum interpulse period
③ Minimum pulse duration
④ OUTPUT_VALUE (One tenth of a percent on-load factor)
⑤ Pulse duration
Setting the minimum pulse duration and the minimum interpulse period
You assign the minimum pulse duration and the minimum interpulse period as DWORD
numerical value between 0 and 10 000 000 μs (10 s) with the help of the channel parameter
configuration "Minimum pulse duration".
Minimum Maximum
Standard out- High-speed High-speed Standard out- High-speed High-speed
put output deac- output acti- put output deac- output acti-
tivated vated tivated vated
Frequency 0.1 Hz 100 Hz 1) 10 kHz 1) 100 kHz
1) Load dependent
• You can control the pulse output (DQA) of the channel manually via the control and
feedback interface.
• You can configure the reaction to CPU STOP. Upon change to CPU STOP, the pulse output
(DQA) is set to the configured state.
Controller
For the frequency output mode, the user program directly accesses the control and feedback
interface of the channel.
A reconfiguration via the instructions WRREC/RDREC and parameter assignment data record
128 is supported. You can find additional information in section Parameter data records
(PWM) (Page 187).
Note
Output control signal TM_CTRL_DQ
• If TM_CTRL_DQ = 1, the technology function takes over the control and generates pulse
sequences at the output PWM DQA.
• If TM_CTRL_DQ = 0, the user program takes over the control and the user can directly set
the output PWM DQA via the control bit SET_DQA.
Canceling the output sequence
Deactivating the software enable (SW_ENABLE = 1 → 0) during the frequency output cancels
the current output sequence. The last cycle duration is not completed. STS_ENABLE and the
digital output PWM DQA are immediately reset to 0.
A renewed pulse output is only possible after a restart of the output sequence.
• PTO (Count Up (A) and Count Down (B)): When you select PTO when you select the PTO
signal type (count up (A) and count down (B)), an output (A) outputs pulses for positive
directions and another output (B) outputs pulses for negative directions.
• PTO (A, B phase-shifted): When you select the PTO signal type (A, B phase-shifted), the
two outputs pulses with the specified velocity, but phase-shifted by 90 degrees. This is a
1x combination in which the pulse shows the duration between two positive transitions of
A. In this case the direction is determined based on the output which first changes from 0
to 1. With positive direction, A preceeds B. With negative direction B preceeds A.
The number of generated pulses is based on the number of 0-to-1 transitions from phase
A. The phase ratio determines the direction of motion:
• PTO (A, B phase-shifted - quadruple): When you select the PTO signal type (A, B phase-
shifted, quadruple), the two outputs transmit pulses with the specified velocity, but
phase-shifted by 90 degrees. The quadruple signal type is a 4x configuration in which
each edge transition corresponds to an increment. Therefore, a full period of the signal A
contains four increments. In this way two outputs, each with 100 kHz signal frequency,
can be used to output a control signal that supplies 400,000 increments per second. The
direction is determined based on the output which first changes from 0 to 1. With positive
direction, A preceeds B. With negative direction B preceeds A.
Note
Reaction to CPU STOP
Upon CPU STOP, the hardware outputs assigned for the PTO outputs A and B can switch to
signal state 'High' (1) and/or remain there. A switching/remaining of the two hardware
outputs to/in signal level 'Low' (0) is not guaranteed.
Controller
The pulse output channels for the four modes of the pulse generators (PTO) are controlled
using Motion Control via the technology objects TO_SpeedAxis, TO_PositioningAxis and
TO_SynchronousAxis. With these operating modes, the control and feedback interface of the
channels is a partial implementation of the PROFIdrive interface "Telegram 3". For a detailed
description of the use of motion control and its configuration, refer to the S7-1500/S7-1500T
Motion Control function manual
(https://support.industry.siemens.com/cs/ww/en/view/109766459) and the STEP 7 online
help.
3.2.2 Functions
High-speed output
Minimum Maximum
High-speed output High-speed output High-speed output High-speed output
deactivated activated deactivated activated
Pulse duration 20 µs with load 2 µs 1)
> 0.1 A 1) 10,000,000 μs (10 s)
40 µs with load
≥ 2 mA 1)
Period duration 100 μs 2) 10 μs
Frequency 0.1 Hz 10 kHz 2) 100 kHz
1) A lower value is theoretically possible but, depending on the connected load, the output voltage can no longer be output
as complete rectangular pulse
2) Load dependent
Note
Output signal TM_CTRL_DQ of the PWM channel
• If TM_CTRL_DQ = 1, the technology function takes over the control and generates pulse
sequences at the output PWM DQA.
• If TM_CTRL_DQ = 0, the user program takes over the control and the user can set the PWM
DQA directly using the control bits SET_DQA.
7 6 5 4 3 2 1 0
Byte 0 OUTPUT_VALUE
Byte 1 PWM: On-load factor * (Int)
Byte 2 In PWM mode, the on-load factor uses only the two least significant bytes (byte 2 and byte 3).
Byte 3 Frequency output: Frequency in Hz (Real)
Byte 4 SLOT
Byte 5
Byte 6
Byte 7
Byte 8 Reserved = 0 MODE_SLO LD_SLOT
T Specifies the meaning of the value under SLOT
0000: No action
0001: Period duration (PWM)
0010 to 1111: Reserved
Byte 9 Reserved = 0 Reserved Reserved SET_DQA Reserved TM_CTRL_D SW_ENAB
=0 =0 =0 Q LE
Byte 10 Reserved = 0 RES_ERRO
R
Byte 11 Reserved = 0
* The terms "On-load factor", "Pulse duty factor" and "Duty factor" can be used synonymously
Use case
1. Transfer the control for the output to the PWM channel.
2. Set SW_ENABLE, in order that the output can be started.
3. Set the required on-load factor using OUTPUT_VALUE.
4. If necessary, change the period duration (cyclic or once). If you do not change the value,
the period duration from the hardware configuration will be used.
5. With TM CTRL_DQ and SET_DQ set the output from the user program permanently to 1 or
0.
6. Acknowledge any errors that occur using RES_ERROR.
Additional parameters for the output sequence are defined before the start of an output
sequence.
The data record of the parameter assignment is changed in the device configuration in STEP 7
(TIA Portal) or through WRREC execution.
OUTPUT_VALUE
The interpretation of the value OUTPUT_VALUE depends on the set operating mode.
OUTPUT_VALUE is always updated. When an invalid value is detected (outside the permissible
range), the error memory bit ERR_OUT_VAL is set until a valid value is detected. During the
error condition the invalid value is ignored and the PWM channel continues with the last valid
OUTPUT_VALUE. Note that, in the frequency output mode, it is also possible that no last valid
value is available. In this case the pulse output returns the value 0, i.e. there is no pulse
output.
Please note that the on-load factor is not checked in PWM mode. If the on-load factor is
greater than the format permits, the PWM channel uses a ratio of 100 %. 0 % in effect for
values < 0.
SW_ENABLE
If 0 → 1, activate the output sequence.
TM_CTRL_DQ
• If 1, the output is controlled by the PWM channel and generates the pulse sequences
• If 0, the output is controlled directly by the program using the SET_DQA assignments
SET_DQA
• If 1, set the output A to 1, if TM_CTRL_DQ is inactive
• If 0, set the output A to 0, if TM_CTRL_DQ is inactive
RES_ERROR
Resetting the error bit memory ERR_LD in the feedback interface
LD_SLOT Meaning of SLOT value Valid modes for using the SLOT value SLOT data type
0 No action / idling All operating modes
1 Period duration PWM UDInt
Permissible value range*:
Minimum value: 10 µs, 100 µs or
10 000 µs (10 ms)
Maximum value: 10 000 000 µs
(10 s)
* The permissible value range depends on the selected hardware output and sometimes on the high-speed mode (high-
speed/standard).
① User writes the first parameter in SLOT and specifies the first parameter in LD_SLOT
② Technology channel applies the first parameter and indicates the application by change in the
bit STS_LD_SLOT
③ User writes the second parameter in SLOT and specifies the second parameter in LD_SLOT
④ Technology channel applies the second parameter and indicates the application by change in
the bit STS_LD_SLOT
⑤ User writes 0 in LD_SLOT, (SLOT inactive)
⑥ Technology channels answers change in LD_SLOT with a change in STS_LD_SLOT
Note that the following requirements apply to the representation shown above:
• The value MODE_SLOT must be set to 0
• Errors or invalid values are shown in the feedback bit ERR_SLOT_VAL
• The error must be acknowledged
If MODE_SLOT 0 = 1, the following applies (for PWM mode only):
• The value in SLOT is continuously evaluated according to LD_SLOT
• STS_LD_SLOT does not change
• An error is automatically reset as soon as a valid value is set in SLOT
7 6 5 4 3 2 1 0
Byte 0 ERR_SLOT_ ERR_OUT_V Reserved Reserved ERR_PULSE ERR_LD Reserved ERR_PWR
VAL AL =0 =0 Error during =0 missing
The valid in The value in loading via supply
SLOT is OUTPUT_VA control voltage L+
invalid LUE is inva- interface
lid
Byte 1 Reserved = 0 STS_SW_EN STS_READY Reserved STS_LD_SLO Reserved = 0
ABLE Channel =0 T
SW_ENABLE parameters Load
detected or assigned prompt
feedback and ready detected
status and execut-
SW_ENABLE ed for Slot
(toggling)
Byte 2 Reserved = 0 Reserved Reserved Reserved STS_DQA STS_ENAB
=0 =0 =0 LE
Byte 3 Reserved = 0 Reserved = 0
Feedback parameters
If the CPU is supplied by a system power supply, it is not necessary to connect the 24 V
supply.
Note
You need a screwdriver (max. blade width 2.5 mm) to remove the PROFINET plug.
Remove display
You can find a description of how to remove and replace the display in the S7-1500,
ET 200MP (http://support.automation.siemens.com/WW/view/en/59191792) system manual.
Reference
For more information on "Wiring the CPU" and "Accessories/spare parts", refer to the S7-1500,
ET 200MP system manual (http://support.automation.siemens.com/WW/view/en/59191792).
Assignment Labeling
MAC address 1 PROFINET interface X1 • Front, lasered
(visible in STEP 7 for accessible devices)
• Right side, lasered
(start of number range)
MAC address 2 Port X1 P1 R (required for LLDP, for • Front and right side, not lasered
example)
MAC address 3 Port X1 P2 R (required for LLDP, for • Front, not lasered
example)
• Right side, lasered
(end of number range)
Block diagram
The following figure shows the block diagram of the CPU part.
① CPU with control and operating mode buttons PN X1 P1 R PROFINET interface X1 port 1
② Display PN X1 P2 R PROFINET interface X1 Port 2
③ Electronics L+ 24 V DC supply voltage
④ Interface to on-board I/O M Ground
⑤ Interfaces to the backplane bus SF STOP ACTIVE LED (yellow)
⑥ Backplane bus interface R/S RUN/STOP LED (yellow/green)
⑦ Internal supply voltage ER ERROR LED (red)
⑧ 2-port switch MT MAINT LED (yellow)
X50 SIMATIC memory card X1 P1, X1 P2 Link TX/RX LED
X80 24 V DC Infeed of supply voltage
Figure 4-2 Block diagram of the CPU part
Note
You can use and combine the different wiring options for all channels. Note, however, that
unneeded terminals of an analog input channel must not be connected.
Definition
Infeed element
The infeed element is inserted on the front connector and serves to shield the analog on-
board I/O.
Note
The analog on-board I/O does not require power to be supplied by the infeed element. The
infeed element is, however, necessary for shielding.
Figure 4-3 Block diagram and terminal assignment for voltage measurement
Figure 4-4 Block diagram and terminal assignment for current measurement with 4-wire measuring
transducer
NOTICE
Defective transducers
Note that the analog input of the transducer is not protected against destruction in the
event of a defect (short circuit). Take the necessary precautions against such cases.
The figure below shows an example of the connection of a 2-wire transducer to channel 0
(CH0) of the analog on-board I/O.
Use the measurement type "Current (4-wire transducer)" and the measuring range
4 to 20 mA for the parameter assignment of the 2 wire transducer in STEP 7 (TIA Portal).
Figure 4-6 Block diagram and terminal assignment for 4-wire connection
Note
3-wire connection
Note that line resistances are not compensated with a 3-wire connection.
Figure 4-7 Block diagram and terminal assignment for 3-wire connection
Note
2-wire connection
Note that line resistances are not compensated with a 2-wire connection.
Figure 4-8 Block diagram and terminal assignment for 2-wire connection
Note
MANA on terminals 19 and 20 is equivalent.
Figure 4-10 Block diagram and terminal assignment for current output
Note
MANA on terminals 19 and 20 is equivalent.
Infeed element
The infeed element is inserted on the front connector and serves to shield the digital on-
board I/O.
Note
The digital on-board I/O is supplied via the front connector terminals and therefore does not
require power to be supplied by the infeed element. The infeed element is, however,
necessary for shielding.
Output driver
The digital onboard I/O uses the following output drivers:
• X11, DQ0 to DQ7: Push-pull stage and freewheeling diode
• X11, DQ8 to DQ15: High-side switch and freewheeling diode
• X12 DQ0 to DQ7: High-side switch without freewheeling diode
• X12 DQ8 to DQ15: High-side switch without freewheeling diode
NOTICE
Polarity reversal of the supply voltage
An internal protective circuit protects the digital on-board I/O against destruction if the
polarity of the supply voltage is reversed. In the case of polarity reversal of the supply
voltage, however, unexpected states can occur at the digital outputs.
Response of the digital outputs to a wire break at ground connection of the outputs
Due to the characteristics of the output driver used in the module, approx. 25 mA supply
current flows out through the outputs via a parasitic diode in the event of a ground wire
break. This behavior can lead to non-set outputs also carrying high levels and emitting up to
25 mA output current. Depending on the type of load, 25 mA can be sufficient to control the
load with high level. To prevent unintended switching of the digital outputs in the event of a
ground wire break, follow these steps:
WARNING
Wire break at ground connection
Never bridge from terminal 30 to terminal 40 in the front connector and never lead only
one wire to the central ground connection.
Connect terminal 30 and terminal 40 to a common ground point.
As a supplement to the block diagram and terminal assignment, the following figure shows
the correct wiring of the outputs in order to prevent switching of the outputs in the event of
a ground wire break.
Figure 4-13 Correct wiring using the digital on-board I/O X11 as an example
The ground is supplied with a first cable from the central terminal block to terminal 30 of the
module and additionally with a second cable also from the central terminal block to
terminal 40 of the module.
At the digital outputs, each of the ground connections of the loads is connected with a
separate cable for each load to the central terminal block.
The figure below shows the current flow with correct wiring.
Figure 4-14 Current flow with correct wiring using the digital on-board I/O X11 as an example
With correct wiring, the supply current flows from the power supply 2L+ via terminal 29 to
the module. In the module, the current flows via the output driver and exits the module via
terminal 40.
The figure below shows the reaction to interruption of the first ground cable.
Figure 4-15 Interruption of the first ground cable using the digital on-board I/O X11 as an example
If a wire break occurs on the first ground cable from the central terminal block to terminal 30,
the module can continue to operate without restrictions, as it is still connected to the ground
via the second cable from the central terminal block to terminal 40.
The figure below shows the reaction to interruption of the second ground cable.
Figure 4-16 Interruption of the second ground cable using the digital on-board I/O X11 as an example
If a wire break occurs on the second ground cable from the central block terminal to
terminal 30, the module can continue to operate without restrictions, as it is still connected
to the ground via the first cable from the central terminal block to terminal 40.
The figure below shows the current flow upon interruption of both ground cables.
Figure 4-17 Current flow upon interruption of both ground cables using the digital on-board I/O X11
as an example
If a wire break occurs on the first and on the second ground cable from the central terminal
block to the terminals 30 and 40 of the module, a malfunction occurs on the module. Both
ground connections of the module are interrupted.
The supply current flows from the power supply 2L+ via terminal 29 to the module. In the
module, the current flows via the output driver into the parasitic diode and exits the module
via the output terminal, e.g. as shown in the figure via terminal 27. The supply current
therefore flows via the connected load. The internal supply current is typically 25 mA.
WARNING
Interruption of both ground cables
If the ground terminals 30 and 40 are interrupted, the following incorrect response can
occur:
The activated outputs, which are switched to high, start to switch back and forth between
high and low. If the load connected at the output is sufficiently small, the output is
continuously activated.
Faulty wiring
The following figure shows faulty wiring, which has a bridge on the front connector.
Figure 4-18 Faulty wiring using the digital on-board I/O X11 as an example: Bridge
Terminals 30 and 40 are connected in the front connector and only routed with one cable to
the central terminal block. If this cable breaks, terminals 30 and 40 are no longer connected
to the ground. The module's supply current flows out via the output terminal.
The figure below shows the current flow when the ground connections of the loads and the
ground connection of terminal 30 are routed with a common cable to the central terminal
block.
① Ground connections of other plant parts that can also carry large currents.
Figure 4-19 Faulty wiring using the digital on-board I/O X11 as an example: Common cable
If a break occurs in the common cable, the current of the outputs flows via terminal 30 to the
module and via terminal 40 to the central terminal block. The current flows via the module.
WARNING
Current flow with faulty wiring
If a break occurs in the common cable, the current can be very high, depending on the
plant, and lead to the destruction of the module.
The figure below shows the current flow with correct wiring when a potential difference exits
between the grounding points.
Equipotential bonding occurs via terminals 30 and 40. When a potential difference exists
between the grounding points FE1 and FE2, the compensating current flows via terminals 30
and 40.
WARNING
Current flow with faulty wiring
In the event of a potential difference, the current can be very high, depending on the
potential conditions, and lead to the destruction of the module.
Response of the digital outputs to a wire break at ground connection of the outputs (X12)
Due to the design of the module, in contrast to the digital onboard I/O X12, no supply current
is discharged via the outputs if ground is interrupted in the digital onboard I/O X12, in
contrast to the digital onboard I/O X11.
Note
Shielding
If you use standard digital inputs with "None" set as the input delay, you must use shielded
cables. Shielding and the infeed element are recommended for use of standard digital inputs
starting from an input delay of 0.05 ms but are not absolutely necessary.
Encoder signals
The 24 V encoder signals are designated with letters A, B and N. You can connect the
following encoder types:
• Incremental encoder with signal N:
Signals A, B and N are connected using the correspondingly marked connections. Signals
A and B are the two incremental signals, phase-shifted by 90°. N is the zero mark signal
that supplies a pulse per revolution.
• Incremental encoder without signal N:
Signals A and B are connected using the correspondingly marked connections. Signals A
and B are the two incremental signals, phase-shifted by 90°.
• Pulse encoder without direction signal:
The count signal is connected to the A connection.
• Pulse encoder with direction signal:
The count signal is connected to the A connection. The direction signal is connected to the
B connection.
• Pulse encoder with up/down count signal:
The up count signal is connected to the A connection. The down count signal is connected
to the B connection.
You can connect the following encoders or sensors to the A, B and N inputs:
• Switching to P potential:
The encoder or sensor switches the A, B and N inputs to 24 V DC.
Note
External load resistance
Note that, depending on the characteristics of the signal source, effective load and height
of the signal frequency, you may possibly require an external load resistance to limit the
fall time of the signal from high level to low level.
The specifications/technical data of the signal source (e.g. sensor) are decisive for the
configuration of such a load resistance.
• Push-pull:
The encoder or sensor switches the A, B and N inputs alternately to 24 V DC and to ground
M.
Note
HSC compatibility mode
The displayed interconnection options in the section Interconnection overview of the inputs
(Page 111) assume that the "Front connector assignment like CPU 1511C" option is disabled.
If the option is enabled, the input signals are interconnected the same way as for the
CPU 1511C-1 PN. In this case, the interconnection options of the CPU 1511C-1 PN manual
apply.
Note
It is possible to directly connect relays and contactors without external wiring. For
information on the maximum possible operating frequencies and the inductance values of
the inductive loads at the digital outputs, refer to the Technical specifications section.
The section Interconnection overview of outputs (Page 113) provides an overview of which
digital outputs you can interconnect to which high-speed counters. Digital outputs to which
no high-speed counter is interconnected can be used as standard outputs. The maximum
output delay of each digital output used as standard output is 500 µs.
Shielding
Note
When you use digital inputs/outputs with technology functions, i.e. interconnect high-speed
counters with the inputs/outputs, you must use shielded cables and the infeed element for
shielding.
Reference
For more information on configuring the inputs of the high-speed counters, refer to the
S7-1500, ET 200MP, ET 200SP Counting, measurement and position detection
(http://support.automation.siemens.com/WW/view/en/59709820) function manual and the
STEP 7 online help.
4.3.5 Addresses of the pulse generators in the Pulse Width Modulation (PWM)
and Frequency Output modes
Note
The digital inputs and outputs assigned to PWM and PTO cannot be forced.
You assign the digital inputs and outputs to the pulse duration modulation (PWM) and the
pulse train output (PTO) during the device configuration. If you assign digital inputs and
outputs to these functions, the values of the addresses of the assigned digital inputs and
outputs cannot be changed by the function for forcing in the watch table. Instead, you can
force the output bit TM_CTRL_DQ to 0 and switch the output on or off with the bit SET_DQA
(relevant for the PWM and Frequency Output modes).
For more information on forcing inputs and outputs, refer to the S7-1500, ET 200MP system
manual (http://support.automation.siemens.com/WW/view/en/59191792).
Encoder signals
In addition to supporting its outputs, each PTO channel also supports the three following
optional inputs:
• Reference Switch (RS)
• Measuring Input (MI)
• Drive Ready (DR)
* Only supports for PTO direction signal (signal type "pulse A and direction B")
1) "PTOx - Output A" stands for the signal types Pulse Output A or Pulse
2) "PTOx - Output B" stands for the Pulse output B or Direction signal types
Figure 5-1 Address space seven-channel analog on-board I/O with value status
Figure 5-2 Address space of the submodule X11 of the 2 x 32-channel digital on-board I/O (16 digital
inputs/16 digital outputs) with value status
Figure 5-3 Address space of the submodule X12 of the 2 x 32-channel digital on-board I/O (16 digital
inputs/16 digital outputs) with value status
Note
Behavior of the value status at the output channels for technology functions
The output channels return the value status 0 ("Bad") when a technology channel (HSC, PWM
or PTO) is used. It does not matter in this context whether the output value is incorrect or
not.
Inputs Outputs
Size per high-speed counter (6x) 16 bytes 12 bytes
You can find a description of the control interface in the section Assignment of the control
interface of the high-speed counters (Page 50). You can find a description of the feedback
interface in the section Assignment of the feedback interface of the high-speed counters
(Page 52).
Table 5- 2 Size of the input and output addresses in operating mode "Position input for Motion Control"
Inputs Outputs
Size per high-speed counter (6x) 16 bytes 4 bytes
* In "Deactivated" mode, the control interface is not evaluated and the feedback interface is set to 0 value
Introduction
The analog on-board I/O is set to voltage measurement type and measuring range ±10 V by
default for the inputs on channels 0 to 3. By default, channel 4 is set to resistance measuring
type and measuring range 600 Ω. If you want to use another measurement type or
measuring range, change the parameter settings of the analog on-board I/O with STEP 7 (TIA
Portal).
Disable unused inputs to prevent disturbances that cause incorrect behavior (e.g. triggering
of a hardware interrupt).
The tables of the input ranges, overflow, underrange, etc. can be found in the appendix .
5.5 Output type and output ranges of the analog on-board I/O
Introduction
The analog on-board I/O is set to voltage output type and output range ±10 V as default for
the outputs. If you want to use another output range or output type, you need to change the
parameter settings of the analog on-board I/O in STEP 7 (TIA Portal).
• Current limit for wire break diagnostics 1.185 mA or 3.6 mA 1.185 mA Yes
You can find an overview of the limits for the hardware interrupts in the section Structure of
a data record for input channels of the analog on-board I/O (Page 168).
• Substitute value Must be within the permitted voltage/current output range. 0 Yes
See "Valid substitute value for the output range" table in the
section Structure of a data record for output channels of the
analog on-board I/O (Page 173)
1) All parameters can be set channel-selective
Short-circuit detection
The diagnostics for short circuit to ground can be configured for the voltage output type.
Short-circuit detection is not possible for low output values. The output voltages must
therefore be under -0.1 V or over +0.1 V.
LED display
The figure below shows the LED displays of the CPU part.
Figure 6-1 LED display of the CPU 1512C-1 PN (without front panel)
Note
"LED" instruction
You can read the status (e.g. "On" or "Off") of LEDs of a CPU or a module using the "LED"
instruction. Note, however, that it is not possible to read the LED status of the LINK RX/TX
LEDs on all S7-1500 CPUs.
You can find additional information on the "LED" instruction in the STEP 7 online help.
• The CPU is set to "STOP" mode using the display or programming device and not with the STOP
LED off button on the device.
• The CPU is in RUN mode.
LED displays
The figure below shows the LED displays (status and error displays) of the analog on-board
I/O.
CHx LED
Note
Maintenance LED
During ramp-up, the firmware of the CPU checks the consistency of the calibration data of the
analog on-board I/O stored by the SIEMENS Production. The yellow MAINT LED lights up if the
firmware detects an inconsistency (e.g. an invalid value) or missing calibration data. The
MAINT-LED is located next the red ERROR-LED on the analog on-board I/O.
Note that the MAINT LED on the analog on-board I/O is only intended for troubleshooting by
SIEMENS. In normal condition, the MAINT-LED should not light up. However, if the LED is lit
up, please contact SIEMENS "mySupport" at Internet
(https://support.industry.siemens.com/My/ww/en/).
LED displays
The figure below shows an example of the LED displays (status and error displays) of the first
module of the digital on-board I/O. Remedial measures for diagnostics alarms can be found in
section Interrupts and diagnostics of the digital on-board I/O (Page 136).
RUN/ERROR LED
Table 6- 6 RUN/ERROR status and error displays
PWRx LED
Table 6- 7 PWRx status display
CHx LED
Table 6- 8 CHx status display
Note
For the status display, the digital inputs only take into account the filter time of the
corresponding DI and not the filter time of the A/B/N signals of the fast counters (HSC).
For example, a static signal may be displayed when the DI has a configured input delay of
3.2 ms, even though a 100 kHz counter on these inputs still detects edge transitions.
Diagnostics interrupt
The analog on-board I/O generates a diagnostics interrupt at the following events:
The start information of the organization block includes information on which channel of the
analog on-board I/O triggered the hardware interrupt. The figure below shows the
assignment to the bits of double word 8 in local data.
Diagnostics alarms
A diagnostics alarm is output for each diagnostics event and the ERROR LED flashes on the
analog on-board I/O. The diagnostics alarms can, for example, be read out in the diagnostics
buffer of the CPU. You can evaluate the error codes with the user program.
Diagnostics interrupt
A diagnostics alarm is output for each diagnostics event and the ERROR LED flashes on the
digital on-board I/O. You can read out the diagnostics alarms, for example, in the diagnostics
buffer of the CPU. You can evaluate the error codes with the user program.
Hardware interrupt
The compact CPU can generate a hardware interrupt for the following events:
• Rising edge
• Falling edge
You will find detailed information on the event in the hardware interrupt organization block
with the "RALRM" (read additional interrupt information) instruction and in the STEP 7 online
help.
The start information of the organization block includes information on which channel
triggered the hardware interrupt. The figure below shows the assignment to the bits of
double word 8 in local data.
Input current
Current consumption (rated value) 0.8 A; Without load; 18.8 A: CPU + load
Current consumption, max. 1 A; Without load; 19 A: CPU + load
Inrush current, max. 1.9 A; Rated value
I²t 0.34 A²·s
Digital outputs
• from load voltage L+, max. 30 mA; Per group, without load
Output voltage
Rated value (DC) 24 V
Encoder supply
Number of outputs 2; One common 24 V encoder supply per 16 digi-
tal inputs
24 V encoder supply
• 24 V Yes; L+ (-0.8 V)
Power
Infeed power to the backplane bus 10 W
Power consumption from the backplane bus 9W
(balanced)
Power loss
Power loss, typ. 15.2 W
Memory
Number of slots for SIMATIC memory card 1
SIMATIC memory card required Yes
Work memory
• integrated (for program) 250 kbyte
Load memory
• Plug-in (SIMATIC Memory Card), max. 32 Gbyte
Backup
• maintenance-free Yes
FC
• Number range 0 ... 65 535
OB
• Size, max. 250 kbyte
Nesting depth
• per priority class 24
Retentivity
– adjustable Yes
IEC counter
• Number Any (only limited by the main memory)
Retentivity
– adjustable Yes
S7 times
• Number 2 048
Retentivity
– adjustable Yes
IEC timer
• Number Any (only limited by the main memory)
• Number of clock memories 8; 8 clock memory bit, grouped into one clock
memory byte
Data blocks
• Retentivity adjustable Yes
• Retentivity preset No
Local data
• per priority class, max. 64 kbyte; max. 16 KB per block
Address area
Number of IO modules 2 048; max. number of modules / submodules
I/O address area
• Inputs 32 kbyte; All inputs are in the process image
Hardware configuration
Number of distributed IO systems 32; A distributed I/O system is characterized not
only by the integration of distributed I/O via
PROFINET or PROFIBUS communication modules,
but also by the connection of I/O via AS-i master
modules or links (e.g. IE/PB-Link)
Number of DP masters
• Via CM 6; A maximum of 6 CMs/CPs (PROFIBUS,
PROFINET, Ethernet) can be inserted in total
Number of IO Controllers
• integrated 1
PtP CM
• Number of PtP CMs the number of connectable PtP CMs is only limited
by the number of available slots
Time of day
Clock
• Type Hardware clock
Clock synchronization
• supported Yes
Digital inputs
integrated channels (DI) 32
Digital inputs, parameterizable Yes
Source/sink input P-reading
Input characteristic curve in accordance with Yes
IEC 61131, type 3
Digital input functions, parameterizable
• Gate start/stop Yes
• Capture Yes
• Synchronization Yes
Input voltage
• Type of input voltage DC
Input current
• for signal "1", typ. 2.5 mA
Digital outputs
Type of digital output Transistor
integrated channels (DO) 32
Current-sourcing Yes; Push-pull output
Short-circuit protection Yes; electronic/thermal
• Response threshold, typ. 1.6 A with standard output, 0.5 A with high-speed
output; see manual for details
Limitation of inductive shutdown voltage to Connector X11: -0.8 V; connector X12: L+ (-53 V)
Controlling a digital input Yes
Accuracy of pulse duration Up to ±100 ppm ±2 μs at high-speed output; see
manual for details
minimum pulse duration 2 µs; With High Speed output
Digital output functions, parameterizable
• Switching tripped by comparison values Yes; As output signal of a high-speed counter
– Number, max. 4
– ON period, min. 0%
• for signal "0", max. 1 V; With high-speed output, i.e. when using a
high-speed output; see manual for details
• for signal "1", min. 23.2 V; L+ (-0.8 V)
Output current
• for signal "1" rated value 0.5 A; 0.1 A with high-speed output, i.e. when
using a high-speed output, observe derating; see
manual for details
• for signal "1" permissible range, min. 2 mA
• for signal "1" permissible range, max. 0.6 A; 0.12 A with high-speed output, i.e. when
using a high-speed output, observe derating; see
manual for details
• for signal "0" residual current, max. 0.5 mA
• for uprating No
Switching frequency
• with resistive load, max. 100 kHz; For high-speed output, 100 Hz for
standard output
• with inductive load, max. 0.5 Hz; Acc. to IEC 60947-5-1, DC-13; observe
derating curve
• on lamp load, max. 10 Hz
• Current per power supply, max. 4 A; 2 power supplies for each group, current per
power supply max. 4 A, see additional description
in manual
for technological functions
– Current per channel, max. 0.5 A; see additional description in the manual
Relay outputs
• Number of relay outputs 0
Analog inputs
Number of analog inputs 5; 4x for U/I, 1x for R/RTD
• For current measurement 4; max.
– Input resistance (-20 mA to +20 mA) 50 Ω; Plus approx. 55 ohm for overvoltage protec-
tion by PTC
• 4 mA to 20 mA Yes; Physical measuring range: ± 20 mA
Analog outputs
integrated channels (AO) 2
Voltage output, short-circuit protection Yes
Cycle time (all channels), min. 1 ms; Dependent on the parameterized interfer-
ence frequency suppression; for details, see con-
version procedure in manual
Output ranges, voltage
• 0 to 10 V Yes
• 1 V to 5 V Yes
• 4 mA to 20 mA Yes
Cable length
• shielded, max. 200 m
• Integration time, parameterizable Yes; 2.5 / 16.67 / 20 / 100 ms, acts on all channels
Encoder
Connection of signal encoders
• for voltage measurement Yes
Interfaces
Number of PROFINET interfaces 1
1. Interface
Interface types
• RJ 45 (Ethernet) Yes; X1
• Number of ports 2
Protocols
• IP protocol Yes; IPv4
– Number of connectable IO Devices, 128; In total, up to 256 distributed I/O devices can
max. be connected via AS-i, PROFIBUS or PROFINET
– Updating times The minimum value of the update time also de-
pends on communication share set for PROFINET
IO, on the number of IO devices, and on the
quantity of configured user data
Update time for IRT
– for send cycle of 250 µs 250 μs to 4 ms; Note: In the case of IRT with
isochronous mode, the minimum update time of
625 µs of the isochronous OB is decisive
– for send cycle of 500 µs 500 μs to 8 ms; Note: In the case of IRT with
isochronous mode, the minimum update time of
625 µs of the isochronous OB is decisive
– for send cycle of 1 ms 1 ms to 16 ms
– With IRT and parameterization of "odd" Update time = set "odd" send clock (any multiple
send cycles of 125 µs: 375 µs, 625 µs ... 3 875 µs)
– Isochronous mode No
– IRT Yes
• Autonegotiation Yes
• Autocrossing Yes
Protocols
Number of connections
• Number of connections, max. 128; via integrated interfaces of the CPU and
connected CPs / CMs
• Number of connections reserved for 10
ES/HMI/web
• Number of connections via integrated inter- 88
faces
Redundancy mode
• H-Sync forwarding Yes
Media redundancy
– Media redundancy only via 1st interface (X1)
– MRP Yes
– MRP interconnection, supported Yes; as MRP ring node according to IEC 62439-2
Edition 3.0
– MRPD Yes; Requirement: IRT
– Switchover time on line break, typ. 200 ms; For MRP, bumpless for MRPD
• S7 routing Yes
• User data per job, max. See online help (S7 communication, user data
size)
• UDP Yes
• DHCP Yes
• DNS Yes
• SNMP Yes
• DCP Yes
• LLDP Yes
Web server
• HTTP Yes; Standard and user pages
OPC UA
• Runtime license required Yes; "Small" license required
Isochronous mode
Equidistance Yes
Diagnostic buffer
• present Yes
Interrupts/diagnostics/status information
Alarms
• Diagnostic alarm Yes
– per probe 40
• Positioning axis
– Number of positioning axes at motion 5
control cycle of 4 ms (typical value)
– Number of positioning axes at motion 10
control cycle of 8 ms (typical value)
Controller
• PID_Compact Yes; Universal PID controller with integrated op-
timization
• PID_3Step Yes; PID controller with integrated optimization
for valves
• PID-Temp Yes; PID controller with integrated optimization
for temperature
Integrated Functions
Counting functions
• Continuous counting Yes
Comparator
– Number of comparators 2; per count channel; see manual for details
Measuring functions
• Measuring time, parameterizable Yes
Measuring range
– Frequency measurement, min. 0.04 Hz
Isolation
Isolation tested with 707 V DC (type test)
Ambient conditions
Ambient temperature during operation
• horizontal installation, min. -25 °C; No condensation
• horizontal installation, max. 60 °C; note derating data for onboard I/O in the
manual. Display: 50 °C, at an operating tempera-
ture of typically 50 °C, the display is switched off
• vertical installation, min. -25 °C; No condensation
• vertical installation, max. 40 °C; note derating data for onboard I/O in the
manual. Display: 40 °C, at an operating tempera-
ture of typically 40 °C, the display is switched off
Ambient temperature during stor-
age/transportation
• min. -40 °C
• max. 70 °C
– FBD Yes
– STL Yes
– SCL Yes
– GRAPH Yes
Know-how protection
• User program protection/password protec- Yes
tion
Dimensions
Width 110 mm
Height 147 mm
Depth 129 mm
Weights
Weight, approx. 1 360 g
Power reduction (derating) to total current of digital outputs (per power supply)
The following figure shows the load rating of the digital outputs in relation to the mounting
position and the ambient temperature.
Figure 7-1 Loading capacity of the digital outputs per mounting position
The following trends shows the load rating of the digital outputs when technology functions
are used in dependence on the ambient temperature.
Figure 7-2 Load rating of the digital outputs when technology functions are used
Power reduction (derating) to total current of digital inputs (per power supply)
The following figure shows the load rating of the current for encoder supplies of digital
inputs.
Figure 7-3 Load rating of the current for encoder supplies of digital inputs
Figure A-1 Dimension drawing of CPU 1512C-1 PN – front and side views
Figure A-2 Dimension drawing of CPU 1512C-1 PN – side view with front panel open
Voltage
±5 V, ±10 V 1 to 5 V, 0 to 10 V
32510 32510 High limit
-32511 -4863 Low limit
Current Resistance
±20 mA 4 to 20 mA / (all configurable measuring ranges)
0 to 20 mA
32510 32510 32510 High limit
-32511 -4863 1 Low limit
Table B- 6 Limits for thermal resistor Pt 100 Standard and Pt 100 Climate
Thermal resistor
Pt 100 Standard Pt 100 Climate
°C °F K °C °F K
9999 18319 12731 15499 31099 --- High limit
-2429 -4053 303 -14499 -22899 --- Low limit
Table B- 7 Limits for thermal resistor Ni 100 Standard and Ni 100 Climate
Thermal resistor
Ni 100 Standard Ni 100 Climate
°C °F K °C °F K
2949 5629 5681 15499 31099 --- High limit
-1049 -1569 1683 -10499 -15699 --- Low limit
Bit →
Byte 7 6 5 4 3 2 1 0
0 Major Version = 1 Minor Version = 0
1 Length of parameter data of the channel = 48
2 Reserved = 0 1)
3
1) Reserved bits must be set to 0
Bit →
Byte 7 6 5 4 3 2 1 0
Operating mode
4 Reserved = 0 1) Operating mode:
0000B: Deactivated
0001B: Counting
0010B: Measuring
0011 to 1111B: Reserved
1) Reserved bits must be set to 0
Bit →
Byte 7 6 5 4 3 2 1 0
Basic parameters
5 Reserved = 0 1) Enable Reaction to CPU STOP:
additional 00B: Output substitute
diagnostic value
interrupts2)
01B: Keep last value
10B: Continue operation
11B: Reserved
1) Reserved bits must be set to 0
2) Must be set to 1 for the activation of the diagnostic interrupts "Missing supply voltage L+, "Illegal A/B signal ratio" and
"Hardware interrupt lost"
Bit →
Byte 7 6 5 4 3 2 1 0
Counter inputs
6 Reserved = 0 1) Signal evaluation: Signal type:
00B: Single 0000B: Pulse (A)
01B: Double 0001B: Pulse (A) and direction (B)
10B: Quadruple 0010B: Count up (A), count down (B)
11B: Reserved 0011B: Incremental encoder (A, B phase-shifted)
0100B: Incremental encoder (A, B, N)
0101 to 1111B: Reserved
7 Reaction to signal N: Invert direc- Reserved = Filter frequency
00B: No reaction to sig- tion 0 1) 0000B: 100 Hz
nal N 0001B: 200 Hz
01B: Synchronization at 0010B: 500 Hz
signal N 0011B: 1 kHz
10B: Capture at signal N 0100B: 2 kHz
11B: Reserved 0101B: 5 kHz
0110B: 10 kHz
0111B: 20 kHz
1000B: 50 kHz
1001B: 100 kHz
1010B: Reserved
1011 to 1111B: Reserved
1) Reserved bits must be set to 0
Bit →
Byte 7 6 5 4 3 2 1 0
Hardware interrupts1)
8 Reserved = Reserved = Reserved = Direction Underflow Overflow Gate stop Gate start
0 1) 0 1) 0 1) reversal (low count- (high count-
ing limit ing limit
violated) violated)
9 Synchroni- New cap- Reserved = Zero cross- Reserved = Comparison Reserved = Comparison
zation of ture value 0 1) ing 0 1) event for 0 1) event for
the counter available DQ1 oc- DQ0 oc-
by an exter- curred curred
nal signal
1) Reserved bits must be set to 0
Bit →
Byte 7 6 5 4 3 2 1 0
Behavior of DQ0/1
10 Set output (DQ1): Set output (DQ0):
0000B: Use by user program 0000B: Use by user program
0001B: 0001B:
Counting: Between comparison value 1 and high limit; Counting: Between comparison value 0 and high limit;
Measuring: Measured value >= Comparison value 1 Measuring: Measured value >= Comparison value 0
0010B: 0010B:
Counting: Between comparison value 1 and low limit; Counting: Between comparison value 0 and low limit;
Measuring: Measured value <= Comparison value 1 Measuring: Measured value <= Comparison value 0
0011B: 0011B:
Counting: At comparison value 1 for one pulse dura- Counting: At comparison value 0 for one pulse duration;
tion; Measuring: Reserved
Measuring: Reserved
0100B: Between comparison value 0 and 1 0100B: Reserved
0101B: 0101B:
Counting: After set command from CPU until compari- Counting: After set command from CPU until compari-
son value 1; son value 0;
Measuring: Reserved Measuring: Reserved
0110B: 0110 to 1111B: Reserved
Counting: Reserved
Measuring: Not between comparison value 0 and 1
0111 to 1111B: Reserved
11 Count direction (DQ1): Count direction (DQ0): Reserved = 0 1) Substitute Substitute
00B: Reserved 00B: Reserved value for value for
DQ1 DQ0
01B: Up 01B: Up
10B: Down 10B: Down
11B: In both directions 11B: In both directions
Bit →
Byte 7 6 5 4 3 2 1 0
12 Pulse duration (DQ0):
13 WORD: Value range in ms/10: 0 to 65535D
14 Pulse duration (DQ1):
15 WORD: Value range in ms/10: 0 to 65535D
1) Reserved bits must be set to 0
Bit →
Byte 7 6 5 4 3 2 1 0
Behavior of DI0
16 Behavior of Edge selection (DI0): Level selec- Reserved = Set function of the DI (DI0):
count value 00B: Reserved tion (DI0): 0 1) 000B: Gate start/stop (level-triggered)
after Cap-
ture (DI0): 01B: On a rising edge 0B: Active at 001B: Gate start (edge-triggered)
10B: On a falling edge high level 010B: Gate stop (edge-triggered)
0B: Continue 11B: On rising and falling 1B: Active at 011B: Synchronization
counting edge low level 100B: Enable synchronization at signal N
1B: Set to 101B: Capture
start value 110B: Digital input without function
and contin-
ue counting 111B: Reserved
Bit →
Byte 7 6 5 4 3 2 1 0
17 Behavior of DI1:
See byte 16
18 Reserved = 0 1)
19 Sync option Reserved = 0 1) Reserved = 0 1)
0B: Once
1B: Periodi-
cally
1) Reserved bits must be set to 0
Bit →
Byte 7 6 5 4 3 2 1 0
Values
20-23 High counting limit:
DWORD: Value range: –2147483648 to 2147483647D or 80000000 to 7FFFFFFFH
24-27 Comparison value 0:
Counting mode: DWORD Value range: –2147483648 to 2147483647D or 80000000 to 7FFFFFFFH;
Measuring mode: REAL Floating-point number in the set unit of the measured variable
28-31 Comparison value 1:
Counting mode: DWORD Value range: –2147483648 to 2147483647D: or 80000000 to 7FFFFFFFH;
Measuring mode: REAL Floating-point number in the set unit of the measured variable
32-35 Start value:
DWORD: Value range: –2147483648 to 2147483647D or 80000000 to 7FFFFFFFH
36-39 Low counting limit:
DWORD: Value range: –2147483648 to 2147483647D or 80000000 to 7FFFFFFFH
40-43 Update time:
DWORD: Value range in μs: 0 to 25000000D
Table B- 20 Parameter data record 128 - Counter behavior at limits and at gate start
Bit →
Byte 7 6 5 4 3 2 1 0
Counter behavior at limits and at gate start
44 Response to gate start: Response to counting limit violation: Reset at counting limit violation:
00B: Set to start value 000B: Stop counting 000B: To other counting limit
01B: Continue with current 001B: Continue counting 001B: On start value
value
10 to 11B: Reserved 010 to 111B: Reserved 010 to 111B: Reserved
Bit →
Byte 7 6 5 4 3 2 1 0
Specify measured value
45 Reserved = 0 1) Time base for velocity measurement: Measured variable:
000B: 1 ms 00B: Frequency
001B: 10 ms 01B: Period duration
010B: 100 ms 10B: Velocity
011B: 1 s 11B: Reserved
100B: 60 s/1 min
101 to 111B: Reserved
Bit →
Byte 7 6 5 4 3 2 1 0
46 Increments per unit:
47 WORD: Value range: 1 to 65535D
48 Set hysteresis range:
Value range: 0 to 255D
49 Use of Reserved = 0 1) Selection HSC DI0
HSC DI0 Value range (applicable if the CPU is configured with deactivated
0B: Not used 'Front connector assignment like 1511C' setting):
1B: Used HSC1..3:
01000B: Front connector X11, terminal 11 (DI8)
01001B: Front connector X11, terminal 12 (DI9)
01010B: Front connector X11, terminal 13 (DI10)
01011B: Front connector X11, terminal 14 (DI11)
01100B: Front connector X11, terminal 15 (DI12)
01101B: Front connector X11, terminal 16 (DI13)
01110B: Front connector X11, terminal 17 (DI14)
01111B: Front connector X11, terminal 18 (DI15)
HSC4..6:
11000B: Front connector X12, terminal 11 (DI8)
11001B: Front connector X12, terminal 12 (DI9)
11010B: Front connector X12, terminal 13 (DI10)
11011B: Front connector X12, terminal 14 (DI11)
11100B: Front connector X12, terminal 15 (DI12)
11101B: Front connector X12, terminal 16 (DI13)
11110B: Front connector X12, terminal 17 (DI14)
11111B: Front connector X12, terminal 18 (DI15)
All other values: Reserved
Note: If the CPU with enabled 'Front connector assignment like 1511C'
setting is configured, the parameter data record definition of CPU
1511C applies. See device manual of CPU 1511C.
50 Use of Reserved = 0 1) Selection HSC DI1
HSC DI1 Value range (applicable if the CPU is configured with deactivated
0B: Not used 'Front connector assignment like 1511C' setting):
1B: Used HSC1..3:
01000B: Front connector X11, terminal 11 (DI8)
01001B: Front connector X11, terminal 12 (DI9)
01010B: Front connector X11, terminal 13 (DI10)
01011B: Front connector X11, terminal 14 (DI11)
01100B: Front connector X11, terminal 15 (DI12)
01101B: Front connector X11, terminal 16 (DI13)
01110B: Front connector X11, terminal 17 (DI14)
01111B: Front connector X11, terminal 18 (DI15)
HSC4..6:
11000B: Front connector X12, terminal 11 (DI8)
11001B: Front connector X12, terminal 12 (DI9)
11010B: Front connector X12, terminal 13 (DI10)
11011B: Front connector X12, terminal 14 (DI11)
11100B: Front connector X12, terminal 15 (DI12)
11101B: Front connector X12, terminal 16 (DI13)
11110B: Front connector X12, terminal 17 (DI14)
11111B: Front connector X12, terminal 18 (DI15)
All other values: Reserved
Note: If the CPU with enabled 'Front connector assignment like 1511C'
setting is configured, the parameter data record definition of CPU
1511C applies. See device manual of CPU 1511C.
Bit →
Byte 7 6 5 4 3 2 1 0
51 Use of Reserved = 0 1) Selection HSC DQ1
HSC DQ1 Value range:
0B: Not used HSC1:
1B: Used 00001B: Front connector X11, terminal 22 (DQ1)
01001B: Front connector X11, terminal 32 (DQ9)
HSC2:
00011B: Front connector X11, terminal 24 (DQ3)
01011B: Front connector X11, terminal 34 (DQ11)
HSC3:
00100B: Front connector X11, terminal 25 (DQ4)
01100B: Front connector X11, terminal 35 (DQ12)
HSC4:
00101B: Front connector X11, terminal 26 (DQ5)
01101B: Front connector X11, terminal 36 (DQ13)
HSC5:
00111B: Front connector X11, terminal 28 (DQ7)
01111B: Front connector X11, terminal 38 (DQ15)
HSC6:
00110B: Front connector X11, terminal 27 (DQ6)
01110B: Front connector X11, terminal 37 (DQ14)
All other values: Reserved
1) Reserved bits must be set to 0
Bit →
Byte 7 6 5 4 3 2 1 0
0 Major Version = 1 Minor Version = 0
1 Length of the parameter data of the channel in bytes = 12
2 Reserved = 0 1)
3
4 Current Dithering High-speed output Operating mode
control
0B: Deac- 0B: Deac- 0B: Deactivated 0000B: Reserved
tivated tivated
1B: Reserved 1B: Reserved 01B: Activated 0001B: PWM (pulse-width modulation)
10B-11B: Reserved 0010B: Reserved
0011B: Reserved
0100B: Frequency output
0110B to 1110B: Reserved
1111B: Deactivated
5 Reserved = 0 1) Reserved = 0 1) Diagnostics Reaction to CPU STOP
interrupt
0B: Deac- 00B: DQ substitute value
tivated
1B: Activat- 01B: Reserved
ed 10B: Operating mode for
continuation of operation
11B: Reserved
6 Reserved = 0 1) Pulse output (DQA) selection
Range of values for PWM1:
00000B: Front connector X11, terminal 21 (DQ0)
01000B: Front connector X11, terminal 31 (DQ8)
Range of values for PWM2:
00010B: Front connector X11, terminal 23 (DQ2)
01010B: Front connector X11, terminal 33 (DQ10)
Range of values for PWM3:
00100B: Front connector X11, terminal 25 (DQ4)
01100B: Front connector X11, terminal 35 (DQ12)
Range of values for PWM4:
00110B: Front connector X11, terminal 27 (DQ6)
01110B: Front connector X11, terminal 37 (DQ14)
All other values: Reserved
7 Reserved = 0 1) Output format Reserved = Reserved = Reserved = Substitute
0 1) 0 1) 0 1) value DQA
PWM Frequency 0B: 0 V
output
00B: S7 00B: Re- 1B: 24 V
analog served
format
Bit →
Byte 7 6 5 4 3 2 1 0
01B: per 100 01B: 1 Hz
(%)
10B: per 10B: Re-
1000 served
11B: per 11B: Re-
10,000 served
8-11 DWORD minimum pulse duration
PWM: Minimum pulse duration (default = 0 μs)
Frequency output: Reserved
12-15 DWORD period duration
PWM: Period duration
Supported value range depending on configured values for "Pulse output (DQA)" and "High-speed output (0.1 A)"
• for 100 kHz DQ (high-speed output activated): 10 μs to 10 000 000 μs (10 s)
• for 10 kHz DQ (high-speed output deactivated): 100 μs to 10 000 000 μs (10 s)
• for 100 Hz DQ (high-speed output deactivated): 10 000 μs (10 ms) to 10 000 000 μs (10 s)
Default = 2 000 000 μs (2 s)
Frequency output: Reserved
1) Reserved bits must be set to 0
Conversion
An integrated analog-to-digital converter converts the analog signal into a digital signal in
order that the compact CPU can process the analog signal read in by an analog channel. Once
the CPU has processed the digital signal, an integrated digital-to-analog converter converts
the output signal into an analog current or voltage value.
The following figure shows how this works using a 400 Hz interference frequency
suppression as an example. A 400 Hz interference frequency suppression corresponds to an
integration time of 2.5 ms. The analog on-board I/O supplies a measured value to the CPU
every 1.25 milliseconds within the integration time.
The following figure shows how this works using a 60 Hz interference frequency suppression
as an example. A 60 Hz interference frequency suppression corresponds to an integration
time of 16.6 ms. The analog on-board I/O supplies a measured value to the CPU every 1.04
milliseconds within the integration time.
The following figure shows how this works using a 50 Hz interference frequency suppression
as an example. A 50 Hz interference frequency suppression corresponds to an integration
time of 20 ms. The analog on-board I/O supplies a measured value to the CPU every
millisecond within the integration time.
The following figure shows how this works using a 10 Hz interference frequency suppression
as an example. A 10 Hz interference frequency suppression corresponds to an integration
time of 100 ms. The analog on-board I/O supplies a measured value to the CPU every
millisecond within the integration time.
The following table provides an overview of the configurable line frequencies, the integration
time and the intervals within which measured values are supplied to the CPU.
Table C- 1 Overview of the configurable line frequencies
Note
Basic error with an integration time of 2.5 ms.
With an integration time of 2.5 ms, the measured value is changed by the following values
based on the additionally obtained basic error and noise:
• with "voltage", "current" and "resistance" by ±0.1 %
• with "Thermal resistor Pt 100 Standard" by ±0.4 K
• with "Thermal resistor Pt 100 Climatic" by ±0.3 K
• with "Thermal resistor Ni 100 Standard" by ±0.2 K
• with "Thermal resistor Ni 100 Climatic" by ±0.1 K
A detailed description of the basic and operating error is available in the function manual
Analog value processing (http://support.automation.siemens.com/WW/view/en/67989094).
Smoothing
The individual measured values are smoothed by filtering. The smoothing can be set in 4
levels and channel-selective in STEP 7 (TIA Portal).
Smoothing time = Smoothing (k) x configured integration time
The following figure shows the time it takes for the smoothed analog value to reach
approximately 100 % depending on the set smoothing. This is valid for all signal changes at
the analog input.
The following table shows the time it takes for the smoothed analog value to reach
approximately 100 % depending on the set smoothing and the set interference frequency
suppression.
Table C- 2 Smoothing time depending on the set smoothing level and interference frequency suppression
Cycle time
The cycle times (1 ms, 1.04 ms and 1.25 ms) result from the configured interference
frequency suppression. The cycle time is independent of the number of configured analog
channels. The values for the analog input channels are detected sequentially in each cycle.
Reference
For more information on conversion time, cycle time and conversion method, refer to the
Analog value processing (http://support.automation.siemens.com/WW/view/en/67989094)
function manual.
Introduction
The analog values for all measuring ranges that you can use with the analog on-board I/O are
represented in this appendix.
For cross-product information on "analog value processing", refer to the Analog value
processing (http://support.automation.siemens.com/WW/view/en/67989094) function
manual.
Note
This resolution does not apply to temperature values. The digitalized temperature values are
the result of a conversion in the analog on-board I/O.
• "Wire break" diagnostics disabled -32767 8000 H Measured value after leaving the underrange
• "Overflow/Underflow" diagnostics
disabled
* When values > 32511 are specified, the output value is limited to 117.589%.
** When values < -32512 are specified, the output value is limited to -117.593%.
* When values > 32511 are specified, the output value is limited to 117.589%.
** When values < 0 are specified, the output value is limited to 0%.