SINAMICS G120 PN at S7-1200 DOCU V1d0 en PDF
SINAMICS G120 PN at S7-1200 DOCU V1d0 en PDF
Caution:
The functions and solutions described in this entry are mainly limited to the
realization of the automation task. Please take into account furthermore that
corresponding protective measures have to be taken up in the context of Industrial
Security when connecting your equipment to other parts of the plant, the enterprise
network or the Internet. Further information can be found under the Entry ID
50203404.
http://support.automation.siemens.com/WW/view/en/50203404.
Siemens AG 2013 All rights reserved
Copyright
Solution 2
Setting up and
Commissioning the 3
Application
Related Literature 7
Siemens AG 2013 All rights reserved
History 8
Copyright
Note The Application Examples are not binding and do not claim to be complete
regarding the circuits shown, equipping and any eventuality. The Application
Examples do not represent customer-specific solutions. They are only intended
to provide support for typical applications. You are responsible for ensuring that
the described products are used correctly. These application examples do not
relieve you of the responsibility to use sound practices in application, installation,
operation and maintenance. When using these Application Examples, you
recognize that we cannot be made liable for any damage/claims beyond the
liability clause described. We reserve the right to make changes to these
Application Examples at any time without prior notice. If there are any deviations
between the recommendations provided in these application examples and other
Siemens publications e.g. Catalogs the contents of the other documents
have priority.
We do not accept any liability for the information contained in this document.
Any claims against us based on whatever legal reason resulting from the use of
the examples, information, programs, engineering and performance data etc.,
described in this Application Example shall be excluded. Such an exclusion shall
not apply in the case of mandatory liability, e.g. under the German Product Liability
Siemens AG 2013 All rights reserved
Table of Contents
Warranty and Liability .............................................................................................. 4
Table of Contents ..................................................................................................... 5
1 Task................................................................................................................. 6
2 Solution........................................................................................................... 7
2.1 Solution overview .............................................................................. 7
2.2 Description of the core functionality.................................................... 8
2.2.1 Configuring the communication .......................................................... 8
2.2.2 Data exchange .................................................................................. 8
2.3 Hardware and software components used ......................................... 9
3 Setting up and Commissioning the Application ......................................... 11
3.1 Wiring .............................................................................................. 11
3.2 IP addresses and PN device names ................................................ 12
3.3 PG/PC settings ................................................................................ 12
3.4 Loading the software ....................................................................... 13
4 Operating the Application ............................................................................ 22
4.1 Requirements .................................................................................. 22
4.2 Operation via digital inputs............................................................... 22
4.3 Monitoring and parameter access via operator panel ....................... 24
Siemens AG 2013 All rights reserved
1 Task
The SIMATIC S7-1200 can be operated as a PROFINET controller. A PROFINET-
capable SINAMICS G120 drive can be used as PROFINET device and be
controlled by the SIMATIC S7-1200. The application description covers the
following drive types:
G120 with CU240E-2 PN (V 4.5) G120C PN (V 4.5)
G120D with CU240D-2 PN (V 4.5) G120P with CU230P-2 PN (V 4.5)
The abbreviation G120 used in this document refers to the above devices. Using
the example of a SINAMICS G120C with PROFINET interface illustrates how to
configure the drive, start it up, and access process data and parameters.
SINAMICS
PROFINET
Copyright
2 Solution
This application description gives an example of a PROFINET connection of a
SINAMICS G120C to SIMATIC S7-1212C using SINAMICS Startdrive V12. It uses
blocks which can be directly applied to your own application.
Switch
PROFINET PC/PG
Copyright
Motor
The SIMATIC controller as well as the SINAMICS converter are configured in TIA
Portal V12. Hence, they only require one software.
Note Entering communication parameters twice, as performed so far when using the
STARTER commissioning software, is no longer necessary. Also, a GSDML file
of the used SINAMICS drive does no longer need to be integrated into the
hardware catalog.
The IP addresses and PROFINET device names, as well as the I/O address areas
for the data to be exchanged between SIMATIC controller and SINAMICS drive,
are automatically created in the TIA Portal for the hardware configuration.
However, they can be modified at any time. The process data to be exchanged by
SIMATIC controller and SINAMICS drive is specified by the message frame type to
be used (in this example: SIEMENS Telegram 352) which you also configure in
the hardware configuration in the Properties of the SINAMICS drive
Siemens AG 2013 All rights reserved
Data exchange between SINAMICS G120 and SIMATIC S7-1200 occurs in two
areas:
Process data,
i.e. control word(s) and setpoint(s), or status word(s) and real value(s)
Parameter area,
i.e. reading/writing of parameter values
Copyright
PROFINET also provides the option of using an acyclic data exchange in addition
to the cyclic data exchange, which is only inserted on demand. This makes it
possible to transfer the parameter area acyclically on demand, without creating a
permanent communication load. The acyclic transfer takes clearly longer than the
cyclic transfer of the process data.
In this example, the acyclic data exchange is used for parameter access and
message frame type Telegram 352 is used which does not support cyclic
parameter transfer.
For acyclic writing and reading of parameters, please proceed as follows:
In the SIMATIC S7-1200, parameter jobs are sent to the SIMATIC G120 by
writing data set 47, and the response of the SIMATIC G120 is received by
reading data set 47. These functions are supported by the STEP 7
instructions (RDREC, WRREC). A special hardware configuration is not
necessary. More information the structure of the data set is available in chapter
8.3.2.2 of the SINAMICS G120C operating instruction (/6/), for example.
No particular action is required on the SINAMICS G120 PN side.
Note If you do not select a message frame in the hardware configuration in the
Properties of the SINAMICS drive, STEP 7 enters the Standard telegram 1
frame (PZD-2/2).
Siemens AG 2013 All rights reserved
Use it as well, for example (due to its conciseness), when your application is
restricted to acyclic writing and reading of drive parameters and you do not wish
to exchange process data.
Hardware components
Table 2-1: Hardware components
Component No. Order number Note
or other SIMATIC
CPU 1212C AC/DC/RLY 1 6ES7212-1BE31-0XB0 S7-1200 CPU
(as of FW 2.0)
or other
G120, G120C, G120D,
SINAMICS G120C PN
1 6SL3210-1KE18-8AF1 G120P with PN
(V4.5)
connection according to
chapter 11
SIMATIC Panel KTP600 The HMI panel is
1 6AV6647-0AD11-3AX0
Basic color PN optional.
CSM 1277 COMPACT or other switch
1 6GK7277-1AA00-0AA0
SWITCH MODULE
SINAMICS IOP 1 6SL3255-0AA00-4JA0 optional
Asynchronous motor 1 1LA7083-4AA60-xxxx
1
When using a device deviating from the given order number, it must be exchanged in the
hardware configuration as described in chapter 0.
CAUTION The example project has been designed for usage with the example
components listed in Table 2-1. Converter and/or motor may be destroyed
if a SINAMICS G120 with a different output or a different motor is
connected, without adjusting the respective parameters.
L1 L2 L3 PE
L1 N PE
SIMATIC S7
PN CPU 1212C
Siemens AG 2013 All rights reserved
SINAMICS
G120C PN
U2 V2 W2 PN
Copyright
24 V DC
PN M L+
M
Y SIMATIC Panel
KTP600
Note Note the setup guideline in the manuals of the respective devices (see /1/, /4/,
/6/)
The PROFINET device names are derived from the device names editable by the
user. They are available in the Properties of the respective device in General.
However, in the end a converted name according to IEC 61158-6-10 is loaded in
the appropriate device. If the PROFINET device name is already complying with
Siemens AG 2013 All rights reserved
the norm, it is accepted as converted name. More details on naming can be found,
e.g. in the information system (online help) of the TIA Portal under Assigning
addresses and names for PROFINET devices.
2
Name convention according to IEC 61158-6-10
NOTICE
Should you use a different SINAMICS converter or motor than specified in
Hardware components
, you need to perform your own configuration. In this case, follow the instruction
in chapter 6 before loading the software into the device. Otherwise, this may
cause damage.
This chapter describes how to load the following in the TIA Portal V12:
the STEP 7 program into the SIMATIC S7-1200,
the drive configuration into the SINAMICS G120, and
the control panel configuration into the HMI KTP600.
A requirement is that the software has been installed on your PG/PC according to
Table 2-2.
Note The procedure described in the step table below represents one
configuration option of connecting a SINAMICS G120 to a SIMATIC S7-1200
via PROFINET, and operate it. In the TIA Portal there are several solution
Siemens AG 2013 All rights reserved
options which more or less differ from the procedure introduced here.
The download to SINAMICS G120 can be performed via Ethernet interface
or USB. Below, the use of the Ethernet interface is shown.
1. Network the example components according to one of the two pictures, for example.
SINAMICS G120 S7-1212C SINAMICS G120 S7-1212C KTP 600
SINAMICS
PC/PG
SINAMICS
to it.
3. Close the window.
control panel.
Copyright
Preparation of the HMI KTP600 (not applicable for simulation at the PG/PC)
24. Connect the HMI KTP600 to the
supply voltage.
1. Open the Control Panel.
2
2
2. Open the PROFINET
settings.
2
devices and networks editor
in the device view of the HMI
control panel under Properties 2
3
be edited. It is automatically
entered when loading the HMI
project into the control panel.
2 2
with OK. 1 2
2. Exit the Control Panel.
3. Prepare the loading process 2
3
by clicking the Transfer
button.
Copyright
3
The used HMI control panel only supports an S7 connection and not PROFINET connections.
The address is not assigned via the station name. However, it can be read and assigned by the
PLC in the same way as a PROFINET name.
Note When using an IOP for controlling the SINAMICS drive, please ensure that the
network icon ( ) is displayed on the top right. If the hand icon ( ) is displayed
there, press the Hand/Auto button ( ).
Siemens AG 2013 All rights reserved
When using a BOP-2, please check whether the hand icon ( ) is displayed. If
yes, press the Hand/Auto button ( ).
For security reasons, the SINAMICS drives in this application example are
exclusively moved via digital inputs. The HMI is only used for monitoring6.
Table 4-1: Digital inputs
Termina Name Function
l
I 0.0 On Switching the SINAMICS drive on/off,
(Off2 =1 and Off3 =1 must apply for the operation)
I 0.1 Off 2 0 = Immediately switching off the motor. The SINAMICS drive coasts.
I 0.2 Off 3 0 = Fast stop. The motor is decelerated with ramp-down time Off3
(P1135) until it stops
I 0.3 Ack A rising edge acknowledges a pending error in the SINAMICS drive
I 0.4 Rev Reversed direction, the polarity of the setpoint value is negated.
I 0.5 0 The setpoint is set to 0.
I 0.6 n+ The setpoint is increased
I 0.7 n- The setpoint is decreased
4
In the STEP 7 example project no safety function has been configured and the respective
bullet is not relevant.
5
You can also connect an emergency-stop control device to the respective terminals.
6
If you still wish to control the drive from the HMI control device, you need to leave the input
parameters control_word and setpoint of the Process_Data [FB11] when calling it in network
2 of the Main [OB1].
Start screen
From all
subordinate screens
From all
subordinate screens Application example Support
Read/write parameters
Copyright
Fault buffer
Quit runtime
Both screens for the process data exchange access the instance
idb_Process_Data data block (DB11).
Bit 0
Bit 7
Bit 8
Bit 15
Bit 0
Bit 7
Bit 8
Bit 15
Siemens AG 2013 All rights reserved
The displayed control or status word is identical with that in the Process_Data tag
table (see chapter 4.4).
Copyright
The control tags contained in the above screen are identical with those in the
respective Process_Data tag table (see chapter 4.4).
Copyright
Actual values
The current actual values speed, current and torque are displayed below the speed
setpoint value input.
Current messages
Current faults and warnings are displayed with a respective number. A 0 means
that no fault or alarm exists. If a message is pending it is displayed according to
Figure 4-4.
Tap or click on the message number to display the respective message text.
The message text is displayed for as long as the message number is pressed.
Siemens AG 2013 All rights reserved
Reading/writing parameters
Figure 4-6: Reading/writing parameters
Copyright
3. Start the write or read job with the The job status specifies how the job
Start button. was completed:
Note: done = completed without error
After a write job the new data is adopted errori = job aborted with error
as read parameters in the white fields in The status refers to the processing of
the left part of the screen. After writing the RDREC and WRREC instructions
you need not trigger any additional read in FB20 Parameters for the
job for the update. communication with the IO device. For
error diagnosis see /1/.
Copyright
Fault buffer
The screen displays the fault codes of eight current and eight acknowledged faults,
which are saved in the SINAMICS converter.
The fault codes in the above screen correspond to control tags V_3_Value_00
(DW18) to V_3_Value_15 (DW48) in the answer_from_drive data block (DB103).
Copyright
Note The fault butters are only updated when you trigger an acyclic transmission. In
the example object, you execute the Read parameters function before
switching to the display of the fault buffer.
The message text is displayed for as long as the message number is pressed.
You can also use the application without HMI panel. The watch tables
Process_data and Parameters have already been created in the project. The
tags you can monitor or control are the same which are also displayed or controlled
at the operator panel.
Table 4-4: Operation of the application via watch table
No. Action Comments
1. In the TIA Portal project you open the
Copyright
Instruction FC12
DPRD_DAT Normalization
Instruction
DPWR_DAT
DB11
idb_Process_Data
FB20
Parameters
DB100
write_drive_parameters
Instruction
WRREC DB101
read_drive_parameters
Siemens AG 2013 All rights reserved
Instruction DB103
RDREC answer_from_drive
DB20
idb_Parameters
For the cyclic process data exchange and the acyclic parameter access, separate
Copyright
The process data contains values which are regularly exchanged between
SIMATIC controller and SINAMICS converter. These values are at least the control
and status word as well as the setpoint speed and actual value. Selecting the
Copyright
At the start of the cycle, the operating system of SIMATIC S7-1200 stores the
(user) data received by the SINAMICS converter in the I/O input area of the CPU
and transmits the data stored in the I/O output area to the SINAMICS converter at
the end of the cycle. In the user program, the data can be accessed by copying
from or into the I/O area.
The address areas used are defined in the Devices & Networks editor. See step
14 and 15 in Table 6-1.
The setpoint and actual values are transferred as standards. The standardization
and reference values are stored in parameters P2000 to P2006 of the
SINAMICS G120.
16384dec = 4000hex = 100% applies here, with 100% referring to the reference
value for the transferred variable.
Example:
If P2000 (reference speed or reference frequency) is 1500 1/min and if a speed
of 500 1/min shall be run, then 33% or 5461dec must be transferred.
Normalizing and denormalizing is performed in FC11 and FC12 in the application
example.
For more information, please refer to chapter 7 Configuring the field bus in the
operating instructions of the SINAMICS G120C (/6/).
To copy the process data into or from the I/O area, the following instructions
DPRD_DAT and DPWR_DAT are used:
These instructions ensure that the consistency is maintained across the entire
process data, i.e. all elements of the process data of a device are from the same
bus cycle or are transferred within a bus cycle. This is necessary, e.g. to enable a
distributed synchronization. In the example program, all of the 6 words are copied
consistently.
In the Instructions task card of the TIA Portal you will find the instructions under
> Extended Instructions
> Distributed I/O
> Others.
Siemens AG 2013 All rights reserved
Copyright
Control and status word are predefined. They are exchanged in all message frame
types in the first respective process data word (PDZ01).
Note A control word for which all bits are 0 is rejected as invalid by the SINAMICS
converter. Therefore, at least bit 10 must always be set.
5.1.5 FB 11 Process_Data
This FB shows the access to the process data with the use of the DPRD_DAT /
DPWR_DAT instructions. It is called up cyclically in OB1.
Initial
Parameter Data type Description
value
RD_address HW_SUBMODULE - Decisive hardware identifier for reading
data from a DP standard slave /PROFINET
IO device.
When selecting the frame type in the
properties of the SINAMICS drive in the
TIA Portal, STEP 7 creates a system
constant which corresponds to this
identifier. Enter this system constant here.
It is symbolically displayed to you in the
dropdown list when entering the
parameters.
WR_address HW_SUBMODULE - Decisive hardware identifier for writing data
to a DP standard slave /PROFINET IO
device.
When selecting the frame type in the
properties of the SINAMICS drive in the
TIA Portal, STEP 7 creates a system
constant which corresponds to this
identifier. Enter this system constant here.
It is symbolically displayed to you in the
dropdown list when entering the
Siemens AG 2013 All rights reserved
parameters.
Networks
Table 5-2: Networks of the Process_Data FB
Network Function
1. The process data is copied from the I/O area into the temporary #InData data
area using the DPRD_Dat instruction.
2. Status word, warning and faults are copied from the temporary #InData data
area to the respective block outputs, and the current actual values [WORD]
3. are copied into temporary tags [INT] for data type adjustment.
4. The current normalized speed value [INT] is denormalized by calling FC11
[REAL, min-1].
5. The current normalized current value [INT] is denormalized by calling FC11
[REAL, A].
6. The current torque value [INT] is denormalized by calling FC11 [REAL, Nm].
7. The setpoint speed value [REAL, min-1] is denormalized by calling FC12
[INT].
8. Control word and normalized setpoint speed value [INT] are copied to the
9. temporary #OUTData data area. The remaining four words to be transferred
are written with 0.
10. The process data is copied from the temporary #OutData data area into the
I/O area using the DPWR_DAT instruction.
Siemens AG 2013 All rights reserved
Configuration
The program supplies and removes the FB largely by directly accessing its
instance DB, so that many formal parameters can remain unconnected.
Only the following entries are assigned with actual parameters:
WORD type control_word
control word, supplied by the Simulation [FC10] block.
Copyright
Acyclic parameter access occurs parallel to the cyclic process data exchange. This
saves resources, since the data is only established on demand, i.e. when a
Copyright
parameter is to be transferred.
In the SIMATIC controller, the Write data set and Read data set functions must
be used for this. Data set 47 must always be used.
Writing data set 47 sends a job to the SINAMICS converter which performs the
job and provides a response. Reading data set 47 makes the response of the
SINAMICS converter available in the SIMATIC controller so it can be evaluated.
The instructions WRREC and RDREC are used in the SIMATIC controller for
reading and writing data sets.
For the structure of the jobs and responses (data set 47) please refer, for example,
to chapter 7.2.6 Configuring the field bus, communication via PROFIBUS, acyclic
communication of the SINAMICS G120C operating instructions (/6/).
Note Since the structure of the data set to be sent or received depends on the number
of jobs and their number format, a generally valid structure cannot be used.
The job to access a parameter consists of at least 10 words. Therefore, the job
should be assembled in a DB or in the temporary data of a code block. In this
example, this is performed using DB 101 read_drive_parameters and DB 100
write_drive_parameters.
The response by the SINAMICS converter also consists of several words.
Therefore, the example uses DB 103 answer_from_drive.
A job may contain the access to several parameters. Since the length of the data to
be transferred per job depends on the number and data types of the converter
parameters, no generally valid structure can be devised.
Therefore, in this example, only the ramp-up and ramp-down times (P1120 and
P1121) and a part of the fault memory (P945.x) is accessed. The job to read the
parameters is stored in DB 101 read_drive_parameters. The job to write them is
stored in DB 100 write_drive_parameters.
The response of the SINAMICS converter is copied to DB 103
answer_from_drive. The structure contained therein corresponds to the structure
for a successful reading of the parameters.
Note Place the entire job into a structure (in this example: record). This gives you the
Siemens AG 2013 All rights reserved
option to symbolically address the data set via the structure name (here record)
with the RDREC/WRREC instructions.
Actual alarms
Acknowledged alarms
5.2.3 FB 20 Parameters
value
Input parameters
address HW_SUBMODULE - Decisive hardware identifier for
reading/writing parameters from/to a
DP standard slave / PROFINET IO
device.
When selecting the frame type in the
properties of the SINAMICS drive in
the TIA Portal, STEP 7 creates a
Copyright
Output parameters
actual_ Real - Ramp-up time [s] read by the
Ramp_Time_Up SINAMICS drive. For send/receive
error 999999.9 is entered.
actual_ Real - Ramp-down time [s] read by the
Ramp_Time_Down SINAMICS drive. For send/receive
error 999999.9 is entered.
busy Bool - Job is processed
done Bool - Job completed without error
The bit is pending for 1 cycle.
Initial
Parameter Data type Description
value
drive_error Bool - The bit is set if an error ID was sent in
the drive response. Analyze the DB
103 answer_from_drive.
Reset is performed with restarting a
job.
transmission_error Bool - The bit is set if one of the instructions
WRREC or RDREC detects an error.
Further evaluation through static data
in the respective instance DB.7
Reset is performed with restarting a
job.
done_indicator Bool - Job completed without error
The bit is pending for 2 seconds. It
can only be used for display
purposes.
error_indicator Bool - Job finished with drive or
transmission error.
The bit is pending for 2 seconds. It
can only be used for display
purposes.
Siemens AG 2013 All rights reserved
In/out parameter
START Bool False The transmission is started with a
rising edge at START.
After the transmission start, the bit is
reset by the program.
Structure
Copyright
7
WR_ERROR = true Error in instruction WRREC Evaluation through WR_STATUS
3
RD_ERROR = true Error in instruction RDREC Evaluation through RD_STATUS
3
The WR_STATUS and RD_STATUS tags correspond to the output parameter
3
STATUS of instruction WRREC and RDREC. For more information refer to the STEP 7 online
3
help.
Sequencer
The individual steps of FB Parameters are represented in the following graphic.
The possible transitions between the individual steps are also displayed there.
Figure 5-12 Sequencer
START
8 7
0
Check for
Wait for start Finalize job
errors, copy
trigger
output
1 6
Start WRREC Check result
of RDREC not ready fault
other faults
Siemens AG 2013 All rights reserved
receiving finished
2 5
Wait for end Wait for end
of WRREC of RDREC
sending finished
Copyright
3
4
Check result sending successful
not ready fault Start RDREC
of WRREC
In the individual states of the step chain, the following functions are executed:
7 Check for errors, It is checked whether one of the internal error bits is set or
copy outputs whether an error bit has been set in the response of the
SINAMICS converter.
In the event of an error
the respective output bit parameter drive_error or
transmission_error is set,
the output bit parameter busy is deleted,
999999.9s is output as read time,
a 2 seconds long error display is output.
Copyright
step 0 activated.
If no error bit has been set, the read times are output, output
parameter busy is deleted and step 8 is activated.
8 Finalize job The busy signal is deleted, a 2 seconds long display
completed without errors is output and step 0 is activated
again.
Note If you only wish to download and commission the example program,
please follow the instructions in chapter 3 Setting up and
Commissioning the Application.
The procedure described in the step table below represents one option
of configuring a SIMATIC S7-1200 and parameterizing a SINAMICS
G120 PN for data exchange between SIMATIC controller and SINAMICS
drive. In the TIA Portal there are several solution options which more or
less differ from the procedure introduced here.
The step tables below describe what to do if you do not want to use the example
code, but wish to configure the SIMATIC S7 CPU, SINAMICS G120C and the HMI
KTP600. The configuration of the SIMATIC S7-1200 and the configuration of the
HMI control panel are not subject of this chapter.
A requirement is that the software has been installed on your PG/PC according to
Table 2-2.
Siemens AG 2013 All rights reserved
5. 1. Select Controllers.
Siemens AG 2013 All rights reserved
2
Copyright
2. Go to Ethernet 3
addresses in the
navigation tree.
3. Select Set IP address in
the project and enter the
desired IP address.
4. Add a new subnet and
select it.
5. Checkmark Generate 5
PROFINET device name
Copyright
automatically
14. In
>Cyclic data exchange
>Actual value
you configure the cyclic data
reception.
1. Select the message 1
Copyright
8
Select the I/O addresses which otherwise are not used in the program. By default, STEP 7
enters the next so far unused addresses.
Data sets:
DDS: 0
CDS: 0
Copyright
3.4.
Requirements
Copyright
Make sure, that the digital inputs DI 4 and DI 5 (terminals 16 and 17) of the
SINAMICS G120, which form the fail-safe input F-DI, are not assigned with a
standard function. This is ensured in the example project and in the factory
settings.
Figure 6-1: Digital inputs
3
1
4
no entry no entry
no entry no entry
6. Test stop
On demand you can
interconnect...
1. the time for the test stops.
2. the Test of the shutdown
paths required output.
Copyright
2
1
(In the application, the system constant is transferred via the tags
RD_address and WR_address to the instructions DPRD_DAT and
DPWR_DAT. RD_address and WR_address are input parameters of the
calling block Process_Data, which in the Main [OB1] was supplied with
Transfer_area_1[DI].)
9
The symbolic name of the system constant depends on the selected frame type and the
project language. Using the Standard telegram 1 frame, for example, would give the system
constant the name Setpoint_Actual_value_1[DI/DO]. The value of the constant in the above
picture may deviate from that in the example project.
Parameter Explanation
RECORD RECORD of type VARIANT is a pointer with specified length. It points to a
data area in the PLC in which the data read from the SINAMICS drive is
stored or from which the data to be written to the drive is fetched. The data
area must have the same length as the I/O area addressed by LADDR.
Parameter Explanation
ID ID has the same function as the LADDR parameter for
DPRD_DAT/DPWR_DAT (see Table 6-2).
Even if you only wish to use the acyclic services in your communication
with the SINAMICS G120, a cyclic data exchange will be configured by
STEP 7. In this case, however, you can select the Standard Telegram 1
frame (default setting) with the smallest data length.
LEN When unfolding the block by clicking on the small triangle, additionally,
(at WRREC)
Copyright
the input parameter LEN appears for specifying the maximal length of
the data set to be transferred.
Since in this example the data set length is contained in the RECORD
parameter, LEN needs not be configured. Keep the default value 0.
10
For symbolic addressing, the length to be specified in RECORD is specified implicitly by the
structure of the actual parameter.
Parameter Explanation
INDEX Here, the data record to be
transferred must be specified.
Enter the value 47 as the actual
parameter for data set 47.
RECORD RECORD of type VARIANT is a
pointer with specified length. It
points to data records record in
the DBs from chapter 5.2.2. In the
application example, RECORD is
addressed symbolically (see
footnote 10 on page 59).
Siemens AG 2013 All rights reserved
Copyright
7 Related Literature
This list is not complete and only represents a selection of relevant information
Table 7-1: Literature
Topic Title / link
/1/ SIMATIC S7-1200 System Manual
http://support.automation.siemens.com/WW/view/en/36932465
Updating the System Manual, Edition 04/2012
http://support.automation.siemens.com/WW/view/en/53741769
/2/ STEP 7 Basic V12.0 System Manual
SIMATIC S7-1200 http://support.automation.siemens.com/WW/view/en/68113678
STEP 7 Basic WinCC Basic V12.0 System Manual
http://support.automation.siemens.com/WW/view/en/68074843
/3/ Automating with SIMATIC S7-1200
Author: Hans Berger
Publisher: Publicis Publishing
ISBN: 978-3-89578-385-2
/4/ SIMATIC Operating Instructionss
Basic Panels http://support.automation.siemens.com/WW/view/en/31032678
/5/ SINAMICS Commissioning tool for SINAMICS drives as option package
Startdrive for SIMATIC STEP 7 V12
Siemens AG 2013 All rights reserved
http://support.automation.siemens.com/WW/view/en/68034568
Continued on the next page
Copyright
8 History
Table 8-1: History
Version Date Modifications
V1.0 07/2013 First version