Date: File:ST-PCS7SYS_V6_cfc.1 SIMATIC PCS 7 Siemens AG All rights reserved. SITRAIN Training for Automation and Drives Configuring Functions with CFC CFC Integrated message functions Consistent connection Alarm MKZ X :32:46 Type Alarmtext We Acknowledge only A,W,T ASO Limits MKZ X MEAS_MON Alarm ASO act HH H L LL range LL UL MEAS_MON Block concept
Date: File:ST-PCS7SYS_V6_cfc.2 SIMATIC PCS 7 Siemens AG All rights reserved. SITRAIN Training for Automation and Drives Configuring Functions with CFC CFC Integrated message functions Consistent connection Alarm MKZ X :32:46 Type Alarmtext We Acknowledge only A,W,T ASO Limits MKZ X MEAS_MON Alarm ASO act HH H L LL range LL UL MEAS_MON Block concept
Date: File:ST-PCS7SYS_V6_cfc.3 SIMATIC PCS 7 Siemens AG 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
Date: File:ST-PCS7SYS_V6_cfc.4 SIMATIC PCS 7 Siemens AG 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
Date: File:ST-PCS7SYS_V6_cfc.5 SIMATIC PCS 7 Siemens AG 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 Time-of-day interrupt Time-delay interrupt Time interrupt Process interrupt DPV1 interrupts 2 60 Multi-computing Red. error (H-CPU) Async. error al.26,28 100,101 Startup ,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
Date: File:ST-PCS7SYS_V6_cfc.6 SIMATIC PCS 7 Siemens AG 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)
Date: File:ST-PCS7SYS_V6_cfc.7 SIMATIC PCS 7 Siemens AG All rights reserved. SITRAIN Training for Automation and Drives The First Blocks Configuration Compile and download objects Test t U V t V U2 30
Date: File:ST-PCS7SYS_V6_cfc.8 SIMATIC PCS 7 Siemens AG All rights reserved. SITRAIN Training for Automation and Drives
Date: File:ST-PCS7SYS_V6_cfc.9 SIMATIC PCS 7 Siemens AG 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
Date: File:ST-PCS7SYS_V6_cfc.10 SIMATIC PCS 7 Siemens AG All rights reserved. SITRAIN Training for Automation and Drives
Date: File:ST-PCS7SYS_V6_cfc.11 SIMATIC PCS 7 Siemens AG 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
Date: File:ST-PCS7SYS_V6_cfc.12 SIMATIC PCS 7 Siemens AG 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
Date: File:ST-PCS7SYS_V6_cfc.13 SIMATIC PCS 7 Siemens AG All rights reserved. SITRAIN Training for Automation and Drives Run Properties of OBs and Runtime Groups t (s) ,5 OB33 (0.5s) 100 ms OB32 (1s) 300 ms OB31 (2s) 600 ms OB1 01,521
Date: File:ST-PCS7SYS_V6_cfc.14 SIMATIC PCS 7 Siemens AG All rights reserved. SITRAIN Training for Automation and Drives Exercise: Optimize Run Sequence Optimize
Date: File:ST-PCS7SYS_V6_cfc.15 SIMATIC PCS 7 Siemens AG 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_ON
Date: File:ST-PCS7SYS_V6_cfc.16 SIMATIC PCS 7 Siemens AG All rights reserved. SITRAIN Training for Automation and Drives Driver Concept (from V5) CH_DOCH_AI VALUE VHRANGE VLRANGE V PV_IN QCONTROL Digital Output 0 / 24 V Channel 1 (Signame_Y) Analog Input T I mA °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
Date: File:ST-PCS7SYS_V6_cfc.17 SIMATIC PCS 7 Siemens AG All rights reserved. SITRAIN Training for Automation and Drives Driver Concept (from V5) CH_DOCH_AI VALUE VHRANGE VLRANGE V PV_IN QCONTROL Digital Output 0 / 24 V Channel 1 (Signame_Y) Analog Input T I mA °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
Date: File:ST-PCS7SYS_V6_cfc.18 SIMATIC PCS 7 Siemens AG All rights reserved. SITRAIN Training for Automation and Drives Template for a Motor Control System - From the Standard Library
Date: File:ST-PCS7SYS_V6_cfc.19 SIMATIC PCS 7 Siemens AG All rights reserved. SITRAIN Training for Automation and Drives Template for a Motor Control System - From the Standard Library
Date: File:ST-PCS7SYS_V6_cfc.20 SIMATIC PCS 7 Siemens AG 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
Date: File:ST-PCS7SYS_V6_cfc.21 SIMATIC PCS 7 Siemens AG 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
Date: File:ST-PCS7SYS_V6_cfc.22 SIMATIC PCS 7 Siemens AG 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
Date: File:ST-PCS7SYS_V6_cfc.23 SIMATIC PCS 7 Siemens AG 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
Date: File:ST-PCS7SYS_V6_cfc.24 SIMATIC PCS 7 Siemens AG All rights reserved. SITRAIN Training for Automation and Drives Block Libraries, Part 2 Standard Library Inputs Outputs Algorithm SFB / SFC PLC
Date: File:ST-PCS7SYS_V6_cfc.25 SIMATIC PCS 7 Siemens AG 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
Date: File:ST-PCS7SYS_V6_cfc.26 SIMATIC PCS 7 Siemens AG 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
Date: File:ST-PCS7SYS_V6_cfc.27 SIMATIC PCS 7 Siemens AG 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
Date: File:ST-PCS7SYS_V6_cfc.28 SIMATIC PCS 7 Siemens AG 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 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
Date: File:ST-PCS7SYS_V6_cfc.29 SIMATIC PCS 7 Siemens AG All rights reserved. SITRAIN Training for Automation and Drives R V_HOT_FL Reactor Simulation (Summary) M Heating V1_OP_CL V2_OP_CL V3_OP_CL M1_ON_OF TMP_SHEL TMP_INT LEVEL FB_V2_OPEN FB_V2_CLOSE FB_V1_OPEN FB_V1_CLOSE FB_V3_OPEN FB_V3_CLOSE MOTOR_ON
Date: File:ST-PCS7SYS_V6_cfc.30 SIMATIC PCS 7 Siemens AG All rights reserved. SITRAIN Training for Automation and Drives Exercise: Control Loop for the Reactor
Date: File:ST-PCS7SYS_V6_cfc.31 SIMATIC PCS 7 Siemens AG All rights reserved. SITRAIN Training for Automation and Drives
Date: File:ST-PCS7SYS_V6_cfc.32 SIMATIC PCS 7 Siemens AG 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
Date: File:ST-PCS7SYS_V6_cfc.33 SIMATIC PCS 7 Siemens AG 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
Date: File:ST-PCS7SYS_V6_cfc.34 SIMATIC PCS 7 Siemens AG All rights reserved. SITRAIN Training for Automation and Drives Notes
Date: File:ST-PCS7SYS_V6_cfc.35 SIMATIC PCS 7 Siemens AG 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
Date: File:ST-PCS7SYS_V6_cfc.36 SIMATIC PCS 7 Siemens AG 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"
Date: File:ST-PCS7SYS_V6_cfc.37 SIMATIC PCS 7 Siemens AG 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"
Date: File:ST-PCS7SYS_V6_cfc.38 SIMATIC PCS 7 Siemens AG 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:
Date: File:ST-PCS7SYS_V6_cfc.39 SIMATIC PCS 7 Siemens AG 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:
Date: File:ST-PCS7SYS_V6_cfc.40 SIMATIC PCS 7 Siemens AG All rights reserved. SITRAIN Training for Automation and Drives Exercise: Test with Dynamic Display
Date: File:ST-PCS7SYS_V6_cfc.41 SIMATIC PCS 7 Siemens AG All rights reserved. SITRAIN Training for Automation and Drives Exercise: Test with Dynamic Display
Date: File:ST-PCS7SYS_V6_cfc.42 SIMATIC PCS 7 Siemens AG 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
Date: File:ST-PCS7SYS_V6_cfc.43 SIMATIC PCS 7 Siemens AG All rights reserved. SITRAIN Training for Automation and Drives Exercise: Program Block with CFC (2) Comment must be added manually
Date: File:ST-PCS7SYS_V6_cfc.44 SIMATIC PCS 7 Siemens AG All rights reserved. SITRAIN Training for Automation and Drives Exercise: Program Block with CFC (2) Comment must be added manually
Date: File:ST-PCS7SYS_V6_cfc.45 SIMATIC PCS 7 Siemens AG 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
Date: File:ST-PCS7SYS_V6_cfc.46 SIMATIC PCS 7 Siemens AG All rights reserved. SITRAIN Training for Automation and Drives Block Change (1) Result A Result B
Date: File:ST-PCS7SYS_V6_cfc.47 SIMATIC PCS 7 Siemens AG 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
Date: File:ST-PCS7SYS_V6_cfc.48 SIMATIC PCS 7 Siemens AG All rights reserved. SITRAIN Training for Automation and Drives Block Change (1.2) Drag and drop Trial for instance V1.1 Instance V1.0
Date: File:ST-PCS7SYS_V6_cfc.49 SIMATIC PCS 7 Siemens AG All rights reserved. SITRAIN Training for Automation and Drives Block Change (1.3)
Date: File:ST-PCS7SYS_V6_cfc.50 SIMATIC PCS 7 Siemens AG All rights reserved. SITRAIN Training for Automation and Drives Block Change (1.4) The new block version is transferred to the chart folder
Date: File:ST-PCS7SYS_V6_cfc.51 SIMATIC PCS 7 Siemens AG All rights reserved. SITRAIN Training for Automation and Drives Block Adjustment (2)
Date: File:ST-PCS7SYS_V6_cfc.52 SIMATIC PCS 7 Siemens AG All rights reserved. SITRAIN Training for Automation and Drives Block Adjustment (2.1)
Date: File:ST-PCS7SYS_V6_cfc.53 SIMATIC PCS 7 Siemens AG All rights reserved. SITRAIN Training for Automation and Drives Block Change with Library and Project Adjustment (1) Changes to the parameter properties
Date: File:ST-PCS7SYS_V6_cfc.54 SIMATIC PCS 7 Siemens AG All rights reserved. SITRAIN Training for Automation and Drives Block Change with Library and Project Adjustment (2)
Date: File:ST-PCS7SYS_V6_cfc.55 SIMATIC PCS 7 Siemens AG 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
Date: File:ST-PCS7SYS_V6_cfc.56 SIMATIC PCS 7 Siemens AG 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
Date: File:ST-PCS7SYS_V6_cfc.57 SIMATIC PCS 7 Siemens AG 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
Date: File:ST-PCS7SYS_V6_cfc.58 SIMATIC PCS 7 Siemens AG All rights reserved. SITRAIN Training for Automation and Drives Exercise: Create Process Tag Types, Import them in the Project (2) 1 2 3
Date: File:ST-PCS7SYS_V6_cfc.59 SIMATIC PCS 7 Siemens AG 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
Date: File:ST-PCS7SYS_V6_cfc.60 SIMATIC PCS 7 Siemens AG 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