Ch5 v70 cfc_en

83
Date: 28.11.2006 File:ST-PCS7SYS_V70_cfc.1 SIMATIC PCS 7 Siemens AG 2003. All rights reserved. SITRAIN Training for Automation and Drives Configuring Functions with CFC CFC CFC WinCC WinCC Integrated message functions Consistent connection Alarm MKZ X 17. 11. 96 14:32:46 Type Alarmtext We 17. 11. 96 14:32:46 Type Alarmtext We 17. 11. 96 14:32:46 Type Alarmtext We 17. 11. 96 14:32:46 type alarm text We 17. 11. 96 14:32:46 type alarm text We 17. 11. 96 14:32:46 type alarm text We 17. 11. 96 14:32:46 type alarm text We 17. 11. 96 14:32:46 type alarm text We 17. 11. 96 14:32:46 type alarm text We 17. 11. 96 14:32:46 type alarm text We Acknowledge only A,W,T A S O Limits MKZ X MEAS_MON +160.0 +140.0 +120.0 Alarm Alarm A S O act. +165.0 HH +150.0 H +120.0 L +110.0 LL range LL +180.0 +100.0 UL MEAS_MON Message Server Message Server ProVar Server ProVar Server Faceplates Faceplates Block Concept Block Concept

description

TREINAMENTO EM AUTOMAÇÃO INDUSTRIAL SIEMENS PCS7

Transcript of Ch5 v70 cfc_en

Page 1: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.1

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

Configuring Functions with CFC

CFC CFC WinCCWinCC

Integrated message functions

Consistent connection

Alarm

MKZ X

17. 11. 96 14:32:46 Type Alarmtext We17. 11. 96 14:32:46 Type Alarmtext We17. 11. 96 14:32:46 Type Alarmtext We17. 11. 96 14:32:46 type alarm text We17. 11. 96 14:32:46 type alarm text We17. 11. 96 14:32:46 type alarm text We17. 11. 96 14:32:46 type alarm text We17. 11. 96 14:32:46 type alarm text We17. 11. 96 14:32:46 type alarm text We17. 11. 96 14:32:46 type alarm text We

Acknowledge only A,W,T

A SO

Limits

MKZ XMEAS_MON

+160.0

+140.0

+120.0

Alarm

Alarm

A S O

act.

+165.0 HH

+150.0 H

+120.0 L

+110.0 LL

rangerange

LL

+180.0

+100.0

UL

MEAS_MON

Message Server

Message Server

ProVar Server

ProVar Server

FaceplatesFaceplates

Block Concept

Block Concept

Page 2: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.2

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

Page 3: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.3

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

Integrating Libraries

Block

Chart template

Working window OB32 (Start)

(Master data) library

in the multiproject (Standard) libraries

with PCS 7 V7.0

Page 4: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.4

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

Block Libraries, Part 1

AS OS

SP=12.3

AUTO

10%

Trend Curves

Alarms

Operation

Inpu

ts

Out

puts

Alg

orit

hm

FB / FC

Technological Blocks

Elementary Blocks

Driver Blocks

Communication Blocks

Page 5: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.5

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

Block Libraries, Part 2

Standard Library

Inpu

ts

Out

puts

Alg

orit

hm

SFB/SFC

AS

Page 6: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.6

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

Integrating Blocks

LIBRARY1LIBRARY2 BLOCK_X

MASTER DATA

Working window Libraries

Block_X

OB35 CFC(1) (Start)

Predecessor for installation

in the chart

Charts

Icons

Block

Page 7: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.7

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

Organization Blocks

OB1

OB10 to 17

OB20 to 23

OB30 to 38

OB40 to 47

OB80 to 87

OB100,101

OB121,122

OB Start event Priority1 Free cycle 110...17 Time-of-day interrupt 220...23 Time-delay interrupt3...630...38 Cyclic interrupt 7...1540...47 Process interrupt 16...2355...57 DPV1 interrupts 260 Multicomputing 2570...73 Red. error (H-CPU) 2580...87 Async. error interrupt26,28100,101 Restart 27121,122 Sync. error interruptlike error- generating

OB

(see system software for S7-300/400, System and Standard Functions)

S7OS

*

*

****

* User-/process-specific start event

** CFC-specific/block-specific start event

Page 8: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.8

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

CFC Basics

Header 2Header 1

I11 O11I21 O21

I22

Menu bar

She

et b

ar

She

et b

arModules

Interconnection

Configuration

123

Window withavailablelibraries,charts andblocks

BIB1BIB2 BSTX BSTY

BL CH LIB

OB35 CFC(1) (Start)

Page 9: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.9

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

Exercise: The First Blocks

• Configuration

• Compile and download objects

• Test

0

50

100

t

U

V0

50

100

t

V

U230

Page 10: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.10

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

Predecessor for Installation

Page 11: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.11

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

Insert Block

2

1

Page 12: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.12

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

Page 13: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.13

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

Compiling and Downloading the Program

Page 14: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.14

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

Page 15: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.15

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

Debugging a Program

Dynamic display

Page 16: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.16

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

Exercise: Controlling a Value

Interconnectable

input for U

Operator input

analog

Operator-Control Enable

Limits

Page 17: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.17

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

Exercise: Automate Reactor Plant A

M

MOTOR

VALVE

CTRL_PID

VALVE

VALVE

Heating

Page 18: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.18

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

Reactor Simulation (Filling)

Reactor (Filling + Mixing)

BO V1_OP_CL

BO V2_OP_CL

BO V3_OP_CL

BO M1_ON_OF

R V1_FLOW

R V2_FLOW

R V3_FLOW

R CFV

OVERFLOW BO

LEVEL R

UV

2U102

UV

2U101

UV

2U103

EI

2E101

LAH

2L101

LI

2L104

FB_V1_OP BO

FB_V1_CL BO

FB_V2_OP BO

FB_V2_CL BO

FB_V3_OP BO

FB_V3_CL BO

FB_M1_ON BOBO V1_FAULT

BO V2_FAULT

BO V3_FAULT

BO M1_FAULT

BO V_RESET

Page 19: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.19

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

Reactor Simulation (Heating)

Reactor (Heating + General)

R V_HOT_FL

R TMP_ENV

R TMP_HOT

R T_LAG_SH

R T_LAG_IN

R SAMPLE_T

BO RS_COOL

BO SET_HOT

TMP_SHEL R

TMP_INT RTICA

2T102

TI

2T101Heating

Page 20: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.20

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

R V_HOT_FL

0...100

Reactor Simulation (Summary)

M

Heating

V1_OP_CL

V2_OP_CL

V3_OP_CL

M1_ON_OF

TMP_SHEL

TMP_INT

LEVEL

0....100

FB_V2_OPENFB_V2_CLOSE

FB_V1_OPENFB_V1_CLOSE

FB_V3_OPENFB_V3_CLOSE

MOTOR_ON

Page 21: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.21

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

Subexercise: REACTOR Block

Switch views

Page 22: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.22

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

Block Diagram of a Valve Control System

Valve block VALVE

AUT_L

AUT_ON_OP

MONITOR

FB_OPEN

Time

monitoring

QCLOSED

Q_MON_ERR

RESET

Control

logic

Operating screen

LIOP_SEL

QCONTROL

CH_DOCH_DIvalve

DI DO

Feed-

backs

Switching command

AUTO_OC

MAN_OC 0

1

0

1

FB_CLOSE

CH_DI

QOPEND

Page 23: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.23

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

Subexercise: VALVE Block

Page 24: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.24

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

Block Diagram of a Motor Control System

Motor block

AUT_ON_OP

AUT_L

MONITOR

FB_ON Time

monitoring

QRUN

Q_MON_ERR

RESET

Control

logic

Operating screen

LIOP_SEL

QSTART

CH_DOCH_DI

M DI DOFeedback

Switching command

AUTO_ON

MAN_ON 0

1

1

0

AS

OS

QSTOP

Page 25: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.25

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

Subexercise: MOTOR Block

Page 26: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.26

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

CTRL_PID (with LINK)

PID

LMN

SPEXTSEL_OP 0

SP_OP

SP_EXT

PV_IN

MAN_OP

AUT_ON_OP 0

INT 0

EXT 1

AUT 1

MAN 0

+

-

SPEXT_EN

SP_OP_ON

LMNOP_ON

AUTOP_EN

SPINT_EN

MANOP_EN

EnableParameter:

DEADB_WGAIN

TNTV

TM_LAG

AUT_L 1

LIOP_MAN_SEL

SPEXON_L 1

LIOP_INT_SEL LMN_TRK LMN_SEL

Must be activated (=1)!

0

1

Page 27: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.27

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

Subexercise: CTRL_PID Block

Page 28: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.28

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

Complete download with read back

Page 29: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.29

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

Driver Concept (from V5)

CH_DOCH_AI

VALUEVHRANGEVLRANGE

QCV

2000 PV_IN

QCONTROL

Digital output

0 / 24 V

Channel 1 (Signame_Y)

Analog input

T I

4 to 20mA

0 to 200°C

VALUEI

Channel 0 (Signame_

X) Signame_X Signame_Y

HW Config

Symbol table

Signame_X Signame_Y

SUBNET

RACKMOD MOD

CFC charts with moduledrivers

CFC chart with application

PPI=n PPI=n

MODE MODE

CPU_RT

Page 30: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.30

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

Page 31: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.31

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

Subexercise: Read In and Output an Analog Value

In the test installation:

Analog output and analog input are connected to one another via the hardware

AOmodule

AImodule

CFC

The value to be output is connected hereThe read value is retrieved here

Page 32: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.32

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

Page 33: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.33

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

Control loop

CTRL_PID

CH_AI CH_AO

Reactorsystem

AI AO

ASsoftware

Plant

I/O Modules

Technical control loop

CTRL_PID

CH_AI CH_AO

AI AO

ASsoftware

Plant

I/O Modules

Simulated control loop

Reactorblock

Manipulated variable

TemperatureManip.

var.

Temp.

Reactorsystem

Manip. var.

PV_IN

LMN

Page 34: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.34

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

Subexercise: Control Loop for the Reactor

CTRL_PID

CH_AI CH_AO

Reactorblock

Manip. var.

TMP_INTManip.

var.

V

AI AOI/O Modules

LMN

PV_IN

V_HOT_FL

U

Manip. var. 4 to 20 mA

Page 35: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.35

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

Page 36: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.36

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

Message Configuration

Priority

Message Class

Message Text

Info Text

Automatically assigned/updated during OS compilation in PCS 7.

Page 37: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.37

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

Notes

Page 38: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.38

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

Program and Data

OBm

FBy,DBy1

FBy,DBy2

FCzFBy

DBy1

DBy2OB...?

(OBm)(OBn)

(Instance DBfor FBy

declaration)

CodeDeclaration

(Instance DBfor FBy

declaration)

m,n,y,y1,y2,z = numbers

mn

Page 39: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.39

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

Data Transport

X Y

OBx

Block 1

X Y

Block 2

X Y

Block n

OS

Operation

Time (run sequence)

Connection (fetch principle)

f

f

f

Page 40: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.40

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

Run Sequence

OB32 (time interrupt) 1 sec

Runtime group 1

Runtime group 2

Block 1

Block n

- Scan rate

- Phase offset

Runtime group

Runtime group 3

Page 41: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.41

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

Runtime Properties of OBs and Runtime Groups

t (s)

100100

100

100

200 200

100

100

400

300300 200200

400

100100

0,5

OB33 (0.5 s)100 ms

OB32 (1s)300 ms

OB31 (2s)600 ms

OB1

0 1,5 21

Runtimes of the OBs (PCS 7) Program loading

OB1 Free cycle 400 msOB31 2 s 600 msOB32 1 s 300 msOB33 0.5 s 100 ms

Page 42: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.42

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

Monitoring of runtime properties (1)

OB1

OB100

OB3x

OB8x

CPU_RT

OB_BEGIN

AS OS

ASSETMANAGEMENT

Page 43: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.43

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

Monitoring of runtime properties (2)

Display on the OS as

online trend

Page 44: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.44

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

Exercise: Optimize runtime sequence (1)

Page 45: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.45

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

Exercise: Optimize runtime sequence (2)

Right-click

Right-click

Optimize individual task (OB) Optimize individual runtime group

Page 46: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.46

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

Interconnecting Runtime Groups (1)

Page 47: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.47

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

Interconnecting Runtime Groups (2)

Page 48: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.48

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

CFC Chart-in-Chart

Chart "A" (higher-level chart)

"X"

Chart "X" (lower-level chart)

Chart interconnections

Page 49: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.49

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

Exercise: Chart-in-Chart Technique: Create Lower-Level ChartC

ha

rt i

nte

rco

nn

ec

tio

ns

Lower-level chart "Chart_x"

Page 50: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.50

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

Page 51: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.51

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

Exercise: Chart-in-Chart Technique: Create Higher-Level Chart

Manual valve operation

Runtime sequence:

Page 52: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.52

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

Page 53: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.53

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

Exercise: Program Block with CFC (1)CFC chart "Chart_x"

Page 54: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.54

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

Exercise: Program Block with CFC (2)

Comment must be added manually

Page 55: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.55

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

Page 56: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.56

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

Block Data Structure (Multiple Instance)

Symbolic Name

of FB40

Place for instance of an INT_P block

Inputs, outputs, input and output parameters for the sheet bar

Page 57: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.57

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

Block Change (1)

Result B Result A

Page 58: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.58

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

Block Change (1.1)

Page 59: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.59

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

Block Change (1.2)

Options Charts Update Block Types

Desired updatingfrom S7-Lib(1)to S7-Lib

? Cancel (and nothing takes place)or

Finish (with the displayed consequences)

Page 60: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.60

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

Block Synchronization

Source

Source blocks

Target

Result

Log

Page 61: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.61

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

Block Change with Library and Project Synchronization (1)

Change in parameter

properties

Page 62: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.62

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

Block Change with Library and Project Synchronization (2)

Page 63: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.63

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

Block Change with Library and Project Synchronization (3)

New block version is imported into the project

Page 64: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.64

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

Project Synchronization in the Multiproject (4)

Options Charts Update Block Types

Page 65: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.65

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

Master Data Library

Page 66: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.66

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

Creating Process Tag Types

Create process tag

types

Templa

te fo

r val

ve c

ontrol

Import file

for process tags

Import process tags

into the project

Page 67: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.67

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

Exercise: Create Process Tag Types and Import Them into the Project (1)

Right-click and select Process tags Create/modify process tag type

Page 68: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.68

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

Exercise: Create Process Tag Types and Import Them into the Project (2)

Page 69: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.69

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

Exercise: Create Process Tag Types and Import them into the Project (3)

1

2

3

Page 70: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.70

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

Splitting ChartsCFC chart "Exer_Reac"

iU103

iT101

iE101

iU101 iU102

iL101 iL102

iX101

Suggestion forchart namesaccording to P&I scheme(i = group number)

Page 71: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.71

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

Page 72: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.72

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

Creating Models

Project 1 (PH)

Plant1

Unit11

Unit12

Pic1 SFC1

CFC11

CFC12

Master data library (PH: Models)

Plant1

Unit11

Unit12

Picture1 SFC1

CFC11

CFC12

Import fileOriginally describes the PH, charts, blocks and I/O of Plant1. The offshoots Plant2, Plant3, etc., are described by copying/pasting and adapting the file.

Plant2

Unit21

Unit22

Picture2 SFC2

CFC21

CFC22

Project 2 (PH)

Plant3

Unit31

Unit32

Picture3 SFC3

CFC31

CFC32

Create model

Create/modify import file

Import

Export

Page 73: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.73

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

Additional Exercise: Creating a Model

Right-click and select Create/ChangeImport/Export File

Create newUnitD

Import

Export

Right-click and select Model Create/modify

Page 74: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.74

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

Page 75: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.75

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

AS-to-AS Communication

Controller forreactor heating

SP_EXT

SP

AS-to-AS CommunicationCommunication blocks

Connection

SEND_R REC_R

REC_R SEND_R

OP_EN

U_HL

U_LL

LINK_U

LINK_ON

BTRACK

U

OP_A_LIM

Verschaltbarer

Eingang für U

Bedieneingang

analog

Bedienfreigabe

Limits

V

Received setpoint can be further processed

Partner A Partner B

Page 76: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.76

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

Communication Blocks for AS-to-AS Communication

Partner 1 Partner 2

orPartner 1 Partner 2

Page 77: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.77

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

Textual Interconnections

3

2

4

1

Page 78: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.78

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

Additional Block Representations

Invisible interconnections

Display of sampling time

Page 79: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.79

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

Compare Configuration Versions (Version Cross Manager)

· Project

· Library

· Hardware configuration

· CFC/SFC engineering data such as charts, types, chart folders, block folders

· Shared declarations

· S7 program

· S7 blocks

· S7 symbols

Other versionof objects of same type

V X MObjects A B

X

Y

Z

X changeX

Y - (deleted)

- + added

Open file ... Compare file with …

Page 80: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.80

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

VXM: Object Comparison

File Open File Compare with…1 2

Page 81: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.81

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

VXM: Representation

Page 82: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.82

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

Page 83: Ch5 v70 cfc_en

Date: 28.11.2006File:ST-PCS7SYS_V70_cfc.83

SIMATIC PCS 7Siemens AG 2003. All rights reserved.

SITRAIN Training for Automation and Drives

Exercise: Display Changes before Downloading to the AS