Application Description 09/2015 Sample Blocks for WinCC V7...

36
https://support.industry.siemens.com/cs/ww/de/view/31624179 Application Description 09/2015 Sample Blocks for WinCC V7 and STEP 7 (TIA Portal) (for S7-1200 and S7-1500 in SCL)

Transcript of Application Description 09/2015 Sample Blocks for WinCC V7...

Page 1: Application Description 09/2015 Sample Blocks for WinCC V7 ...plc4good.org.ua/.../tia_scl/31624179_Faceplate_WinCC_Analog_en.pdf · Application Description 09/2015 Sample Blocks for

https://support.industry.siemens.com/cs/ww/de/view/31624179

Application Description � 09/2015

Sample Blocks for WinCC V7and STEP 7 (TIA Portal)(for S7-1200 and S7-1500 in SCL)

Page 2: Application Description 09/2015 Sample Blocks for WinCC V7 ...plc4good.org.ua/.../tia_scl/31624179_Faceplate_WinCC_Analog_en.pdf · Application Description 09/2015 Sample Blocks for

Warranty and Liability

Analogue block WinCC V7, S7 (TIA Portal), S7-1500Entry ID: 31624179, V1.1, 09/2015 2

ãS

iem

ens

AG

Cop

yrig

ht-2

015

All

right

sre

serv

ed

Warranty and LiabilityNote The Application Examples are not binding and do not claim to be complete with

regard to configuration, equipment or any contingencies. The ApplicationExamples do not represent customer-specific solutions. They are only intendedto provide support for typical applications. You are responsible for the correctoperation of the described products. These Application Examples do not relieveyou of the responsibility of safely and professionally using, installing, operatingand servicing equipment. When using these Application Examples, yourecognize that we cannot be made liable for any damage/claims beyond theliability clause described. We reserve the right to make changes to theseapplication examples at any time and without prior notice. If there are anydeviations between the recommendations provided in this Application Exampleand other Siemens publications – e.g. catalogs – the contents of the otherdocuments 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 ofthe examples, information, programs, engineering and performance data etc.,described in this application example will be excluded. Such an exclusion will notapply 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, bodyor health, guarantee for the quality of a product, fraudulent concealment of adeficiency or breach of a condition which goes to the root of the contract(“wesentliche Vertragspflichten”). The compensation for damages due to a breachof a fundamental contractual obligation is, however, limited to the foreseeabledamage, typical for the type of contract, except in the event of intent or grossnegligence or injury to life, body or health. The above provisions do not imply achange of the burden of proof to your detriment.Any form of duplication or distribution of these Application Examples or excerptshereof is prohibited without the expressed consent of Siemens Industry Sector.

Securityinforma-

tion

Siemens provides products and solutions with industrial security functions thatsupport the secure operation of plants, solutions, machines, equipment and/ornetworks. They are important components in a holistic industrial securityconcept. With this in mind, Siemens’ products and solutions undergo continuousdevelopment. Siemens recommends strongly that you regularly check forproduct updates.

For the secure operation of Siemens products and solutions, it is necessary totake suitable preventive action (e.g. cell protection concept) and integrate eachcomponent into a holistic, state-of-the-art industrial security concept. Third-partyproducts that may be in use should also be considered. For more informationabout industrial security, visit http://www.siemens.com/industrialsecurity.

To stay informed about product updates as they occur, sign up for a product-specific newsletter. For more information, visithttp://support.automation.siemens.com.

Page 3: Application Description 09/2015 Sample Blocks for WinCC V7 ...plc4good.org.ua/.../tia_scl/31624179_Faceplate_WinCC_Analog_en.pdf · Application Description 09/2015 Sample Blocks for

Table of Contents

Analogue block WinCC V7, S7 (TIA Portal), S7-1500Entry ID: 31624179, V1.1, 09/2015 3

ãS

iem

ens

AG

Cop

yrig

ht-2

015

All

right

sre

serv

ed

Table of ContentsWarranty and Liability .............................................................................................. 21 Task................................................................................................................. 42 Structure of the Automation Solution............................................................ 5

2.1 Overview ........................................................................................... 52.2 Required components ........................................................................ 6

3 Functional Mechanism of this Faceplate ....................................................... 7

3.1 Interfaces of the faceplate .................................................................. 73.2 Alarms and messages ....................................................................... 83.3 Control and status signals .................................................................. 93.3.1 Processing of switching commands in the controller ........................... 93.3.2 Analyzing process states and displaying them in the WinCC

process picture ................................................................................ 103.3.3 Switching over inputs ....................................................................... 113.3.4 Defining the range of values ............................................................ 123.3.5 Limit monitoring ............................................................................... 133.3.6 Enabling/disabling the simulation ..................................................... 153.3.7 Resetting error ................................................................................. 173.4 Block icon and faceplate .................................................................. 193.4.1 Block icon ........................................................................................ 203.4.2 Faceplate – Default view .................................................................. 213.4.3 Faceplate – Alarms and messages view .......................................... 223.4.4 Faceplate – Trend view.................................................................... 233.4.5 Faceplate – Limit value view ............................................................ 24

4 Commissioning ............................................................................................ 25

4.1 Configuring the STEP 7 block .......................................................... 254.2 Configuring the WinCC faceplate ..................................................... 26

5 Block Connectors ......................................................................................... 33

5.1 Input parameters ............................................................................. 335.2 Output parameters ........................................................................... 34

6 Links & Literature ......................................................................................... 35

6.1 Bibliographic references .................................................................. 356.2 Internet link specifications ................................................................ 356.3 Other faceplates .............................................................................. 36

7 History .......................................................................................................... 36

Page 4: Application Description 09/2015 Sample Blocks for WinCC V7 ...plc4good.org.ua/.../tia_scl/31624179_Faceplate_WinCC_Analog_en.pdf · Application Description 09/2015 Sample Blocks for

1 Task

Analogue block WinCC V7, S7 (TIA Portal), S7-1500Entry ID: 31624179, V1.1, 09/2015 4

ãS

iem

ens

AG

Cop

yrig

ht-2

015

All

right

sre

serv

ed

1 TaskTechnological task description/overview

This application describes the configuration of technology block DEMO_ANALOG(FB640) and the corresponding block icon (faceplate type) with faceplate. It servesfor displaying an analog signal. It can be used to display signals of analog entrycards.The signal to be monitored can:· be of type “WORD” or “REAL”,· be monitored for limit values,· trigger alarms or messages if any upper or lower limits are violated,· be simulated.

Note Before using the block in your own projects, check the proper functioning of theblock and adjust it to your individual requirements where necessary. The blockdescribed in this application is only intended as a template for creating your ownblocks.

Page 5: Application Description 09/2015 Sample Blocks for WinCC V7 ...plc4good.org.ua/.../tia_scl/31624179_Faceplate_WinCC_Analog_en.pdf · Application Description 09/2015 Sample Blocks for

2 Structure of the Automation Solution2.1 Overview

Analogue block WinCC V7, S7 (TIA Portal), S7-1500Entry ID: 31624179, V1.1, 09/2015 5

ãS

iem

ens

AG

Cop

yrig

ht-2

015

All

right

sre

serv

ed

2 Structure of the Automation Solution2.1 Overview

The following figures show the block, the block icon and the faceplate forcontrolling, operating and monitoring analog signals.

Table 2-1

Page 6: Application Description 09/2015 Sample Blocks for WinCC V7 ...plc4good.org.ua/.../tia_scl/31624179_Faceplate_WinCC_Analog_en.pdf · Application Description 09/2015 Sample Blocks for

2 Structure of the Automation Solution2.2 Required components

Analogue block WinCC V7, S7 (TIA Portal), S7-1500Entry ID: 31624179, V1.1, 09/2015 6

ãS

iem

ens

AG

Cop

yrig

ht-2

015

All

right

sre

serv

ed

2.2 Required components

HardwareTable 2-2

Component No. Note

Development system 1 PC for the configuration of the control functions and ofWinCC. The usual hardware requirements for STEP 7and WinCC apply.

S7-1500 CPU 1 Alternatively, the controller can also be simulated withPLCSIM.

SoftwareTable 2-3

Component NoteSTEP 7 V13 SP1 Professional S7-PLCSIM and S7-SCL are included in the scope of

delivery.· S7-PLCSIM can be used for simulation.· S7-SCL is used for the creation of control blocks.

WinCC V7.3 SE

Page 7: Application Description 09/2015 Sample Blocks for WinCC V7 ...plc4good.org.ua/.../tia_scl/31624179_Faceplate_WinCC_Analog_en.pdf · Application Description 09/2015 Sample Blocks for

3 Functional Mechanism of this Faceplate3.1 Interfaces of the faceplate

Analogue block WinCC V7, S7 (TIA Portal), S7-1500Entry ID: 31624179, V1.1, 09/2015 7

ãS

iem

ens

AG

Cop

yrig

ht-2

015

All

right

sre

serv

ed

3 Functional Mechanism of this Faceplate3.1 Interfaces of the faceplate

Communication with the analog block (DB 640) is realized with the “Analog”structure tag and the following structure type elements.

Table 3-1

Name Data type Tag type Address

Instance Text tag 16-bit character set External DB640,DD50

QdwState Unsigned 32-bit value External DB640,DD308

QwAlarm Unsigned 32-bit value External DB640,DBW354

OPdwCmd Unsigned 32-bit value External DB640,DD358

OP_LIM_ULA Floating-point number 32bit IEEE External DB640,DD364

OP_LIM_ULW Floating-point number 32bit IEEE External DB640,DD368

OP_LIM_LLW Floating-point number 32bit IEEE External DB640,DD372

OP_LIM_LLA Floating-point number 32bit IEEE External DB640,DD276

OP_SIM_VALUE Floating-point number 32bit IEEE External DB640,DD380

OP_LIM_HYS_Perc Floating-point number 32bit IEEE External DB640,DD384

OP_LIM_HYS_Abs Floating-point number 32bit IEEE External DB640,DD388

OP_HI_LIM Floating-point number 32bit IEEE External DB640,DD392

OP_LO_LIM Floating-point number 32bit IEEE External DB640,DD396

UNIT Text tag 16-bit character set Internal -

Page 8: Application Description 09/2015 Sample Blocks for WinCC V7 ...plc4good.org.ua/.../tia_scl/31624179_Faceplate_WinCC_Analog_en.pdf · Application Description 09/2015 Sample Blocks for

3 Functional Mechanism of this Faceplate3.2 Alarms and messages

Analogue block WinCC V7, S7 (TIA Portal), S7-1500Entry ID: 31624179, V1.1, 09/2015 8

ãS

iem

ens

AG

Cop

yrig

ht-2

015

All

right

sre

serv

ed

3.2 Alarms and messages

This application uses the bit message procedure to display messages in WinCC.The messages must be configured as bit messages in the message editor ofWinCC.In the example configuration, all bit messages were created for the used faceplateinstances, as well as their trigger tags.

Message tag

The following table shows the setup of the tags.For the first instance of the “Analog_001” faceplate window, “Analog_001” wasassigned in the location of the failure (Message text 2).Table 3-2

Bit Signal Message text

0 QALARM_LL Alarm lower limit undercut1 QALARM_UL Alarm upper limit exceeded234 QLOCK Interlock, value locked56 QERR_EXT External error7 QERR Group error8 QWARN_LL Warning lower limit undercut9 QWARN_UL Warning upper limit undercut101112 LOCK Interlock pending131415 QSIM Simulation ACTIVE

Page 9: Application Description 09/2015 Sample Blocks for WinCC V7 ...plc4good.org.ua/.../tia_scl/31624179_Faceplate_WinCC_Analog_en.pdf · Application Description 09/2015 Sample Blocks for

3 Functional Mechanism of this Faceplate3.3 Control and status signals

Analogue block WinCC V7, S7 (TIA Portal), S7-1500Entry ID: 31624179, V1.1, 09/2015 9

ãS

iem

ens

AG

Cop

yrig

ht-2

015

All

right

sre

serv

ed

3.3 Control and status signals

3.3.1 Processing of switching commands in the controller

The WinCC “OPdwCmd” control tag of a block is used to transmit commands fromWinCC to the PLC. The PLC block analyses the control command, executes thedesired action and then initiates a reset of all pending control commands. For thispurpose, the value of the control parameter is set to “0”.

Figure 3-1

“Analog” (FB 640)EN ENOLOCK QdwStateERR_EXTERN QOUTLIOP_SEL QHI_LIML_SIM QLO_LIML_RESET QLIM_ULA_EnableIN_MODE QLIM_ULABIPOLAR QLIM_ULW_EnableIN_INT QLIM_ULWIN QLIM_LLW_EnableIN_SIM QLIM_LLWHI_LIM QLIM_LLA_EnableLO_LIM QLIM_LLALIM_ULA_Enable QLIM_HYSLIM_ULA QALARM_ULLIM_ULW_Enable QWARN_ULLIM_ULW QWARN_LLLIM_LLW_Enable QALARM_LLLIM_LLW QSIMLIM_LLA_Enable QLOCKLIM_LLA QERRLIM_HYS_Set QERR_EXTLIM_HYS QERR_OVERRUNINSTANCE QERR_HIGHRANGRESTART QERR_LOWRANGVISIBILITY QERR_WIRE

OPdwCmd QwAlarm

The bits of the “OPdwCmd” tag are assigned as follows:Figure 3-2

Page 10: Application Description 09/2015 Sample Blocks for WinCC V7 ...plc4good.org.ua/.../tia_scl/31624179_Faceplate_WinCC_Analog_en.pdf · Application Description 09/2015 Sample Blocks for

3 Functional Mechanism of this Faceplate3.3 Control and status signals

Analogue block WinCC V7, S7 (TIA Portal), S7-1500Entry ID: 31624179, V1.1, 09/2015 10

ãS

iem

ens

AG

Cop

yrig

ht-2

015

All

right

sre

serv

ed

3.3.2 Analyzing process states and displaying them in the WinCC processpicture

The technology block of this application uses the “QdwState” (DWORD) output toshow the different states in the WinCC process display.

Figure 3-3

“Analog” (FB 640)EN ENO

LOCK QdwStateERR_EXTERN QOUTLIOP_SEL QHI_LIML_SIM QLO_LIML_RESET QLIM_ULA_EnableIN_MODE QLIM_ULABIPOLAR QLIM_ULW_EnableIN_INT QLIM_ULWIN QLIM_LLW_EnableIN_SIM QLIM_LLWHI_LIM QLIM_LLA_EnableLO_LIM QLIM_LLALIM_ULA_Enable QLIM_HYSLIM_ULA QALARM_ULLIM_ULW_Enable QWARN_ULLIM_ULW QWARN_LLLIM_LLW_Enable QALARM_LLLIM_LLW QSIMLIM_LLA_Enable QLOCKLIM_LLA QERRLIM_HYS_Set QERR_EXTLIM_HYS QERR_OVERRUNINSTANCE QERR_HIGHRANGRESTART QERR_LOWRANGVISIBILITY QERR_WIRE

OPdwCmd QwAlarm

The bits of the “QdwState” tag are assigned as follows:Figure 3-4

Page 11: Application Description 09/2015 Sample Blocks for WinCC V7 ...plc4good.org.ua/.../tia_scl/31624179_Faceplate_WinCC_Analog_en.pdf · Application Description 09/2015 Sample Blocks for

3 Functional Mechanism of this Faceplate3.3 Control and status signals

Analogue block WinCC V7, S7 (TIA Portal), S7-1500Entry ID: 31624179, V1.1, 09/2015 11

ãS

iem

ens

AG

Cop

yrig

ht-2

015

All

right

sre

serv

ed

3.3.3 Switching over inputs

To switch over the inputs, the following signals are used:

Table 3-3

“Analog” (FB 640)EN QdwStateLOCK QOUTERR_EXTERN QHI_LIMLIOP_SEL QLO_LIML_SIM QLIM_ULA_EnableL_RESET QLIM_ULA

IN_MODE QLIM_ULW_EnableBIPOLAR QLIM_ULWIN_INT QLIM_LLW_EnableIN QLIM_LLWIN_SIM QLIM_LLA_EnableHI_LIM QLIM_LLALO_LIM QLIM_HYSLIM_ULA_Enable QALARM_ULLIM_ULA QWARN_ULLIM_ULW_Enable QWARN_LLLIM_ULW QALARM_LLLIM_LLW_Enable QSIMLIM_LLW QLOCKLIM_LLA_Enable QERRLIM_LLA QERR_EXTLIM_HYS_Set QERR_OVERRUNLIM_HYS QERR_HIGHRANGINSTANCE QERR_LOWRANGRESTART QERR_WIREVISIBILITY QwAlarmOPdwCmd ENO

· “IN_MODE”The “IN_MODE” input defines whether the “IN_INT” input or the “IN” input isactive.“IN_MODE” = 0è input “IN_INT” active“IN_MODE” = 1è “IN_INT” input active

· “BIPOLAR”The “BIPOLAR” input defines whether the scaling of the “IN_INT” input signalis unipolar or bipolar.“BIPOLAR” = 0è nominal range from 0 to +27648“BIPOLAR” = 1è nominal range from -27648 to +27648

Page 12: Application Description 09/2015 Sample Blocks for WinCC V7 ...plc4good.org.ua/.../tia_scl/31624179_Faceplate_WinCC_Analog_en.pdf · Application Description 09/2015 Sample Blocks for

3 Functional Mechanism of this Faceplate3.3 Control and status signals

Analogue block WinCC V7, S7 (TIA Portal), S7-1500Entry ID: 31624179, V1.1, 09/2015 12

ãS

iem

ens

AG

Cop

yrig

ht-2

015

All

right

sre

serv

ed

· “IN_INT”The input is processed for the analog value display of an analog input modulein the 4-20 mA measuring range. The nominal range is defined from 0 to+27648 (unipolar) or from -27648 to +27648 (bipolar).For information on the analog value display of analog modules, please refer tothe following document:http://support.automation.siemens.com/WW/view/en/8859629

· “IN”The value of the “IN” input is processed directly and passed on to “QOUT”within the specified limits.

3.3.4 Defining the range of values

The range of values is defined by the “HI_LIM” and “LO_LIM” inputs. Whenmonitoring the process value of an analog input module, the nominal range isscaled to this range depending on the “BIPOLAR” parameter.

Table 3-4

“Analog” (FB 640)EN QdwStateLOCK QOUT

ERR_EXTERN QHI_LIMLIOP_SEL QLO_LIML_SIM QLIM_ULA_EnableL_RESET QLIM_ULAIN_MODE QLIM_ULW_EnableBIPOLAR QLIM_ULWIN_INT QLIM_LLW_EnableIN QLIM_LLWIN_SIM QLIM_LLA_Enable

HI_LIM QLIM_LLALO_LIM QLIM_HYSLIM_ULA_Enable QALARM_ULLIM_ULA QWARN_ULLIM_ULW_Enable QWARN_LLLIM_ULW QALARM_LLLIM_LLW_Enable QSIMLIM_LLW QLOCKLIM_LLA_Enable QERRLIM_LLA QERR_EXTLIM_HYS_Set QERR_OVERRUNLIM_HYS QERR_HIGHRANGINSTANCE QERR_LOWRANGRESTART QERR_WIREVISIBILITY QwAlarmOPdwCmd ENO

“HI_LIM” è upper range of values“LO_LIM” è lower range of values

Page 13: Application Description 09/2015 Sample Blocks for WinCC V7 ...plc4good.org.ua/.../tia_scl/31624179_Faceplate_WinCC_Analog_en.pdf · Application Description 09/2015 Sample Blocks for

3 Functional Mechanism of this Faceplate3.3 Control and status signals

Analogue block WinCC V7, S7 (TIA Portal), S7-1500Entry ID: 31624179, V1.1, 09/2015 13

ãS

iem

ens

AG

Cop

yrig

ht-2

015

All

right

sre

serv

ed

3.3.5 Limit monitoring

The limit monitoring is used to trigger a warning or an alarm if the signal to bemonitored exceeds or falls below one or several limits.

Table 3-5

“Analog” (FB 640)EN QdwStateLOCK QOUTERR_EXTERN QHI_LIMLIOP_SEL QLO_LIM

L_SIM QLIM_ULA_EnableL_RESET QLIM_ULAIN_MODE QLIM_ULW_EnableBIPOLAR QLIM_ULWIN_INT QLIM_LLW_EnableIN QLIM_LLWIN_SIM QLIM_LLA_EnableHI_LIM QLIM_LLALO_LIM QLIM_HYSLIM_ULA_Enable QALARM_ULLIM_ULA QWARN_ULLIM_ULW_Enable QWARN_LLLIM_ULW QALARM_LLLIM_LLW_Enable QSIMLIM_LLW QLOCKLIM_LLA_Enable QERRLIM_LLA QERR_EXTLIM_HYS_Set QERR_OVERRUNLIM_HYS QERR_HIGHRANGINSTANCE QERR_LOWRANGRESTART QERR_WIREVISIBILITY QwAlarmOPdwCmd ENO

· “LIM_ULA_Enable”Enables the monitoring of the “LIM_ULA” limit for exceeding the limit to triggeran alarm. The enable of the limit monitoring is indicated at the“QLIM_ULA_Enable” output, the triggering of the alarm is displayed at the“QALARM_UL” output. The “LIM_ULA” limit is mirrored to the “QLIM_ULA”output irrespective of “LIM_ULA_Enable”.“LIM_ULA_Enable” = 0è limit monitoring inactive“LIM_ULA_Enable” = 1è limit monitoring active

Page 14: Application Description 09/2015 Sample Blocks for WinCC V7 ...plc4good.org.ua/.../tia_scl/31624179_Faceplate_WinCC_Analog_en.pdf · Application Description 09/2015 Sample Blocks for

3 Functional Mechanism of this Faceplate3.3 Control and status signals

Analogue block WinCC V7, S7 (TIA Portal), S7-1500Entry ID: 31624179, V1.1, 09/2015 14

ãS

iem

ens

AG

Cop

yrig

ht-2

015

All

right

sre

serv

ed

· “LIM_ULW_Enable”Enables the monitoring of the “LIM_ULW” limit for exceeding the limit to triggera warning. The enable of the limit monitoring is indicated at the“QLIM_ULW_Enable” output, the triggering of the warning is displayed at the“QWARN_UL” output. The “LIM_ULW” limit is mirrored to the “QLIM_ULW”output irrespective of “LIM_ULW_Enable”.“LIM_ULW_Enable” = 0è limit monitoring inactive“LIM_ULW_Enable” = 1è limit monitoring active

· “LIM_LLW_Enable”Enables the monitoring of the “LIM_LLW” limit for falling below the limit totrigger a warning. The enable of the limit monitoring is indicated at the“QLIM_LLW_Enable” output, the triggering of the warning is displayed at the“QWARN_LL” output. The “LIM_LLW” limit is mirrored to the “QLIM_LLW”output irrespective of “LIM_LLW_Enable”.“LIM_LLW_Enable” = 0è limit monitoring inactive“LIM_LLW_Enable” = 1è limit monitoring active

· “LIM_LLA_Enable”Enables the monitoring of the “LIM_LLA” limit for falling below the limit totrigger an alarm. The enable of the limit monitoring is indicated at the“QLIM_LLA_Enable” output, the triggering of the alarm is displayed at the“QALARM_LL” output. The “LIM_LLA” limit is mirrored to the “QLIM_LLA”output irrespective of “LIM_LLA_Enable”.“LIM_LLA_Enable” = 0è limit monitoring inactive“LIM_LLA_Enable” = 1è limit monitoring active

· “LIM_HYS” and “LIM_HYS_Set”The “LIM_HYS” value supplies the limit for deactivating a limit monitoringmessage with a hysteresis. Depending on the “LIM_HYS_Set” parameter, thevalue can be specified as an absolute value or as a percentage value.“LIM_HYS_Set” = 0è “LIM_HYS” interpreted as a percentage value“LIM_HYS_Set” = 1è “LIM_HYS” interpreted as an absolute value“LIM_HYS” interpreted as a percentage value depends on the range of valuesdefined by the “HI_LIM” and “LO_LIM” parameters and is convertedaccordingly.The value of the hysteresis is mirrored to the “QLIM_HYS” output andinfluences the deactivation of the triggered limit monitoring messages:– Messages relating to an exceeded limit: these messages are deactivated

only after the limit minus the hysteresis has been reached.– Messages indicating that the value has fallen below a limit: these

messages are deactivated only after the limit plus the hysteresis has beenreached.

Page 15: Application Description 09/2015 Sample Blocks for WinCC V7 ...plc4good.org.ua/.../tia_scl/31624179_Faceplate_WinCC_Analog_en.pdf · Application Description 09/2015 Sample Blocks for

3 Functional Mechanism of this Faceplate3.3 Control and status signals

Analogue block WinCC V7, S7 (TIA Portal), S7-1500Entry ID: 31624179, V1.1, 09/2015 15

ãS

iem

ens

AG

Cop

yrig

ht-2

015

All

right

sre

serv

ed

3.3.6 Enabling/disabling the simulation

The “Simulation ON” mode enables the simulation of the analog signal. Thisfunction is important, for example, if automatic functions shall be tested alreadyduring the configuration phase, although a process interface does not yet exist.Without simulating the feedbacks, many automatic functions (e.g., step sequences)cannot be successfully executed since the feedbacks are frequently requested instep enabling conditions or cause errors.

Table 3-6

“Analog” (FB 640)EN QdwStateLOCK QOUTERR_EXTERN QHI_LIM

LIOP_SEL QLO_LIML_SIM QLIM_ULA_EnableL_RESET QLIM_ULAIN_MODE QLIM_ULW_EnableBIPOLAR QLIM_ULWIN_INT QLIM_LLW_EnableIN QLIM_LLW

IN_SIM QLIM_LLA_EnableHI_LIM QLIM_LLALO_LIM QLIM_HYSLIM_ULA_Enable QALARM_ULLIM_ULA QWARN_ULLIM_ULW_Enable QWARN_LLLIM_ULW QALARM_LL

LIM_LLW_Enable QSIMLIM_LLW QLOCKLIM_LLA_Enable QERRLIM_LLA QERR_EXTLIM_HYS_Set QERR_OVERRUNLIM_HYS QERR_HIGHRANGINSTANCE QERR_LOWRANGRESTART QERR_WIREVISIBILITY QwAlarm

OPdwCmd ENO

Page 16: Application Description 09/2015 Sample Blocks for WinCC V7 ...plc4good.org.ua/.../tia_scl/31624179_Faceplate_WinCC_Analog_en.pdf · Application Description 09/2015 Sample Blocks for

3 Functional Mechanism of this Faceplate3.3 Control and status signals

Analogue block WinCC V7, S7 (TIA Portal), S7-1500Entry ID: 31624179, V1.1, 09/2015 16

ãS

iem

ens

AG

Cop

yrig

ht-2

015

All

right

sre

serv

ed

· “IN_SIM”When the simulation is enabled, the “IN_SIM” input is active, otherwise“IN_INT” or “IN” input is enabled, depending on the set mode (“IN_MODE”).

· “LIOP_SEL”If the “LIOP_SEL” input is set, the simulation is switched on/off via the controlinput “L_SIM”.If the “LIOP_SEL” input is not set, the simulation is turned on or off by theoperator (“OPdwCmd” [bit 20 and 21]).

· “L_SIM”“LIOP_SEL” = 1 AND “L_SIM” = 0è Simulation OFF“LIOP_SEL” = 1 AND “L_SIM” = 1è Simulation ON

· “OPdwCmd”The operator commands of the control word “OPdwCmd” are effective only, ifthe “LIOP_SEL” input is not set.“LIOP_SEL” = 0 AND “OPdwCmd [bit 20]” = 1è Simulation OFF“LIOP_SEL” = 0 AND “OPdwCmd [bit 21]” = 1è Simulation ON

· “QSIM”Operating mode “Simulation” 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 ofbit 18.“QdwState [bit 18]” = 0è Simulation OFF“QdwState [bit 18]” = 1è Simulation ON

Page 17: Application Description 09/2015 Sample Blocks for WinCC V7 ...plc4good.org.ua/.../tia_scl/31624179_Faceplate_WinCC_Analog_en.pdf · Application Description 09/2015 Sample Blocks for

3 Functional Mechanism of this Faceplate3.3 Control and status signals

Analogue block WinCC V7, S7 (TIA Portal), S7-1500Entry ID: 31624179, V1.1, 09/2015 17

ãS

iem

ens

AG

Cop

yrig

ht-2

015

All

right

sre

serv

ed

3.3.7 Resetting error

The following situations cause the block to go to the “Error” state and the “QOUT”output to take on the value of the “LO_LIM” lower limit:· Interlock (“LOCK” = 1)· External error (“ERR_EXT” = 1)· Wire break (“QERR_WIRE” = 1)

The following situation causes the block to go to the “Error” state and the “QOUT”output to take on the value of the “HI_LIM” upper limit:· Overrun (“QERR_OVERRUN” = 1)

If there is an error at the block (QERR = 1), it can be reset using the “L_RESET”input or by the “OPdwCmd” operator. This error status can only be reset if there areno other errors pending.

Table 3-7

“Analog” (FB 640)EN QdwStateLOCK QOUTERR_EXTERN QHI_LIM

LIOP_SEL QLO_LIML_SIM QLIM_ULA_EnableL_RESET QLIM_ULAIN_MODE QLIM_ULW_EnableBIPOLAR QLIM_ULWIN_INT QLIM_LLW_EnableIN QLIM_LLWIN_SIM QLIM_LLA_EnableHI_LIM QLIM_LLALO_LIM QLIM_HYSLIM_ULA_Enable QALARM_ULLIM_ULA QWARN_ULLIM_ULW_Enable QWARN_LLLIM_ULW QALARM_LLLIM_LLW_Enable QSIMLIM_LLW QLOCK

LIM_LLA_Enable QERRLIM_LLA QERR_EXTLIM_HYS_Set QERR_OVERRUNLIM_HYS QERR_HIGHRANGINSTANCE QERR_LOWRANGRESTART QERR_WIREVISIBILITY QwAlarm

OPdwCmd ENO

Page 18: Application Description 09/2015 Sample Blocks for WinCC V7 ...plc4good.org.ua/.../tia_scl/31624179_Faceplate_WinCC_Analog_en.pdf · Application Description 09/2015 Sample Blocks for

3 Functional Mechanism of this Faceplate3.3 Control and status signals

Analogue block WinCC V7, S7 (TIA Portal), S7-1500Entry ID: 31624179, V1.1, 09/2015 18

ãS

iem

ens

AG

Cop

yrig

ht-2

015

All

right

sre

serv

ed

· “L_RESET”When setting the “LIOP_SEL” input parameter and a positive edge at the“L_RESET” input, the “QERR” output is reset.

· “OPdwCmd”By pressing the “RESET” button in the faceplate window, bit 24 is set in controlword “OPdwCmd”. The controller evaluates this bit and resets the “QERR”output. The “LIOP_SEL” input parameter must not be set when doing this.

Page 19: Application Description 09/2015 Sample Blocks for WinCC V7 ...plc4good.org.ua/.../tia_scl/31624179_Faceplate_WinCC_Analog_en.pdf · Application Description 09/2015 Sample Blocks for

3 Functional Mechanism of this Faceplate3.4 Block icon and faceplate

Analogue block WinCC V7, S7 (TIA Portal), S7-1500Entry ID: 31624179, V1.1, 09/2015 19

ãS

iem

ens

AG

Cop

yrig

ht-2

015

All

right

sre

serv

ed

3.4 Block icon and faceplate

This example uses WinCC faceplate types. These faceplates are available forWinCC V7 or a later version and offer the advantage of central changeability.Consequently, it is no longer necessary to edit all process pictures when the blockicon has been changed. If the faceplate types are not available, you can alsoconfigure WinCC user objects.

Layout of the block icon and the associated faceplateTable 3-8

Block icon Faceplate

The technology faceplate provides the following functionality:1. Displayed operating states

– Display of the analog value– Value monitoring by means of a trend curve– Simulation

2. Displayed errors:– Interlock– External error– General error– “wire break” (only “iMode=0”)– “overrun” (only “iMode=0”)– “low range” (only “iMode=0”)– “high range” (only “iMode=0”)

Page 20: Application Description 09/2015 Sample Blocks for WinCC V7 ...plc4good.org.ua/.../tia_scl/31624179_Faceplate_WinCC_Analog_en.pdf · Application Description 09/2015 Sample Blocks for

3 Functional Mechanism of this Faceplate3.4 Block icon and faceplate

Analogue block WinCC V7, S7 (TIA Portal), S7-1500Entry ID: 31624179, V1.1, 09/2015 20

ãS

iem

ens

AG

Cop

yrig

ht-2

015

All

right

sre

serv

ed

3. Operation:– Simulation On/Off– Operating mode IO/real value– Hysteresis absolute/percentage– Setting of warning and alarm limits– Input of an analog value (only simulation)

3.4.1 Block icon

The various states of the analog value are transferred to WinCC via the “QdwState”parameter – [bit 8.9, 18, 24 and 25]. The display of the block icon is defined in theWinCC “DEMO_ANALOG_ICON_Define.pdl” picture file.

· “Normal state” display

· “Simulation” display

· “Warning” display

· “Alarm” display

· “Error” display

Page 21: Application Description 09/2015 Sample Blocks for WinCC V7 ...plc4good.org.ua/.../tia_scl/31624179_Faceplate_WinCC_Analog_en.pdf · Application Description 09/2015 Sample Blocks for

3 Functional Mechanism of this Faceplate3.4 Block icon and faceplate

Analogue block WinCC V7, S7 (TIA Portal), S7-1500Entry ID: 31624179, V1.1, 09/2015 21

ãS

iem

ens

AG

Cop

yrig

ht-2

015

All

right

sre

serv

ed

3.4.2 Faceplate – Default view

Figure 3-5

Click the following icon to open the default view:

In this view, you can monitor the current value and the limit values, as well as theerror states of the analog signal, and set the value for the simulation.

Page 22: Application Description 09/2015 Sample Blocks for WinCC V7 ...plc4good.org.ua/.../tia_scl/31624179_Faceplate_WinCC_Analog_en.pdf · Application Description 09/2015 Sample Blocks for

3 Functional Mechanism of this Faceplate3.4 Block icon and faceplate

Analogue block WinCC V7, S7 (TIA Portal), S7-1500Entry ID: 31624179, V1.1, 09/2015 22

ãS

iem

ens

AG

Cop

yrig

ht-2

015

All

right

sre

serv

ed

3.4.3 Faceplate – Alarms and messages view

Figure 3-6

Click the following button to open the alarms and messages view:

In this view you can perform the following actions:· Display of block-related alarms and messages.· Acknowledge alarms.

Page 23: Application Description 09/2015 Sample Blocks for WinCC V7 ...plc4good.org.ua/.../tia_scl/31624179_Faceplate_WinCC_Analog_en.pdf · Application Description 09/2015 Sample Blocks for

3 Functional Mechanism of this Faceplate3.4 Block icon and faceplate

Analogue block WinCC V7, S7 (TIA Portal), S7-1500Entry ID: 31624179, V1.1, 09/2015 23

ãS

iem

ens

AG

Cop

yrig

ht-2

015

All

right

sre

serv

ed

3.4.4 Faceplate – Trend view

Figure 3-7

You can go to the trend view via the following button:

This view displays the progression of the analog value and its limit values.

Page 24: Application Description 09/2015 Sample Blocks for WinCC V7 ...plc4good.org.ua/.../tia_scl/31624179_Faceplate_WinCC_Analog_en.pdf · Application Description 09/2015 Sample Blocks for

3 Functional Mechanism of this Faceplate3.4 Block icon and faceplate

Analogue block WinCC V7, S7 (TIA Portal), S7-1500Entry ID: 31624179, V1.1, 09/2015 24

ãS

iem

ens

AG

Cop

yrig

ht-2

015

All

right

sre

serv

ed

3.4.5 Faceplate – Limit value view

Figure 3-8

You can go to the limit value view via the following button:

Here, you can perform the following actions:· Set the range of values· Enables/disables limit values and the corresponding alarm messages· Configure the limit value monitoring

Page 25: Application Description 09/2015 Sample Blocks for WinCC V7 ...plc4good.org.ua/.../tia_scl/31624179_Faceplate_WinCC_Analog_en.pdf · Application Description 09/2015 Sample Blocks for

4 Commissioning4.1 Configuring the STEP 7 block

Analogue block WinCC V7, S7 (TIA Portal), S7-1500Entry ID: 31624179, V1.1, 09/2015 25

ãS

iem

ens

AG

Cop

yrig

ht-2

015

All

right

sre

serv

ed

4 CommissioningHere you will learn …

how to integrate the “DEMO_ANALOG” block into an empty or an existing project.This example uses the unconnected STEP 7 block, the WinCC block icon(faceplate type) and the WinCC faceplate, which is embedded in a static picturewindow.The “Example blocks for WinCC and STEP 7” document describes how toconfigure a dynamic call of the WinCC faceplates.

4.1 Configuring the STEP 7 block

First you create a new STEP 7 project with “S7 15xx” controller and PC station(WinCC application), or open an existing project.

Table 4-1

Action Description

1. Inserting blocks– Open the supplied library “DEMO_BLOCKS.al13” with SIMATIC TIA

Portal. Options - Global library - Open global library– Copy the Analog and Analog_DB blocks into the directory of the

program blocks or into the project library.2. Calling the block

Call the “Analog” (FB640) block in your OB1.3. Compiling and loading the program

Compile the program and load it into the controller.

Page 26: Application Description 09/2015 Sample Blocks for WinCC V7 ...plc4good.org.ua/.../tia_scl/31624179_Faceplate_WinCC_Analog_en.pdf · Application Description 09/2015 Sample Blocks for

4 Commissioning4.2 Configuring the WinCC faceplate

Analogue block WinCC V7, S7 (TIA Portal), S7-1500Entry ID: 31624179, V1.1, 09/2015 26

ãS

iem

ens

AG

Cop

yrig

ht-2

015

All

right

sre

serv

ed

4.2 Configuring the WinCC faceplateTable 4-2

Action Description

4. Copying files

First copy all files from the delivered “WINCC_GRAPHICS/DEMO_ANALOG”directory into directory: “GraCS” and all files from the “WINCC_SCRIPTS”directory to the “library” directory of the WinCC project.

5. Creating a connection

After you have created a new project, you create a newSIMATIC S7-1200, S7-1500 channel in the tag management.

Page 27: Application Description 09/2015 Sample Blocks for WinCC V7 ...plc4good.org.ua/.../tia_scl/31624179_Faceplate_WinCC_Analog_en.pdf · Application Description 09/2015 Sample Blocks for

4 Commissioning4.2 Configuring the WinCC faceplate

Analogue block WinCC V7, S7 (TIA Portal), S7-1500Entry ID: 31624179, V1.1, 09/2015 27

ãS

iem

ens

AG

Cop

yrig

ht-2

015

All

right

sre

serv

ed

Action Description

6. Importing a structure tag

Open the VARIABLE EXPORT / IMPORT tool atStart>All Programs>Siemens Automation>SIMATIC>WinCC>Tools

Open the file of the Digital structure tag from the supplied directory“WINCC_Structuretags/DEMO_ANALOG”

Page 28: Application Description 09/2015 Sample Blocks for WinCC V7 ...plc4good.org.ua/.../tia_scl/31624179_Faceplate_WinCC_Analog_en.pdf · Application Description 09/2015 Sample Blocks for

4 Commissioning4.2 Configuring the WinCC faceplate

Analogue block WinCC V7, S7 (TIA Portal), S7-1500Entry ID: 31624179, V1.1, 09/2015 28

ãS

iem

ens

AG

Cop

yrig

ht-2

015

All

right

sre

serv

ed

Action Description

Confirm the query text with OK to complete the import.

7. Configuring the start-up parametersOpen the “WinCC Project” from the “SIMATIC Manager”. Open theProperties of the WinCC station and select the “Startup” tab.

Enable the following “Runtimes”:

· Global Script Runtime· Alarm Logging Runtime· Tag Logging Runtime· Graphics Runtime

8. Registering the scriptsBefore you can use the provided scripts, they need to be registered first.

· Open the Global Script C Editor· Click on the “Generate headers” button

The previously copied scripts are now available for your project.9. Creating a start-up screen

· Create an empty WinCC picture, name it “Start.pdl” and define thispicture as start-up screen.

· Open the “Start.pdl” picture in the Graphics Designer.10. Inserting objects

· Create an object of the “Faceplate instance” type. Select the“DEMO_ANALOG_ICON.FPT” file.

· Create an object of the “Picture window” type.

Page 29: Application Description 09/2015 Sample Blocks for WinCC V7 ...plc4good.org.ua/.../tia_scl/31624179_Faceplate_WinCC_Analog_en.pdf · Application Description 09/2015 Sample Blocks for

4 Commissioning4.2 Configuring the WinCC faceplate

Analogue block WinCC V7, S7 (TIA Portal), S7-1500Entry ID: 31624179, V1.1, 09/2015 29

ãS

iem

ens

AG

Cop

yrig

ht-2

015

All

right

sre

serv

ed

Action Description

11. Configuring the properties of the faceplate instance objectDefine the following parameters in the Properties dialog box of the faceplateinstance object:· Others > Scaling mode = “1:1”

Define the following tag assignments in the Properties dialog box of thefaceplate instance object:· User-defined2 > QdwState = “<tag prefix > QdwState” 1)

· User-defined2 > QOUT = “<tag prefix>QOUT” 1)

· User-defined2 > szUnit = “<tag prefix>QOUT” 1)

Configure the following direct connection for “mouse click”:· Source: Constant = “1”· Objective: Object in picture = “Picture window1 > Display”Figure 4-1

1) The tag prefix consists of program name, CFC chart and block name,followed by a dot.

Page 30: Application Description 09/2015 Sample Blocks for WinCC V7 ...plc4good.org.ua/.../tia_scl/31624179_Faceplate_WinCC_Analog_en.pdf · Application Description 09/2015 Sample Blocks for

4 Commissioning4.2 Configuring the WinCC faceplate

Analogue block WinCC V7, S7 (TIA Portal), S7-1500Entry ID: 31624179, V1.1, 09/2015 30

ãS

iem

ens

AG

Cop

yrig

ht-2

015

All

right

sre

serv

ed

Action Description

12. Configuring the properties of the picture window objectDefine the following parameters in the Properties dialog box of the picturewindow object:· Others > Picture name = “DEMO_ANALOG_MAIN.pdl”· Others > Tag prefix = “<tag prefix>” 1)

· Others > Display = “No”· Others > Moveable = “Yes”· Others > Frame = “Yes”· Others > Title = “Yes”· Others > Adjust window = “Yes”

1) Same tag prefix as in step 13. When calling up the message window, thisprefix is also entered into the “MsgFilterSQL” property of the alarm control viascript. This ensures that only messages of the relevant block will bedisplayed.

Page 31: Application Description 09/2015 Sample Blocks for WinCC V7 ...plc4good.org.ua/.../tia_scl/31624179_Faceplate_WinCC_Analog_en.pdf · Application Description 09/2015 Sample Blocks for

4 Commissioning4.2 Configuring the WinCC faceplate

Analogue block WinCC V7, S7 (TIA Portal), S7-1500Entry ID: 31624179, V1.1, 09/2015 31

ãS

iem

ens

AG

Cop

yrig

ht-2

015

All

right

sre

serv

ed

Action Description

13. Configure messagesCreate the following messages using the Alarm Logging Editor.

Message 1:· Class: failure· Type: alarm· Message tag: <tag prefix>.QwAlarm· Message bit: 0· Message text: Alarm lower limit undercut

Message 2:· Class: failure· Type: alarm· Message tag: <tag prefix>.QwAlarm· Message bit: 1· Message text Alarm upper limit exceeded

Message 3:· Class: failure· Type: alarm· Message tag: <tag prefix>.QwAlarm· Message bit: 4· Message text: Interlock, value locked

Message 4:· Class: failure· Type: alarm· Message tag: <tag prefix>.QwAlarm· Message bit: 6· Message text: External error

Message 5:· Class: failure· Type: alarm· Message tag: <tag prefix>.QwAlarm· Message bit: 7· Message text: Group error

Message 6:· Class: failure· Type: warning· Message tag: <tag prefix>.QwAlarm· Message bit: 8· Message text: Warning lower limit undercut

Page 32: Application Description 09/2015 Sample Blocks for WinCC V7 ...plc4good.org.ua/.../tia_scl/31624179_Faceplate_WinCC_Analog_en.pdf · Application Description 09/2015 Sample Blocks for

4 Commissioning4.2 Configuring the WinCC faceplate

Analogue block WinCC V7, S7 (TIA Portal), S7-1500Entry ID: 31624179, V1.1, 09/2015 32

ãS

iem

ens

AG

Cop

yrig

ht-2

015

All

right

sre

serv

ed

Action Description

Message 7:· Class: failure· Type: warning· Message tag: <tag prefix>.QwAlarm· Message bit: 9· Message text: Warning upper limit undercut

Message 9:· Class: failure· Type: Warning· Message tag: <tag prefix>.QwAlarm· Message bit: 12· Message text: Interlock pending

Message 10:· Class: failure· Type: Warning· Message tag: <tag prefix>.QwAlarm· Message bit: 15· Message text: Simulation active

Note: Create the messages for each “ANALOG” block in your S7 program.

Page 33: Application Description 09/2015 Sample Blocks for WinCC V7 ...plc4good.org.ua/.../tia_scl/31624179_Faceplate_WinCC_Analog_en.pdf · Application Description 09/2015 Sample Blocks for

5 Block Connectors5.1 Input parameters

Analogue block WinCC V7, S7 (TIA Portal), S7-1500Entry ID: 31624179, V1.1, 09/2015 33

ãS

iem

ens

AG

Cop

yrig

ht-2

015

All

right

sre

serv

ed

5 Block Connectors5.1 Input parameters

Table 5-1

Parameter Data type Defaultsetting

Description

EN BOOL FALSE ReleaseLOCK BOOL FALSE 1 = interlock pendingERR_EXTERN BOOL FALSE 1 = external errorLIOP_SEL BOOL FALSE 0= operator, 1= interconnectionL_SIM BOOL FALSE 0 = process, 1 = simulationL_RESET BOOL FALSE Error reset (positive edge)IN_MODE BOOL FALSE 0= S7 periphery, 1= real valueBIPOLAR BOOL FALSE 1= scaling bipolarIN_INT INT 0 Periphery valueIN REAL 55.0 Real valueIN_SIM REAL 55.0 Simulation value (real value)HI_LIM REAL 100.0 High scaling limitLO_LIM REAL 0.0 Low scaling limitLIM_ULA_Enable BOOL FALSE 1= upper alarm limit activeLIM_ULA REAL 90.0 Upper alarm limitLIM_ULW_Enable BOOL FALSE 1= upper warning limit activeLIM_ULW REAL 80.0 Upper warning limitLIM_LLW_Enable BOOL FALSE 1= lower warning limit activeLIM_LLW REAL 20.0 Lower warning limitLIM_LLA_Enable BOOL FALSE 1= lower alarm limit activeLIM_LLA REAL 10.0 Lower alarm limitLIM_HYS_Set BOOL FALSE 0= percentage, 1= absoluteLIM_HYS REAL 0.0 Hysteresis (message limits)INSTANCE STRING Analog_001 Filter attribute for messages,

labeling of title barRESTART BOOL FALSE Initializing at restartOPdwCmd DWORD 0 Control tag (HMI)

Page 34: Application Description 09/2015 Sample Blocks for WinCC V7 ...plc4good.org.ua/.../tia_scl/31624179_Faceplate_WinCC_Analog_en.pdf · Application Description 09/2015 Sample Blocks for

5 Block Connectors5.2 Output parameters

Analogue block WinCC V7, S7 (TIA Portal), S7-1500Entry ID: 31624179, V1.1, 09/2015 34

ãS

iem

ens

AG

Cop

yrig

ht-2

015

All

right

sre

serv

ed

5.2 Output parametersTable 5-2

Parameter Data type Default setting Description

QdwState DWORD DW#16#0 Status tag (HMI)QOUT REAL 0.0 Analog valueQHI_LIM REAL 100.0 High scaling limitQLO_LIM REAL 0.0 Low scaling limitQLIM_ULA_Enable BOOL FALSE 1= upper alarm limit activeQLIM_ULA REAL 90.0 Upper alarm limitQLIM_ULW_Enable BOOL FALSE 1= upper warning limit activeQLIM_ULW REAL 80.0 Upper warning limitQLIM_LLW_Enable BOOL FALSE 1= lower warning limit activeQLIM_LLW REAL 20.0 Lower warning limitQLIM_LLA_Enable BOOL FALSE 1= lower alarm limit activeQLIM_LLA REAL 10.0 Lower alarm limitQLIM_HYS REAL 0.0 Hysteresis (message limits)QALARM_UL BOOL FALSE 1= alarm for upper limit

pendingQWARN_UL BOOL FALSE 1= warning for upper limit

pendingQWARN_LL BOOL FALSE 1= warning for lower limit

pendingQALARM_LL BOOL FALSE 1= alarm for lower limit

pendingQSIM BOOL FALSE 0 = process, 1 = simulationQLOCK BOOL FALSE 1= interlock errorQERR BOOL FALSE 1 = errorQERR_EXT BOOL FALSE 1 = external errorQERR_OVERRUN BOOL FALSE 1= overrun errorQERR_HIGHRANGE BOOL FALSE 1= high range errorQERR_LOWRANGE BOOL FALSE 1= low range errorQERR_WIRE BOOL FALSE 1= wire break (underrun)QwAlarm WORD W#16#0 Alarm tagENO BOOL FALSE Release

Page 35: Application Description 09/2015 Sample Blocks for WinCC V7 ...plc4good.org.ua/.../tia_scl/31624179_Faceplate_WinCC_Analog_en.pdf · Application Description 09/2015 Sample Blocks for

6 Links & Literature

Analogue block WinCC V7, S7 (TIA Portal), S7-1500Entry ID: 31624179, V1.1, 09/2015 35

ãS

iem

ens

AG

Cop

yrig

ht-2

015

All

right

sre

serv

ed

6 Links & Literature6.1 Bibliographic references

This list is not complete and only represents a selection of relevant literature.Table 6-1

Topic Title/1/ STEP 7

SIMATIC S7-1500Automating with SIMATIC S7-1500Author: Hans BergerPublicis PublishingISBN: 978-3-89578-403-3

6.2 Internet link specifications

This list is by no means complete and only presents a selection of suitableinformation.Table 6-2

Topic Title\1\ Link to this document http://support.automation.siemens.com/WW/view/en/31624179

\2\ Siemens IndustryOnline Support

http://support.automation.siemens.com

\3\ Link to this document Information on the value display of analog modules.http://support.automation.siemens.com/WW/view/en/8859629

\4\ SENTRON PACfaceplates for WinCCRuntime Professional

http://support.automation.siemens.com/WW/view/en/67318600

\5\ SITOP UPS 1600:Faceplates andSTEP 7communication blocks

http://support.automation.siemens.com/WW/view/en/85668144

\6\ Measuring andVisualizing EnergyData

http://support.automation.siemens.com/WW/view/en/86299299

\7\ Configurationinstruction for creatingfaceplates for ComfortPanels and WinCCRuntime Advanced

http://support.automation.siemens.com/WW/view/en/68014632

Page 36: Application Description 09/2015 Sample Blocks for WinCC V7 ...plc4good.org.ua/.../tia_scl/31624179_Faceplate_WinCC_Analog_en.pdf · Application Description 09/2015 Sample Blocks for

7 History

Analogue block WinCC V7, S7 (TIA Portal), S7-1500Entry ID: 31624179, V1.1, 09/2015 36

ãS

iem

ens

AG

Cop

yrig

ht-2

015

All

right

sre

serv

ed

6.3 Other faceplates

This list is by no means complete and only presents a selection of suitableinformation.Table 6-3

Topic Title\1\ Sample Blocks for

WinCC (TIA Portal)and STEP 7 (TIAPortal)

http://support.automation.siemens.com/WW/view/en/66839614

\2\ Faceplates for WinCCV7 and STEP 7 V5

http://support.automation.siemens.com/WW/view/en/68679830

\3\ Faceplates for WinCCflexible and STEP 7V5

http://support.automation.siemens.com/WW/view/en/36435784

7 HistoryTable 7-1

Version Date Modifications

V1.0 06/2014 First versionV1.1 09/2015 Update to WinCC V7.3 SE / STEP 7 (TIA Portal) V13 SP1