Presentation is loading. Please wait.

Presentation is loading. Please wait.

Date: 17.03.2016 File:ST-PCS7SYS_V6_cfc.1 SIMATIC PCS 7 Siemens AG 2003. All rights reserved. SITRAIN Training for Automation and Drives Configuring Functions.

Similar presentations


Presentation on theme: "Date: 17.03.2016 File:ST-PCS7SYS_V6_cfc.1 SIMATIC PCS 7 Siemens AG 2003. All rights reserved. SITRAIN Training for Automation and Drives Configuring Functions."— Presentation transcript:

1 Date: 17.03.2016 File:ST-PCS7SYS_V6_cfc.1 SIMATIC PCS 7 Siemens AG 2003. All rights reserved. SITRAIN Training for Automation and Drives Configuring Functions with CFC CFC Integrated message functions Consistent connection Alarm MKZ X 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 ASO act. + 165.0 HH + 150.0 H + 120.0 L + 110.0 LL range LL + 180.0 + 100.0 UL MEAS_MON Block concept

2 Date: 17.03.2016 File:ST-PCS7SYS_V6_cfc.2 SIMATIC PCS 7 Siemens AG 2003. All rights reserved. SITRAIN Training for Automation and Drives Configuring Functions with CFC CFC Integrated message functions Consistent connection Alarm MKZ X 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 ASO act. + 165.0 HH + 150.0 H + 120.0 L + 110.0 LL range LL + 180.0 + 100.0 UL MEAS_MON Block concept

3 Date: 17.03.2016 File:ST-PCS7SYS_V6_cfc.3 SIMATIC PCS 7 Siemens AG 2003. All rights reserved. SITRAIN Training for Automation and Drives Integrating Libraries Block Chart template Project window OB32 (Start) (Master data) library in the multiproject (Standard) libraries with PCS 7 V6

4 Date: 17.03.2016 File:ST-PCS7SYS_V6_cfc.4 SIMATIC PCS 7 Siemens AG 2003. All rights reserved. SITRAIN Training for Automation and Drives Integrating Blocks LIBRARY1 LIBRARY2 BLOCK_X Project windowLibraries Block_X OB32 (Start) Predecessor for installation Charts Symbols Block

5 Date: 17.03.2016 File:ST-PCS7SYS_V6_cfc.5 SIMATIC PCS 7 Siemens 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 Priority 1 Free cycle 1 10...17 Time-of-day interrupt 2 20...23 Time-delay interrupt3...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...87Async. error al.26,28 100,101 Startup 27 121,122Synchr. 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

6 Date: 17.03.2016 File:ST-PCS7SYS_V6_cfc.6 SIMATIC PCS 7 Siemens AG 2003. All rights reserved. SITRAIN Training for Automation and Drives CFC Basics Header 2 Header 1 I11O11 I21O21 I22 Menu bar / toolbar Sheet bar Blocks Interconnection Parameterization 123 Window with available Libraries, charts and Blocks BIB1 BIB2 BSTX BSTY BL CH LIB OB32 (Start)

7 Date: 17.03.2016 File:ST-PCS7SYS_V6_cfc.7 SIMATIC PCS 7 Siemens AG 2003. All rights reserved. SITRAIN Training for Automation and Drives The First Blocks Configuration Compile and download objects Test 0 50 100 -t U V 0 50 100 -t V U2 30

8 Date: 17.03.2016 File:ST-PCS7SYS_V6_cfc.8 SIMATIC PCS 7 Siemens AG 2003. All rights reserved. SITRAIN Training for Automation and Drives

9 Date: 17.03.2016 File:ST-PCS7SYS_V6_cfc.9 SIMATIC PCS 7 Siemens AG 2003. All rights reserved. SITRAIN Training for Automation and Drives Compiling and Downloading the Program Settings for compile and download (dialog box with 2 tabs) Preselect Start compile/download acc. to preselection

10 Date: 17.03.2016 File:ST-PCS7SYS_V6_cfc.10 SIMATIC PCS 7 Siemens AG 2003. All rights reserved. SITRAIN Training for Automation and Drives

11 Date: 17.03.2016 File:ST-PCS7SYS_V6_cfc.11 SIMATIC PCS 7 Siemens AG 2003. All rights reserved. SITRAIN Training for Automation and Drives 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

12 Date: 17.03.2016 File:ST-PCS7SYS_V6_cfc.12 SIMATIC PCS 7 Siemens AG 2003. All rights reserved. SITRAIN Training for Automation and Drives 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

13 Date: 17.03.2016 File:ST-PCS7SYS_V6_cfc.13 SIMATIC PCS 7 Siemens AG 2003. All rights reserved. SITRAIN Training for Automation and Drives Run Properties of OBs and Runtime Groups t (s) 100 200 100 400 300 200 400 100 0,5 OB33 (0.5s) 100 ms OB32 (1s) 300 ms OB31 (2s) 600 ms OB1 01,521

14 Date: 17.03.2016 File:ST-PCS7SYS_V6_cfc.14 SIMATIC PCS 7 Siemens AG 2003. All rights reserved. SITRAIN Training for Automation and Drives Exercise: Optimize Run Sequence Optimize

15 Date: 17.03.2016 File:ST-PCS7SYS_V6_cfc.15 SIMATIC PCS 7 Siemens 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_R RESET Control logic Operator screen LIOP_SEL QSTART CH_DOCH_DI M DIDO Feedback signal Switching command AUTO_ON MAN_ON0 1 1 0

16 Date: 17.03.2016 File:ST-PCS7SYS_V6_cfc.16 SIMATIC PCS 7 Siemens AG 2003. All rights reserved. SITRAIN Training for Automation and Drives Driver Concept (from V5) CH_DOCH_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_XSigname_Y Hardware config. Symbol table Signame_XSigname_Y SUBNET RACK MOD CFC charts with module drivers CFC chart with application PIS=n MODE

17 Date: 17.03.2016 File:ST-PCS7SYS_V6_cfc.17 SIMATIC PCS 7 Siemens AG 2003. All rights reserved. SITRAIN Training for Automation and Drives Driver Concept (from V5) CH_DOCH_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_XSigname_Y Hardware config. Symbol table Signame_XSigname_Y SUBNET RACK MOD CFC charts with module drivers CFC chart with application PIS=n MODE

18 Date: 17.03.2016 File:ST-PCS7SYS_V6_cfc.18 SIMATIC PCS 7 Siemens AG 2003. All rights reserved. SITRAIN Training for Automation and Drives Template for a Motor Control System - From the Standard Library

19 Date: 17.03.2016 File:ST-PCS7SYS_V6_cfc.19 SIMATIC PCS 7 Siemens AG 2003. All rights reserved. SITRAIN Training for Automation and Drives Template for a Motor Control System - From the Standard Library

20 Date: 17.03.2016 File:ST-PCS7SYS_V6_cfc.20 SIMATIC PCS 7 Siemens AG 2003. All rights reserved. SITRAIN Training for Automation and Drives 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

21 Date: 17.03.2016 File:ST-PCS7SYS_V6_cfc.21 SIMATIC PCS 7 Siemens AG 2003. All rights reserved. SITRAIN Training for Automation and Drives Program and Data OBm FBy,DBy1 FBy,DBy2 FCz FBy DBy1 DBy2 OB...? (OBm) (OBn) (Instance DB for FBy declaration) Code Declaration (Instance DB for FBy declaration) m,n,y,y1,y2,z = numbers m n

22 Date: 17.03.2016 File:ST-PCS7SYS_V6_cfc.22 SIMATIC PCS 7 Siemens 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

23 Date: 17.03.2016 File:ST-PCS7SYS_V6_cfc.23 SIMATIC PCS 7 Siemens AG 2003. All rights reserved. SITRAIN Training for Automation and Drives Block Libraries, Part 1 PLCOS SP= 12.3 AUTO 10% Trends Messages Operating Inputs Outputs Algorithm FB / FC Technological blocks Elementary blocks Driver blocks Communication blocks

24 Date: 17.03.2016 File:ST-PCS7SYS_V6_cfc.24 SIMATIC PCS 7 Siemens AG 2003. All rights reserved. SITRAIN Training for Automation and Drives Block Libraries, Part 2 Standard Library Inputs Outputs Algorithm SFB / SFC PLC

25 Date: 17.03.2016 File:ST-PCS7SYS_V6_cfc.25 SIMATIC PCS 7 Siemens AG 2003. All rights reserved. SITRAIN Training for Automation and Drives Control Loop CTRL_PID CH_AICH_AO Reactor plant AIAO AS software System I/O modules Technical Control Loop CTRL_PID CH_AICH_AO AIAO AS software System I/O modules Simulated Control Loop Reactor block Manip. var. Temperature Manip. var. Temp. Reactor plant Manip. var. PV_IN LMN

26 Date: 17.03.2016 File:ST-PCS7SYS_V6_cfc.26 SIMATIC PCS 7 Siemens 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 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

27 Date: 17.03.2016 File:ST-PCS7SYS_V6_cfc.27 SIMATIC PCS 7 Siemens 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 R TICA 2T102 CI 2T101 Heating

28 Date: 17.03.2016 File:ST-PCS7SYS_V6_cfc.28 SIMATIC PCS 7 Siemens 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 Enable Parameter: DEADB_W GAIN TN TV TM_LAG AUT_L 1 LIOP_MAN_SEL SPEXON_L 1 LIOP_INT_SEL LMN_TRKLMN_SEL Have to be active(=1) 0 1

29 Date: 17.03.2016 File:ST-PCS7SYS_V6_cfc.29 SIMATIC PCS 7 Siemens 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_OPEN FB_V2_CLOSE FB_V1_OPEN FB_V1_CLOSE FB_V3_OPEN FB_V3_CLOSE MOTOR_ON

30 Date: 17.03.2016 File:ST-PCS7SYS_V6_cfc.30 SIMATIC PCS 7 Siemens AG 2003. All rights reserved. SITRAIN Training for Automation and Drives Exercise: Control Loop for the Reactor

31 Date: 17.03.2016 File:ST-PCS7SYS_V6_cfc.31 SIMATIC PCS 7 Siemens AG 2003. All rights reserved. SITRAIN Training for Automation and Drives

32 Date: 17.03.2016 File:ST-PCS7SYS_V6_cfc.32 SIMATIC PCS 7 Siemens AG 2003. All rights reserved. SITRAIN Training for Automation and Drives Message Configuration Message text Hierarchy identification, where the message originated Message attribute for the OS area Message class

33 Date: 17.03.2016 File:ST-PCS7SYS_V6_cfc.33 SIMATIC PCS 7 Siemens AG 2003. All rights reserved. SITRAIN Training for Automation and Drives Message Configuration Message text Hierarchy identification, where the message originated Message attribute for the OS area Message class

34 Date: 17.03.2016 File:ST-PCS7SYS_V6_cfc.34 SIMATIC PCS 7 Siemens AG 2003. All rights reserved. SITRAIN Training for Automation and Drives Notes

35 Date: 17.03.2016 File:ST-PCS7SYS_V6_cfc.35 SIMATIC PCS 7 Siemens 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

36 Date: 17.03.2016 File:ST-PCS7SYS_V6_cfc.36 SIMATIC PCS 7 Siemens AG 2003. All rights reserved. SITRAIN Training for Automation and Drives Exercise: Chart-in-Chart Technique: Create Lower-Level Chart Chart interconnections Lower-level chart "Chart_x"

37 Date: 17.03.2016 File:ST-PCS7SYS_V6_cfc.37 SIMATIC PCS 7 Siemens AG 2003. All rights reserved. SITRAIN Training for Automation and Drives Exercise: Chart-in-Chart Technique: Create Lower-Level Chart Chart interconnections Lower-level chart "Chart_x"

38 Date: 17.03.2016 File:ST-PCS7SYS_V6_cfc.38 SIMATIC PCS 7 Siemens AG 2003. All rights reserved. SITRAIN Training for Automation and Drives 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:

39 Date: 17.03.2016 File:ST-PCS7SYS_V6_cfc.39 SIMATIC PCS 7 Siemens AG 2003. All rights reserved. SITRAIN Training for Automation and Drives 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:

40 Date: 17.03.2016 File:ST-PCS7SYS_V6_cfc.40 SIMATIC PCS 7 Siemens AG 2003. All rights reserved. SITRAIN Training for Automation and Drives Exercise: Test with Dynamic Display

41 Date: 17.03.2016 File:ST-PCS7SYS_V6_cfc.41 SIMATIC PCS 7 Siemens AG 2003. All rights reserved. SITRAIN Training for Automation and Drives Exercise: Test with Dynamic Display

42 Date: 17.03.2016 File:ST-PCS7SYS_V6_cfc.42 SIMATIC PCS 7 Siemens AG 2003. All rights reserved. SITRAIN Training for Automation and Drives Exercise: Program Block with CFC (1) Specify new chart interconnections CFC chart "Chart_x" Insert new block

43 Date: 17.03.2016 File:ST-PCS7SYS_V6_cfc.43 SIMATIC PCS 7 Siemens AG 2003. All rights reserved. SITRAIN Training for Automation and Drives Exercise: Program Block with CFC (2) Comment must be added manually

44 Date: 17.03.2016 File:ST-PCS7SYS_V6_cfc.44 SIMATIC PCS 7 Siemens AG 2003. All rights reserved. SITRAIN Training for Automation and Drives Exercise: Program Block with CFC (2) Comment must be added manually

45 Date: 17.03.2016 File:ST-PCS7SYS_V6_cfc.45 SIMATIC PCS 7 Siemens 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

46 Date: 17.03.2016 File:ST-PCS7SYS_V6_cfc.46 SIMATIC PCS 7 Siemens AG 2003. All rights reserved. SITRAIN Training for Automation and Drives Block Change (1) Result A Result B

47 Date: 17.03.2016 File:ST-PCS7SYS_V6_cfc.47 SIMATIC PCS 7 Siemens AG 2003. All rights reserved. SITRAIN Training for Automation and Drives Block Change (1.1) Different libraries in the multiproject: Original version Test chart for block with change Modified version

48 Date: 17.03.2016 File:ST-PCS7SYS_V6_cfc.48 SIMATIC PCS 7 Siemens AG 2003. All rights reserved. SITRAIN Training for Automation and Drives Block Change (1.2) Drag and drop Trial for instance V1.1 Instance V1.0

49 Date: 17.03.2016 File:ST-PCS7SYS_V6_cfc.49 SIMATIC PCS 7 Siemens AG 2003. All rights reserved. SITRAIN Training for Automation and Drives Block Change (1.3)

50 Date: 17.03.2016 File:ST-PCS7SYS_V6_cfc.50 SIMATIC PCS 7 Siemens AG 2003. All rights reserved. SITRAIN Training for Automation and Drives Block Change (1.4) The new block version is transferred to the chart folder

51 Date: 17.03.2016 File:ST-PCS7SYS_V6_cfc.51 SIMATIC PCS 7 Siemens AG 2003. All rights reserved. SITRAIN Training for Automation and Drives Block Adjustment (2)

52 Date: 17.03.2016 File:ST-PCS7SYS_V6_cfc.52 SIMATIC PCS 7 Siemens AG 2003. All rights reserved. SITRAIN Training for Automation and Drives Block Adjustment (2.1)

53 Date: 17.03.2016 File:ST-PCS7SYS_V6_cfc.53 SIMATIC PCS 7 Siemens AG 2003. All rights reserved. SITRAIN Training for Automation and Drives Block Change with Library and Project Adjustment (1) Changes to the parameter properties

54 Date: 17.03.2016 File:ST-PCS7SYS_V6_cfc.54 SIMATIC PCS 7 Siemens AG 2003. All rights reserved. SITRAIN Training for Automation and Drives Block Change with Library and Project Adjustment (2)

55 Date: 17.03.2016 File:ST-PCS7SYS_V6_cfc.55 SIMATIC PCS 7 Siemens AG 2003. All rights reserved. SITRAIN Training for Automation and Drives Block Change with Library and Project Adjustment (3) The new block version is transferred to the project

56 Date: 17.03.2016 File:ST-PCS7SYS_V6_cfc.56 SIMATIC PCS 7 Siemens AG 2003. All rights reserved. SITRAIN Training for Automation and Drives Creating Process Tag Types Template for valve control Import file for measuring points Process tag types Setpoint configuration Importing process tags in the project

57 Date: 17.03.2016 File:ST-PCS7SYS_V6_cfc.57 SIMATIC PCS 7 Siemens AG 2003. All rights reserved. SITRAIN Training for Automation and Drives 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

58 Date: 17.03.2016 File:ST-PCS7SYS_V6_cfc.58 SIMATIC PCS 7 Siemens AG 2003. All rights reserved. SITRAIN Training for Automation and Drives Exercise: Create Process Tag Types, Import them in the Project (2) 1 2 3

59 Date: 17.03.2016 File:ST-PCS7SYS_V6_cfc.59 SIMATIC PCS 7 Siemens AG 2003. All rights reserved. SITRAIN Training for Automation and Drives AS-to-AS Communication Controller for reactor heating SP_EXT SP AS-to-AS Communication Communication blocks Connection SEND_RREC_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

60 Date: 17.03.2016 File:ST-PCS7SYS_V6_cfc.60 SIMATIC PCS 7 Siemens AG 2003. All rights reserved. SITRAIN Training for Automation and Drives Communication Blocks for AS-to-AS Communication Partner 1 Partner 2 or Partner 1 Partner 2


Download ppt "Date: 17.03.2016 File:ST-PCS7SYS_V6_cfc.1 SIMATIC PCS 7 Siemens AG 2003. All rights reserved. SITRAIN Training for Automation and Drives Configuring Functions."

Similar presentations


Ads by Google