background and system description 10/2014 pcs 7 library ... · pcs 7 library for integrating the...

25
http://support.automation.siemens.com/WW/view/de/101976947 Background and system description 10/2014 PCS 7 Library for Integrating the AEG "Thyro-P" Thyristor Power Controller PCS 7 Technology blocks "PCS 7 AEG Thyro-P"

Upload: others

Post on 25-Mar-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Background and system description 10/2014 PCS 7 Library ... · PCS 7 Library for Integrating the AEG "Thyro-P" Thyristor Power Controller Entry ID: 101976947, V1.0, 10/2014 4 ã S

http://support.automation.siemens.com/WW/view/de/101976947

Background and system description � 10/2014

PCS 7 Library for Integrating theAEG "Thyro-P" Thyristor PowerControllerPCS 7 Technology blocks "PCS 7 AEG Thyro-P"

Page 2: Background and system description 10/2014 PCS 7 Library ... · PCS 7 Library for Integrating the AEG "Thyro-P" Thyristor Power Controller Entry ID: 101976947, V1.0, 10/2014 4 ã S

Warranty and liability

PCS 7 Library for Integrating the AEG "Thyro-P" Thyristor Power ControllerEntry ID: 101976947, V1.0, 10/2014 2

ãS

iem

ens

AG

2014

All

right

sre

serv

ed

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

regarding the circuits shown, equipping and any eventuality. The ApplicationExamples do not represent customer-specific solutions. They are only intendedto provide support for typical applications. You are responsible for ensuring thatthe described products are used correctly. These application examples do notrelieve you of the responsibility to use safe practices in application, installation,operation and maintenance. 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 without prior notice. If there are any deviationsbetween the recommendations provided in these application examples and otherSiemens publications – e.g. Catalogs – the contents of the other documentshave 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 useof the examples, information, programs, engineering and performance data etc.,described in this Application Example shall be excluded. Such an exclusion shallnot apply in the case of mandatory liability, e.g. under the German Product LiabilityAct (“Produkthaftungsgesetz”), in case of intent, gross negligence, or injury of life,body or health, guarantee for the quality of a product, fraudulent concealment ofa deficiency or breach of a condition which goes to the root of the contract(“wesentliche Vertragspflichten”). The damages for a breach of a substantialcontractual obligation are, however, limited to the foreseeable damage, typical forthe type of contract, except in the event of intent or gross negligence or injury tolife, body or health. The above provisions do not imply a change of the burden ofproof 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.

Securityinfor-

mation

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: Background and system description 10/2014 PCS 7 Library ... · PCS 7 Library for Integrating the AEG "Thyro-P" Thyristor Power Controller Entry ID: 101976947, V1.0, 10/2014 4 ã S

Table of contents

PCS 7 Library for Integrating the AEG "Thyro-P" Thyristor Power ControllerEntry ID: 101976947, V1.0, 10/2014 3

ãS

iem

ens

AG

2014

All

right

sre

serv

ed

Table of contentsWarranty and liability ............................................................................................... 21 Introduction .................................................................................................... 42 General library information ............................................................................ 5

2.1 Requirements .................................................................................... 52.2 Obtaining the software ....................................................................... 52.3 Installation ......................................................................................... 52.3.1 Installing the technology block ........................................................... 52.3.2 Installing the GSD file ........................................................................ 6

3 Block description ........................................................................................... 7

3.1 Thyro-P technology block .................................................................. 73.2 THYROPDG diagnostic block .......................................................... 16

4 Configuration ................................................................................................ 19

4.1 HW Config configuration .................................................................. 194.2 CFC configuration ............................................................................ 224.3 OS configuration .............................................................................. 23

5 Block data ..................................................................................................... 246 Literature ...................................................................................................... 257 History .......................................................................................................... 25

Page 4: Background and system description 10/2014 PCS 7 Library ... · PCS 7 Library for Integrating the AEG "Thyro-P" Thyristor Power Controller Entry ID: 101976947, V1.0, 10/2014 4 ã S

1 Introduction

PCS 7 Library for Integrating the AEG "Thyro-P" Thyristor Power ControllerEntry ID: 101976947, V1.0, 10/2014 4

ãS

iem

ens

AG

2014

All

right

sre

serv

ed

1 IntroductionAEG Thyro-P thyristor power controllers can be used everywhere that highvoltages, currents or power are controlled or switched. Electric heating systemsthat are used for heating, melting, drying or deforming, particularly in the glass,steel, semiconductor, extractive or chemical and petrochemical industries can thusbe automated optimally and with low wear.

The Thyro-P PCS 7 technology block is used for controlling the AEG thyristorpower controller of the same name over the PROFIBUS DP. An associated OSoperating screen (faceplate) enables simple operation and the display of detailedstatus information. Comprehensive diagnostic messages help operating personnelto quickly rectify any malfunctions that occur.

Page 5: Background and system description 10/2014 PCS 7 Library ... · PCS 7 Library for Integrating the AEG "Thyro-P" Thyristor Power Controller Entry ID: 101976947, V1.0, 10/2014 4 ã S

2 General library information

PCS 7 Library for Integrating the AEG "Thyro-P" Thyristor Power ControllerEntry ID: 101976947, V1.0, 10/2014 5

ãS

iem

ens

AG

2014

All

right

sre

serv

ed

2 General library information2.1 Requirements

Software requirementsYou can use the "PCS 7 AEG Thyro-P" library from PCS 7 V7.1 onwards and it isreleased with PCS 7 V8.

System requirementsThe technology block can only be used over the PROFIBUS DP V1 interface.

2.2 Obtaining the software

You can obtain this library from the following e-mail address. You can also obtainfurther information and support from the same [email protected]

2.3 Installation

2.3.1 Installing the technology block

The following steps must be performed to install the Thyro-P technology block withits associated faceplate:

1. Run Setup.exe2. Select an installation folder (Recommended: Default setting)3. Install the Thyro-P technology block4. Exit the installation

Note The setup does not install a GSD file.

Install the GSD file that you received from the Thyro-P manufacturer.

If the default installation folder was selected, the following files and folders will becopied into C:\Program Files\Siemens\ :

Page 6: Background and system description 10/2014 PCS 7 Library ... · PCS 7 Library for Integrating the AEG "Thyro-P" Thyristor Power Controller Entry ID: 101976947, V1.0, 10/2014 4 ã S

2 General library information

PCS 7 Library for Integrating the AEG "Thyro-P" Thyristor Power ControllerEntry ID: 101976947, V1.0, 10/2014 6

ãS

iem

ens

AG

2014

All

right

sre

serv

ed

Table 2-1

Folder Files/Folders Comment

WinCC\options\pdl\apl @PG_Thyro-P .pdl@PG_Thyro-P _Standard.pdl@PG_Thyro-P _Preview.pdl@PG_Thyro-P _Parameter.pdl@PG_Thyro-P _Overview.pdl@PG_Thyro-P _ViewToolbar.pdl@PCS7Typicals_Thyro-P .PDL

Pictures for thefaceplates

STEP7\S7libs\ PCS 7 AEG Thyro-P V7 Block library

STEP7\S7hlp\PCS 7 AEG Thyro-P V7\ Thyrop_a.hlpThyrop_b.hlpThyrop_c.hlp

Online Help

STEP7\S7data\action AL_CHPSS106B4.xmlAL_PSS106B4.xml

PCS 7 driver wizardfiles

STEP7\S7data\object CHNPSS106B4.xmlSTEP7\S7data\object/ dp-pa

DP0L1_PSS106B4.xmlDPK_PSS106B4.xmlMODPSS106B4.xml

2.3.2 Installing the GSD file

Install the GSD file supplied by the manufacturer in the HW Config at "Extras >Install GSD files...".The Thyro-P DPV1 must then be saved in the hardware catalog in the profile:Default at "PROFIBUS DP > Other FIELD DEVICES > General.

Page 7: Background and system description 10/2014 PCS 7 Library ... · PCS 7 Library for Integrating the AEG "Thyro-P" Thyristor Power Controller Entry ID: 101976947, V1.0, 10/2014 4 ã S

3 Block description

PCS 7 Library for Integrating the AEG "Thyro-P" Thyristor Power ControllerEntry ID: 101976947, V1.0, 10/2014 7

ãS

iem

ens

AG

2014

All

right

sre

serv

ed

3 Block description3.1 Thyro-P technology block

Object nameFB591 (Type + Number)

Area of applicationThe Thyro-P thyristor power controller can be used everywhere that voltages,currents or power must be controlled precisely, optimally and without wear.Areas of application are, e.g.:· Heating· Melting· Drying· DeformingThe patented optional ASM synchronization procedure can reduce the peak mainsloading in multiple controller installations.Thyro-P is used in the following sectors, among others:· Glass industry· Furnace construction· Mechanical engineering· Extractive industry· Chemical and petrochemical industriesThe Thyr-P can be controlled via PROFIBUS DP with the PCS 7 block. The OSfaceplate enables simple operation as well as the display of comprehensive statusinformation. Furthermore, diagnostic messages help operating personnel torespond quickly to malfunctions.

AddressingYou must connect the thyristor icon (symbol table) generated in the HW Config forthe first input module, to the hardware input.

Setpoint generationThe setpoint "SP" for the Thyro-P is generated from either the internal setpoint("SP_OP") or the external setpoint ("SP_Ext"), depending on the"SP_ExtOp"/"SP_IntOp" inputs. The "SP" is normalized to a range of 0 to 100%.

Internal setpointThe internal setpoint is restricted to the range ("SP_OpScale.Low" –"SP_OpScale.High"). An operator input outside the operating limits will bediscarded.

Page 8: Background and system description 10/2014 PCS 7 Library ... · PCS 7 Library for Integrating the AEG "Thyro-P" Thyristor Power Controller Entry ID: 101976947, V1.0, 10/2014 4 ã S

3 Block description

PCS 7 Library for Integrating the AEG "Thyro-P" Thyristor Power ControllerEntry ID: 101976947, V1.0, 10/2014 8

ãS

iem

ens

AG

2014

All

right

sre

serv

ed

External setpointThe external setpoint is restricted to the range ("SP_ExtLoLim" – "SP_ExtHiLim").Values outside the limits will be restricted to this range. If "SP_BumpOn=1", theinternal setpoint will track the external setpoint. This will ensure a bounce-freeswitchover from external to internal setpoint.

Total setpointThe effective total setpoint of the Thyro-P is indicated at the "SP_TOT" output.Please refer to the Thyro-P operating instructions to see how the total setpoint isgenerated.

Setpoint Master ErrorIn addition to the Setpoint Master, the Setpoint Master error is transmitted to theThyro-P. The Setpoint Master Error is written to the Setpoint Master in the eventof a failure of the PROFIBUS DP communication in the Thyro-P.

Fail-SafeWhen "FS_ON = 0", the Setpoint Master Error is equal to the last validsetpoint "SP". When "FS_ON = 1", the Setpoint Master Error is equal to the fail-safe value ("FS_V").

Actual valuesThese values indicate the present state (power, voltage, current...) of the Thyro-P.A Quality Code, which can take the following states, is generated for the analoginput values:

Table 3-1

State Quality code

Valid value 16#80Simulation 16#60Replacement value 16#48Invalid value 16#00

Substitute valueWhen "SUBS_ON=1", the values at the corresponding inputs "SUBS_xx" areoutput for the respective analog value in the event of a rack fault ("QRACKF = 1").The Quality Code is set to "QUALITY = 16#48".

SimulationWhen "SIM_ON = 1", all the outputs can be simulated with the corresponding input"SIM_xx". The Quality Code "QUALITY = 16#60" is output.

Page 9: Background and system description 10/2014 PCS 7 Library ... · PCS 7 Library for Integrating the AEG "Thyro-P" Thyristor Power Controller Entry ID: 101976947, V1.0, 10/2014 4 ã S

3 Block description

PCS 7 Library for Integrating the AEG "Thyro-P" Thyristor Power ControllerEntry ID: 101976947, V1.0, 10/2014 9

ãS

iem

ens

AG

2014

All

right

sre

serv

ed

Controller disableThe controller can be disabled via the "REG_LOCK" input.

Local operation of the motorized potentiometer setpointThe motorized potentiometer setpoint for the Thyro-P can be altered in "Local"mode via a control panel (LBA) or by buttons. This may be necessary, e.g., if thePROFIBUS DP fails.To allow bumpless switching over from Remote to Local, the motorizedpotentiometer setpoint in Remote mode must be set equal to the "Master Setpoint".To do this, "Mopo = Master" must be enabled in the HW Config.If "LO_BumpOn=1", the internal setpoint ("SP_OP") will track the total setpoint("SP_TOT"). This enables bumpless switching over from Local to Remote.

Error acknowledgementError messages pending on the Thyro-P can be acknowledged via the"ACK_FAULT" input.

ResetThe control section of the Thyro-P can be reset via the "RESET" input.

Error HandlingThe block can handle the following errors:

Table 3-2

Error Meaning Possible cause

QRACKF=1 Actual values invalid andsetpoint is not transferredto the Thyro-P

· Thyro-P failed· Thyro-P has the wrong address· Thyro-P PROFIBUS DP interface

defective· PROFIBUS DP bus cable / connector

defective· PROFIBUS DP master system failed· I/O access error

Page 10: Background and system description 10/2014 PCS 7 Library ... · PCS 7 Library for Integrating the AEG "Thyro-P" Thyristor Power Controller Entry ID: 101976947, V1.0, 10/2014 4 ã S

3 Block description

PCS 7 Library for Integrating the AEG "Thyro-P" Thyristor Power ControllerEntry ID: 101976947, V1.0, 10/2014 10

ãS

iem

ens

AG

2014

All

right

sre

serv

ed

Message behaviorThe Thyro-P block uses the ALARM_8P block to generate the following messages:

Table 3-3

Messageblock

ALARM_8P

Messagenumber

Blockparameter

Message text Messageclass

MSG_EVID1 1 QTEMP_H $$BlockComment$$ Overtemperature S2 QI_L $$BlockComment$$ Undercurrent in load

circuitS

3 QI_H $$BlockComment$$ Overcurrent in loadcircuit

S

4 QU_L $$BlockComment$$ Mains under-voltage S5 QU_H $$BlockComment$$ Mains over-voltage S6 QSYNCF $$BlockComment$$ SYNC fault S7 QMOSI_LIM $$BlockComment$$ MOSI in peak current

limitingS

MSG_EVID2 1 QSSCF $$BlockComment$$ SSC fault S2 QLIMIT $$BlockComment$$ Limit S3 QRACKF $$BlockComment$$ Device failure S4 ExtMsg1 $$BlockComment$$ External message 1 S5 ExtMsg2 $$BlockComment$$ External message 2 S6 ExtMsg3 $$BlockComment$$ External message 3 S7 ExtMsg4 $$BlockComment$$ External message 4 S8 CSF $$BlockComment$$ External error

occurredS

Page 11: Background and system description 10/2014 PCS 7 Library ... · PCS 7 Library for Integrating the AEG "Thyro-P" Thyristor Power Controller Entry ID: 101976947, V1.0, 10/2014 4 ã S

3 Block description

PCS 7 Library for Integrating the AEG "Thyro-P" Thyristor Power ControllerEntry ID: 101976947, V1.0, 10/2014 11

ãS

iem

ens

AG

2014

All

right

sre

serv

ed

ConnectionsThe following table contains the connections for the Thyro-P. In addition theconnection names, which are visible by default, are shown in bold text.

Table 3-4

Connection(Parameter)

Meaning Data type Preset value Type OCM

Restart Manual restart BOOL 0 I

HW Symbolic connection to HWConfig

WORD 0 I

LADDR Logical Address of Module STRUCT IREG_LOCK 1=Regulator locked BOOL 0 I +REG_LOCKEN 1=Operator enabled for

regulator lockBOOL 1 I

SP_BumpOn 1=Bumpless for Setpoint On BOOL 1 ILO_BumpOn 1=Bumpless for Setpoint Local

OnBOOL 1 I

MS_RelOp Operator Input for MS Release,1:MS ReleaseRequirement

BOOL 0 I +

OosOp 1=Oos mode: Oos mode byoperator

BOOL 0 I +

OosLi 1=Oos mode: Oos mode by fieldsignal

STRUCT I

UserAna1 User analog input 1 STRUCT I +UA1unit Unit of UserAna1 INT 0 I +UserAna2 User analog input 2 STRUCT I +UA2unit Unit of UserAna2 INT 0 I +CSF Control System Fault 1=External

ErrorSTRUCT I

OS_Perm Operator permissions STRUCT IFeature Status of various features STRCUT ISP_ExtOp 1=Operator select external

setpointBOOL 0 I +

SP_IntOp 1=Operator select internalsetpoint

BOOL 0 I +

SP_Ext External setpoint STRUCT I +SP_ExtHiLim High limit for external setpoint REAL 100 ISP_ExtLoLim Low limit for external setpoint REAL 0 ISP_OP Operator Input Setpoint REAL 0 I +SP_OpScale SP_OP Limits for OS STRUCT I +ManModOp Manual mode: Manual mode by

operatorBOOL 1 I +

FS_ON 1=Enable fail-safe BOOL 0 IFS_V Fail-safe value REAL 0 ISUBS_ON 1=Enable failure substitution BOOL 0 ISUBS_XX Substitution Value

(XX = I1,2,3, U1,2,3, P1,2,3,P_TOT, R1,2,3, TEMP)

REAL 9.9E+37 I

SIM_ON 1=Activate simulation BOOL 0 I +

Page 12: Background and system description 10/2014 PCS 7 Library ... · PCS 7 Library for Integrating the AEG "Thyro-P" Thyristor Power Controller Entry ID: 101976947, V1.0, 10/2014 4 ã S

3 Block description

PCS 7 Library for Integrating the AEG "Thyro-P" Thyristor Power ControllerEntry ID: 101976947, V1.0, 10/2014 12

ãS

iem

ens

AG

2014

All

right

sre

serv

ed

Connection(Parameter)

Meaning Data type Preset value Type OCM

SIM_XX Simulation Value(XX = I1,2,3, U1,2,3, P1,2,3,P_TOT, R1,2,3, TEMP)

REAL 0 I

BatchEn Enable remote operation ofcontroller by batchrecipe

BOOL 0 I +

BatchID Current Batch ID (number) DWORD 0 I +BatchName Current batch name STRING [32] ‘’ I +StepNo Batch step number DWORD 0 I +Occupied Occupied by batch BOOL 0 I +RunUpCyc Lag: Number of Run Up cycles INT 10 ISelFp1 Select faceplate 1 ANY ISelFp2 Select faceplate 2 ANY IExtMsg1 External message 1 STRUCT IExtMsg2 External message 2 STRUCT IExtMsg3 External message 3 STRUCT IExtMsg4 External message 4 STRUCT IMsgLock Message lock STRUCT IMsgEvId1 Message ID1 DWORD 0 IMsgEvId2 Message ID2 DWORD 0 IACK_FAULT Operator input to acknowledge

faultBOOL 0 I +

RESET Operator input to reset BOOL 0 I +DIAG Device related diagnostic DWORD 0 IOMS_Release 1: MS release STRUCT OSimAct 1=Simulation active BOOL 0 OCFS_Out 1=External fault STRUCT OMsgSup 1=Message suppression active BOOL 0 O +MsgErr 1=Message error BOOL 0 OSP_ExtAct 1=External setpoint active STRUCT OSP_Out Setpoint STRUCT O +SP_OutScale SP_Out Limits for OS STRUCT O +OosAct Out of service is active STRUCT O +OS_PermOut Operator permissions: Output

for OSDWORD 0 O +

OS_PermLog Operator permissions: Outputfor OS

DWORD 0 O +

Status1 Status Word 1 DWORD 0 O +Status2 Status Word 2 DWORD 0 O +ST_Worst Worst signal status BYTE 0 O +MsgStat Message: STATUS Output WORD 0 OMsgAckn Message: ACK_STATE output WORD 0 OQRACKF 1=Device failure BOOL 0 OQLOCAL 1=Local 0=Remote BOOL 0 OQTEMP_H 1=Overtemperature BOOL 0 O

Page 13: Background and system description 10/2014 PCS 7 Library ... · PCS 7 Library for Integrating the AEG "Thyro-P" Thyristor Power Controller Entry ID: 101976947, V1.0, 10/2014 4 ã S

3 Block description

PCS 7 Library for Integrating the AEG "Thyro-P" Thyristor Power ControllerEntry ID: 101976947, V1.0, 10/2014 13

ãS

iem

ens

AG

2014

All

right

sre

serv

ed

Connection(Parameter)

Meaning Data type Preset value Type OCM

QREG_LOCK 1=Regulator locked BOOL 0 OQI_L 1=Undercurrent in load circuit BOOL 0 OQI_H 1=Overcurrent in load circuit BOOL 0 OQU_L 1=Undervoltage in mains BOOL 0 OQU_H 1=Overvoltage in mains BOOL 0 OQSYNCF 1=SYNC Fault BOOL 0 OQMOSI_LIM 1=MOSI in peak current

limitationBOOL 0 O

QSSCF 1=SSC Fault" BOOL 0 OQLIMIT 1=Limit BOOL 0 OQDIG1 Digital Input 1 BOOL 0 OQDIG2 Digital Input 2 BOOL 0 OQDIG3 Digital Input 3 BOOL 0 OQDIG4 Digital Input 4 BOOL 0 OQLED1 LED 1 Control BOOL 0 OQLED2 LED 2 Limit BOOL 0 OQLED3 LED 3 Pulse Lock BOOL 0 OQLED4 LED 4 Fault BOOL 0 OQLED5 LED 5 Overheat BOOL 0 OQRELAIS1 Relay State 1 BOOL 0 OQRELAIS2 Relay State 2 BOOL 0 OQRELAIS3 Relay State 3 BOOL 0 OP1 Power L1 REAL 0 O +P2 Power L2 REAL 0 O +P3 Power L3 REAL 0 O +U1 Voltage Load L1 REAL 0 O +U2 Voltage Load L2 REAL 0 O +U3 Voltage Load L3 REAL 0 O +I1 Current L1 REAL 0 O +I2 Current L2 REAL 0 O +I3 Current L3 REAL 0 O +R1 Resistor L1 REAL 0 O +R2 Resistor L2 REAL 0 O +R3 Resistor L3 REAL 0 O +P_TOT Total Power REAL 0 O +TEMP Temperature REAL 0 O +SP_TOT Total Setpoint REAL 0 O +Status3 Status Word 3 DWORD 0 O +

Page 14: Background and system description 10/2014 PCS 7 Library ... · PCS 7 Library for Integrating the AEG "Thyro-P" Thyristor Power Controller Entry ID: 101976947, V1.0, 10/2014 4 ã S

3 Block description

PCS 7 Library for Integrating the AEG "Thyro-P" Thyristor Power ControllerEntry ID: 101976947, V1.0, 10/2014 14

ãS

iem

ens

AG

2014

All

right

sre

serv

ed

HMIThe following icon is provided for the Thyro-P block in the WinCC picture"@PCS7Typicals_Thyro-P .PDL":

Figure 3-1

The faceplate has 5 views:Table 3-5

View Screenshot

Standard

Maintenance

Page 15: Background and system description 10/2014 PCS 7 Library ... · PCS 7 Library for Integrating the AEG "Thyro-P" Thyristor Power Controller Entry ID: 101976947, V1.0, 10/2014 4 ã S

3 Block description

PCS 7 Library for Integrating the AEG "Thyro-P" Thyristor Power ControllerEntry ID: 101976947, V1.0, 10/2014 15

ãS

iem

ens

AG

2014

All

right

sre

serv

ed

View Screenshot

Binary flags

Messages

Batch

Page 16: Background and system description 10/2014 PCS 7 Library ... · PCS 7 Library for Integrating the AEG "Thyro-P" Thyristor Power Controller Entry ID: 101976947, V1.0, 10/2014 4 ã S

3 Block description

PCS 7 Library for Integrating the AEG "Thyro-P" Thyristor Power ControllerEntry ID: 101976947, V1.0, 10/2014 16

ãS

iem

ens

AG

2014

All

right

sre

serv

ed

3.2 THYROPDG diagnostic block

Object nameFB 592 (Type + Number)

Area of applicationThe block monitors the thyristor power controller by evaluating its diagnostics data.

Calling OBsThe block must be installed in the run sequence in the following OBs (takes placeautomatically in the CFC):

Table 3-6

OB No. Description

OB1 Cyclic programOB82 Diagnostic interruptOB83 Insert/remove module interruptOB85 Program sequence errorOB86 Rack failure

OB100 Restart (warm restart)

When the "Generate block driver" CFC function is used, the THYROPDG block isautomatically installed in its runtime group behind the runtime group for the RACKblock in the above-mentioned OBs, and the following configurations are carried out:

Parameter assignments:· Input "DPA_LINK = 1" for operation behind Y-Link, otherwise "0"· Input structure "LADDR" with the start address of the respective module from

the HW configuration· Input "DADDR" with the diagnostics address of the DP slave· Input "DADDR_L", if necessary with the diagnostics address of the Y-link· Input "RACK_NO" with the Profibus address of the DP slave

Interconnections:· Input "RACKF" to the output "QRACKF" of the associated OB_DIAG1 block· Output "DIAG" to the input "DIAG" of the associated Thyro-P block· OUT structure CPU_DIAG of the OB_BEGIN block, to the THYROPDG INOUT

structure of the same name.

Page 17: Background and system description 10/2014 PCS 7 Library ... · PCS 7 Library for Integrating the AEG "Thyro-P" Thyristor Power Controller Entry ID: 101976947, V1.0, 10/2014 4 ã S

3 Block description

PCS 7 Library for Integrating the AEG "Thyro-P" Thyristor Power ControllerEntry ID: 101976947, V1.0, 10/2014 17

ãS

iem

ens

AG

2014

All

right

sre

serv

ed

Function and functionalityThe block analyzes acyclically all the events that affect the Thyro-P. To do this,the user diagnostic data from the slave are read and analyzed after a warm restart(OB100), a diagnostic interrupt (OB82), an outgoing rack fault (OB86) or during anoperation behind a Y-link after an unplug/plug alarm (OB83). In addition, an I/OAAE will be detected for the Thyro-P block.The block generates the "DIAG" output for the entire module, which is evaluated bythe Thyro-P signal processing block.

ConnectionsThe connections ar listed in the following table:

Table 3-7

Connection(Parameter)

Meaning Data type Preset value Type OCM

DADDR Diagnostic address of DP slave WORD 0 IDADDR_L Diagnostic address of Y-link WORD 0 IRACK_NO Rack number of DP slave INT 0 IDPA_LINK Device connection: 0=DP master,

1=DP/PA LINKBOOL 0 I

RACKF Rack failure BOOL 0 ILADDR Logical Address of Module STRUCT ICPU_DIAG Diagnostic structure STRUCT IOQERR 1=Error BOOL OQRACKF 1=Device failure BOOL OQPERAF 1=I/O access error BOOL ODIAG Device related diagnostic DWORD O

Page 18: Background and system description 10/2014 PCS 7 Library ... · PCS 7 Library for Integrating the AEG "Thyro-P" Thyristor Power Controller Entry ID: 101976947, V1.0, 10/2014 4 ã S

3 Block description

PCS 7 Library for Integrating the AEG "Thyro-P" Thyristor Power ControllerEntry ID: 101976947, V1.0, 10/2014 18

ãS

iem

ens

AG

2014

All

right

sre

serv

ed

Structure of the output

Table 3-8

Bit Meaning Bit Meaning

0 --- 16 SSC fault1 --- 17 ---2 --- 18 ---3 --- 19 ---4 --- 20 ---5 --- 21 ---6 Warm restart has occurred 22 ---7 Rack fault/time-out 23 Limitation8 --- 24 Overtemperature9 --- 25 Controller disable10 --- 26 Undercurrent in load circuit11 --- 27 Overcurrent in load circuit12 --- 28 Mains under-voltage13 --- 29 Mains overvoltage14 --- 30 SYNC fault15 --- 31 MOSI peak load limiting

Message behaviorNo message behavior available.

Page 19: Background and system description 10/2014 PCS 7 Library ... · PCS 7 Library for Integrating the AEG "Thyro-P" Thyristor Power Controller Entry ID: 101976947, V1.0, 10/2014 4 ã S

4 Configuration

PCS 7 Library for Integrating the AEG "Thyro-P" Thyristor Power ControllerEntry ID: 101976947, V1.0, 10/2014 19

ãS

iem

ens

AG

2014

All

right

sre

serv

ed

4 Configuration4.1 HW Config configuration

Configuring the Thyro-P DPV11. Drag the Thyro-P DPV1 DP slave and drop it on to a DP master system.

The "Properties - PROFIBUS interface Thyro-P DPV1" dialog box will open.Set the PROFIBUS address for the Thyro-P DPV1 here.

2. Click the "OK" button to acknowledge the settings. The Thyro-P DPV1 will beappended to the master system. The detailed view of the Thyro-P DPV1 slotsappears in the lower part of the station window.

3. Drag the modules required for your application (power, voltage, current...)and drop them on to the slots. The installation can take place in any order.

The following modules must be present for the full functionality of the faceplate,but can also be left out if the functionality is not needed:

· Total setpoint· Setpoint enabled· Setpoint Master· Setpoint Master Error· Functions

There must be at least one module present with values in the I/O input range.Only the installed modules in the figure below are supported by the PCS 7technology module for the Thyro-P DPV1.

Note Care must be taken that the I/O addresses for the Thyro-P DPV1 are allocatedwithin the configured process image.

4. The driver blocks are assigned to the device by means of a symbolic name.Select the first input module, click the right hand mouse button, select "Editicons..." and assign a symbolic name.

Page 20: Background and system description 10/2014 PCS 7 Library ... · PCS 7 Library for Integrating the AEG "Thyro-P" Thyristor Power Controller Entry ID: 101976947, V1.0, 10/2014 4 ã S

4 Configuration

PCS 7 Library for Integrating the AEG "Thyro-P" Thyristor Power ControllerEntry ID: 101976947, V1.0, 10/2014 20

ãS

iem

ens

AG

2014

All

right

sre

serv

ed

Figure 4-1

Setting parameters for the Thyro-P DPV1Open the object properties for the Thyro-P DPV1 and set the device-specificparameters in the "Set parameters" tab. The following parameters must be set:

Table 4-1

Parameter Value

Valid output data Only when the bit is setMopo = Master EnabledSetpoint Error = Setpoint Master ErrorAverage the actual values According to application: disabled/enabledAll fault messages According to application: disabled/enabledController disable Disabled

(Can be operated -> will not cause anymalfunction)

U limiting Disabled(not supported by driver block)

I limiting Disabled(not supported by driver block)

P limiting Disabled(not supported by driver block)

Pulse inhibition Disabled(not supported by driver block)

Sensor break / short circuit Disabled(not supported by driver block)

Page 21: Background and system description 10/2014 PCS 7 Library ... · PCS 7 Library for Integrating the AEG "Thyro-P" Thyristor Power Controller Entry ID: 101976947, V1.0, 10/2014 4 ã S

4 Configuration

PCS 7 Library for Integrating the AEG "Thyro-P" Thyristor Power ControllerEntry ID: 101976947, V1.0, 10/2014 21

ãS

iem

ens

AG

2014

All

right

sre

serv

ed

Figure 4-2

Page 22: Background and system description 10/2014 PCS 7 Library ... · PCS 7 Library for Integrating the AEG "Thyro-P" Thyristor Power Controller Entry ID: 101976947, V1.0, 10/2014 4 ã S

4 Configuration

PCS 7 Library for Integrating the AEG "Thyro-P" Thyristor Power ControllerEntry ID: 101976947, V1.0, 10/2014 22

ãS

iem

ens

AG

2014

All

right

sre

serv

ed

4.2 CFC configuration

In the CFC editor you will find the Thyro-P technology block in the "PCS 7 AEGThyro-P V7" library.The technology blocks are assigned to the hardware configuration by means ofa symbolic name. Select the "HW" input and assign the symbolic name via "Rightmouse button > Interconnection to operand...". The "Generate module driver"function connects the Thyro-P technology block to the associated THYROPDGdiagnostic block and sets all the necessary parameters. The THYROPDGdiagnostic block is created automatically and placed in the chart @THYROP.

Figure 4-3: Depiction of the drive block in the CFC

Page 23: Background and system description 10/2014 PCS 7 Library ... · PCS 7 Library for Integrating the AEG "Thyro-P" Thyristor Power Controller Entry ID: 101976947, V1.0, 10/2014 4 ã S

4 Configuration

PCS 7 Library for Integrating the AEG "Thyro-P" Thyristor Power ControllerEntry ID: 101976947, V1.0, 10/2014 23

ãS

iem

ens

AG

2014

All

right

sre

serv

ed

4.3 OS configuration

The following icon is provided for the Thyro-P block in the WinCC picture"@PCS7Typicals_Thyro-P.PDL":

Figure 4-4: Thyro-P process picture icon

The binary values are transferred to the OS as a STATUS word. You can find theSTATUS assignments from the following table:

Table 4-2

STATUS Bit AS block output STATUS Bit AS block output

0 QREG_LOCK 16 QLED11 REG_LOCKEN 17 QLED22 SPINTEN 18 QLED33 SPEXTEN 19 QLED44 QLOCAL 20 QLED55 SPEXTSEL_OP 21 QRELAIS16 - 22 QRELAIS27 - 23 QRELAIS38 QDIG1 24 -9 QDIG2 25 -10 QDIG3 26 -11 QDIG4 27 -12 - 28 -13 - 29 -14 - 30 -15 - 31 -

Page 24: Background and system description 10/2014 PCS 7 Library ... · PCS 7 Library for Integrating the AEG "Thyro-P" Thyristor Power Controller Entry ID: 101976947, V1.0, 10/2014 4 ã S

5 Block data

PCS 7 Library for Integrating the AEG "Thyro-P" Thyristor Power ControllerEntry ID: 101976947, V1.0, 10/2014 24

ãS

iem

ens

AG

2014

All

right

sre

serv

ed

5 Block dataBlock type name

The block type name is the symbolic identifier in the symbol table of the library forthe respective FB. It must be unique in the project.The FB No. is the function block number.

Typical execution timeThe typical execution time is the time normally needed by the CPU for processingthe associated block program (e.g., in the case of a technology block, it is theprocessing time in the watchdog interrupt organization block (OB) without messagegeneration in the event of a channel fault).

Block lengthThe block length is the memory requirement for the program code, one-time foreach block type.

Instance data lengthThe instance data length is the memory requirement for an instance DB

Multi-instance blockMulti-instance blocks are used by the technology block and must reside in the userprogram (AP). They are stored in the same library.

Table 5-1

Block (typename)

FB no. TypicalCPU 417-4executiontime (ms)

Blocklength[bytes]

Instancedata length

[bytes]

Temporarymemory[bytes]

Multi-instance

block

Thyro-P FB591 0.171 2502 476 12 SFB35THYRODG FB592 1990 120 38 -

Page 25: Background and system description 10/2014 PCS 7 Library ... · PCS 7 Library for Integrating the AEG "Thyro-P" Thyristor Power Controller Entry ID: 101976947, V1.0, 10/2014 4 ã S

6 Literature

PCS 7 Library for Integrating the AEG "Thyro-P" Thyristor Power ControllerEntry ID: 101976947, V1.0, 10/2014 25

ãS

iem

ens

AG

2014

All

right

sre

serv

ed

6 Literature

Table 6-1

Subject area Title

\1\ Siemens IndustryOnline Support

http://support.automation.siemens.com

\2\ Article downloadpage

http://support.automation.siemens.com/WW/view/de/101976947

\3\

7 History

Table 7-1

Version Date Change

V1.0 10/2014 First edition