Professional Documents
Culture Documents
DCM Technology en V6 0
DCM Technology en V6 0
Applications
Siemens
SINAMICS DCM Industry
Online
https://support.industry.siemens.com/cs/ww/en/view/103471886 Support
Legal information
Legal information
Use of application examples
Application examples illustrate the solution of automation tasks through an interaction of several
components in the form of text, graphics and/or software modules. The application examples are
a free service by Siemens AG and/or a subsidiary of Siemens AG ("Siemens"). They are
non-binding and make no claim to completeness or functionality regarding configuration and
equipment. The application examples merely offer help with typical tasks; they do not constitute
customer-specific solutions. You yourself are responsible for the proper and safe operation of the
products in accordance with applicable regulations and must also check the function of the
respective application example and customize it for your system.
Siemens grants you the non-exclusive, non-sublicensable and non-transferable right to have the
application examples used by technically trained personnel. Any change to the application
examples is your responsibility. Sharing the application examples with third parties or copying the
application examples or excerpts thereof is permitted only in combination with your own products.
The application examples are not required to undergo the customary tests and quality inspections
of a chargeable product; they may have functional and performance defects as well as errors. It is
your responsibility to use them in such a manner that any malfunctions that may occur do not
result in property damage or injury to persons.
Disclaimer of liability
Siemens shall not assume any liability, for any legal reason whatsoever, including, without
limitation, liability for the usability, availability, completeness and freedom from defects of the
application examples as well as for related information, configuration and performance data and
any damage caused thereby. This shall not apply in cases of mandatory liability, for example
under the German Product Liability Act, or in cases of intent, gross negligence, or culpable loss of
life, bodily injury or damage to health, non-compliance with a guarantee, fraudulent
non-disclosure of a defect, or culpable breach of material contractual obligations. Claims for
damages arising from a breach of material contractual obligations shall however be limited to the
© Siemens 2021 All rights reserved
foreseeable damage typical of the type of agreement, unless liability arises from intent or gross
negligence or is based on loss of life, bodily injury or damage to health. The foregoing provisions
do not imply any change in the burden of proof to your detriment. You shall indemnify Siemens
against existing or future claims of third parties in this connection except where Siemens is
mandatorily liable.
By using the application examples you acknowledge that Siemens cannot be held liable for any
damage beyond the liability provisions described.
Other information
Siemens reserves the right to make changes to the application examples at any time without
notice. In case of discrepancies between the suggestions in the application examples and other
Siemens publications such as catalogs, the content of the other documentation shall have
precedence.
The Siemens terms of use (https://support.industry.siemens.com) shall also apply.
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 customer’s exposure to cyber
threats.
To stay informed about product updates, subscribe to the Siemens Industrial Security RSS Feed
at: https://www.siemens.com/industrialsecurity.
Table of contents
Legal information ......................................................................................................... 2
1 Application description ..................................................................................... 5
1.1 Overview............................................................................................... 5
1.2 Hardware setup .................................................................................... 7
1.3 Hard and software components ........................................................... 8
2 Application functions ........................................................................................ 9
2.1 Overview............................................................................................... 9
2.2 Description of the core functionality ................................................... 11
3 Application installation ................................................................................... 12
3.1 Preparation ......................................................................................... 12
3.2 Installing the OALINK application ....................................................... 12
3.3 Installation of the DCB extension library "GMC" and
"MathExtended ................................................................................... 12
3.4 Creating the starter project ................................................................. 12
3.5 Import of the technology CU............................................................... 13
3.6 Import of the S120 application ........................................................... 16
4 Interconnection of the application ................................................................. 18
4.1 Use of the interconnection script ........................................................ 21
4.2 Manual interconnection of the application .......................................... 23
© Siemens AG 2021 All rights reserved
1 Application description
1.1 Overview
Introduction
All power converters of the SINAMICS DCM series are offering a wide range of
basic functions for different drive operations. This application extends them with
extensive and flexible positioning,synchronism and technology functionalities.
This extension is using a Control Unit CU320-2 as technology board, which
communicates via OA-Link with the Advanced CUD of the SINAMICS DCM.
M-soll
n-soll
s-soll
Positioning &
synchronism
setpoints
Position controlling Speed control
...
n-ist
© Siemens AG 2021 All rights reserved
OA-Link
s-ist
Actual speed
detection
n-ist
Application description
This application expands the positioning, synchronism, Flying Saw and Crosscutter
applications for the SINAMICS S120 drives for the usage with the SINAMICS DCM.
The CU320-2 is taking part as technology-CU and takes control of the position
control, generates a position setpoint as well as conditioning the actual speed and
position value. To communicate with the Advanced CUD of the SINAMICS DCM
OA-Link is used.
Distinction
This application doesn’t include descriptions
• For basic commissioning of the SINAMICS DCM and SINAMICS S120
• For the Drive Control Chart (DCC) engineering
• Any block description for the used Drive Control Blocks (DCB)
• The application description for the positioning and synchronism applications
• Description for the OA-application “Open Application Link”
© Siemens AG 2021 All rights reserved
Figure 1-2
X500
X100 X100
X101 X101
X500
X102
Table 1-1
Component Note
SINAMICS DCM Control Unit Advanced CUD as of firmware V1.4 HF2
Control Unit CU320-2 PN or CU320-2 DP as of firmware V5.2.3
SMx sensor modules for evaluating the encoder of Selection depending on encoder type
the load/motor position and for the leading
value/measuring wheel encoder or
DRIVE-CLiQ encoder
SIMATIC S7-1200 or S7-1500 CPU optional when using the SIMATIC function block
LMCSINA
Software components
Table 1-2
Component Note
© Siemens AG 2021 All rights reserved
2 Application functions
2.1 Overview
The " Technology and synchronization applications with SINAMICS DCM and
CU320-2" include the following functions:
• The functionality of the applications for S120, with measuring wheel as leading
value source (only one measuring wheel is possible as leading value axis):
– Cross cutter
– Flying saw
– Basic gearing and positioning 1
– Base camming
– Extended gearing
– Extended camming
as described in the separate documentation.
• Position detection and control - the position detection and the position
controller are implemented by a DCC chart on the CU320-2. The output of the
position controller together with the speed precontrol results in the speed
reference for the SINAMICS DCM. This speed reference is transferred to the
Advanced CUD via OALINK.
© Siemens AG 2021 All rights reserved
• Status and error monitoring - the status of the OALINK connection and the
status of the position control are monitored.
• Communication - all control and status words for the application are received
and sent via the CU320-2
The CU320-2 communicates with the Advanced CUD via OALINK and passes
on the necessary control and feedback signals. The respective LMCSINA
control blocks of the basic applications can be used without adaptation.
recommended, the user must additionally ensure the safe operation of the
SINAMICS DCM even if the communication to the technology CPU fails, this is
not part of the present application.
3 Application installation
3.1 Preparation
Before starting commissioning, place the following software components on your
commissioning PC:
• .zip file of the technology package OALINK
• .zip file of the S120 application with:
▪ the import files of the DCC charts
▪ the DCB extension libraries "GMC" and "MathExtended
• .zip file of the present application with it:
▪ the import files of the technology CU
▪ the import files of the application script
and select a CU320-2 PN in the dialog (also when using a CU320 -2 DP):
Figure 3-2
© Siemens AG 2021 All rights reserved
then right-click on the newly created drive device and select the "Import object"
entry under "Expert":
Figure 3-3
© Siemens AG 2021 All rights reserved
In the dialog that opens, select the storage path of the present application and
there in the subfolder "Export Technology CU" the xml file "TechnologyCU.xml"
and confirm this in the dialogs.
Figure 3-4
© Siemens AG 2021 All rights reserved
only when using a CU320-2 DP, you must now change from CU320-2 PN to
CU320-2 DP in the context menu under "Target device" and there "Upgrade device
version/device version":
Figure 3-5
The DCC chart of the S120 application is imported at this object. To do this, right-
click on the encoder and select the "Import object" entry in the context menu under
"Expert":
Figure 3-7
The DCC chart for position detection and control is already available at the
"MotorLoadEncoder" encoder on the technology CPU.
Now go to "Configuration" on both encoders one after the other via the project
© Siemens AG 2021 All rights reserved
In the "Technology packages" tab, you now activate the technology package on the
control unit:
Figure 4-4
© Siemens AG 2021 All rights reserved
Note In the script you will be asked whether you want to create "leading axis
interconnections only" or "communication and leading axis interconnections".
If you want to test the functionality in the first step simplified without the
superimposed control, e.g. via simulated digital inputs and fixed setpoints, select
"only leading axis interconnections".
You can always run the script again later to perform the communication
interconnections.
© Siemens AG 2021 All rights reserved
created by "communication
Unit object
interconnection" script
of the
created by default
SINAMICS
DCM
script
p31802[0] BI: OALINK bin/con converter Drive object of r899.0 CO/BO: Status word sequence control, ready to switch
1 signal source bit 0 the DCM on
p31802[1] BI: OALINK bin/con converter Drive object of r899.1 CO/BO: Status word sequence control, ready for
1 signal source bit 1 the DCM operation
p31802[2] BI: OALINK bin/con converter Drive object of r899.2 CO/BO: Status word sequence control, operation
1 signal source bit 2 the DCM enabled
p31802[3] BI: OALINK bin/con converter Drive object of r2139.3 CO/BO: Status word faults/alarms 1, fault present
1 signal source bit 3 the DCM
p31802[4] BI: OALINK bin/con converter Drive object of r899.4 CO/BO: Status word sequence control, no coasting
1 signal source bit 4 the DCM active
p31802[5] BI: OALINK bin/con converter Drive object of r899.5 CO/BO: Status word sequence control, no Quick stop
1 signal source bit 5 the DCM active
p31802[6] BI: OALINK bin/con converter Drive object of r899.6 CO/BO: Status word sequence control, switch-on inhibit
1 signal source bit 6 the DCM active
Parameters Parameter description Object of the - interconnected Parameter description of the Binector
created by "communication
Unit object
interconnection" script
of the
created by default
SINAMICS
DCM
script
p31802[7] BI: OALINK bin/con converter Drive object of r2139.7 CO/BO: Status word faults/alarms 1, Alarm present
1 signal source bit 7 the DCM
p31802[8] BI: OALINK bin/con converter Drive object of r2197.7 CO/BO: Status word monitoring 1, Speed setpoint -
1 signal source bit 8 the DCM actual value deviation in tolerance t_off
p31802[9] BI: OALINK bin/con converter Drive object of r899.9 CO/BO: Status word sequence control, Control request
1 signal source bit 9 the DCM
p31802[10] BI: OALINK bin/con converter Drive object of r2199.1 CO/BO: Status word monitoring 3, f or n comparison
1 signal source bit 10 the DCM value reached/ or exceeded
p31802[11] BI: OALINK bin/con converter Drive object of r1407.7 CO/BO: Status word speed controller, Torque limit
1 signal source bit 11 the DCM reached
p31802[12] BI: OALINK bin/con converter Drive object of r899.12 CO/BO: Status word sequence control, Open holding
1 signal source bit 12 the DCM brake
p31802[13] BI: OALINK bin/con converter Drive object of r2135.14 CO/BO: Status word faults/alarms 2, Alarm motor
1 signal source bit 13 the DCM overtemperature
p31802[14] BI: OALINK bin/con converter Drive object of r2197.3 CO/BO: Status word monitoring 1, n_act >= 0
1 signal source bit 14 the DCM
p31802[15] BI: OALINK bin/con converter Drive object of r2135.15 CO/BO: Status word faults/alarms 2, Alarm power unit
1 signal source bit 15 the DCM thermal overload
created by "communication
Unit object
interconnection" script
of the
created by default
SINAMICS
DCM
script
p31793[0] CI: OALINK1 Send words Control Unit of r31807[0] CO: OALINK bin/con converter result, converter 1
Integer16 the DCM
p31793[1] CI: OALINK1 Send words Drive object of r63[1] CO: Speed actual value, Smoothed with p0045
Integer16 the DCM
p31793[2] CI: OALINK1 Send words Drive object of r80[0] CO: Torque actual value, Unsmoothed
Integer16 the DCM
p31793[7] CI: OALINK1 Send words Drive object of r2131 CO: Actual fault code
Integer16 the DCM
p31793[8] CI: OALINK1 Send words Drive object of r2132 CO: Actual alarm code
Integer16 the DCM
p31795[3] CI: OALINK1 Send words Drive object of r2703 CO: Reference torque
FloatingPoint32 the DCM
p31808[0] CI: OALINK Con/Bin converter Control Unit of r31790[0] CO: OALINK1 Receive words Integer16
Signal source converter 1 the DCM
created by "communication
SINAMICS
interconnection" script
DCM
created by default
script
p840[0] BI: ON/OFF (OFF1) Control Unit of r31810.0 BO: OALINK Con/Bin converter 1 Result, bit 0
the DCM
p844[0] BI: No coast-down / coast- Control Unit of r31810.1 BO: OALINK Con/Bin converter 1 Result, bit 1
down (OFF2) signal source 1 the DCM
p848[0] BI: No Quick Stop / Quick Control Unit of r31810.2 BO: OALINK Con/Bin converter 1 Result, bit 2
Stop (OFF3) signal source 1 the DCM
p852[0] BI: Enable operation/inhibit Control Unit of r31810.3 BO: OALINK Con/Bin converter 1 Result, bit 3
operation the DCM
p854[0] BI: Control by PLC/no control Control Unit of r31810.10 BO: OALINK Con/Bin converter 1 Result, bit 10
by PLC the DCM
p1140[0] BI: Enable ramp-function Control Unit of r31810.4 BO: OALINK Con/Bin converter 1 Result, bit 4
generator/inhibit ramp- the DCM
function generator
p1141[0] BI: Continue ramp-function Control Unit of r31810.5 BO: OALINK Con/Bin converter 1 Result, bit 5
generator/freeze ramp- the DCM
function generator
Parameters Parameter description Object of the - interconnected Parameter description of the Binector
created by "communication
SINAMICS
interconnection" script
DCM
created by default
script
p1142[0] BI: Enable setpoint/inhibit Control Unit of r31810.6 BO: OALINK Con/Bin converter 1 Result, bit 6
setpoint the DCM
p2103[0] BI: 1st acknowledge faults Control Unit of r31810.7 BO: OALINK Con/Bin converter 1 Result, bit 7
the DCM
p2106[0] BI: External fault 1 Control Unit of r31786.7 CO/BO: OALINK1 status - Tolerance time
the DCM communication problem
p2107[0] BI: External fault 2 Control Unit of r31786.8 CO/BO: OALINK1 status - DRIVE-CLiQ connection
the DCM status
created by "communication
SINAMICS
interconnection" script
DCM
created by default
script
p50634[0] CI: RFG input signal for Control Unit of r31792[1] CO: OALINK1 Receive words FloatingPoint32
limiting after RFG the DCM
The following connections are required on the control unit for all applications:
created by "communication
object
interconnection" script
created by default
script
p2102 BI: Acknowledge all faults MotorLoadEncoder r23035.0 BO: Acknowledge fault
created by "communication
object
interconnection" script
created by default
script
p2051[0] CI: IF1 PROFIdrive PZD MotorLoadEncoder r21570 CO: Status word 1 (ZSW1) of DCM
send word - PZD 1
p2051[1] CI: IF1 PROFIdrive PZD MotorLoadEncoder r2132 CO: Actual alarm code
send word - PZD 2
p2051[2] CI: IF1 PROFIdrive PZD MotorLoadEncoder r2131 CO: Actual fault code
send word - PZD 3
p2051[4] CI: IF1 PROFIdrive PZD MeasuringWheelLeadValue r21541 CO: Technology status word 1
send word - PZD 5
p2051[5] CI: IF1 PROFIdrive PZD MeasuringWheelLeadValue r21542 CO: Technology status word 2
send word - PZD 6
p31793[0] CI: OALINK1 Send words MotorLoadEncoder r21531 CO: Control word 1 (STW1) to DCM
Integer16
p31795[1] CI: OALINK1 Send words MotorLoadEncoder r21600 CO: Speed setpoint to drive normalized
FloatingPoint32
p31795[3] CI: OALINK1 Send words MotorLoadEncoder r21610 CO: Actual speed value normalized to drive
FloatingPoint32
4.2.3 Cross cutter and flying saw - interconnections at the "TechCU" object
The following connections are required on the control unit object for the cross cutter and flying saw applications:
created by "communication
object
interconnection" script
created by default
script
p2051[7] CI: IF1 PROFIdrive PZD MotorLoadEncoder r25551 CO: DWORD to WORD 1 Output word high
send word - PZD 8
p2051[8] CI: IF1 PROFIdrive PZD MotorLoadEncoder r25552 CO: DWORD to WORD 1 Output word low
send word - PZD 9
p2051[9] CI: IF1 PROFIdrive PZD MotorLoadEncoder r25554 CO: DWORD to WORD 2 Output word high
send word - PZD 10
p2051[10] CI: IF1 PROFIdrive PZD MotorLoadEncoder r25555 CO: DWORD to WORD 2 Output word low
send word - PZD 11
p2051[11] CI: IF1 PROFIdrive PZD TechCU r31790[2] CO: OALINK1 Receive words Integer16
send word - PZD 12
p2051[12] CI: IF1 PROFIdrive PZD MeasuringWheelLeadValue r22007 CO: Fine resolution length values decimal
send word - PZD 13 power [DINT]
Parameters Parameter description Object of the - interconnected Parameter description of the connector
created by "communication
object
interconnection" script
created by default
script
p2051[13] CI: IF1 PROFIdrive PZD MotorLoadEncoder r25557 CO: DWORD to WORD 3 Output word high
send word - PZD 14
p2051[14] CI: IF1 PROFIdrive PZD MotorLoadEncoder r25558 CO: DWORD to WORD 3 Output word low
send word - PZD 15
p2051[15] CI: IF1 PROFIdrive PZD MotorLoadEncoder r25563 CO: DWORD to WORD 5 Output word high
send word - PZD 16
p2051[16] CI: IF1 PROFIdrive PZD MotorLoadEncoder r25564 CO: DWORD to WORD 5 Output word low
send word - PZD 17
p2051[22] CI: IF1 PROFIdrive PZD MotorLoadEncoder r25560 CO: DWORD to WORD 4 Output word high
send word - PZD 23
p2051[23] CI: IF1 PROFIdrive PZD MotorLoadEncoder r25561 CO: DWORD to WORD 4 Output word low
send word - PZD 24
The following connections are required on the Control Unit object for the synchronization applications:
created by "communication
object
interconnection" script
created by default
script
p2051[7] CI: IF1 PROFIdrive PZD MeasuringWheelLeadValue r25003 CO: VLA: Technology status word
send word - PZD 8
p2051[8] CI: IF1 PROFIdrive PZD MeasuringWheelLeadValue r25503 CO: MRL: Technology status word
send word - PZD 9
p2051[9] CI: IF1 PROFIdrive PZD MotorLoadEncoder r25551 CO: DWORD to WORD 1 Output word high
send word - PZD 10
p2051[10] CI: IF1 PROFIdrive PZD MotorLoadEncoder r25552 CO: DWORD to WORD 1 Output word low
send word - PZD 11
p2051[11] CI: IF1 PROFIdrive PZD MotorLoadEncoder r25554 CO: DWORD to WORD 2 Output word high
send word - PZD 12
p2051[12] CI: IF1 PROFIdrive PZD MotorLoadEncoder r25555 CO: DWORD to WORD 2 Output word low
send word - PZD 13
Parameters Parameter description Object of the - interconnected Parameter description of the connector
created by "communication
object
interconnection" script
created by default
script
p2051[13] CI: IF1 PROFIdrive PZD TechCU r31790[2] CO: OALINK1 Receive words Integer16
send word - PZD 14
p2051[14] CI: IF1 PROFIdrive PZD MotorLoadEncoder r25557 CO: DWORD to WORD 3 Output word high
send word - PZD 15
p2051[15] CI: IF1 PROFIdrive PZD MotorLoadEncoder r25558 CO: DWORD to WORD 3 Output word low
send word - PZD 16
p2051[16] CI: IF1 PROFIdrive PZD MotorLoadEncoder r25560 CO: DWORD to WORD 4 Output word high
send word - PZD 17
p2051[17] CI: IF1 PROFIdrive PZD MotorLoadEncoder r25561 CO: DWORD to WORD 4 Output word low
send word - PZD 18
p2051[18] CI: IF1 PROFIdrive PZD MotorLoadEncoder r25563 CO: DWORD to WORD 5 Output word high
send word - PZD 19
p2051[19] CI: IF1 PROFIdrive PZD MotorLoadEncoder r25564 CO: DWORD to WORD 5 Output word low
send word - PZD 20
p2051[20] CI: IF1 PROFIdrive PZD MotorLoadEncoder r25566 CO: DWORD to WORD 6 Output word high
send word - PZD 21
p2051[21] CI: IF1 PROFIdrive PZD MotorLoadEncoder r25567 CO: DWORD to WORD 6 Output word low
send word - PZD 22
Parameters Parameter description Object of the - interconnected Parameter description of the connector
created by "communication
object
interconnection" script
created by default
script
p2051[22] CI: IF1 PROFIdrive PZD MotorLoadEncoder r25569 CO: DWORD to WORD 7 Output word high
send word - PZD 23
p2051[23] CI: IF1 PROFIdrive PZD MotorLoadEncoder r25570 CO: DWORD to WORD 7 Output word low
send word - PZD 24
The position control is created as a DCC chart at the "MotorLoadEncoder" object. The following parameterizations and connections are
required there for all applications:
Parameter settings:
Table 4-10
Parameter Parameter description Parameter value
p22700 Reference speed of drive Value of p2000 at the SINAMICS DCM
created by "communication
object
interconnection" script
created by default
script
p2103 BI: 1. acknowledge faults MotorLoadEncoder r23035.0 BO: Acknowledge fault
p21550 BI: Fault effective from TechCU r2139.3 CO/BO: Status word faults/Alarms 1
technology CU
Fault present
Parameters at Parameter description Object of the - interconnected Parameter description of the Binector
created by "communication
object
interconnection" script
created by default
script
p21551 BI: Fault effective from MeasuringWheelLeadValue r2139.3 CO/BO: Status word faults/Alarms 1
standard application
Fault present
p21552 BI: Fault effective from MotorLoadEncoder r2139.3 CO/BO: Status word faults/Alarms 1
position control Fault present
application
p21553 BI: OALINK Tolerance TechCU r31786.7 CO/BO: OALINK1 status, Tolerance time
time communication communication problem
problem not exceeded
p21554 BI: OALINK DRIVE-CLiQ TechCU r31786.8 CO/BO: OALINK1 status, DRIVE-CLiQ
connection status not connection status
interrupted
p21560 BI: Alarm effective from TechCU r2139.7 CO/BO: Status word faults/Alarms 1
technology CU
Alarm present
p21561 BI: Alarm effective from MeasuringWheelLeadValue r2139.7 CO/BO: Status word faults/Alarms 1
standard application
Alarm present
Parameters at Parameter description Object of the - interconnected Parameter description of the Binector
created by "communication
object
interconnection" script
created by default
script
p21562 BI: Fault effective from MotorLoadEncoder r2139.7 CO/BO: Status word faults/Alarms 1
position control Alarm present
application
p25921 BI: Absolute encoder MeasuringWheelLeadValue r25920 BO: Absolute encoder adjustment activated
adjustment started via CW
created by "communication
object
interconnection" script
created by default
script
p480 CI: Encoder control word MotorLoadEncoder r22520 CO: Encoder control word Gn_STW
Gn_STW Signal source
p21530 CI: Control word 1 TechCU r2050[0] CO: IF1 PROFIdrive PZD receive word
(STW1) PZD 1
p21549 CI: Status word 1 of drive TechCU r31790[0] CO: OALINK1 Receive words Integer16
p21555 CI: actual fault code from TechCU r2131 CO: Actual fault code
technology CPU
p21556 CI: actual fault code from MeasuringWheelLeadValue r2131 CO: Actual fault code
standard application
p21557 CI: actual fault code from MotorLoadEncoder r2131 CO: Actual fault code
position controller
application
p21558 CI: actual fault code from TechCU r31790[7] CO: OALINK1 Receive words Integer16
DCM
p21565 CI: actual alarm code TechCU r2132 CO: Actual alarm code
from technology CPU
DCM Technology Applications
Entry-ID: 103471886, V6.0, 12/2021 40
© Siemens AG 2021 All rights reserved
Parameters at Parameter description Object of the - interconnected Parameter description of the connector
created by "communication
object
interconnection" script
created by default
script
p21566 CI: actual alarm code MeasuringWheelLeadValue r2132 CO: Actual alarm code
from standard application
p21567 CI: actual alarm code MotorLoadEncoder r2132 CO: Actual alarm code
from position controller
application
p21568 CI: actual alarm code TechCU r31790[8] CO: OALINK1 Receive words Integer16
from DCM
p22481 CI: Encoder status word MotorLoadEncoder r481 CO: Encoder status word Gn_ZSW
Gn_ZSW, encoder 1
p22482 CI: Encoder position MotorLoadEncoder r482 CO: Encoder position actual value
actual value Gn_XIST1 Gn_XIST1
p22483 CI: Encoder position MotorLoadEncoder r483 CO: Encoder position actual value
actual value Gn_XIST2 Gn_XIST2
p25550 CI: DWORD to WORD 1 MotorLoadEncoder r22521 CO: Actual position value, position control
p25553 CI: DWORD to WORD 2 MotorLoadEncoder r22522 CO: Position control speed actual value
[1000 LU/min].
4.2.6 Cross cutter and flying saw - interconnections on the "MotorLoadEncoder" object
The position control is created as a DCC chart at the "MotorLoadEncoder" object. The following connections are required there for the
cross cutter and flying saw applications:
created by "communication
object
interconnection" script
created by default
script
p22508 BI: Activate reference MeasuringWheelLeadValue r24990.0 BO: Activate zero mark sensing
mark search, position
control
p22509 BI: Activate measuring MeasuringWheelLeadValue r24991.0 BO: Activate measuring input sensing
probe evaluation,
position control
p22512 BI: Position actual value MeasuringWheelLeadValue r25004.0 BO: Position correction bit for the position
prep. correction positive controller NOV
(edge), NOV
Parameters at Parameter description Object of the - interconnected Parameter description of the Binector
created by "communication
object
interconnection" script
created by default
script
p22730 BI: Position actual value MeasuringWheelLeadValue r25005.0 BO: Position correction bit for the position
prep. correction negative controller POV
(edge), POV
created by "communication
object
interconnection" script
created by default
script
p22513 CI: Position actual value MeasuringWheelLeadValue r25003 CO: Position correction value to position
preparation correction controller
value, position control
p22530 CI: Position setpoint MeasuringWheelLeadValue 25000 CO: Position setpoint to the position
before decimal point controller
p22531 CI: Speed setpoint before MeasuringWheelLeadValue 25001 CO: Velocity setpoint to the position
decimal point controller
p22694 CI: Additional setpoint MeasuringWheelLeadValue r25010 CO: Position setpoint to position controller
position decimal point (decimal part)
p22695 CI: Additional setpoint MeasuringWheelLeadValue r25011 CO: Speed setpoint to position controller
speed decimal point (decimal part)
p25500 CI: WORD to DWORD 1 TechCU r2050[6] CO: IF1 PROFIdrive PZD receive word,
Input word high PZD 7
p25501 CI: WORD to DWORD 1 TechCU r2050[7] CO: IF1 PROFIdrive PZD receive word,
Input word low PZD 8
Parameters at Parameter description Object of the - interconnected Parameter description of the connector
created by "communication
object
interconnection" script
created by default
script
p25503 CI: WORD to DWORD 2 TechCU r2050[8] CO: IF1 PROFIdrive PZD receive word,
Input word high PZD 9
p25504 CI: WORD to DWORD 2 TechCU r2050[9] CO: IF1 PROFIdrive PZD receive word,
Input word low PZD 10
p25506 CI: WORD to DWORD 3 TechCU r2050[15] CO: IF1 PROFIdrive PZD receive word,
Input word high PZD 16
p25507 CI: WORD to DWORD 3 TechCU r2050[16] CO: IF1 PROFIdrive PZD receive word,
Input word low PZD 17
p25556 CI: DWORD to WORD 3 MeasuringWheelLeadValue r22005 CO: Format length at leading axis [fine
resolution * mm].
The position control is created as a DCC chart at the "MotorLoadEncoder" object. The following connections are required there for the
synchronization applications:
created by "communication
object
interconnection" script
created by default
script
p22508 BI: Activate reference MeasuringWheelLeadValue r24011.0 BO: Activate zero mark sensing
mark search, position
control
p22509 BI: Activate measuring MeasuringWheelLeadValue r24012.0 BO: Activate measuring probe sensing
probe evaluation,
position control
p22512 BI: Position actual value MeasuringWheelLeadValue r24007.0 BO: Correction bit POV to actual position
prep. correction positive evaluation
(edge), NOV
p22730 BI: Position actual value MeasuringWheelLeadValue r24006.0 BO: Correction bit NOV to actual position
prep. correction negative evaluation
(edge), POV
DCM Technology Applications
Entry-ID: 103471886, V6.0, 12/2021 46
© Siemens AG 2021 All rights reserved
created by "communication
object
interconnection" script
created by default
script
p22513 CI: Position actual value MeasuringWheelLeadValue r24005 CO: Correction value to actual position
preparation correction evaluation
value, position control
p22530 CI: Position setpoint MeasuringWheelLeadValue r24001 CO: Position setpoint to position controller
before decimal point (integer)
p22531 CI: Speed setpoint before MeasuringWheelLeadValue r24003 CO: Velocity setpoint to position controller
decimal point (integer)
p22694 CI: Additional setpoint MeasuringWheelLeadValue r24002 CO: Position setpoint to position controller
position decimal point (decimal)
p22695 CI: Additional setpoint MeasuringWheelLeadValue r24004 CO: Velocity setpoint to position controller
speed decimal point (decimal)
p25500 CI: WORD to DWORD 1 TechCU r2050[7] CO: IF1 PROFIdrive PZD receive word,
Input word high PZD 8
p25501 CI: WORD to DWORD 1 TechCU r2050[8] CO: IF1 PROFIdrive PZD receive word,
Input word low PZD 9
Parameters at Parameter description Object of the - interconnected Parameter description of the connector
created by "communication
object
interconnection" script
created by default
script
p25503 CI: WORD to DWORD 2 TechCU r2050[12] CO: IF1 PROFIdrive PZD receive word,
Input word high PZD 13
p25504 CI: WORD to DWORD 2 TechCU r2050[13] CO: IF1 PROFIdrive PZD receive word,
Input word low PZD 14
p25506 CI: WORD to DWORD 3 TechCU r2050[14] CO: IF1 PROFIdrive PZD receive word,
Input word high PZD 15
p25507 CI: WORD to DWORD 3 TechCU r2050[15] CO: IF1 PROFIdrive PZD receive word,
Input word low PZD 16
p25556 CI: DWORD to WORD 3 MeasuringWheelLeadValue r25065 CO: VLA: Position command DINT [LU]
p25559 CI: DWORD to WORD 4 MeasuringWheelLeadValue r25066 CO: VLA: Velocity leading value DINT [1000
LU/min].
p25562 CI: DWORD to WORD 5 MeasuringWheelLeadValue r25575 CO: MRL: Actual position DINT [LU]
The DCC chart of the applications for cross cutter, flying saw or synchronism is created at the "Measuring wheel control value" object. The
following connections are required there for all applications:
created by "communication
interconnection" script
created by default
script
BI: 1. acknowledge MotorLoadEncoder r23035.0 BO: Acknowledge fault
p2103 faults
4.2.9 Cross cutter and flying saw - interconnections on the "MeasuringWheelLeadValue" object
The DCC chart of the applications for cross cutter, flying saw or synchronism is created at the "MeasuringWheelLeadValue" object. The
following connections are required there for the cross cutter and flying saw applications:
created by "communication
interconnection" script
created by default
script
p21602 BI: Measured value MotorLoadEncoder r22525.0 BO: Measured value valid
valid
p21607 BI: Position control MotorLoadEncoder r22526.0 BO: Position control active
active
p23539 BI: Use of print marks MeasuringWheelLeadValue r25194.0 BO: MW: Use of printmarks
activated on leading activated
axis
p24929 BI: Home position set MotorLoadEncoder r25924.0 BO: Absolute encoder adjusted
absolute angular
encoder of the
position controller
created by "communication
interconnection" script
created by default
script
p25190 BI: MR: Acknowledge MeasuringWheelLeadValue r2138.7 CO/BO: Control word faults/Alarms,
encoder fault acknowledge fault
created by "communication
interconnection" script
created by default
script
p24930 BI: Feedback signal MeasuringWheelLeadValue r25240.0 BO: Reset command accepted
set position from
leading axis
created by "communication
interconnection" script
created by default
script
p23017 BI: compensation for MeasuringWheelLeadValue r25235 BO: MW: Offset caused by print
print mark correction mark correction will be
started at leading axis compensated
p23018 BI: compensation for MeasuringWheelLeadValue r25236 BO: MW: Offset caused by print
print mark correction mark correction is compensated
completed at the
leading axis
created by "communication
interconnection" script
created by default
script
p480 CI: Encoder control word MeasuringWheelLeadValue r25154 CO: MW: Encoder control word
Gn_STW Signal source Gn_STW
p21510 CI: Technology control TechCU r2050[1] CO: IF1 PROFIdrive PZD receive
word 1 word, PZD 2
p21511 CI: Technology control TechCU r2050[2] CO: IF1 PROFIdrive PZD receive
word 2 word, PZD 3
p21512 CI: Technology control TechCU r2050[4] CO: IF1 PROFIdrive PZD receive
word 3 word, PZD 5
p21600 CI: Position actual value, MotorLoadEncoder r22521 CO: Actual position value, position
position controller control
p21701 CI: Position setpoint, MeasuringWheelLeadValue r25230 CO: MW: Position leading value
leading axis (DCC measuring wheel
connection)
p21703 CI: Velocity setpoint, MeasuringWheelLeadValue r25231 CO: MW: Velocity leading value
DCM Technology Applications
Entry-ID: 103471886, V6.0, 12/2021 54
© Siemens AG 2021 All rights reserved
Parameters at the Parameter description Object of the - interconnected Parameter description of the
created by "communication
interconnection" script
created by default
script
leading axis (DCC measuring wheel
connection)
p21715 CI: Correction value MeasuringWheelLeadValue r25232 CO: MR: Correction value by print
leading axis by mark correction
printmark correction
p22002 CI: Format length MotorLoadEncoder r25502 CO: WORD to DWORD 1
variable [fine resolution *
mm].
p22020 CI: Maintenance position MotorLoadEncoder r25505 CO: WORD to DWORD 2
variable [fine resolution *
mm].
p22201 CI: Speed override test TechCU r2050[5] CO: IF1 PROFIdrive PZD receive
mode [%]. word, PZD 6
p23050 CI: Scaling NFX leading MeasuringWheelLeadValue r25123 CO: Drum circumference leading
axis for test and autarkic axis incl. fine res (=scaling NFX)
cutting velocity
p23051 CI: Scaling NFV leading MeasuringWheelLeadValue r25124 CO: Scaling NFV
axis for test and autarkic
cutting velocity
Parameters at the Parameter description Object of the - interconnected Parameter description of the
created by "communication
interconnection" script
created by default
script
p23123 CI: Jog velocity override TechCU r2050[10] CO: IF1 PROFIdrive PZD receive
[%] word, PZD 11
p23508 CI: Distance print mark MotorLoadEncoder r25508 CO: WORD to DWORD 3
cut variable [fine
resolution * mm].
p23710 CI: Override velocity TechCU r2050[11] CO: IF1 PROFIdrive PZD receive
positioning word, PZD 12
p23713 CI: Override TechCU r2050[12] CO: IF1 PROFIdrive PZD receive
acceleration word, PZD 13
positioning/jogging
p25151 CI: MR: Encoder MeasuringWheelLeadValue r482 CO: Encoder actual position value
position actual value Gn_XIST1
Gn_XIST1
p25152 CI: MR: Encoder MeasuringWheelLeadValue r483 CO: Encoder actual position value
position actual value Gn_XIST2
Gn_XIST2
p25153 CI: MR: Encoder status MeasuringWheelLeadValue r481 CO: Encoder status word Gn_ZSW
word Gn_ZSW
Parameters at the Parameter description Object of the - interconnected Parameter description of the
created by "communication
interconnection" script
created by default
script
p25905 CI: LU per load MotorLoadEncoder r25905 CO: LU per load revolution
revolution from position
detection
created by "communication
interconnection" script
created by default
script
p22027 CI: Scaling overspeed 100%
setpoint
p23515 CI: Override velocity for TechCU r2050[13] CO: IF1 PROFIdrive PZD receive word, PZD
compensating print mark 14
correction [%]
p23517 CI: Override acceleration TechCU r2050[14] CO: IF1 PROFIdrive PZD receive word, PZD
for compensating print 15
mark correction [%]
p24902 CI: Reference torque of TechCU r31792[3] CO: OALINK1 Receive words
the drive FloatingPoint32
The DCC chart of the applications for cross cutter, flying saw or synchronism is created at the "Measuring wheel control value" object. The
following connections are required there for the synchronism applications:
created by "communication
interconnection" script
created by default
script
p21707 BI: Leading axis MeasuringWheelLeadValue r25574.0 BO: MRL: Correction bit real leading
connection 1: axis (measuring wheel)
Correction bit
p24101 BI: Measured value MotorLoadEncoder r22525.0 BO: Measured value valid
valid
p24103 BI: Position control MotorLoadEncoder r22526.0 BO: Position control active
active
p24104 BI: OFF2 Signal MotorLoadEncoder r21532.0 BO: OFF2 Enable missing
internal
created by "communication
interconnection" script
created by default
script
p24110 BI: Encoder adjusted MotorLoadEncoder r25924.0 BO: Absolute value encoder
adjusted
created by "communication
interconnection" script
created by default
script
p480 CI: Encoder control MeasuringWheelLeadValue r25805 CO: MRL: Encoder control word
word Gn_STW Signal Gn_STW
source
p21511 CI: Technology control TechCU r2050[1] CO: IF1 PROFIdrive PZD receive
word 1 word, PZD 2
p21512 CI: Technology control TechCU r2050[2] CO: IF1 PROFIdrive PZD receive
word 2 word, PZD 3
p21552 CI: Override max. TechCU r2050[9] CO: IF1 PROFIdrive PZD receive
supplementary speed word, PZD 10
compensating
motions[%]
p21554 CI: Override max. TechCU r2050[10] CO: IF1 PROFIdrive PZD receive
supp.accel. word, PZD 11
comp.motions/max.
accel.autark.[%]
Parameters at the Parameter description Object of the - interconnected Parameter description of the
created by "communication
interconnection" script
created by default
script
p21702 CI: Leading axis MeasuringWheelLeadValue r25571 CO: MRL: Position real leading
connection 1: Pos. axis
leading value (decimal
part)
p21704 CI: Leading axis MeasuringWheelLeadValue r25572 CO: MRL: Velocity real leading
connection 1: Vel. axis
leading value (decimal
part)
p21706 CI: Leading axis MeasuringWheelLeadValue r25573 CO: MRL: Correction value real
connection 1: Correction leading axis
value REAL format
p21752 CI: Leading axis MeasuringWheelLeadValue r25061 CO: VLA: Position leading value
connection 2: Pos.
leading value (decimal
part)
p21754 CI: Leading axis MeasuringWheelLeadValue r25062 CO: VLA: Velocity leading value
connection 2: Vel.
leading value (decimal
part)
Parameters at the Parameter description Object of the - interconnected Parameter description of the
created by "communication
interconnection" script
created by default
script
p21907 CI: Signal source MotorLoadEncoder r25508 CO: WORD to DWORD 3
reference coordinate
[LU].
p22013 CI: Signal source MotorLoadEncoder r25505 CO: WORD to DWORD 2
positioning setpoint [LU].
p22016 CI: Positioning velocity TechCU r2050[11] CO: IF1 PROFIdrive PZD receive
override [%]. word, PZD 12
p24100 CI: position actual value MotorLoadEncoder r22521 CO: Position actual value,
position control
p24102 CI: Measured value MotorLoadEncoder r22523 CO: Measured value, position
control
p25001 CI: VLA: Technology TechCU r2050[4] CO: IF1 PROFIdrive PZD receive
control word word, PZD 5
p25005 CI: VLA: Velocity TechCU r2050[6] CO: IF1 PROFIdrive PZD receive
override [%] word, PZD 7
Parameters at the Parameter description Object of the - interconnected Parameter description of the
created by "communication
interconnection" script
created by default
script
p25014 CI: VLA: Signal source MotorLoadEncoder r25502 CO: WORD to DWORD 1
positioning setpoint [LU].
p25501 CI: MRL: Technology TechCU r2050[5] CO: IF1 PROFIdrive PZD receive
Control Word word, PZD 6
p25800 CI: MRL: Encoder MeasuringWheelLeadValue r482 CO: Encoder actual position
position actual value value Gn_XIST1
Gn_XIST1
p25801 CI: MRL: Encoder actual MeasuringWheelLeadValue r483 CO: Encoder actual position
position value Gn_XIST2 value Gn_XIST2
p25802 CI: MRL: Encoder status MeasuringWheelLeadValue r481 CO: Encoder status word
word Gn_ZSW Gn_ZSW
p25905 CI: LU per load MotorLoadEncoder r25905 CO: LU per load revolution
revolution from position
actual value processing
created by "communication
interconnection" script
created by default
script
p21513 CI: Technology control TechCU r2050[16] CO: IF1 PROFIdrive PZD receive
word 3 (offset) word, PZD 17
p21514 CI: Technology control TechCU r2050[17] CO: IF1 PROFIdrive PZD receive
word 4 (couple/engager) word, PZD 18
p21552 CI: Override max. TechCU r2050[9] CO: IF1 PROFIdrive PZD receive
supplementary speed word, PZD 10
compensating
motions[%]
p21554 CI: Override max. TechCU r2050[10] CO: IF1 PROFIdrive PZD receive
supp.accel. word, PZD 11
comp.motions/max.
accel.autark.[%]
p21702 CI: Leading axis MeasuringWheelLeadValue r25571 CO: MRL: Position real leading
connection 1: Pos. axis
leading value (decimal
part)
Parameters at the Parameter description Object of the - interconnected Parameter description of the
created by "communication
interconnection" script
created by default
script
p21704 CI: Leading axis MeasuringWheelLeadValue r25572 CO: MRL: Velocity real leading
connection 1: Vel. axis
leading value (decimal
part)
p21706 CI: Leading axis MeasuringWheelLeadValue r25573 CO: MRL: Correction value real
connection 1: Correction leading axis
value REAL format
p21752 CI: Leading axis MeasuringWheelLeadValue r25061 CO: VLA: Position leading value
connection 2: Pos.
leading value (decimal
part)
p21754 CI: Leading axis MeasuringWheelLeadValue r25062 CO: VLA: Velocity leading value
connection 2: Vel.
leading value (decimal
part)
p21907 CI: Signal source MotorLoadEncoder r25508 CO: WORD to DWORD 3
reference coordinate
[LU].
Parameters at the Parameter description Object of the - interconnected Parameter description of the
created by "communication
interconnection" script
created by default
script
p22013 CI: Signal source MotorLoadEncoder r25505 CO: WORD to DWORD 2
positioning setpoint
[LU].
p22016 CI: Positioning velocity TechCU r2050[11] CO: IF1 PROFIdrive PZD receive
override [%]. word, PZD 12
created by "communication
interconnection" script
created by default
script
p21515 CI: Technology control TechCU r2050[18] CO: IF1 PROFIdrive PZD receive word,
word 5 (cam) PZD 19
• Open a DCC chart and select the "Read back BICOS and parameters" entry in
the "Options" menu item
Figure 4-6
© Siemens AG 2021 All rights reserved
• • In the starter, open the context menu of the DCC chart with a right
mouse click and select "Set execution groups..."
Figure 4-7
In this case, position control is performed on the load-side encoder and the gear
ratio between encoder and load (p23004 and p23005) and the gear ratio between
motor and load (p23002 and p23003) must be set as shown in the function
diagram DCP2010, since the actual motor speed and speed setpoint are calculated
in addition to the load position. If the load-side encoder is mounted directly, i.e. the
gear ratio is 1:1, both gear ratios are identical.
If there is only one position encoder on the motor side, position control is
performed on this encoder. In this case, only the gear ratio between motor and load
must be set. The values for the gear ratio motor to load (p23002 and p23003) must
be left at 1:1.
In this case, position control is preferably performed on the load-side encoder. The
settings are made as described under Load side position encoder available
In this case, the position encoder on the motor side is not evaluated on the
technology CPU but is typically used directly on the DCM for speed control.
The parameters of the position control are shown in function chart DCP2050.
Automatic controller optimization is not available for this application.
The application offers a following arror monitoring that can be activated. The
functionality is shown on the DCP2070 function chart.
Since the speed setpoint generation for the DCM is made via the technology CPU,
the ramps for OFF1 and OFF3 are implemented applicatively. This is shown in the
DCP2060 function block diagram. The ramp times set on the DCM are not effective
in normal operation!
In this application, the typical communication data such as control and status
words, setpoints and actual values are interconnected via the technology CPU.
© Siemens AG 2021 All rights reserved
Therefore, no standard telegram may be used on the DCM, as this would overwrite
the interconnections. If required, a free telegram interconnection or acyclic
communication can be used.
6 Program description
6.1 Function diagrams
6.1.1 Function diagrams technological application
autonomous t
operating
Encoder object modes
Position
correction
Encoder object Drive object
measuring
Homing motor/load encoder DC_CTRL
wheel
1 2 3 4 5 6 7 8
74
DO: ENC, DC_CTRL DCM_Lageregelung Funktionsplan
DCP1010
Übersicht: Technologie- und Gleichlaufapplikationen mit SINAMICS DCM und CU320 -2 28.05.20 V06.00.00 SINAMICS
© Siemens AG 2021 All rights reserved
p21000[8] = [8]
Position control
p21517
BI: Acknowledge faults
(0) Bit 7 Bit 7
Bit 9 Bit 9
p21521
BI: Setpoint inversion Bit 11 Bit 11
(0)
p21522
BI: Release brake (0) Bit 12 Bit 12
p21523
BI: Motor potentiometer
(0) Bit 13 Bit 13
setpoint higher
p21524
BI: Motor potentiometer
(0) Bit 14 Bit 14
setpoint lower
Bit 15 Bit 15
1 2 3 4 5 6 7 8
75
DO: ENC DCM_Position_control Function diagram
DCP1020
Control word 1 28.05.20 V06.00.00 SINAMICS
© Siemens AG 2021 All rights reserved
5 1 = Encoder parked
7 1 = Measurement active
8 1 = reserved
11 1 = reserved
14 1 = reserved
15 1 = reserved
1 2 3 4 5 6 7 8
76
DO: ENC DCM_Position_control Function diagram
DCP1060
Status word position controller 28.05.20 V06.00.00 SINAMICS
© Siemens AG 2021 All rights reserved
Gear ratio encoder/load encoder revolutions Gear ratio encoder/load load revolutions
CI: Encoder position actual value Gn_XIST1 p23004 (1) p23005 (1)
p22482
(r482)
CI: Encoder position actual value Gn_XIST2
p22483 INC CO: Position actual value preparation encoder control word
(r483)
r22520
CI: Encoder status word Gn_ZSW, encoder 1
p22481 CO: Position actual value, high word
(r481)
r25000
6 Program description
1 2 3 4 5 6 7 8
77
DO: ENC DCM_Position_control Function diagram
DCP2010
Position detection motor or load encoder 28.05.20 V06.00.00 SINAMICS
© Siemens AG 2021 All rights reserved
[DCP2010.7]
BI: Position
controller enable 2
p22550
(1)
ON active [DCP1020.5] BO: Position control active
No OFF3 [DCP1020.5] & r22526
DCM: Operation enabled [DCP1050.2]
1 2 3 4 5 6 7 8
78
DO: ENC DCM_Position_control Function diagram
DCP2050
Position controller 28.05.20 V06.00.00 SINAMICS
© Siemens AG 2021 All rights reserved
6 Program description
SV
SET
1 2 3 4 5 6 7 8
79
DO: ENC DCM_Position_control Function diagram
DCP2060
Ramp-up function generator for OFF1 and OFF3 and bypass 28.05.20 V06.00.00 SINAMICS
© Siemens AG 2021 All rights reserved
6 Program description
1 2 3 4 5 6 7 8
80
DO: ENC DCM_Position_control Function diagram
DCP2070
Following error monitoring 28.05.20 V06.00.00 SINAMICS
© Siemens AG 2021 All rights reserved
CI: WORD to DWORD 1 Input word high CI: WORD to DWORD 7 Input word high
p25500 CO: WORD to DWORD 1 p25518 CO: WORD to DWORD 7
(0) r25502 (0) r25520
CI: WORD to DWORD 1 Input word low CI: WORD to DWORD 7 Input word low
p25501 p25519
(0) (0)
CI: WORD to DWORD 2 Input word high CI: WORD to DWORD 8 Input word high
p25503 CO: WORD to DWORD 2 p25521 CO: WORD to DWORD 8
6 Program description
CI: WORD to DWORD 3 Input word low CI: WORD to DWORD 9 Input word low
p25507 p25525
(0) (0)
CI: WORD to DWORD 4 Input word high CI: WORD to DWORD 10 Input word high
p25509 CO: WORD to DWORD 4 p25527 CO: WORD to DWORD 10
(0) r25511 (0) r25529
CI: WORD to DWORD 4 Input word low CI: WORD to DWORD 10 Input word low
p25510 p25528
(0) (0)
1 2 3 4 5 6 7 8
81
DO: ENC DCM_Position_control Function diagram
DCP3000
WORD-DWORD converter 28.05.20 V06.00.00 SINAMICS
© Siemens AG 2021 All rights reserved
CO: DWORD to WORD 1 Output word low CO: DWORD to WORD 7 Output word low
r25552 r25570
CO: DWORD to WORD 3 Output word low CO: DWORD to WORD 9 Output word low
r25558 r25576
CO: DWORD to WORD 4 Output word low CO: DWORD to WORD 10 Output word low
r25561 r25579
1 2 3 4 5 6 7 8
82
DO: ENC DCM_Position_control Function diagram
DCP3010
DWORD-WORD converter 28.05.20 V06.00.00 SINAMICS
6 Program description
The data in the following example has been chosen at random. The table below
contains all the information that can be included in a parameter description. Some
of the information is optional.
- - - - - - - - - - - - - - - - - - - - Start of example - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
pxxxx[0...n] BICO: Full parameter name / abbreviated name
Drive object Can be changed: U, T Calculated: - Access level: 2
Function diagram:
Data type: Dynamic index: -
ASC 1012
P-Group: Unit group: - Unit selection: -
Not for motor type: - Expert list: 1
Min Max Factory setting
0.00 [Nm] 10.00 [Nm] 0.00 [Nm]
Description: Text
0: Name and meaning of value 0
© Siemens AG 2021 All rights reserved
- - - - - - - - - - - - - - - - - - - - End of example - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Note The parameter list can contain parameters that are not visible in the expert lists
of the respective commissioning software (e.g. parameters for trace functions).
The parameters of the application example are completely visible in the expert
list.
The following abbreviations can appear in front of the BICO parameter name:
BI: Binector Input Binector input)
This parameter selects the source of a digital signal.
BO: Binector output Binector output)
This parameter is available as an digital signal for interconnection with
other parameters.
CI: Connector Input Connector input)
This parameter selects the source of an "analog" signal.
CO: Connector output Connector output)
This parameter is available as an "analog" signal for interconnection
with other parameters.
© Siemens AG 2021 All rights reserved
Note A BICO input (BI/CI) cannot be just interconnected with any BICO output
(BO/CO, signal source).
When interconnecting a BICO input using the commissioning software, only the
signal sources that are actually possible are listed.
Function diagrams 1020 ... 1030 of the List Manual explain the symbols for BICO
parameters and how to handle BICO technology.
The parameter list specifies the associated drive object and function module for
each individual parameter.
Examples:
p1070 CI: Main setpoint
SERVO (extended setpoint), VECTOR
The parameter is available only in association with drive object SERVO and
the "Extended setpoint channel" Function Module or with drive object
VECTOR irrespective of activated Function Modules.
p1055 BI: Jogging bit 0
© Siemens AG 2021 All rights reserved
SERVO, VECTOR
For drive objects SERVO and VECTOR, regardless of which function
modules have been activated, this parameter is always available. This
means that it is available with every activated function module belonging to
the drive object.
Note All parameters of this application example are also available after installation at
the SERVO and VECTOR drive objects. The "Position controller" function
module is required for the functionality.
Can be changed
The "-" sign indicates that the parameter can be changed in any object state and
that the change will be effective immediately.
The information "C1(x), C2(x), T, U" ((x): optional) means that the parameter can
be changed only in the specified drive unit state and that the change will not take
effect until the unit switches to another state. One or more states are possible.
Calculated
Specifies whether the parameter is influenced by automatic calculations. The
calculation attribute defines which activities influence the parameter.
Access level
Specifies the minimum access level required to be able to display and change the
relevant parameter. The required access level can be set using p0003.
Note Parameter p0003 is CU-specific (available on the Control Unit). A higher access
level will also include the functions of the lower levels.
© Siemens AG 2021 All rights reserved
Data type
Note The data type attribute is not listed for the application parameters.
Dynamic index
Note This dynamic index attribute is not relevant for the application parameters.
Function diagram
The parameter is included in this function diagram. The structure of the parameter
function and its relationship with other parameters is shown in the specified
function diagram.
Note These attributes are not relevant for the parameters of the application example; it
is not possible to switch over the units.
Parameter values
Min Minimum value of the parameter [unit]
Max Maximum value of the parameter [unit]
© Siemens AG 2021 All rights reserved
Note The motor type attribute is not relevant for the application parameters.
Scaling
Note The scaling attribute is not relevant for the application parameters. If there is a
reference to another parameter, then this is indicated in the parameter list.
Expert list
Specifies whether this parameter is available in the expert list of the specified drive
objects in the commissioning software.
Note The application does not have any parameters that do not exist in the expert list.
The support for the parameters and functions of the application example is
realized via the contacts specified in this document.
Description
Explanation of the function of a parameter.
Values
Lists of the possible values of a parameter.
Recommendation
Information about recommended settings.
Index
© Siemens AG 2021 All rights reserved
Note The index attribute is not relevant for the application parameters.
Bit array
For parameters with bit arrays, the following information is provided about each bit:
Bit number and signal name
Meaning for signal states 1 and 0
Function diagram (optional)
The signal is shown in this function diagram.
Dependency
Conditions that must be fulfilled in conjunction with this parameter. Also includes
special effects that can occur between this parameter and others.
Safety notices
Important information that must be observed to avoid the risk of physical injury or
material damage.
Information that must be observed to avoid any problems. Information that the user
© Siemens AG 2021 All rights reserved
r21501 Entry ID
ENC Can be changed: U/T Calculated: - Access level: 1
Data type: Dynamic index: - Func. diagram:
P group: - Unit group: - Unit selection: -
Not for motor type: - Expert list: 1
Min Max Factory setting
-
© Siemens AG 2021 All rights reserved
Description: Setting the first signal source for the "No quick stop/quick stop (OFF3)" command.
Dependency: see also: p21530, p24135, p0849 (at DCM)
Notice: The signal is linked with the associated bit of the connector of control word 1 OR connected in p21530. With
control via p21530 no interconnection should take place here, since otherwise an OFF3 command would only
become effective when both signals are removed.
The AND operation of the following signals is effective:
- p21512 (or the corresponding OR linked bit 2 in the connector at p21530)
- p0849 on SINAMICS DCM " No quick stop/quick stop (OFF3) signal source 2".
The result of the AND operation corresponds to control word 1 bit 2 (STW1.2) for PROFIdrive profiles.
With 0 signal, the speed setpoint for the DCM is ramped down to zero speed according to the setting of p24135,
regardless of the previous operating mode. When a speed setpoint of zero is reached, the ON command, which is
internally connected to the DCM, is cancelled, which then leads to pulse inhibition.
Notice: The signal is linked to the associated bit of the connector of control word 1 OR connected in p21530.
The application-internal ramp-function generator is not controlled via this bit, since it only realizes the ramp down.
The bit is passed on 1:1 to the SINAMICS DCM, but has no relevance there during normal operation of the
application.
Notice: The signal is linked to the associated bit of the connector of control word 1 OR connected in p21530. Typically,
there should be no default via p21520, this parameter is only useful for test purposes.
The application-internal ramp-function generator is not controlled via this bit, since it only realizes the ramp down.
The bit is passed on 1:1 to the SINAMICS DCM, but has no relevance there during normal operation of the
application.
9
the DCM!)
10 PLC control/No PLC control PLC control DCP1020
11 Set point inversion Set point inversion DCP1020
12 Open brake Open brake DCP1020
Motor potentiometer setpoint Motor potentiometer setpoint DCP1020
13
higher higher
Motor potentiometer Motor potentiometer DCP1020
14
setpoint lower setpoint lower
reserved (will not be passed on to
15
the DCM!)
Dependency: see also: p21510 to p21524
Notice: The control word is logical OR combined bit by bit with the signals at the binector inputs
p21510 to p21524. Bits 3 to 6 and 10 to 14 are not evaluated directly by the application and
are passed on 1:1 to the SINAMICS DCM. A more detailed description of the individual bits
can be found in the parameter description of the binector inputs p21510 to p21524.
10
11 Set point inversion Set point inversion DCP1020
12 Open brake Open brake DCP1020
Motor potentiometer setpoint higher Motor potentiometer setpoint DCP1020
13
higher
Motor potentiometer Motor potentiometer DCP1020
14
setpoint lower setpoint lower
15 reserved (will not be passed on to the DCM!)
Dependency: see also: p21530, p21510 to p21524
Notice: Control word 1 for the SINAMICS DCM is formed from the input signals of the application and an internal
sequence control. A more detailed description of the individual bits can be found in the parameter description of
the binector inputs p21510 to p21524.
p21552 BI: Fault effective from position detection and control application
ENC Can be changed: T Calculated: - Access level: 1
Data type: Dynamic index: - Func. diagram: DCP1050
P group: - Unit group: - Unit selection: -
Not for motor type: - Expert list: 1
Min Max Factory setting
r2139.3
Description: Setting of the signal source for the feedback of an effective fault at the encoder object MotorLoadEncoder with
the position controller DCC chart.
p21562 BI: Alarm effective from position detection and control application
ENC Can be changed: T Calculated: - Access level: 1
Data type: Dynamic index: - Func. diagram: DCP1050
P group: - Unit group: - Unit selection: -
© Siemens AG 2021 All rights reserved
necessary to combine the fault codes of all objects in order to forward the fault code to the cyclic telegram. The
highest current fault code is displayed in this connector output.
p22512 BI: Position actual value prep. correction positive (edge), NOV
ENC Can be changed: T Calculated: - Access level: 1
Data type: Dynamic index: - Func. diagram: DCP2010
P group: - Unit group: - Unit selection: -
Not for motor type: - Expert list: 1
Min Max Factory setting
0
Description: Setting the signal source for the function " BI: Position actual value preparation correction positive (edge), NOV ".
0/1 signal: The correction value present via connector input p22513 is activated.
Dependency: see also: p22513, p22521, p22730
Notice: The NOV (Negative OverFlow) signal is used to correct the actual position value by adding the correction value
via connector input p22513. This correction is controlled by the position setpoint preparation of the technological
application and ensures, for example, that the position setpoint and the actual position value are corrected
simultaneously during modulo corrections or on-the-fly referencing. This prevents jumps in the following error, i.e.
the actual position setpoint deviation at the position controller.
Depending on the following error, the traversed range of the actual position value is outside the upper range of
the modulo value in the case of modulo correction by the value of the following error. This must be taken into
account if the actual position value is evaluated via cam controllers, for example.
The signal source depends on the application used. The required settings are made via script or manually
according to the information in chapter 4.2Manual interconnection of the application
p22513 CI: Position actual value preparation correction value, position control
ENC Can be changed: T Calculated: - Access level: 1
Data type: Dynamic index: - Func. diagram:
P group: - Unit group: - Unit selection: -
Not for motor type: - Expert list: 1
Min Max Factory setting
0
Description: Setting the signal source for the correction value for actual position value preparation. The correction value is
activated by a 0/1 edge at binector input p22512 or p22730.
Dependency: see also: p22512, p22521, p22730
Notice: The NOV (Negative Over Flow) signal at p22512 is used to correct the actual position value by adding the
correction value, while the POV (Positive Over Flow) signal at p22730 is used to correct it by subtracting the
correction value. This correction is controlled by the position setpoint preparation of the technological application
and ensures that, for example, in the case of modulo corrections or on-the-fly referencing, a simultaneous
correction of position setpoint and actual position value is guaranteed. This prevents jumps in the following error,
i.e. the actual position setpoint deviation at the position controller.
Depending on the following error, the traversed range of the actual position value is outside the upper range of
the modulo value in the case of modulo correction by the value of the following error. This must be taken into
account if the actual position value is evaluated via cam controllers, for example.
The signal source depends on the application used. The required settings are made via script or manually
according to the information in chapter 4.2Manual interconnection of the application
actual position is within the standstill window and, if necessary, a corresponding fault F51054 is output.
Dependency: see also: p22542, p22549
see also: F51054
Notice: Monitoring can be completely deactivated via the signal source at p22549.
ENC
Data type: Dynamic index: - Func. diagram: DCP2050
P group: - Unit group: - Unit selection: -
Not for motor type: - Expert list: 1
Min Max Factory setting
-
Description: Setting the signal source for the decimal part of the speed setpoint for the position controller.
Dependency: see also: p22531
Notice: The velocity setpoint is composed additively of the pre-decimal and post-decimal parts, thus a higher resolution is
achieved compared to a pure 32-bit double integer setpoint.
p22730 BI: Position actual value prep. correction negative (edge), POV
ENC Can be changed: T Calculated: - Access level: 1
Data type: Dynamic index: - Func. diagram: DCP2010
P group: - Unit group: - Unit selection: -
Not for motor type: - Expert list: 1
Min Max Factory setting
-
Description: Setting the signal source for the function "Activate position actual value preparation correction negative (edge),
POV".
0/1 signal: The correction value present via connector input p22513 is subtracted.
Dependency: see also: p22512, p22513, p22521
Notice: The POV (Positive Overflow) signal is used to correct the actual position value by subtracting the correction value
via connector input p22513. This correction is controlled by the position setpoint preparation of the technological
application and ensures, for example, that the position setpoint and the actual position value are corrected
simultaneously during modulo corrections or on-the-fly referencing. This prevents jumps in the following error, i.e.
the actual position setpoint deviation at the position controller.
Depending on the following error, the traversed range of the actual position value is outside the upper range of
the modulo value in the case of modulo correction by the value of the following error. This must be taken into
account if the actual position value is evaluated via cam controllers, for example.
The signal source depends on the application used. The required settings are made via script or manually
according to the information in chapter 4.2Manual interconnection of the application
sufficient for the standard applications, the communication takes place completely via the object of the control
unit. Since this does not allow double-word interconnection on the telegram, the receive data words are
converted to a double word via this converter.
The signal source depends on the application used. The necessary settings are made via script or manually
according to the information in chapter 4.2Manual interconnection of the application
Notice: Since the number of receive and transmit data of drive objects of the type "ENC", i.e. encoder objects is not
sufficient for the standard applications, the communication takes place completely via the object of the control
unit. Since this does not allow double-word interconnection on the telegram, the receive data words are
converted to a double word via this converter.
The signal source depends on the application used. The necessary settings are made via script or manually
according to the information in chapter 4.2Manual interconnection of the application
Notice: Since the number of receive and transmit data of drive objects of the type "ENC", i.e. encoder objects, is not
sufficient for the standard applications, the communication takes place completely via the object of the control
unit. Since this does not allow double word switching on the telegram, the send data double words are converted
into high and low word via this converter.
The signal source depends on the used application. The necessary settings are made via script or manually
according to the information in chapter 4.2Manual interconnection of the application
6.3.2 Alarms
7 Appendix
7.1 Application Support
Siemens AG
Digital Industries
Factory Automation
Production Machines
DI FA PMA APC
Frauenauracher Str. 80
D-91056 Erlangen, Germany
mailto: tech.team.motioncontrol@siemens.com
As of now, the flying saw and the cross cutter for the DCM
are also supported.
V6.0 12/2021 Sixth edition:
- Complete new creation
- no more "dummy" drive objects necessary
- The original S120 applications from version V6.0 are
used without adjustments in the DCC chart.
- the interconnection is possible by script or manually
- the use of the LMCSINA modules is possible, PLC
connection now via technology CU