• 沒有找到結果。

Configuration Overview

N/A
N/A
Protected

Academic year: 2022

Share "Configuration Overview"

Copied!
195
0
0

加載中.... (立即查看全文)

全文

(1)

Configuration Overview

长沙工控帮教育科技有限公司整理

(2)

System Example

M

TICA 2T101 CI

2T102 EI

2E101 UV

2U102 UV

2U101

UV 2U103 LAH

2L101

LAL 2L102

Heating

长沙工控帮教育科技有限公司整理

(3)

PCS Hardware

DP (ET 200M) DP (ET 200M)

AS (S7 417-4)

OS (PC with WinCC)

AS (S7 414-3) MPI/PROFIBUS/Ind. Ethernet

PROFIBUS-DP

Operating and Monitoring

Automating - Regulating - Controlling - Monitoring - Signaling

Distributed process signal converters

Sensors and actuators System Bus

DP bus ES (PC)

IM IM

S7ONLINE

长沙工控帮教育科技有限公司整理

(4)

PCS Software (ES)

STEP 7

•SIMATIC Manager

•LAD/FBD/STL

•Hardware Config

•S7DOS

•SYMBOL

•Signaling

•AS/OS integration (server)

CFC

(Continuous Function Chart Editor)

SFC/ IEA/TH Option PCS

•Create plant hierarchy

•sequential control system

• Instance editor

•Software generator

•Import/export

•Reference lists

NCM S7

Communication SCL

•Editor

•Compiler

•Debugger

Libraries

•Technological blocks

•Driver blocks

•Field device Blocks

Communication blocks WinCC

•Graphics editor

•Messages

•Trends

•Archive

•Logging DOKPRO

(Documentation) Im por

t

Export

长沙工控帮教育科技有限公司整理

(5)

Solution Principle (AS)

AI

DI

DO

MOD_x

MOD_x

MOD_x

MOD_x

SFC

CTRL_PID

Reactor Process

(reactor)

AO

etc.

Hardware Software

(The CFC wizard is used to create the module driver with diagnostics.)

(Other)

Possible process simulation LIB

LIB

LIB

LIB

LIB Graphic config. tool

Program.

SCL (I/O modules)

CH_AO

CH_AI LIB

LIB

(Channel drivers are connected individually with the measuring point in the CFC)

长沙工控帮教育科技有限公司整理

(6)

Solution Principle (AS)

AI

DI

DO

MOD_x

MOD_x

MOD_x

MOD_x

SFC

CTRL_PID

Reactor Process

(reactor)

AO

etc.

Hardware Software

(The CFC wizard is used to create the module driver with diagnostics.)

(Other)

Possible process simulation LIB

LIB

LIB

LIB

LIB Graphic config. tool

Program.

SCL (I/O modules)

CH_AO

CH_AI LIB

LIB

(Channel drivers are connected individually with the measuring point in the CFC)

长沙工控帮教育科技有限公司整理

(7)

Configuration Steps (AS)

Create project (SM*)

Create resources (SM view -> Component view)*

SM* - SIMATIC Manager

Create plant hierarchy (SM view -> Plant view

or

SM view -> Process object view)

Assign resources (SM both views)

Configure hardware (SM view

-> Component view)*

Software configuration (CFC,SFC,SCL,

messages)

Test+startup (configuration tools) Select block libraries/

create project-specific library

Documentation

长沙工控帮教育科技有限公司整理

(8)

Configuration Steps (OS)

OS setup/project editor

Create OS objects via Plant Hierarchy of Process Object view

SM* - SIMATIC Manager

OS compile and download

Test+startup (configuration tools)

Edit individual objects (images, reports) Create resources

(SM view -> Component view)*

Documentation

长沙工控帮教育科技有限公司整理

(9)

Configuring the Workstation

Un do ?

Too late...

长沙工控帮教育科技有限公司整理

(10)

PCS 7 Components

PC ES/OS

Terminal bus

System bus Application

WinCC Application CP 1613

PC OS

WinCC Application CP 1613

NET-Pro Set PC station

Station Configuration Editor (SCE)

PLC 01 C

P U

C P P

S PLC

02 C

P U

C P P

S

Hardware Config

长沙工控帮教育科技有限公司整理

(11)

Configuring the PC Station (Overview)

Hardware description on the PC station

Hardware description in the PCS 7 project

Actual configuration Setpoint configuration

With

"PG operation"

Commissioning Wizard

Set up PC station

CP y CP x 1

2 of the

WinCC Application CP x

CP y

Station Manager Station

Configuration Editor

1 2 3 4

125

Index/type 3

With "productive operation"

of the

WinCC Application CP x

CP y

Station Manager 1

2 3 4

125

Index/type

Hardware Config of the PC station

4

长沙工控帮教育科技有限公司整理

(12)

Configuring the PC Station (Overview)

Hardware description on the PC station

Hardware description in the PCS 7 project

Actual configuration Setpoint configuration

With

"PG operation"

Commissioning Wizard

Set up PC station

CP y CP x 1

2 of the

WinCC Application CP x

CP y

Station Manager Station

Configuration Editor

1 2 3 4

125

Index/type 3

With "productive operation"

of the

WinCC Application CP x

CP y

Station Manager 1

2 3 4

125

Index/type

Hardware Config of the PC station

4

长沙工控帮教育科技有限公司整理

(13)

Commissioning Wizard

Screen number

长沙工控帮教育科技有限公司整理

(14)

Commissioning Wizard

Screen number

长沙工控帮教育科技有限公司整理

(15)

Commissioning Wizard (2)

长沙工控帮教育科技有限公司整理

(16)

Commissioning Wizard (3)

长沙工控帮教育科技有限公司整理

(17)

Set PC Station (Modules)

长沙工控帮教育科技有限公司整理

(18)

Set PC Station (Access Point)

长沙工控帮教育科技有限公司整理

(19)

SCE (Station Configuration Editor)

长沙工控帮教育科技有限公司整理

(20)

Project Structure

长沙工控帮教育科技有限公司整理

(21)

Project Environment

Plant 1

Starting materials

Plant 2 Colors

长沙工控帮教育科技有限公司整理

(22)

Our Installation (Plant 2)

Tank Storage North

Re actor A Re actor B Re actor C Re actor D

Tank Storage East

Shipping Control

building

(CS =

Common Systems) CS: Heat

CS: Cool

Reac A+B Reac C+D

Tank stor. N

Tank stor. S Tank stor. E Shipping CS:

Clean AS8

AS7 AS6 AS5 AS4

AS3 AS2 AS1 Tank Storage South

Plant 1 Plant 2

长沙工控帮教育科技有限公司整理

(23)

Assigning the Plant Hierarchy

In the exercise use

your AS instead of AS03 and your neighbor's AS instead of AS07 Use your PC as OS/ES

Pict.

Pict.

CFC

AS01 AS02 AS03 AS04 AS05 AS06 AS07 AS08 Pict.

Pict.

Pict.

Level 1

Level 2

Level 4 Level 3

长沙工控帮教育科技有限公司整理

(24)

Assigning the Plant Hierarchy

In the exercise use

your AS instead of AS03 and your neighbor's AS instead of AS07 Use your PC as OS/ES

Pict.

Pict.

CFC

AS01 AS02 AS03 AS04 AS05 AS06 AS07 AS08 Pict.

Pict.

Pict.

Level 1

Level 2

Level 4 Level 3

长沙工控帮教育科技有限公司整理

(25)

Plant View - Settings/Properties

1

2

3

长沙工控帮教育科技有限公司整理

(26)

Plant View - Settings/Properties

1

2

3

长沙工控帮教育科技有限公司整理

(27)

HID Generation

1 2

3 4

5

7

HID on ES = 111\222\333\444\\555\666

6

HID on OS = 111/222/333/444/555/666 Combination is selectable

Process tag on OS = 111/222/333/444/555/666. 777 777

长沙工控帮教育科技有限公司整理

(28)

OS Hierarchy (PLC/OS)

WinCC CS WinCC RT

SIMATIC Manager

长沙工控帮教育科技有限公司整理

(29)

OS Hierarchy (Picture Structure)

Tank storage Reactors Shipping

Overview of the reactors (REACTOR.PDL)

Details

(if necessary)

ComSyst

M M M

Reactors Unit A,B,C,D (UnitA.PDL...)

A S

Group display

长沙工控帮教育科技有限公司整理

(30)

Exercise: Create Project (1-Type)

Screen number

Preview (example only) Settings

长沙工控帮教育科技有限公司整理

(31)

Exercise: Create Project (2-CPU)

CPU modules supported by PCS 7

长沙工控帮教育科技有限公司整理

(32)

Exercise: Create Project (3-Objects)

长沙工控帮教育科技有限公司整理

(33)

Exercise: Create Project (4-Project Name)

Directory name

= Part of the project name

Here you select the storage directory

长沙工控帮教育科技有限公司整理

(34)

Exercise: Create Project (5-Message Numbers)

长沙工控帮教育科技有限公司整理

(35)

Exercise: Display Language

长沙工控帮教育科技有限公司整理

(36)

Create Project (6-Views)

Multiproject Part project

PLC

Objects of the selected or opened directory/container/program or of the station

OS as PC station Master data library

Part project structured acc. to plant view Component view

Plant hierarchy

长沙工控帮教育科技有限公司整理

(37)

Process Object View

长沙工控帮教育科技有限公司整理

(38)

Names in the Component View

AS designation

The S7 program name is displayed in WinCC as a substitute for the AS

Computer name

OS name

S7 program name for the library

长沙工控帮教育科技有限公司整理

(39)

HW Config

长沙工控帮教育科技有限公司整理

(40)

Configurable Components

AS OS

长沙工控帮教育科技有限公司整理

(41)

Adapting HW Config

1

2

3

长沙工控帮教育科技有限公司整理

(42)

Adapting HW Config

1

2

3

长沙工控帮教育科技有限公司整理

(43)

Exercise: AS HW Config (Central AS)

CP DP CPU

417-4DP

PS IM

153-2

SM

SM SM SM

MPI DP

ET 200M ( UR1 or UR2) CP

Eth PS 407

Slot 1 3 5 6

PROFIBUS address

X1 X2

长沙工控帮教育科技有限公司整理

(44)

长沙工控帮教育科技有限公司整理

(45)

长沙工控帮教育科技有限公司整理

(46)

Exercise: AS HW Config (PROFIBUS DP CiR Compatibility)

PS 407 CPU 417-4DP

PS IM 153-2

SM

SM SM SM

MPI

DP

PROFIBUS- address ET 200M

( UR1 or UR2) CP

DP CP Eth

CiR

长沙工控帮教育科技有限公司整理

(47)

Exercise: AS HW Config

(PROFIBUS DP Set Parameters for CiR Object)

10 x 244 = 2240 I / 2240 O Max. bytes

per slave

Must be made available as PII/PIQ via the

CPU properties!

长沙工控帮教育科技有限公司整理

(48)

长沙工控帮教育科技有限公司整理

(49)

Exercise: AS HW Config

(Set Parameters for PROFIBUS DP CiR Module)

长沙工控帮教育科技有限公司整理

(50)

DP master buffer

Inputs

Out- puts

Exercise: AS HW Config (CPU process image partition)

AI P

I P 1 DO

P I P 2 IM

153 PIPI1

OB32

PIPO1

PIPI2

OB35

PIPO2

OB32 PIP1

OB35 PIP2

CPU OS

1 2

3 PIP process image partition

= PIPI (inputs)

+

PIPO (outputs)

Trt

长沙工控帮教育科技有限公司整理

(51)

DP master buffer

Inputs

Out- puts

Exercise: AS HW Config (CPU process image partition)

AI P

I P 1 DO

P I P 2 IM

153 PIPI1

OB32

PIPO1

PIPI2

OB35

PIPO2

OB32 PIP1

OB35 PIP2

CPU OS

1 2

3 PIP process image partition

= PIPI (inputs)

+

PIPO (outputs)

Trt

长沙工控帮教育科技有限公司整理

(52)

Exercise: AS HW Config

(Driver Concept/Symbolic Channel Names)

CP DP CPU

417-4DP

PS IM 153-1

SM

SM SM SM

MPI

DP

PROFIBUS addr.

(UR1 or UR2) CP

Eth PS 407

T P A 1

T P A 1

T P A 1

T P A 1 OB 32 <-> PIS 1

OB 35 <-> PIS 2

Name_channel_0 Name_channel_1

长沙工控帮教育科技有限公司整理

(53)

Exercise: AS HW Config

(Driver Concept/Symbolic Channel Names)

CP DP CPU

417-4DP

PS IM 153-1

SM

SM SM SM

MPI

DP

PROFIBUS addr.

(UR1 or UR2) CP

Eth PS 407

T P A 1

T P A 1

T P A 1

T P A 1 OB 32 <-> PIS 1

OB 35 <-> PIS 2

Name_channel_0 Name_channel_1

长沙工控帮教育科技有限公司整理

(54)

Compiling and Downloading the AS HW Config

Downloading the Hardware Configuration only takes place after the following steps have been carried out with NetPro:

The network configuration has been carried out and

connections from the ES to other stations (PC, AS) were set up.

Connections were also configured between the devices (AS, OS) to allow data exchange during process runtime.

Go to the chapter on NetPro first

长沙工控帮教育科技有限公司整理

(55)

Exercise: SIMATIC PC Station/OS HW Config

长沙工控帮教育科技有限公司整理

(56)

Exercise: SIMATIC PC Station/OS HW Config

Station Configuration Editor was created with PCS 7 when

the PC was installed.

Is configured according to the subsequent use of the PC as ES and/or OS

SIMATIC PC station HW Config is configured in the project in the SIMATIC Manager and downloaded to the target PC.

长沙工控帮教育科技有限公司整理

(57)

Compiling and Downloading the OS HW Config

Downloading the Hardware Configuration only takes place after the following steps have been carried out with NetPro:

The network configuration has been carried out and

connections from the ES to other stations (PC, AS) were set up.

Connections were also configured between the devices (AS, OS) to allow data exchange during process runtime.

Go to the chapter on NetPro first

长沙工控帮教育科技有限公司整理

(58)

Exercise: Download the AS HW Config to the PLC (1)

CP DP CPU

417-4DP

DP

UR1 or UR2 CP

Eth PS 407

MPI Ind. Ethernet

1 2

1

2

长沙工控帮教育科技有限公司整理

(59)

Exercise: Download the AS HW Config to the PLC (2)

1

3

长沙工控帮教育科技有限公司整理

(60)

Exercise: Download the AS HW Config to the PLC (Check CiR Compatibility - 1)

长沙工控帮教育科技有限公司整理

(61)

Exercise: Download the AS HW Config to the PLC (Check CiR Compatibility - 2)

长沙工控帮教育科技有限公司整理

(62)

Exercise: Download the AS HW Config to the PLC (Check CiR Compatibility - 3)

长沙工控帮教育科技有限公司整理

?

(63)

Exercise: Download PC Configuration

Download to target

长沙工控帮教育科技有限公司整理

(64)

Network Configuration (NetPro)

长沙工控帮教育科技有限公司整理

(65)

Network Structure

DP segment DP segment

System bus (ISO) Terminal bus (IP) MPI

ES OS terminals

OS servers

AS

ET200

长沙工控帮教育科技有限公司整理

(66)

Calling Up NetPro

长沙工控帮教育科技有限公司整理

(67)

S7 Connections (Connection Partners)

长沙工控帮教育科技有限公司整理

(68)

S7 Connections (Properties)

Viewed from the AS (CPU)

Viewed from the ES (application)

长沙工控帮教育科技有限公司整理

(69)

S7 Connections (Stations)

长沙工控帮教育科技有限公司整理

(70)

S7 Connections (Download)

Select stations using Ctrl key

长沙工控帮教育科技有限公司整理

(71)

Notes

长沙工控帮教育科技有限公司整理

(72)

S7 Connections (Stations in Unknown Projects)

长沙工控帮教育科技有限公司整理

(73)

Configuring Functions with CFC

CFC CFC

WinCC 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 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 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 Alarmtext We Acknowledge only A,W,T

ASO

Limits

MKZ

X

MEAS_MON

+160.0

+140.0

+120.0

Alarm

Alarm

ASO

act.

+

165.0

HH

+

150.0

H

+

120.0

L

+

110.0

LL

range range

LL +

180.0

+

100.0

UL MEAS_MON

Mes sage Ser ver Mes sage Ser ver Mes sage Ser ver ProV ar S erve r ProV ar S erve r ProV ar S erve r

Face plate s Face plate s Face plate s

Bloc k

Bloc k conc ept conc ept

长沙工控帮教育科技有限公司整理

(74)

Configuring Functions with CFC

CFC CFC

WinCC 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 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 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 Alarmtext We Acknowledge only A,W,T

ASO

Limits

MKZ

X

MEAS_MON

+160.0

+140.0

+120.0

Alarm

Alarm

ASO

act.

+

165.0

HH

+

150.0

H

+

120.0

L

+

110.0

LL

range range

LL +

180.0

+

100.0

UL MEAS_MON

Mes sage Ser ver Mes sage Ser ver Mes sage Ser ver ProV ar S erve r ProV ar S erve r ProV ar S erve r

Face plate s Face plate s Face plate s

Bloc k

Bloc k conc ept conc ept

长沙工控帮教育科技有限公司整理

(75)

Integrating Libraries

Block

Chart template

Project window OB32 (Start)

(Master data) library

in the multiproject (Standard) libraries

with PCS 7 V6

长沙工控帮教育科技有限公司整理

(76)

Integrating Blocks

LIBRARY1 LIBRARY2 BLOCK_X

Project window Libraries

Block_X

OB32 (Start)

Predecessor for installation Charts

Symbols

Block

长沙工控帮教育科技有限公司整理

(77)

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 Priority

1 Free cycle 1

10...17 Time-of-day interrupt 2 20...23 Time-delay interrupt 3...6 30...38 Time interrupt 7...15 40...47 Process interrupt 16...23 55...57 DPV1 interrupts 2

60 Multi-computing 25

70...73 Red. error (H-CPU) 25 80...87 Async. error al. 26,28

100,101 Startup 27

121,122 Synchr. error al. like error- generating OB

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

S7 OS

*

*

** **

* User-/process-specific start event

** CFC-/block-specific start event

长沙工控帮教育科技有限公司整理

(78)

CFC Basics

Header 2 Header 1

I11 O11

I21 O21 I22

Menu bar / toolbar

S heet bar S heet bar

Blocks

Interconnection

Parameterization 123

Window with available Libraries, charts and Blocks BIB1 BIB2 BSTX BSTY

BL CH LIB OB32 (Start)

长沙工控帮教育科技有限公司整理

(79)

The First Blocks

• Configuration

• Compile and download objects

• Test

0 50 100

-t U

V

0 50 100

-t V

30 U2

长沙工控帮教育科技有限公司整理

(80)

长沙工控帮教育科技有限公司整理

(81)

Compiling and Downloading the Program

Settings for compile and download

(dialog box with 2 tabs)

Preselect

Start compile/download acc. to preselection

长沙工控帮教育科技有限公司整理

(82)

长沙工控帮教育科技有限公司整理

(83)

Exercise: Controlling a Value

V Interconnectable

input for U

Operator input Analog

OP_EN U_HL U_LL LINK_U LINK_ON BTRACK U

OP_A_LIM

V Interconnectable

input for U

Operator input Analog Operator enable

Limits

长沙工控帮教育科技有限公司整理

(84)

Run Sequence

OB32 (cyclic interrupt) 1sec

Runtime group 1

Runtime group 2

Block 1

Block n - Scan rate - Phase offset Runtime group

Runtime group 3

长沙工控帮教育科技有限公司整理

(85)

Run Properties of OBs and Runtime Groups

t (s)

100 100

100 100

200 200

100 100

400

300

300 200 200

400

100 100

0,5 OB33 (0.5s)

100 ms OB32 (1s) 300 ms OB31 (2s) 600 ms OB1

0 1 1,5 2

长沙工控帮教育科技有限公司整理

(86)

Exercise: Optimize Run Sequence

Optimize

长沙工控帮教育科技有限公司整理

(87)

Block Diagram of a Motor Control System

Motor block

AUT_ON_OP AUT_L

MONITOR

FB_ON Time

monitoring

QRUN

Q_MON_R

RESET Control

logic

Operator screen

LIOP_SEL

QSTART

CH_DO CH_DI

M DI DO

Feedback signal

Switching command AUTO_ON

MAN_ON 0

1

1 0

长沙工控帮教育科技有限公司整理

(88)

Driver Concept (from V5)

CH_DO CH_AI

VALUE VHRANGE VLRANGE V 200

0 PV_IN

QCONTROL

Digital Output

0 / 24 V Channel 1 (Signame_Y) Analog Input

T I

4...20mA 0...200°

C

VALUE I

Channel 0 (Signame_X)

Signame_X Signame_Y

Hardware config.

Symbol table

Signame_X Signame_Y

SUBNET

MOD RACK MOD

CFC charts with module drivers

CFC chart with application

PIS=n PIS=n

MODE MODE

长沙工控帮教育科技有限公司整理

(89)

Driver Concept (from V5)

CH_DO CH_AI

VALUE VHRANGE VLRANGE V 200

0 PV_IN

QCONTROL

Digital Output

0 / 24 V Channel 1 (Signame_Y) Analog Input

T I

4...20mA 0...200°

C

VALUE I

Channel 0 (Signame_X)

Signame_X Signame_Y

Hardware config.

Symbol table

Signame_X Signame_Y

SUBNET

MOD RACK MOD

CFC charts with module drivers

CFC chart with application

PIS=n PIS=n

MODE MODE

长沙工控帮教育科技有限公司整理

(90)

Template for a Motor Control System - From the Standard Library

长沙工控帮教育科技有限公司整理

(91)

Template for a Motor Control System - From the Standard Library

长沙工控帮教育科技有限公司整理

(92)

Exercise: Read In and Output and Analog Value

In the test installation:

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

长沙工控帮教育科技有限公司整理

(93)

Program and Data

OBm FBy,DBy1 FBy,DBy2 FCz

FBy

DBy1

OB...? DBy2 (OBm)

(OBn)

(Instance DB for FBy declaration)

Code Declaration

(Instance DB for FBy declaration)

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

m

n

长沙工控帮教育科技有限公司整理

(94)

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

长沙工控帮教育科技有限公司整理

(95)

Block Libraries, Part 1

PLC OS

SP=

12.3

AUTO

10%

Trends Messages Operating

Inputs O u tputs

A lgori thm

FB / FC

Technological blocks Elementary blocks

Driver blocks

Communication blocks

长沙工控帮教育科技有限公司整理

(96)

Block Libraries, Part 2

Standard Library

Inputs O u tputs

A lgori thm

SFB / SFC

PLC

长沙工控帮教育科技有限公司整理

(97)

Control Loop

CTRL_PID

CH_AI CH_AO

Reactor plant

AI AO

AS software

System

I/O modules Technical Control Loop

CTRL_PID

CH_AI CH_AO

AI AO

AS software

System

I/O modules

Simulated Control Loop

Reactor block Manip. var.

Temperature

Manip. var.

Temp.

Reactor plant Manip. var.

PV_IN LMN

长沙工控帮教育科技有限公司整理

(98)

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 KFV

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

MOTOR_ON_OFF BO BO V_RESET

长沙工控帮教育科技有限公司整理

(99)

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 R TICA

2T102 CI

2T101 Heating

长沙工控帮教育科技有限公司整理

(100)

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 Enable Parameter:

DEADB_W GAIN

TN TV TM_LAG

AUT_L 1 LIOP_MAN_SEL SPEXON_L 1

LIOP_INT_SEL LMN_TRK LMN_SEL

Have to be active(=1)

0 1

长沙工控帮教育科技有限公司整理

(101)

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_OPEN FB_V2_CLOSE

FB_V1_OPEN FB_V1_CLOSE

FB_V3_OPEN FB_V3_CLOSE

MOTOR_ON

长沙工控帮教育科技有限公司整理

(102)

Exercise: Control Loop for the Reactor

长沙工控帮教育科技有限公司整理

(103)

长沙工控帮教育科技有限公司整理

(104)

Message Configuration

Message text

Hierarchy identification, where the message originated

Message attribute for the OS area

Message class

长沙工控帮教育科技有限公司整理

(105)

Message Configuration

Message text

Hierarchy identification, where the message originated

Message attribute for the OS area

Message class

长沙工控帮教育科技有限公司整理

(106)

Notes

长沙工控帮教育科技有限公司整理

(107)

CFC Chart in Chart

Chart "A" (higher-level chart)

"X"

Chart "X" (lower-level chart) Cha rt in

terc onn ectio ns

长沙工控帮教育科技有限公司整理

(108)

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

Chart in te rc o n n ecti o ns

Lower-level chart "Chart_x"

长沙工控帮教育科技有限公司整理

(109)

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

Chart in te rc o n n ecti o ns

Lower-level chart "Chart_x"

长沙工控帮教育科技有限公司整理

(110)

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

Higher-level chart "Valve test"

Insert in the higher-level chart from here

Manual valve operation

Run sequence:

长沙工控帮教育科技有限公司整理

(111)

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

Higher-level chart "Valve test"

Insert in the higher-level chart from here

Manual valve operation

Run sequence:

长沙工控帮教育科技有限公司整理

(112)

Exercise: Test with Dynamic Display

长沙工控帮教育科技有限公司整理

(113)

Exercise: Test with Dynamic Display

长沙工控帮教育科技有限公司整理

(114)

Exercise: Program Block with CFC (1)

Specify new chart interconnections CFC chart "Chart_x"

Insert new block

长沙工控帮教育科技有限公司整理

(115)

Exercise: Program Block with CFC (2)

Comment must be added manually

长沙工控帮教育科技有限公司整理

(116)

Exercise: Program Block with CFC (2)

Comment must be added manually

长沙工控帮教育科技有限公司整理

(117)

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

长沙工控帮教育科技有限公司整理

(118)

Block Change (1)

Result A

Result B

长沙工控帮教育科技有限公司整理

(119)

Block Change (1.1)

Different libraries in the multiproject:

Original version

Test chart for block with change Modified version

长沙工控帮教育科技有限公司整理

(120)

Block Change (1.2)

Drag and drop Trial for instance V1.1

Instance V1.0

长沙工控帮教育科技有限公司整理

(121)

Block Change (1.3)

长沙工控帮教育科技有限公司整理

(122)

Block Change (1.4)

The new block version is transferred to the chart folder

长沙工控帮教育科技有限公司整理

(123)

Block Adjustment (2)

长沙工控帮教育科技有限公司整理

(124)

Block Adjustment (2.1)

长沙工控帮教育科技有限公司整理

(125)

Block Change with Library and Project Adjustment (1)

Changes to the parameter properties

长沙工控帮教育科技有限公司整理

(126)

Block Change with Library and Project Adjustment (2)

长沙工控帮教育科技有限公司整理

(127)

Block Change with Library and Project Adjustment (3)

The new block version is transferred to the project

长沙工控帮教育科技有限公司整理

(128)

Creating Process Tag Types

Tem

pl at e f or va lv e c ont

rol

Import file for measuring points

Process tag types Setpoint configuration

Importing process tags

in the project

长沙工控帮教育科技有限公司整理

(129)

Exercise: Create Process Tag Types, Import them in the Project (1)

Start "Wizard" -> Continue -> I/O Points to select parameters/signals and messages from

blocks on the chart

长沙工控帮教育科技有限公司整理

(130)

Exercise: Create Process Tag Types, Import them in the Project (2)

1

2 3

长沙工控帮教育科技有限公司整理

(131)

AS-to-AS Communication

Controller for reactor heating

SP_EXT SP AS-to-AS Communication

Communication 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

Interconnectable input for U

Operator input analog Operator enable

Limits

V

Received setpoint can be processed

Partner A Partner B

长沙工控帮教育科技有限公司整理

(132)

Communication Blocks for AS-to-AS Communication

Partner 1 Partner 2

Partner 1 or Partner 2

长沙工控帮教育科技有限公司整理

(133)

Configuring Sequences with SFC

长沙工控帮教育科技有限公司整理

(134)

Overview

Menu bar

START

END S1

S2 S3

S4 T1

T2

T3

T4

S1...S4 Steps T1...T4 Transitions Step symbols

长沙工控帮教育科技有限公司整理

(135)

Sequence Structures

S1

T12

S2

T23 Linear

S21 S22

T23 T12 Parallel

S2 S3

T12 T13

T24 T34

Alternative

S2 T2

T23 Loop

S3 S4 S3

S1 S1

T12 S1

S2

T2

T23 Jump

S3 T12

S1

S3

长沙工控帮教育科技有限公司整理

(136)

Action and Transition

Step active

Transition fulfilled

Cycles ->

Cycles ->

长沙工控帮教育科技有限公司整理

(137)

Operating Mode Logic for a Given Sequence Control

Step Control Modes T with Transition

T or C with Transition or Confirmation by User T and C with Transition and Confirmation by User C with Confirmation by User

T/T and C with Step specific Confirmation by operator

Operating modes

Operator commands

长沙工控帮教育科技有限公司整理

(138)

Exercise: Sequence Control - Temperature

START L<33 SP=70

H>67 SP=50

L<53 SP=30

L<32 END 70

50

30

SP_EXT PV_IN

t

Step enabling condition:

Process value PV_IN less than 33?

Step enabling condition:

Process value PV_IN greater than 67?

Action:

Set setpoint SP_EXT to 70

• Linear sequence

• Conditions in transitions

• Actions in steps

• Test

Start step

长沙工控帮教育科技有限公司整理

(139)

长沙工控帮教育科技有限公司整理

(140)

SFC Operating Mode Logic

Command buttons for SFC Test

长沙工控帮教育科技有限公司整理

(141)

SFC - Operational Sequence

M

Cy cl e of SF C Cyc le of CFC

长沙工控帮教育科技有限公司整理

(142)

External View of SFC

长沙工控帮教育科技有限公司整理

(143)

Sequence Control - Reactor

Move to basic position- Reactor C empty and cold

First component X fill up to Level 20 %

Speed Monitor Mixer on Speed Monitor

Mixer on

Level >= 80%

Core temperature 90 Degr.

Process temp reached

Settle Time 2 Min

Open drain valve, mixer off, shut down temperatur controller

Second component Y fill up to level 80 %

End step Level >= 20%

cold and empty

Tolerance Temp controller reached

End Basic pos. reactor empty + cold

长沙工控帮教育科技有限公司整理

(144)

Notes

长沙工控帮教育科技有限公司整理

(145)

Exercise: Modification to Reactor Sequence Control

Move to basic position- Reactor C empty and cold

First component X fill up to Level 20 %

Speed Monitor Mixer on Speed Monitor

Mixer on

Level >= 80%

Core temperature 90°

Process temp reached

Settle Time 2 Min

Opendrain valve, mixer off, shut down temperature

controller

Second component Y fill up to Level 80 %

End step Level >= 20%

cold and empty

Tolerance Temp controller reached

End Basic pos. reactor empty + cold

长沙工控帮教育科技有限公司整理

(146)

Exercise: Adding a Second Sequencer to the Sequential Control

Transition main-sequence

Transition hold-sequence

DB SFC_ReacC

Ensure state Safe state

Command output Set operating modes for operation

Restore state HOLD!

长沙工控帮教育科技有限公司整理

(147)

Hold Sequencer with Data Block for Values to be Saved

"Normal" reactor sequencer END

(restore) NOT_HOLD

START (save)

长沙工控帮教育科技有限公司整理

(148)

Preprocessing and Postprocessing for Sequencers

Possible for every single sequencer

长沙工控帮教育科技有限公司整理

(149)

Creating an SFC Type

Several sequencers possible for one SFC type

长沙工控帮教育科技有限公司整理

(150)

Creating an SFC Instance

Operating Modes

Commands

Command enable

Interlock

Control strategies Step Control Mode

Operation Options

Operating Mode Operating Mode

Group Display Error Display

Control strategies

长沙工控帮教育科技有限公司整理

(151)

Miscellaneous Reference Data

Run Sequence

长沙工控帮教育科技有限公司整理

(152)

Miscellaneous Reference Data

Run Sequence

长沙工控帮教育科技有限公司整理

(153)

Creating New Blocks with SCL

SFC CFC

SCL

WIN CC

Database Database

Y2

V5 V4

V3 0000.0MBAR P4

0000.0MBAR P5

0000.0MBAR P6

0000.0MBAR P1

INERTGAS

ABLUFT1

ABLUFT2

ABLUFT3 V6 V1 Y1

V2

PC MBAR

% A10000.0 Reaktor 01 0000.0

% 000.0

% 000.0

0000.0

produkt M1 R1 0000 0000

F1

Libra ry

长沙工控帮教育科技有限公司整理

(154)

Overview

 High-level language for defining own function blocks

 PASCAL-type syntax, therefore very powerful

 Compiler and debugger are

system components

Definition of the block name, the input parameters and output parameters, including the default values

Algorithm description in structured text

Block compilation and debugging Inserting into the existing block library Using the block in the CFC Editor SCL

长沙工控帮教育科技有限公司整理

(155)

User Block: Structures

Block type Block attribute VAR_INPUT VAR_OUPUT VAR_IN_OUT VAR

VAR_TEMP

Algorithm

IF CASE

FOR WHILE REPEAT

CONTINUE EXIT

GOTO RETURN FB

FC OB DB UDT

?

长沙工控帮教育科技有限公司整理

(156)

Demonstration: Arithmetic Block

ARIT

Arithmetic block

R X2

R X1 Y R

• SCL source

• Templates

• Variable declaration

• Algorithm

• Compile + Load

• Test

R X3

长沙工控帮教育科技有限公司整理

(157)

Menu Insert

-> Block Template OB

FB FC

Comment Constant Parameter DB

Instance DB

DB Referencing UDT UDT

-> Control Structure IF

CASE FOR WHILE REPEAT

长沙工控帮教育科技有限公司整理

(158)

Menü Einfügen

长沙工控帮教育科技有限公司整理

(159)

User Block: Startup Characteristics

OB n

FBx FBx

SFC6 RD_SINFO

OB

Star tu p Cy clic interrupt Sp ecia l ca se

OB m FBx

n

m

长沙工控帮教育科技有限公司整理

(160)

长沙工控帮教育科技有限公司整理

(161)

Compiler and Debugger

Project

S7 station

CPU

S7 program

Sources

Blocks

SCL 1. Edit block.

2. Compile.

3. Load in the CPU.

Symbols

4. Debug.

长沙工控帮教育科技有限公司整理

(162)

Appendix: Source Texts

Simulation block REACTOR

长沙工控帮教育科技有限公司整理

(163)

长沙工控帮教育科技有限公司整理

(164)

长沙工控帮教育科技有限公司整理

(165)

长沙工控帮教育科技有限公司整理

(166)

长沙工控帮教育科技有限公司整理

(167)

长沙工控帮教育科技有限公司整理

(168)

长沙工控帮教育科技有限公司整理

(169)

Multiproject

长沙工控帮教育科技有限公司整理

(170)

PCS 7- Multiproject

PC Server ES

Terminal bus System bus PC

ES1

PLC 01 C

P U

C P P

S PLC

02 C

P U

C P P

S

PC ES2

PC OS Multiproject

Project1 Project2 Project3

Master data library

长沙工控帮教育科技有限公司整理

(171)

Creating Multiprojects

ES server

or +

MP P1 P2 LIB

ES server MP P1

LIB

ES-x

P2 MP = Multiproject, stored on the hard disk of the server ES

P1 = Project within the MP, stored on the server ES

P2 = Project within the MP, stored (alternatively) on the server ES or on the distributed ES LIB = Master data library, within the MP

长沙工控帮教育科技有限公司整理

(172)

Multiproject (Moving and Editing the Project)

ES server MP P1

P2 LIB

ES-x

P2

ES server MP P1

Link LIB

ES-x

P2- P2 old

Save as:

•Without reorganization

•Insert in MP

•Select current MP

•Replace current project

•UNC path 1. Move

2. Edit

长沙工控帮教育科技有限公司整理

(173)

Multiproject (Save/Archive MP - 1)

ES server MP P1

P2 link LIB

ES server Save as:

•Without / with reorganization Save

Archive

MP1 P1 P2 LIB

ES server MP P1

P2 link LIB

P2 link

ES server MP.ZIP

P1 P2 LIB

长沙工控帮教育科技有限公司整理

(174)

Multiproject (Save/Archive MP - 2)

Windows taskbar

长沙工控帮教育科技有限公司整理

(175)

Multiproject (Sending Back Single Projects)

ES server MP P1

P2 LIB

ES-x

P2 ES server

MP P1 P2 link

LIB

ES-x

P2- P2 old

3. Save as:

•Without reorganization

•Insert in MP

•Select current MP

•Replace current project

•UNC path

4. Result

1. Close P2 2. Delete P2-old (not the link in the MP!)

长沙工控帮教育科技有限公司整理

參考文獻

相關文件

Because simultaneous localization, mapping and moving object tracking is a more general process based on the integration of SLAM and moving object tracking, it inherits the

• manipulating object status (partially done: instance variable assignments).. • deleting objects —[TODO 3]

“ Customer” ,employs the fuzzy analytic hierarchy process (FAHP) to develop a systematic model for the evaluations of knowledge management effectiveness , to reach the goal

From analyze AHP (Analytic Hierarchy Process) questionnaire find the overall OEM/ODM competence indicators sequence of high technology industries in Taiwan are manufacture

From“Fundamentals of Decision Making and Priority Theory: The Analytic Hierarchy Process Series”, by Saaty,T.L., 1994,

Key words: travel agency, service quality, Fuzzy Analytic Hierarchy Process, Quality Function

This study conducted DBR to the production scheduling system, and utilized eM-Plant to simulate the scheduling process.. While comparing the original scheduling process

Keyword: Cyberytutor SiteServer, Quality improvement index, Kano model, Analytic Hierarchy Process, Quality Function