Академический Документы
Профессиональный Документы
Культура Документы
http://support.automation.siemens.com/WW/view/en/36435784
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
SIMATIC
WCF_BLOCKS_SinaG120
(FB680)
Automation Task
Automation Solution
Basic Information
Functional Mechanisms
Configuration and
Settings
Block Connectors
Further Information
Application
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
Bibliography
10
History
11
The application examples are not binding and do not claim to be complete
regarding configuration, equipment 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 this application example and other
Siemens publications e.g. Catalogs the contents of the other documents
have priority.
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
Act (Produkthaftungsgesetz), in case of intent, gross negligence, or injury of life,
body or health, guarantee for the quality of a product, fraudulent concealment of a
deficiency or breach of a condition which goes to the root of the contract
(wesentliche Vertragspflichten). However, claims arising from a breach of a
condition which goes to the root of the contract shall be limited to the foreseeable
damage which is intrinsic to the contract, unless caused by intent or gross
negligence or based on mandatory liability for injury of life, body or health. The
above provisions do not imply a change in the burden of proof to your detriment.
It is not permissible to transfer or copy these Application Examples or excerpts
thereof without express authorization from Siemens Industry Sector.
If you have any questions regarding this document, please send us an e-mail to the
following address:
online-support.automation@siemens.com
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
Table of Contents
Table of Contents
Warranty and Liability ................................................................................................. 4
1
Automation Task................................................................................................ 7
1.1
Overview .............................................................................................. 7
Overview .............................................................................................. 9
Hardware and software components used......................................... 10
4.1
4.2
4.2.1
4.2.2
4.2.3
4.2.4
4.3
4.3.1
4.3.2
4.3.3
4.4
4.4.1
4.5
4.5.1
4.6
4.6.1
4.6.2
4.6.3
4.6.4
4.6.5
4.6.6
4.6.7
4.6.8
4.6.9
4.6.10
4.6.11
5
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
Table of Contents
8
10
Bibliography..................................................................................................... 79
11
History............................................................................................................... 81
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
Automation Task
Automation Task
1.1
Overview
Introduction
The example blocks for STEP 7 and WinCC flexible enable the user to utilize
various automation functions or to use these blocks as templates for the
configuration of individual blocks.
The sample configuration shows how the technological blocks are called and
interconnected in STEP 7 and WinCC flexible.
The advantages when using faceplates in WinCC flexible shall be illustrated:
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
Automation Task
Start / Stop
Setpoint specification
Simulation
ATTENTION
Stop
Anticlockwise rotation
Clockwise rotation
Illegal
Load
Before using the block in your own projects, check the proper functioning
of the block and adjust it to your individual requirements where
necessary. The block described in this application is only intended as a
template for creating your own blocks.
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
Automation Solution
Automation Solution
2.1
Overview
Display
The screenshots below show the block in the controller, the block icon and the
faceplate window for the control, operation and monitoring of SINAMICS G120 type
frequency converters:
Table 2-1
Faceplate icon and faceplate
Block
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
Automation Solution
2.2
Hardware components
Table 2-2
Component
Number
Note
Development system
Frequency converter
SINAMICS G120
S7-300 CPU
or
S7-400 CPU
Software components
Table 2-3
Component
Number
MLFB/order number
6ES7810-4CC08-0YA7
6AV6613-0AA51-3CA5
6SL3072-0AA00-0AG0
Note
10
Note
36435784_S7_WCF_Blocks_CODE.zip
36435784_S7_WCF_Blocks_DOCUMENTS_d.zip
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
Basic Information
Basic Information
Introduction
Faceplates are objects that you compile from existing picture objects.
Faceplates offer the following advantages:
You create and change faceplates in the "Faceplates" editor. The generated blocks
are adopted in the "Project Library" and can be added into pictures like other
objects.
Using a faceplate
After you have generated a faceplate, the faceplate appears as an object in the
project library.
You add the faceplate to your process pictures and configure it for the respective
usage location in the Properties window.
Faceplate instance
Inserting a faceplate into a process screen generates an instance of this faceplate.
When editing the faceplate in the project library, the created faceplate instance is
automatically updated.
Reusing faceplates in several projects
WinCC flexible offers the option of adopting faceplates in a global library. This
enables you to reuse the faceplates in other projects.
As soon as you add a faceplate from a global library into a picture, the faceplate is
also filed in the project library. You change the faceplate only in the project library,
the changes are not automatically adopted in the global library.
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
11
Basic Information
12
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
Functional Mechanisms
Functional Mechanisms
4.1
Figure 4-1
Via the interface a dynamic property is always connected with a tag which
supplies the Property in Runtime with values.
Static properties are either configured directly in the picture editor, the
properties are then stored together with the faceplate, or at the interface of the
faceplate. Static properties cannot be changed in Runtime.
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
13
Functional Mechanisms
4.2
4.2.1
Animations
The tags of this group serve for display and representation of the faceplate window.
Visibility
The Visibility property is used for influencing the display properties of the
faceplate window during runtime.
The following properties are influenced:
Open
Close
Minimize
Maximize
Table 4-5
Tag used
Symbolic name
SinaG120DB.OP_VISIBILITY
Data type
Byte
Address
Length
1 byte
Acquisition cycle
100 ms
Acquisition mode
Bits 0..6 serve for opening or selecting the individual tabs of the faceplate window
(maximized display). If more than one bit is set, only the background of the
faceplate window is displayed. If Bit 7 has been set, only the title bar of the
faceplate window is displayed (minimized display), irrespective of the status of the
remaining bits. If none of the bits are set, the faceplate window is closed.
The following table shows the setup of the tags.
Table 4-6
Bit
Selection
Minimize
Note
14
Tab 5
Tab 4
Tab 3
Tab 2
Tab 1
The tag is also used to trigger acyclic read services between the controller and
the SINAMICS G120 (when selecting tab 1 and 4 in faceplate window).
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
Functional Mechanisms
4.2.2
Process
The tags of this group feature a process connection and are the basic interface
between controller and operating device.
Command
The Command property is used to transmit commands from WinCC flexible to the
controller. The PLC block analyses the control command, executes the desired
action and initiates then a reset of all pending control commands. For this purpose,
the value of the control parameter is set to 0.
Table 4-7
Symbolic name
SinaG120DB.OPdwCmd
Data type
DWord
Address
Length
4 bytes
Acquisition cycle
100 ms
Acquisition mode
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
REVERSE
FORWARD
START
STOP
DPV1_REQ
SIMULATION
PROCESS
REMOTE
LOCAL
AUTO
MANUAL
RESET
Bit
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Table 4-8
Signal
Tag used
15
Functional Mechanisms
Instance
The Instance property is a text string with a field length of 16 characters and has
two usage locations:
The tag serves as filter criterion for the message display of the faceplate
window. This ensures that only messages referring to this faceplate window
are displayed.
The tag is displayed in the right half of the title bar to distinguish between the
individual faceplate instances.
Table 4-9
Tag used
Symbolic name
SinaG120DB.INSTANCE
Data type
String
Address
DB 680 DBB 32
Length
16 bytes
Acquisition cycle
1s
Acquisition mode
Figure 4-2
ATTENTION
For each instance of a faceplate the content of the tags must be adjusted.
The tag contents are specified in the declaration section of the respective
function block as a start value. Ensure that the messages in the bit
message editor of WinCC flexible contain the same text string in addition
to the actual message text.
16
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
Functional Mechanisms
State
The State property is used to display different states in the WinCC flexible
process picture.
Table 4-10
Tag used
Symbolic name
SinaG120DB.QdwState
Data type
DWord
Address
DB 680 DBD 52
Length
4 bytes
Acquisition cycle
100 ms
Acquisition mode
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
QSIM
QREMOTE
QMAN_AUT
QNCONOV
QNMOTOV
QBRAKE
QNMOTWARN
QNOFF3
QNOFF2
QFRREACH
QSPREACH
OP_REMOTE
OP_REVERSE
OP_ON
QREADY_RUN
QSLOCK
QDIRECTION
QOP_ENABLE
QPOWER_ON
QFAULT
QWARN
LOCK
QLOCK
QERR_EXT
QERR
DPV1_RW_ERROR
Signal
Bit
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Table 4-11
17
Functional Mechanisms
4.2.3
Process_Values
The tags in this group have a process connection and can be operated and
monitored in the Overview tab.
They serve for speed specification and speed monitoring of the motor connected at
the SINAMICS G120.
ValueSpeed
The ValueSpeed property displays the rotational speed (actual value) of the
motor in the unit 1/min. For clockwise motor motion the sign is positive (+), for
counter-clockwise motor motion it is negative (-) accordingly.
Table 4-12
Tag used
Symbolic name
SinaG120DB.QrCuSpeed
Data type
Real
Address
DB 680 DBD 82
Length
4 bytes
Acquisition cycle
100 ms
Acquisition mode
SimValue
The SimValue property displays the rotational speed (setpoint value) of the motor
in the unit % and is only active in simulation mode.
Table 4-13
Tag used
Symbolic name
SinaG120DB.SP_Sim
Data type
Real
Address
DB 680 DBD 14
Length
4 bytes
Acquisition cycle
100 ms
Acquisition mode
ValuePercent
The ValuePercent property displays the rotational speed (actual value) of the
motor in the unit %. For clockwise motor motion the sign is positive (+), for
counter-clockwise motor motion it is negative (-) accordingly.
Table 4-14
Tag used
18
Symbolic name
SinaG120DB.QrCuCapacity
Data type
Real
Address
DB 680 DBD 66
Length
4 bytes
Acquisition cycle
100 ms
Acquisition mode
Cyclically continued
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
Functional Mechanisms
ManValue
The ManValue property displays the rotational speed (setpoint value) of the motor
in the unit % and is only active in manual mode.
Table 4-15
Tag used
Symbolic name
4.2.4
SinaG120DB.SP_Man
Data type
Real
Address
DB 680 DBD 10
Length
4 bytes
Acquisition cycle
100 ms
Acquisition type
Process_Data
The tags in this group have a process connection and can be monitored in the
Data tab.
Upon selecting the tab or when starting the controller they are updated acyclically
and show the connection values of the motor.
Voltage
The Voltage property displays the configured connection voltage of the motor.
Table 4-16
Tag used
Symbolic name
SinaG120DB.DPV1_VOLTAGE
Data type
Int
Address
DB 680 DBW 90
Length
2 bytes
Acquisition cycle
1s
Acquisition type
Power
The Power property displays the configured connection output of the motor.
Table 4-17
Tag used
Symbolic name
SinaG120DB.DPV1_POWER
Data type
Real
Address
DB 680 DBD 92
Length
4 bytes
Acquisition cycle
1s
Acquisition type
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
19
Functional Mechanisms
Frequency
The Frequency property displays the configured setpoint frequency of the motor.
Table 4-18
Tag used
Symbolic name
SinaG120DB.DPV1_FREQUENCY
Data type
Real
Address
DB 680 DBD 96
Length
4 bytes
Acquisition cycle
1s
Acquisition type
Speed
The Speed property displays the configured setpoint speed of the motor.
Table 4-19
Tag used
Symbolic name
SinaG120DB.DPV1_SPEED
Data type
Int
Address
Length
2 bytes
Acquisition cycle
1s
Acquisition type
ErrorNo1
The ErrorNo1 property displays the first error number currently pending at the
converter.
Table 4-20
Tag used
20
Symbolic name
SinaG120DB.DPV1_ERROR1
Data type
Int
Address
Length
2 bytes
Acquisition cycle
1s
Acquisition type
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
Functional Mechanisms
ErrorNo2
The ErrorNo2 property displays the second error number currently pending at the
converter.
Table 4-21
Tag used
Symbolic name
SinaG120DB.DPV1_ERROR2
Data type
Int
Address
Length
2 bytes
Acquisition cycle
1s
Acquisition type
ErrorValue1
The ErrorValue1 property displays the value of the first error number currently
pending at the converter.
Table 4-22
Copyright Siemens AG 2010 All rights reserved
Tag used
Symbolic name
SinaG120DB.DPV1_ERROR_VALUE1
Data type
Int
Address
Length
2 bytes
Acquisition cycle
1s
Acquisition type
ErrorValue2
The ErrorValue2 property displays the value of the second error number currently
pending at the converter.
Table 4-23
Tag used
Symbolic name
SinaG120DB.DPV1_ERROR_VALUE2
Data type
Int
Address
Length
2 bytes
Acquisition cycle
1s
Acquisition type
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
21
Functional Mechanisms
4.3
4.3.1
Process_Trends_Value
The properties of this group define the individual trends of the faceplate window.
Trends
The Trends property is an HMI object and defines the trends of the Trends tab.
To edit the trends, select the Trends property, the trends editor is opened using
the displayed button.
Figure 4-3
Figure 4-4
4.3.2
Label
The properties of this group serve for labeling the faceplate windows.
Text
The Text property is a text string and is displayed in the left half of the title bar.
Here, for example, the higher level definition (HLD) or the location of usage can be
shown.
Figure 4-5
22
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
Functional Mechanisms
4.3.3
UserManagement
The properties of this group serve for assigning the user rights.
Service
The Service property is a HMI object and is used as access protection for the
Service tab.
ATTENTION
In this application the authorization used is the Group Service and the
User Service. The password is pre-set to 100 and can be changed in
the user administration of WinCC flexible.
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
23
Functional Mechanisms
4.4
Figure 4-6
Only the dynamic properties are accessed in the interface of the faceplate icon.
Copyright Siemens AG 2010 All rights reserved
Via the interface a dynamic property is always connected with a tag which supplies
the Property in Runtime with values.
24
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
Functional Mechanisms
4.4.1
Process
The tags of this group feature a process connection and are the basic interface
between controller and operating device.
State
The State property is used to display different states in the WinCC flexible
process picture.
Table 4-24
Symbolic name
SinaG120DB.QdwState
Data type
DWord
Address
DB 680 DBD 52
Length
4 bytes
Acquisition cycle
100 ms
Acquisition type
QSIM
QREMOTE
QMAN_AUT
QNCONOV
QNMOTOV
QBRAKE
QNMOTWARN
QNOFF3
QNOFF2
QFRREACH
QSPREACH
OP_REMOTE
OP_REVERSE
OP_ON
QREADY_RUN
QSLOCK
QDIRECTION
QOP_ENABLE
QPOWER_ON
QFAULT
QWARN
LOCK
QLOCK
QERR_EXT
QERR
DPV1_RW_ERROR
Bit
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Table 4-25
Signal
Tag used
ValuePercent
The ValuePercent property displays the rotational speed (actual value) of the
motor in the unit %. For clockwise motor motion the sign is positive (+), for
counter-clockwise motor motion it is negative (-) accordingly.
Table 4-26
Tag used
Symbolic name
SinaG120DB.QrCuCapacity
Data type
Real
Address
DB 680 DBD 66
Length
4 bytes
Acquisition cycle
100 ms
Acquisition type
Cyclically continued
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
25
Functional Mechanisms
Visibility
The Visibility property is used for influencing the display properties of the
faceplate window during runtime.
The following properties are influenced:
Note
Open
Close
Minimize
Maximize
When clicking the faceplate icon, the OP_VISIBILITY tag is always loaded with
value 1. This results in the respective faceplate window being displayed with
tab 1.
Table 4-27
Tag used
Symbolic name
SinaG120DB.OP_VISIBILITY
Data type
Byte
Address
Length
1 Byte
Acquisition cycle
100 ms
Acquisition type
Selection
Minimize
Note
26
Tab 5
Tab 4
Tab 3
Tab 2
Tab 1
The tag is also used to trigger acyclic read services between the controller and
the SINAMICS G120 (when selecting the tab 1 and 4 in faceplate window).
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
Functional Mechanisms
4.5
4.5.1
Message tag
Table 4-29
Tag used
Symbolic name
SinaG120DB.QwAlarm
Data type
Word
Address
Length
2 bytes
Acquisition cycle
100 ms
Acquisition type
Cyclically continued
The following table shows the setup of the tags. The message texts are prefixed
with the SinaG120_001 filter attribute for the first instance of the SinaG120
faceplate window.
Table 4-30
Bit
Signal
QNOFF2
QNOFF3
QNMOTOV
QNCONOV
QLOCK
QERR_CON
QERR_EXT
QERR
QPOWER_ON
OP_ON
SinaG120_001: motor is ON
10
QLEFT
11
QRIGHT
12
LOCK
13
QREMOTE
14
QMAN_AUT
15
QSIM
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
Message text
27
Functional Mechanisms
4.6
4.6.1
28
REVERSE
FORWARD
START
STOP
DPV1_REQ
SIMULATION
PROCESS
REMOTE
LOCAL
AUTO
MANUAL
RESET
Signal
Bit
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Table 4-31
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
Functional Mechanisms
Figure 4-7
QCuSpeed
QSPCapacity
QrCuCapacity
L_AUT
QSPFrequency
L_REMOTE
QrCuFrequency
L_SIM
QSPSpeed
L_RESET
QrCuSpeed
L_MAN_ON
QPOWER_ON
L_MAN_REVERSE
QREADY_RUN
L_ENABLE
QOP_ENABLE
L_RFG_EN
QFAULT
L_RFG_FREE
QNOFF2
L_SP_EN
QNOFF3
L_SP_VALID
QSLOCK
OFF2
QWARN
OFF3
QSPREACH
Auto_ON
Auto_REV
Copyright Siemens AG 2010 All rights reserved
QdwState
QSIdwCmd
QFRREACH
QNMOTWARN
SP_Auto
QBRAKE
SP_Man
QNMOTOV
SP_Sim
QDIRECTION
SIM_nomFreq
SIM_nomSpeed
DPV1_ID
DPV1_READ
INSTANCE
RESTART
QNCONOV
QMAN_AUT
QREMOTE
QSIM
QLOCK
QERR_CON
VISIBILITY
QERR
OPdwCmd
QERR_EXT
DPV1_RW_ERROR
DPV1_VOLTAGE
DPV1_POWER
DPV1_FREQUENCY
DPV1_SPEED
DPV1_ERROR1
DPV1_ERROR2
DPV1_ERROR_VALUE1
DPV1_ERROR_VALUE2
DPV1_FNumR
DPV1_FNumW
DPV1_CURRENT_LIM
DPV1_CURRENT_SET
QwAlarm
ENO
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
29
Functional Mechanisms
4.6.2
Figure 4-8
Note
30
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
Functional Mechanisms
Figure 4-9
QCuSpeed
QSPCapacity
QrCuCapacity
L_AUT
QSPFrequency
L_REMOTE
QrCuFrequency
L_SIM
QSPSpeed
L_RESET
QrCuSpeed
L_MAN_ON
QPOWER_ON
L_MAN_REVERSE
QREADY_RUN
L_ENABLE
QOP_ENABLE
L_RFG_EN
QFAULT
L_RFG_FREE
QNOFF2
L_SP_EN
QNOFF3
L_SP_VALID
QSLOCK
OFF2
QWARN
OFF3
QSPREACH
Auto_ON
Auto_REV
Copyright Siemens AG 2010 All rights reserved
QdwState
QSIdwCmd
QFRREACH
QNMOTWARN
SP_Auto
QBRAKE
SP_Man
QNMOTOV
SP_Sim
QDIRECTION
SIM_nomFreq
SIM_nomSpeed
DPV1_ID
DPV1_READ
INSTANCE
RESTART
QNCONOV
QMAN_AUT
QREMOTE
QSIM
QLOCK
QERR_CON
VISIBILITY
QERR
OPdwCmd
QERR_EXT
DPV1_RW_ERROR
DPV1_VOLTAGE
DPV1_POWER
DPV1_FREQUENCY
DPV1_SPEED
DPV1_ERROR1
DPV1_ERROR2
DPV1_ERROR_VALUE1
DPV1_ERROR_VALUE2
DPV1_FNumR
DPV1_FNumW
DPV1_CURRENT_LIM
DPV1_CURRENT_SET
QwAlarm
ENO
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
31
Functional Mechanisms
4.6.3
QSIM
QREMOTE
QMAN_AUT
QNCONOV
QNMOTOV
QBRAKE
QNMOTWARN
QNOFF3
QNOFF2
QFRREACH
QSPREACH
OP_REMOTE
OP_REVERSE
OP_ON
QREADY_RUN
QSLOCK
QDIRECTION
QOP_ENABLE
QPOWER_ON
QFAULT
QWARN
LOCK
QLOCK
QERR_EXT
QERR
DPV1_RW_ERROR
Signal
Bit
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Table 4-32
32
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
Functional Mechanisms
Figure 4-10
QSPCapacity
LIOP_SEL
QrCuCapacity
L_AUT
QSPFrequency
L_REMOTE
QrCuFrequency
L_SIM
QSPSpeed
L_RESET
QrCuSpeed
L_MAN_ON
QPOWER_ON
L_MAN_REVERSE
QREADY_RUN
L_ENABLE
QOP_ENABLE
L_RFG_EN
QFAULT
L_RFG_FREE
QNOFF2
L_SP_EN
QNOFF3
L_SP_VALID
QSLOCK
OFF2
QWARN
OFF3
QSPREACH
Auto_ON
Auto_REV
Copyright Siemens AG 2010 All rights reserved
QdwState
QSIdwCmd
QCuSpeed
QFRREACH
QNMOTWARN
SP_Auto
QBRAKE
SP_Man
QNMOTOV
SP_Sim
QDIRECTION
SIM_nomFreq
SIM_nomSpeed
DPV1_ID
DPV1_READ
INSTANCE
RESTART
QNCONOV
QMAN_AUT
QREMOTE
QSIM
QLOCK
QERR_CON
VISIBILITY
QERR
OPdwCmd
QERR_EXT
DPV1_RW_ERROR
DPV1_VOLTAGE
DPV1_POWER
DPV1_FREQUENCY
DPV1_SPEED
DPV1_ERROR1
DPV1_ERROR2
DPV1_ERROR_VALUE1
DPV1_ERROR_VALUE2
DPV1_FNumR
DPV1_FNumW
DPV1_CURRENT_LIM
DPV1_CURRENT_SET
QwAlarm
ENO
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
33
Functional Mechanisms
4.6.4
LIOP_SEL
If the LIOP_SEL input is set, the mode is determined via the control input
L_AUT.
If the LIOP_SEL input is not set, the mode is specified by the operator
(OPdwCmd [bit 16 and 17]).
L_AUT
The L_AUT input is only in effect if the LIOP_SEL input is set.
LIOP_SEL = 1 AND L_ AUT = 0 manual
LIOP_SEL = 1 AND L_ AUT = 1 automatic
OPdwCmd
The operator commands of the control word OPdwCmd are only active if the
LIOP_SEL input is not set.
QMAN_AUT
The operating mode is indicated at the QMAN_AUT block output.
QMAN_AUT = 0 manual
QMAN_AUT = 1 automatic
QdwState
The current operating mode is transferred to WinCC flexible in the status word
QdwState by means of the two separate bits 16 and 17. If neither or both bits
are set, an error has occurred.
QdwState [bit 16] = 1 manual
QdwState [bit 17] = 1 automatic
34
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
Functional Mechanisms
Figure 4-11
QSPCapacity
QrCuCapacity
L_AUT
QSPFrequency
L_REMOTE
L_SIM
QrCuFrequency
QSPSpeed
L_RESET
L_MAN_ON
QrCuSpeed
QPOWER_ON
L_MAN_REVERSE
QREADY_RUN
L_ENABLE
QOP_ENABLE
L_RFG_EN
QFAULT
L_RFG_FREE
QNOFF2
L_SP_EN
QNOFF3
L_SP_VALID
QSLOCK
OFF2
QWARN
OFF3
QSPREACH
Auto_ON
Auto_REV
Copyright Siemens AG 2010 All rights reserved
QdwState
QSIdwCmd
QCuSpeed
QFRREACH
QNMOTWARN
SP_Auto
QBRAKE
SP_Man
QNMOTOV
SP_Sim
SIM_nomFreq
SIM_nomSpeed
DPV1_ID
DPV1_READ
INSTANCE
RESTART
QDIRECTION
QNCONOV
QMAN_AUT
QREMOTE
QSIM
QLOCK
QERR_CON
VISIBILITY
QERR
OPdwCmd
QERR_EXT
DPV1_RW_ERROR
DPV1_VOLTAGE
DPV1_POWER
DPV1_FREQUENCY
DPV1_SPEED
DPV1_ERROR1
DPV1_ERROR2
DPV1_ERROR_VALUE1
DPV1_ERROR_VALUE2
DPV1_FNumR
DPV1_FNumW
DPV1_CURRENT_LIM
DPV1_CURRENT_SET
QwAlarm
ENO
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
35
Functional Mechanisms
4.6.5
LIOP_SEL
If the LIOP_SEL input is set, the mode is determined via the control input
L_REMOTE.
If the LIOP_SEL input is not set, the mode is specified by the operator
(OPdwCmd [bit 18 and 19]).
L_REMOTE
The L_REMOTE input is only in effect if the LIOP_SEL input is set.
LIOP_SEL = 1 AND L_ REMOTE = 0 local
LIOP_SEL = 1 AND L_ REMOTE = 1 remote
OPdwCmd
The operator commands of the control word OPdwCmd are only active if the
LIOP_SEL input is not set.
LIOP_SEL = 0 AND OPdwCmd [bit 18] = 1 local
LIOP_SEL = 0 AND OPdwCmd [bit 19] = 1 remote
SIdwInp
SIdwInp is used to evaluate the status word of SINAMICS G120 and set the
QREMOTE output accordingly.
SIdwInp [bit 9] = 0 local
SIdwInp [bit 9] = 1 remote
QREMOTE
The operating mode is indicated at the QREMOTE block output.
QREMOTE = 0 local
QREMOTE = 1 remote
QdwState
The status word for WinCC flexible shows the switching command at [Bit 7]
and the SINAMICS status for remote control at [Bit 17].
QdwState [bit 7] = 0 command for local mode
QdwState [bit 7] = 1 command for remote mode
QdwState [bit 17] = 0 local
QdwState [bit 17] = 1 remote
36
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
Functional Mechanisms
Figure 4-12
QCuSpeed
QSPCapacity
QrCuCapacity
L_AUT
QSPFrequency
L_REMOTE
QrCuFrequency
L_SIM
L_RESET
L_MAN_ON
QSPSpeed
QrCuSpeed
QPOWER_ON
L_MAN_REVERSE
QREADY_RUN
L_ENABLE
QOP_ENABLE
L_RFG_EN
QFAULT
L_RFG_FREE
QNOFF2
L_SP_EN
QNOFF3
L_SP_VALID
QSLOCK
OFF2
QWARN
OFF3
QSPREACH
Auto_ON
Auto_REV
Copyright Siemens AG 2010 All rights reserved
QdwState
QSIdwCmd
QFRREACH
QNMOTWARN
SP_Auto
QBRAKE
SP_Man
QNMOTOV
SP_Sim
QDIRECTION
SIM_nomFreq
SIM_nomSpeed
DPV1_ID
DPV1_READ
INSTANCE
RESTART
QNCONOV
QMAN_AUT
QREMOTE
QSIM
QLOCK
QERR_CON
VISIBILITY
QERR
OPdwCmd
QERR_EXT
DPV1_RW_ERROR
DPV1_VOLTAGE
DPV1_POWER
DPV1_FREQUENCY
DPV1_SPEED
DPV1_ERROR1
DPV1_ERROR2
DPV1_ERROR_VALUE1
DPV1_ERROR_VALUE2
DPV1_FNumR
DPV1_FNumW
DPV1_CURRENT_LIM
DPV1_CURRENT_SET
QwAlarm
ENO
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
37
Functional Mechanisms
4.6.6
Setpoint specification
Setpoint values can be interconnected at the inputs SP_Auto and SP_Man. If no
peripheral devices are connected, the block can be used in simulation mode. Input
SP_Sim is therefore switched active.
SP_Auto
The SP_Auto input is used to set the setpoint in the hexadecimal format.
Setpoints are assigned from 16#0000 to 16#4000.
SP_Man
The SP_Man input is used in manual mode to set the setpoint in the floating point
format. Setpoints are assigned from 0.0% to 100.0%.
SP_Sim
The SP_Sim input is used in simulation mode to set the setpoint in the floating
point format. Setpoints are assigned from 0.0% to 100.0%.
38
QSIM = 1
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
Functional Mechanisms
Figure 4-13
QCuSpeed
QSPCapacity
QrCuCapacity
L_AUT
QSPFrequency
L_REMOTE
QrCuFrequency
L_SIM
QSPSpeed
L_RESET
QrCuSpeed
L_MAN_ON
QPOWER_ON
L_MAN_REVERSE
QREADY_RUN
L_ENABLE
QOP_ENABLE
L_RFG_EN
QFAULT
L_RFG_FREE
QNOFF2
L_SP_EN
QNOFF3
L_SP_VALID
QSLOCK
OFF2
QWARN
OFF3
QSPREACH
Auto_ON
Auto_REV
Copyright Siemens AG 2010 All rights reserved
QdwState
QSIdwCmd
QFRREACH
QNMOTWARN
SP_Auto
QBRAKE
SP_Man
QNMOTOV
SP_Sim
QDIRECTION
SIM_nomFreq
SIM_nomSpeed
DPV1_ID
DPV1_READ
INSTANCE
RESTART
QNCONOV
QMAN_AUT
QREMOTE
QSIM
QLOCK
QERR_CON
VISIBILITY
QERR
OPdwCmd
QERR_EXT
DPV1_RW_ERROR
DPV1_VOLTAGE
DPV1_POWER
DPV1_FREQUENCY
DPV1_SPEED
DPV1_ERROR1
DPV1_ERROR2
DPV1_ERROR_VALUE1
DPV1_ERROR_VALUE2
DPV1_FNumR
DPV1_FNumW
DPV1_CURRENT_LIM
DPV1_CURRENT_SET
QwAlarm
ENO
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
39
Functional Mechanisms
4.6.7
LIOP_SEL
If the LIOP_SEL input is set, the rotation direction is determined via the control
input L_MAN_REVERSE.
If the LIOP_SEL input is not set, the mode is determined by the operator
(OP_dwCmd [Bit 2] and [Bit 3]).
L_MAN_REVERSE
OPdwCmd
The operator commands of the control word OPdwCmd are only active if the
LIOP_SEL input is not set.
LIOP_SEL = 0 AND OPdwCmd [bit 2] = 1 clockwise at positive setpoint
LIOP_SEL = 0 AND OPdwCmd [bit 3] = 1 counter-clockwise at positive
setpoint
Auto_REV
In automatic mode, the rotation direction is controlled via the Auto_REV input.
QMAN_OUT = 1 AND Auto_REV = 0 clockwise at positive setpoint
QMAN_OUT = 1 AND Auto_REV = 1 counter-clockwise at positive setpoint
SIdwInp
SIdwInp is used to evaluate the status word of SINAMICS G120 and set the
QDIRECTION output accordingly. For this, the status signal of SINAMICS G120
is negated in case of a positive setpoint.
SIdwInp [Bit 14] = 0
QDIRECTION
40
QDIRECTION = 0
QDIRECTION = 1
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
Functional Mechanisms
QdwState
The status word for WinCC indicates the switching command at [Bit 4] and the
SINAMICS status for the inversion of the rotational direction at [Bit 2].
QdwState [Bit 6] = 1
QdwState [Bit 2] = 0
QdwState [Bit 2] = 1
Note
QdwState [Bit 6] = 0
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
41
Functional Mechanisms
Figure 4-14
QCuSpeed
QSPCapacity
QrCuCapacity
QSPFrequency
QrCuFrequency
L_SIM
QSPSpeed
L_RESET
QrCuSpeed
L_MAN_ON
QPOWER_ON
L_MAN_REVERSE
QREADY_RUN
L_ENABLE
L_RFG_EN
QOP_ENABLE
QFAULT
L_RFG_FREE
QNOFF2
L_SP_EN
QNOFF3
L_SP_VALID
QSLOCK
OFF2
QWARN
OFF3
QSPREACH
Auto_ON
QFRREACH
Auto_REV
Copyright Siemens AG 2010 All rights reserved
QdwState
QSIdwCmd
SP_Auto
SP_Man
SP_Sim
SIM_nomFreq
SIM_nomSpeed
DPV1_ID
DPV1_READ
INSTANCE
RESTART
QNMOTWARN
QBRAKE
QNMOTOV
QDIRECTION
QNCONOV
QMAN_AUT
QREMOTE
QSIM
QLOCK
QERR_CON
VISIBILITY
QERR
OPdwCmd
QERR_EXT
DPV1_RW_ERROR
DPV1_VOLTAGE
DPV1_POWER
DPV1_FREQUENCY
DPV1_SPEED
DPV1_ERROR1
DPV1_ERROR2
DPV1_ERROR_VALUE1
DPV1_ERROR_VALUE2
DPV1_FNumR
DPV1_FNumW
DPV1_CURRENT_LIM
DPV1_CURRENT_SET
QwAlarm
ENO
42
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
Functional Mechanisms
4.6.8
LIOP_SEL
If the LIOP_SEL input is set, the motor is started via the control input
L_MAN_ON. If the LIOP_SEL input is not set, the motor is started
(OPdwCmd [Bit 1]) and stopped (OPdwCmd [Bit 0]) by the operator or is
controlled via the Auto_ON input in automatic mode.
L_MAN_ON
The L_MAN_ON input starts or stops the motor in simulation as well as
manual mode.
QSIM = 1 AND L_MAN_ON = 1 starting
QSIM = 1 AND L_MAN_ON = 0 stopping
QMAN_OUT = 0 AND L_MAN_ON = 0 stopping
OPdwCmd
[Bit 0] and [bit 1] in the OPdwCmd control word are used for the operation in
WinCC Runtime.
LIOP_SEL = 0 AND OPdwCmd [bit 0] = 1 stopping
LIOP_SEL = 0 AND OPdwCmd [Bit 1] = 1 starting
Auto_ON
The Auto_ON input starts or stops the motor in automatic mode.
QMAN_AUT = 1 AND Auto_ON = 1 starting
QMAN_AUT = 1 AND Auto_ON = 0 stopping
setpoint in percent
QSPFrequency
QSPSpeed
QrCuCapacity
QrCuFrequency
QrCuSpeed
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
43
Functional Mechanisms
Figure 4-15
QCuSpeed
QSPCapacity
QrCuCapacity
L_AUT
QSPFrequency
L_REMOTE
QrCuFrequency
L_SIM
QSPSpeed
L_RESET
QrCuSpeed
L_MAN_ON
L_MAN_REVERSE
L_ENABLE
QPOWER_ON
QREADY_RUN
QOP_ENABLE
L_RFG_EN
QFAULT
L_RFG_FREE
QNOFF2
L_SP_EN
QNOFF3
L_SP_VALID
QSLOCK
OFF2
QWARN
OFF3
QSPREACH
Auto_ON
Auto_REV
SP_Auto
QdwState
QSIdwCmd
QFRREACH
QNMOTWARN
QBRAKE
SP_Man
QNMOTOV
SP_Sim
QDIRECTION
SIM_nomFreq
SIM_nomSpeed
DPV1_ID
DPV1_READ
INSTANCE
RESTART
QNCONOV
QMAN_AUT
QREMOTE
QSIM
QLOCK
QERR_CON
VISIBILITY
QERR
OPdwCmd
QERR_EXT
DPV1_RW_ERROR
DPV1_VOLTAGE
DPV1_POWER
DPV1_FREQUENCY
DPV1_SPEED
DPV1_ERROR1
DPV1_ERROR2
DPV1_ERROR_VALUE1
DPV1_ERROR_VALUE2
DPV1_FNumR
DPV1_FNumW
DPV1_CURRENT_LIM
DPV1_CURRENT_SET
QwAlarm
ENO
44
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
Functional Mechanisms
4.6.9
Simulation On/Off
The frequency converter can be simulated by means of the Simulation ON mode.
This function is important, for example, if automatic functions are already to be
tested during the configuration phase, but a process interface does not yet exist.
Without feedback simulation, many automation functions (e.g. step sequences)
cannot be successfully performed, since the feedback signals are often required for
switching conditions in case of step sequences or for triggering error messages.
The SIdwInp input and the QSIdwCmd output is not evaluated in this mode.
LIOP_SEL
If the LIOP_SEL input is set, the simulation is switched on/off via the control
input L_SIM.
If the LIOP_SEL input is not set, the simulation is turned on or off by the
operator (OPdwCmd bit 20 and 21).
L_SIM
LIOP_SEL = 1 AND L_SIM = 0 simulation OFF
SIM_nomFreq
At input SIM_nomFreq the simulated setpoint frequency can be configured. It
is used for the calculation of the simulated value of the output.
SIM_nomSpeed
At input SIM_nomSpeed the simulated setpoint frequency can be configured.
It is used for the calculation of the simulated value of the output.
OPdwCmd
The operator commands of the control word OPdwCmd are only active if the
LIOP_SEL input is not set.
LIOP_SEL = 0 AND OP_dwCmd [bit 20] = 1 simulation ON
LIOP_SEL = 0 AND OP_dwCmd [bit 21] = 1 simulation OFF
QSIM
The operating mode is indicated at the QSIM block output.
QSIM = 0 Simulation OFF
QSIM = 1 simulation ON
QdwState
The current Simulation mode is indicated in the status word by means of
Bit 10.
QdwState [bit 18] = 0 simulation OFF
QdwState [bit 18] = 1 simulation ON
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
45
Functional Mechanisms
Figure 4-16
QSPCapacity
QrCuCapacity
QSPFrequency
QrCuFrequency
QSPSpeed
QrCuSpeed
QPOWER_ON
L_MAN_REVERSE
QREADY_RUN
L_ENABLE
QOP_ENABLE
L_RFG_EN
QFAULT
L_RFG_FREE
QNOFF2
L_SP_EN
QNOFF3
L_SP_VALID
QSLOCK
OFF2
QWARN
OFF3
QSPREACH
Auto_ON
Auto_REV
Copyright Siemens AG 2010 All rights reserved
QdwState
QSIdwCmd
QCuSpeed
QFRREACH
QNMOTWARN
SP_Auto
QBRAKE
SP_Man
QNMOTOV
SP_Sim
QDIRECTION
SIM_nomFreq
SIM_nomSpeed
DPV1_ID
DPV1_READ
INSTANCE
RESTART
QNCONOV
QMAN_AUT
QREMOTE
QSIM
QLOCK
QERR_CON
VISIBILITY
QERR
OPdwCmd
QERR_EXT
DPV1_RW_ERROR
DPV1_VOLTAGE
DPV1_POWER
DPV1_FREQUENCY
DPV1_SPEED
DPV1_ERROR1
DPV1_ERROR2
DPV1_ERROR_VALUE1
DPV1_ERROR_VALUE2
DPV1_FNumR
DPV1_FNumW
DPV1_CURRENT_LIM
DPV1_CURRENT_SET
QwAlarm
ENO
46
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
Functional Mechanisms
4.6.10
LOCK
The input signal LOCK includes the interlock condition. If the interlock is
pending, the actual block function cannot be performed.
LOCK = 0 interlock not pending
LOCK = 1 interlock pending
L_RESET
On a positive edge at the L_RESET input, the QLOCK output is reset.
OPdwCmd
If the RESET button in the faceplate of the block type is applied, Bit 24 of the
control word OPdwCmd is set. The controller evaluates this bit and resets the
QLOCK output.
QLOCK
The QLOCK output signal is set if the LOCK input is active.
QLOCK = 1 Error interlock active
QLOCK = 0 Error interlock not active
QdwState
The states Interlock condition active (LOCK=1) and Interlock error
(QLOCK=1) are indicated in the status word by Bits 26 and 27.
QdwState [bit 27] = 1 LOCK = 1 (interlock condition active)
QdwState [bit 26] = 1 QLOCK = 1 (error interlock active)
Note
With the LOCK signal the OFF2 command is sent (OFF2 pulse inhibit, drive
spins out). If the lock is no longer pending, the drive cannot be switched on until
a stop signal is pending.
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
47
Functional Mechanisms
Figure 4-17
QCuSpeed
QSPCapacity
QrCuCapacity
L_AUT
QSPFrequency
L_REMOTE
QrCuFrequency
L_SIM
L_RESET
QSPSpeed
QrCuSpeed
L_MAN_ON
L_MAN_REVERSE
QPOWER_ON
QREADY_RUN
L_ENABLE
QOP_ENABLE
L_RFG_EN
QFAULT
L_RFG_FREE
QNOFF2
L_SP_EN
QNOFF3
L_SP_VALID
QSLOCK
OFF2
QWARN
OFF3
QSPREACH
Auto_ON
Auto_REV
Copyright Siemens AG 2010 All rights reserved
QdwState
QSIdwCmd
QFRREACH
QNMOTWARN
SP_Auto
QBRAKE
SP_Man
QNMOTOV
SP_Sim
QDIRECTION
SIM_nomFreq
SIM_nomSpeed
DPV1_ID
DPV1_READ
QNCONOV
QMAN_AUT
QREMOTE
QSIM
INSTANCE
QLOCK
RESTART
VISIBILITY
QERR_CON
QERR
OPdwCmd
QERR_EXT
DPV1_RW_ERROR
DPV1_VOLTAGE
DPV1_POWER
DPV1_FREQUENCY
DPV1_SPEED
DPV1_ERROR1
DPV1_ERROR2
DPV1_ERROR_VALUE1
DPV1_ERROR_VALUE2
DPV1_FNumR
DPV1_FNumW
DPV1_CURRENT_LIM
DPV1_CURRENT_SET
QwAlarm
ENO
48
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
Functional Mechanisms
4.6.11
External error
With the error signal the OFF3 command is sent to the SINAMICS G120 (OFF3
fast stop, stopping with shortest deceleration time). If the error is no longer
pending, the drive cannot be switched on until a stop signal is active.
ERR_EXTERN
The input signal LOCK includes the interlock condition. If the interlock is pending,
the actual block function cannot be performed.
ERR_EXTERN = 0 no error
ERR_EXTERN = 1 error pending
QERR
QdwState
The error is transferred to WinCC with [Bit 15] of the status word.
QdwState [bit 24] = 0 no error pending
QdwState [bit 24] = 1 error pending
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
49
Functional Mechanisms
Figure 4-18
QSPCapacity
LIOP_SEL
L_AUT
QrCuCapacity
QSPFrequency
L_REMOTE
QrCuFrequency
L_SIM
QSPSpeed
L_RESET
QrCuSpeed
L_MAN_ON
QPOWER_ON
L_MAN_REVERSE
QREADY_RUN
L_ENABLE
QOP_ENABLE
L_RFG_EN
QFAULT
L_RFG_FREE
QNOFF2
L_SP_EN
QNOFF3
L_SP_VALID
QSLOCK
OFF2
QWARN
OFF3
QSPREACH
Auto_ON
Auto_REV
Copyright Siemens AG 2010 All rights reserved
QdwState
QSIdwCmd
QCuSpeed
QFRREACH
QNMOTWARN
SP_Auto
QBRAKE
SP_Man
QNMOTOV
SP_Sim
QDIRECTION
SIM_nomFreq
SIM_nomSpeed
DPV1_ID
DPV1_READ
INSTANCE
RESTART
QNCONOV
QMAN_AUT
QREMOTE
QSIM
QLOCK
QERR_CON
VISIBILITY
QERR
OPdwCmd
QERR_EXT
DPV1_RW_ERROR
DPV1_VOLTAGE
DPV1_POWER
DPV1_FREQUENCY
DPV1_SPEED
DPV1_ERROR1
DPV1_ERROR2
DPV1_ERROR_VALUE1
DPV1_ERROR_VALUE2
DPV1_FNumR
DPV1_FNumW
DPV1_CURRENT_LIM
DPV1_CURRENT_SET
QwAlarm
ENO
50
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
51
Figure 5-19
When opening a picture or a faceplate all 32 layers are always displayed. In the
symbol bar "layer" you can hide all layers except the active layer. You then
specifically edit the objects of the active layer.
52
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
5.1
5.1.1
Layer 0 frames
Layer 0 contains all important objects required for displaying the faceplate
window. These objects represent the faceplate window frame.
Figure 5-20
Open
Close
Minimize
Maximize
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
53
State
Visibility
Range
Visible
from 1 to 127
The following table shows the status of the Visibility tag when opening the
faceplate window.
Table 5-34
Bit
Value
Note
When clicking the faceplate icon, the Visibility tag is always loaded with value
1. This results in the respective faceplate window being displayed with tab 1.
The following table shows the status of the Visibility tag when maximizing the
faceplate window. Depending which tab was selected before minimizing, one of
the bits will be 0 .. 4 when maximizing Bit 7 must not be set.
Table 5-35
54
Bit
Value
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
Minimize
Display type minimize only shows the title bar of the faceplate window and
reveals the picture objects at the back.
Figure 5-21
All objects of the title bar have the following settings for the visibility:
Table 5-36
Tag
State
Visibility
Range
hidden
from 0 to 0
The following table shows the status of the Visibility tag when minimizing the
faceplate window. If Bit 7 has been set, only the title bar of the faceplate window
is displayed irrespective of the remaining status.
Table 5-37
Bit
Value
Close
The display type close hides all objects of the picture window.
The following table shows the status of the Visibility tag when closing the
faceplate window.
Table 5-38
Bit
Value
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
55
5.1.2
Layer 1 tab 1
The following figure shows layer 0 and layer 1.
Figure 5-22
All layer 1 objects have the following settings for the visibility:
Table 5-39
Tag
State
Visibility
Range
Visible
from 1 to 1
The following table shows the status of the Visibility tag when displaying layer 1
(tab 1) of the faceplate window.
Table 5-40
56
Bit
Value
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
5.1.3
Layer 2 tab 2
All layer 2 objects have the following settings for the visibility:
Table 5-41
Tag
State
Visibility
Range
Visible
from 2 to 2
The following table shows the status of the Visibility tag when displaying layer 2
(tab 2) of the faceplate window.
Table 5-42
Bit
Value
5.1.4
Layer 3 tab 3
All layer 3 objects have the following settings for the visibility:
Table 5-43
Tag
State
Visibility
Range
Visible
Von 4 bis 4
The following table shows the status of the Visibility tag when displaying layer 3
(tab 3) of the faceplate window.
Table 5-44
Bit
Value
5.1.5
Layer 4 tab 4
All layer 4 objects have the following settings for the visibility:
Table 5-45
Tag
State
Visibility
Range
Visible
from 8 to 8
The following table shows the status of the Visibility tag when displaying layer 4
(tab 4) of the faceplate window.
Table 5-46
Bit
Value
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
57
5.1.6
Layer 5 tab 5
All layer 5 objects have the following settings for the visibility:
Table 5-47
Tag
State
Visibility
Range
Visible
from 16 to 16
The following table shows the status of the Visibility tag when displaying layer 5
(tab 5) of the faceplate window.
Table 5-48
7
Value
Bit
58
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
The process connection was configured for Industrial Ethernet. Adjust the
settings for CPU, HMI station and PG/PC-interface on demand.
ATTENTION
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
59
6.1
Step
60
Description
1.
2.
Insert blocks
The block uses the standard blocks RDREC (SFB52) and WRREC
(SFB53), which also need to be added to the project.
If you are using a new project, also insert the OB1 calling block and the
DB680 instance data block into your project.
3.
If the project is empty, copy the icon table of the application to the
relevant directory of the S7 program.
Should you use an existing project, the complete the existing icon table
with the entries of the application.
4.
When using an existing project you must integrate the FB680 block into
the cycle of the PLC. The necessary instance data block is then
automatically generated.
5.
Check the block consistency via the context menu of the block container
with the Check block consistency command.
6.
For the input and output address select the range from 256
onward. Enter these addresses also in the OB1 when calling the
SinaG120 (FB680):
SIdwInp: PED256
QSIdwCmd: PAD256
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
6.2
Table 6-50
Step
Instruction
1.
Open object
Open the WinCC flexible project via the context menu of the SIMATIC Manager.
2.
3.
Via the context menu Library > New library select the dialog to create a global
library.
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
61
Step
4.
Instruction
Creating a global library
Note
A global file library can be accessed from several configuration computers. It is thus advisable
to store the library on a network drive with shared access.
5.
62
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
Step
Instruction
6.
7.
Move the faceplate objects included in this category to your project using drag & drop.
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
63
Step
8.
Instruction
Integrating the messages and tags
Drag the SinaG120Alarms messages to the Messages > Bit messages folder and the
tags SinaG120Tags to the Communication > Tags folder via Drag&Drop.
Attention:
The message numbers of this application occupy the number range starting at 10001.
Check your existing before integrating the messages and enable this area if necessary.
Furthermore, check the symbolic connection of the tags and restore it, if necessary.
9.
64
Interconnect the static properties of the faceplate window. Further information is available
in chapter 4.3.
Interconnect the dynamic properties of the faceplate icon. Further information is available
in chapter 4.4 .
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
7.1
Faceplate icon
Figure 7-23
State on/off
State local/remote
Manual/automatic mode
Simulation feedback
Interlock
Displayed errors:
Operation:
Note
General error
calling up the assigned faceplate window
The faceplate icon displays the rotational speed (actual value) of the motor in the
unit %. For clockwise motor motion the sign is positive (+), for counterclockwise motor motion it is negative (-) accordingly.
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
65
QdwState
Icon
Blinking
Off
Bit 0 = 1
No
On
Bit 2 = 1
No
Error
Bit 24 = 1
Yes
Icon
Local
Remote
Copyright Siemens AG 2010 All rights reserved
Manual
Automatic
Simulation ON
Simulation OFF
Interlock OFF
Interlock ON
interlock triggered
66
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
7.2
Faceplate window
The faceplate window has the following properties:
Overview
Figure 7-24
start/stop drive
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
67
QdwState
Icon
Blinking
On
Bit 0 = 1
No
Off
Bit 2 = 1
No
Error
Bit 24 = 1
Yes
State
68
Icon
Off
Icon
On
Blinking
Simulation
No
State
No
Direction of rotation
No
Operating mode
No
Controlling
No
Maximal frequency
reached
No
DC break
No
ON lock
No
Warning
No
Error
No
OFF 2
No
OFF 3
No
Converter overload
No
Mot. overload
No
External error
No
Error interlock
No
General error
No
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
Messages
Figure 7-25
Acknowledgement of alarms.
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
69
Trends
Figure 7-26
70
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
Data
Figure 7-27
Note
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
71
Service
Figure 7-28
ATTENTION
Icon Off
Icon On
Simulation
72
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
Block Connectors
Block Connectors
8.1
Input parameters
Table 8-56
Parameter
Data type
Default setting
Description
EN
BOOL
FALSE
Enable
SIdwInp
DWORD
DW#16#0
LOCK
BOOL
FALSE
1 = Interlock pending
ERR_EXTERN
BOOL
FALSE
1 = External error
LIOP_SEL
BOOL
FALSE
0= Operator, 1= Interconnection
L_AUT
BOOL
FALSE
0= Manual, 1= Automatic
L_REMOTE
BOOL
FALSE
0= Local, 1= Remote
L_SIM
BOOL
FALSE
0 = Process, 1 = Simulation
L_RESET
BOOL
FALSE
BOOL
FALSE
0= OFF 1 = ON
(SINAMICS G120 Cmd-Bit [0])
BOOL
FALSE
1 = Setpoint inversion
(SINAMICS G120 Cmd-Bit [11])
BOOL
TRUE
1 = Enable operation
(SINAMICS G120 Cmd Bit [3])
BOOL
TRUE
1 = RFG condition
(SINAMICS G120 Cmd Bit [4])
BOOL
TRUE
1 = RFG enable
(SINAMICS G120 Cmd Bit [5])
BOOL
TRUE
1 = Setpoint enable
(SINAMICS G120 Cmd Bit [6])
BOOL
TRUE
1 = Setpoints valid
(SINAMICS G120 Cmd-Bit [10])
BOOL
TRUE
BOOL
TRUE
Auto_ON
BOOL
FALSE
1= ON
Auto_REV
BOOL
FALSE
SP_Auto
INT
SP_Man
REAL
0.0
L_MAN_ON
L_MAN_REVERSE
L_ENABLE
L_RFG_EN
L_RFG_FREE
L_SP_EN
L_SP_VALID
OFF2
OFF3
SP_Sim
REAL
0.0
REAL
0.0
SIM_nomFreq
SIM_nomSpeed
REAL
0.0
DPV1_ID
DWORD
DW#16#0
DPV1_READ
BOOL
FALSE
INSTANCE
STRING[16]
SinaG120_001
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
73
Block Connectors
Parameter
Data type
Default setting
Description
BOOL
FALSE
Initializing at restart
VISIBILITY
BYTE
B#16#0
Representation of
faceplate window
OPdwCmd
DWORD
DW#16#0
RESTART
74
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
Block Connectors
8.2
Output parameters
Table 8-57
Parameter
Data type
Default setting
Description
QdwState
DWORD
DW#16#0
QSIdwCmd
DWORD
DW#16#0
QCuSpeed
WORD
W#16#0
QSPCapacity
REAL
0.0
Setpoint in percent
QrCuCapacity
REAL
0.0
QSPFrequency
REAL
0.0
Setpoint frequency
QrCuFrequency
REAL
0.0
QSPSpeed
REAL
0.0
QrCuSpeed
REAL
0.0
QPOWER_ON
BOOL
FALSE
QREADY_RUN
BOOL
FALSE
1 = Ready to run
(SINAMICS G120 State Bit [1])
QOP_ENABLE
BOOL
FALSE
QFAULT
BOOL
FALSE
1= Fault
(SINAMICS G120 State Bit[3])
QNOFF2
BOOL
FALSE
QNOFF3
BOOL
FALSE
QSLOCK
BOOL
FALSE
6 = Switch-on locking
(SINAMICS G120 State Bit [1])
QWARN
BOOL
FALSE
1= Warning
(SINAMICS G120 State Bit[7])
QSPREACH
BOOL
FALSE
QFRREACH
BOOL
FALSE
QNMOTWARN
BOOL
FALSE
QBRAKE
BOOL
FALSE
0 = Motor break
(SINAMICS G120 State Bit [12])
QNMOTOV
BOOL
FALSE
0 = Motor overload
(SINAMICS G120 State Bit [13])
QDIRECTION
BOOL
FALSE
0= cclock1=clockwise
(SINAMICS G120 State Bit[14])
QNCONOV
BOOL
FALSE
0 = Converter overload
(SINAMICS G120 State Bit [15])
QMAN_AUT
BOOL
FALSE
0= Manual, 1= Automatic
QREMOTE
BOOL
FALSE
0= Local, 1= Remote
QSIM
BOOL
FALSE
0 = Process, 1 = Simulation
QLOCK
BOOL
FALSE
1= Interlock error
QERR_CON
BOOL
FALSE
1= Connection error to MM
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
75
Block Connectors
Parameter
76
Data type
Default setting
Description
QERR
BOOL
FALSE
1 = Error
QERR_EXT
BOOL
FALSE
1 = External error
DPV1_RW_ERROR
BOOL
FALSE
1= Write/read error
DPV1_VOLTAGE
INT
DPV1_POWER
REAL
0.0
DPV1_FREQUENCY
REAL
0.0
DPV1_SPEED
INT
DPV1_ERROR1
INT
DPV1_ERROR2
INT
DPV1_ERROR
_VALUE1
INT
DPV1_ERROR
_VALUE2
INT
DPV1_FNumR
DWORD
DW#16#0
Read status
DPV1_FNumW
DWORD
DW#16#0
Write status
DPV1_CURRENT_LIM
REAL
0.0
Current limit
DPV1_CURRENT_SET
REAL
0.0
QwAlarm
WORD
W#16#0
Alarm tag
ENO
BOOL
FALSE
Enable
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
Further Information
Further Information
Further blocks for this application
MOTOR
Description
Visualization and operation of a motor with fixed speed and rotational
direction
VALVE
DIGITAL
ANALOG
PIDCTRL
MM4
SIMODIR
SIMOREV
SINAG120
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
77
Further Information
78
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
Bibliography
10
Bibliography
Title
http://support.automation.siemens.com/WW/view/en/36435784
\2\
Siemens I IA/DT
Customer Support
http://support.automation.siemens.com
\3\
http://support.automation.siemens.com/WW/view/en/18656980
\4\
Creating faceplates
http://support.automation.siemens.com/WW/view/en/23425423
\5\
Reference to software
and documentation on
frequency converter
SINAMICS G120
Software
http://support.automation.siemens.com/WW/view/en/26233208
\1\
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
79
Bibliography
80
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
History
11
History
Table 11-60 History
Version
11.06.2010
Changes
First issue
V1.0
Date
WCF_BLOCKS_SinaG120 (FB680)
V 1.00, Entry ID: 36435784
81