You are on page 1of 143
SIEMENS Compiling the AS HW Config and Downloading in STOP Mode = us ‘etre efomd acta be a= Spee eens Beebe acca nae ‘Serers AG 703. rs ees Exercise Compile Download Remark ‘Compile and download your AS's hardware configuration to your target module. Click the Save and Compile icon ("1" in the slide). Or, alternatively, you can use the menu command Station > Save and Compile Ensure that the CPU is in STOP mode and that the keyswitch is set to STOP or RUN _P. Click the icon *2" or, alternatively, use the menu command PLC Download to Module The first time you download, the AS is downloaded with the CPU in STOP mode. (ifitis stil running with an old configuration, the download dialog box offers a stop and restart option), Ifyou make changes later, they can also be downloaded with the CPU in RUN mode (certain rules apply). This assumes that suitable PCS 7 driver blocks are already running in the CPU. For the sake of completeness, a description of dowloading in RUN mode is provided on the following pages. If you need to make changes to the hardware: confguration during the course of the project, follow the download procedure described there. Now the configuration of the AS from the first project is complete. A similar procadure must also be performed for the PC stations that are boing used as ES or OS (See the section "Configuring the PC Station” in this chapter). Training Center for Atomnation end Drives SIMATIC PCS 7 System Training Page 21 System Config SIEMENS Example Group No. Uni No: oo sfunta 2:Unt8 5: Unee fe | tion 2h Convention for tag names a SIMATIC PCS 7 ae pc aBE SITRANG Taino Sms ASEM. Miu nacho Pier oclaty a0 ‘nusratcn and Shes Process description (using the equipment in Group 4, Unit A1 as an example): ‘Component X Mixer Component ¥ Heating Draining In addition The reactor must first be empty and cold. Valve 1U101 is used to fil this ‘component up to the L1=20% Lmax level The mixer motor 1£101 is tumed on. Valve 1U102 is used to mix this second component until the L2=80% Lmax level is reached, ‘The mixture is heated up to 90°C. The temperature controller 11101 must maintain this temperature for at least two minutes. ‘iter the heating is turned off, product Z must be drained completely, and the mixer 12101 must bo turned off. The fill level is monitored (1L101 and 11.102). The inlet valves 1U101 and 10102 must be closed when the upper level limit (Lmax) is reached. The drain valve must be closed when the reactor is emply. There must be 2 signal when the level monitor responds. Both the temperature controller and the mixer must be operated and monitored in the control room. Training Center {or Automation and Drives, SIMATIC PCS 7 System Training Page 2 Configuration SIEMENS Exercise: Download the AS Hardware Configuration in RUN ae ans pete er ee .. ee ontin a Version de —— epenerreres BE Chass ew a) © Dowloscin STOP mec Laat emfa Noten —it |_| signee mere peice e4 eee paca el a ‘rece F 1 taget Hele. x a ae ET f SIMATIC PCS 7 ate, 1531 2008 Sa SMC er. tna BET et somen maem Download to target system in RUN Requirements After the station configuration was downloaded with CPU STOP, you made changes to the configuration and have not saved them yet. In the hardware configuration select, PLC > Download to Module or click the icon (point 1 in the slide) ‘The GPU keyswitch must be set to RUN_P. Then download in RUN state is offered. Should the CPU nevertheless go to STOP as a result of downloading in RUN, this is an indication that the CPU software is incomplete or does not capture the triggered events. This problem is automatically solved by using the PCS 7 driver blocks. Training Center ‘SIMATIC PCS 7 System Training forAuosaton ard Drives Page 22 System Config ‘SIEMENS Exercise: Download the AS HW Config to the PLC I (check, ciR Compatibllity-1) ieee ee Help on Message 13:4829 Description ef Error: Dae fo a metifeaton othe cerfiawlin, ae SDB was gererted which sarrat 92 covrfoaded tthe modse ‘To Correct or Avoid Error: Undo the ctanges. Be rROETP nave SIMATIC PCS 7 baw ss412me SITRANN rsshe Senera AS20H, AS reat Re'srercsiars. ro ssomzs fae ard oeee CIR Compatibility _Ater the download procedure is started in RUN, STEP 7 first checks whether the changes can be downloaded in RUN. The current onlins configuration of the CPU is also taken into account. Ifit is not possible to download the changes (e.9. offline changes to the CPU parameters, such as e.g. PIP assignment), @ screen is displayed indicating the cause. You cen then press the Help button to display a description of the error and how it can be oliminated (If this Is possible). Note You can also start a preliminary check of the CiR compatibility by activating the menu option in the HWW Config Station -> Check Ci Compatibility ‘This checks whether the configuration changes that were made since the last download can be downloaded to the automation system in RUN. The check is performed offline, An online connection is not required. If the check retums a negative result, we recommend discarding the changes, You are lucky if you didr't save the modified configuration before the check! You can now exit the HW Config. You are prompted whether you want to save the changes. Respond with NO! This way you can discard all changes that are not CiR-compatibie. General Recommendation After a successful download, make small changes to the HW Config and note or remember the changes you have made. Should the result of the CiR check be negative, there is no major loss when you discard the changes. If, however, the changes are necessary, you will have to resort to downloading with the CPU in STOP mode and then reboot. For a dotailed descristion, please refer to the manual "STEP 7 - Modifying the ‘System During Operation via CiR” that was installed on your ES. Tho programming instructions in that manual can be disregarded under PCS 7, as the PCS 7 driver blocks take care of the specific cases, ‘Training Center SIMATIC PCS 7 System Training for Automation ard Drives, Page 23 System Config SIEMENS Exercise: Download the AS HW Config to the PLC (Check CiR Compatibilit A Seton cet Year AC Wen Optew Redon tab 1213 Disa ie S| sale) data MBC) wel Bence pane olin ~— fl rere sua Aaa Suc AD Sw ae Suen aut Sua net swan AO Swan ABST Thecurt HO este node eee a hepa nde a | SIMATIC PCS 7 ae istic [STRAIN Taher Soren A820 A gs Hiern BE Gs ents Some properties that are relevant for the CiR are already checked during configuration. In the above example, the address range reserved by the CIR module is not sufficient to allow insertion of another analog module. It is not possible to download changes made to the reserved range in RUN (see next page). Training Center SIMATIC PCS 7 System Training ‘or Automation and Orives Page 24 ‘System Config ‘SIEMENS Exercise: Download the AS HW Config to the PLC (Check CiR Compatibility-3) Pet cwdete prepertics x) ee — | et Sage | oes marl vere 3 SIMATIC PCS 7 SITRAIN rai ae 15412800 Serve A020 Abe reand Fitri hn onmene28 ‘acraten arte Any subsequent changes to the reserved range for this ET 200M cannot be downloaded in RUN, i. if insufficient address space was allocated before the first download. How should we proceed now? If the CiR object on the DP subnet stil has sufficient address room for slaves, an additional ET 200M can be inserted there and fitted with modules. In the latter case, you should create sufficient reserve addresses so that the new rack can be completely equipped. Training Center SIMATIC PCS 7 System Training for Automaton and Daves Page 25 ‘System Config SIEMENS Configuring the PC Station (Overview) Hardware descristion mode* SIMATIC PCS 7 PC Station Commissioning Wizard The Commissioning Wizard appears after the Set PC Station SCE Remark Hordwere description on the PC sition | inthe PCS 7 project | Preset configuration | ; ® Station HW Contig Configuration Editor 1 ofthe PO steton (partof PC instalation) §—j_——_—(partof projet) Set PC = | indexttype @) station | "PC I operation” Application : | 1 Application 2 | WinCC application i 2 | WinCC application t—] | cPx ---} -3-|~--=sR€----} + 4-2} SPE | oy rs Py I] 4 oy ‘with "configured ‘Station Manager | 125|_ Station Manager eB sire rae ‘The PC can be used as ES or OS or both. It must however be set up once, immediately following installation of PCS 7. Then it can be changed later. stallation and detects (via ‘Win2000 functionality) the network cards (CPs) on your computer. You need to make setlings for the CPs (explained in more detail later) It is also automatically started if new or different communications cards (CP) were installed on the PC. after it was lest shut down, ‘Atter the Commissioning Wizard has finished, this tool opens and the modules/CPs recognized by the Commissioning Wizard are displayed, For each module, the operating mode is displayed in the "General" tab: "Configured Mode": The CP (mociule) is loaded from the project by the Hardware Config (configured). The preset configuration created there determines, the behavior of the CP (actual configuration). *PG Operation”: In this case, the CP is configured via the properties, orvia START-> SIMATIC->SIMATIC NET->Settings -> Set PG/PC interface (as you may already be familiar with from the previous PCS 7 version) The Station Configuration Editor is displayed in the form of a table. Only the CPs that ara set in "Configuted Moce” initially by the "Commissioning Wizard” (or later by "Set PC Station’) ate entered in the fable. Ifa CP is switched from "PG. Operation” mode to "Configured Mode" in the "Set PC Station” tool, it is, automatically recorded in the SCE table. When the mode is set back to "PG Operation", the CP is removed from the SCE again. Each component (also the individual CP) is assigned an index in the SCE (like a “slot in the table). You can change the slot/index in the SCE vier Select CP and Edit or by moving it with the mouse. Training Center for Avxomatian ard Drives, SIMATIC PCS 7 System Training Page 26 ‘System Config Note 1 Note 2 You can also delete a CP in the Station Configuration Ezitor (itis automatically switched to PG Operation) or add one (tis switched to “Configured Mode" again) ‘Software components can also be inserted in the SCE - as substitutes for the applications that are to run on the PC. These include, for example, "Application" to sat up connections from this PC to other network stations, "WinCC Application” for the WinCC software io communicate (if the computer is used as an OS). The “Application” also hes an index’slot and can be moved if necessary. The SCE table can be viewed as a rack whose components have to be loaded from the PCS 7 project. The individual component in the SCE must have the same index as its counterpart in the HW-Config of the project. In SCE there is a bottleneck with regard to the Softnet modules. It is not able to administer two Softnet modules with the same protocol if they are both in “Configured Mode" at the same time. This is the case, for example, if Ethemet communication in PCS 7 is running over BCE and Softnet modules are being used Remedy: In the "Set PC Interface" tool, set the Ethemet connection for the plant bus in "Configured Mode", while the terminal bus connection remains in "PG Operation". This means that the systems bus connection in the PCS 7 project is configured in the HWY Config of the PC station and is also loaded. The terminal bus connection, however, appears netther in the SCE nor in the HVV Config. Training Center ‘or Automation ard Drives ‘SIMATIC PCS 7 System Training Page 27 ‘system Config SIEMENS Set the PC Station (Modules) ani Mm yor |e > OR DP Tel aud Pellet (ine SS | sosetteness A __[Caieeeinee ———— 3] acd | ae oe me a Bion atte - Bee Sa Ca a OTE tone sures | tonatretie = ey J sicetventie Rowton Sma easy mene. | atte ee aos | "Zee oe Brace | Tice seen team Pac sateen, oe | _ | (EOE Boe [rca | oo | | Boer | fou | (gua ns sth SIMATIC PCS 7 STRAW rangi Bene AG 04, A os Set PC Station Modules OP 5611 CP y (see page 26) OP x Remark ns B LEP eine ia ‘The Set PC Station tool is launched via the Windows Start bar Start > SIMATIC > SIMATIC NET > Set PC Station. ‘The "Modules" and "Access points" tabs are of interest for PCS 7. All communication modules detected by the Commissioning Wizard are listed here. ‘The GP can be used for interconnection via MP! or PROFIBUS DP. Itis set to PG Operation, as itis only used for PCS 7 V6.1 in some specific cases, Inthe example, "Configured Mode" is displayed as the mode type for the internal LAN interface (Intel). Index "4" means that this module was entered in the SCE on "Slot 4", It can be moved there if required. The settings for the module ars loaded from tho project after the HW Config is opened. ‘The module is required as a connection to the plant bus. In the example, "PG Operation” is displayed as the mode type for the 2nd LAN interface (Xircom). This module is not displayed in the SCE, is not used in the HW Config, and is not loaded from the project. ‘The module is used as @ connection to the terminal bus. ‘To change the operating mode (PG Operation <->Configured Mode) you must have administrator rights under Windows. In Configured Mode, the parameter settings for the module are loaded from the project. In "PG Operation’, you set the parameters. Training Center {or Automation arc Drives SIMATIC PCS 7 System Training Page 26 ‘System Config SIEMENS [S708 Pccrts 2 tom vou eo om BR 2 ces ome | oa ‘se as pe psa tpt Faas pine sro FR Soa wer commen SIMATIC PCS 7 Accass Point Remark Set PC Station (Access Point) 3109 hsdnc Erne» ret] PAU/iCOVE Re aes scram TRAN vonage Ai srecsioNs re psterzs ‘atone one The available access points are listed here. The assigned interface parameter settings and module are displayed for each access point. Applications that use the protocol libreries (DLLs) directly use the name of an access point to access the module. Double-clicking on an access point opens a dialog where you can make changes to the assignment. ‘The access point "S7ONLINE" is the relevant access point for online operation of the ES. Which device (interface) the SIMATIC Manager uses to communicate with the ASs is determined by the access point. For example, if STONLINE is set to CP5611(MP!), the SIMATIC Manager will only try to access the other components via this module with its MPI settings. On the other hand, if the access point S7ONLINE is set to "PC internal|ocal)", the SIMATIC Manager tries to find the path to the other components on the basis of the configured networks. If several paths/gateways are possible, then a screen form will appear offering a selection of the available gateways. This setting is also required in order to Gownload the configured ES/OS configuration "to the PC". It ls also used for central configuring in large-scale projects (multiprojects). Training Center {for Automation and Drives SIMATIC PCS 7 System Training Page 29 System Config SIEMENS SCE (Station Configuration Editor Option) [asscomerrs ees eee a Index BABY Ap) fern atmcane ot leant Nae {OEE Sm Feeeteion Jpeeprcnntaty, freee [etches owe Sooner tine Sr Bpleston SIMATIC PCS 7 SUTRA Tanne tr Ses AG 208: oe. Patio exon Exercise (info option) Set up the Station Configuration Ector so that Index 2 (row 2) contains a WinCC application whilo Index $ (g90 aide) containe the Ethernet CP for the plant bus, nter the Windows name of your PC as the station name, Note 1 ‘The SCE initially only shows the communication modules that the Commissioning Wizard has found that are in "Configured Mode". Procedure Start the Station Configuration Editor from the desktop (or alternatively, via the icon in the Windows taekbar). Delete Select the row with the contents you wish to delete, then right-click and select Delete to remove the contents, It it was a CP, tis removed from the Station Configuration Editor, but remains In the Set PC Station tool where it is switched to PG Operation mode. Move Ifthe correct component was already entered, but in the wrong row, you can move itto the correct row with a drag-and-drop operation. Add If you want to add a new component, select the row in the table, right-click and select Add. Asscreen form opens where you can select the component you wish to insert. Application ‘An application should run on the PC according to its function in the network. Ifthe PC is used as ES, it needs a slov/index of type “Application” or "WinCC application” in the SCE. Ifthe PC is used as OS, it needs a slot/index of type "WinCC application", Wine application (sty) or “WinCC apolication clentin the SCE. Whih option to select depends on whether the OS is configured as a single server or redundant server, or if the OS is used as a terminal (olent) SIMATIG PCS 7 System Training Training Center Page 30 ‘System Config for Auxomation andl Drives ‘Once the configuration is completed on the PC, it must be loaded from the HW. Config (which is contained in the project). Then the PC is ready to assume the role assigned to it (ES or OS) Note Later when the connection is configured, the application represents the contact point on the PC side for the CPU from the AS side. Noto 2 Tho previously described procedure also functions in Version 7.0. A disadvantage is the double configuration (once as SCE on the PC and additionally in the hardware configuration of the PC station, in the PCS 7 project). With Version 7.0 and higher, the SCE can be derived from the project ones the hardware configuration has been created in the project. initial creation of the SCE is then omitted. SIMATIC PCS 7 System Training Training Genter System Config for Automation ard Drives Page 31 SIEMENS Exercise: SIMATIC PC Station/OS HW Config Windows network connections (via START > Settings “> Control Panel > Network Connections) aa era am sevmeed bp a ———— acess i Tipe [ae Teves [howe] LatverHoh Speeder Coneted este aTei39 Fay PCI Fes LaNortohSpeedinernetNetwaicable unused eam Ehemet Ader iftic0 4 LeNorHghspeedincert Comets tne adaster ame a Meaningful names for the LAN connections Installed Ethernet CPs SIMATIC PCS 7 Prac BES apuenise ee Exercise Configure your PC station as an ES/OS. ‘Steps 1. Open the network connections of the PC under Windows, and provide them with meaningful names. 2. Open the SIMATIC PC station from the SIMATIC Manager project OS_PRO, and add to the components in the virtual rack 3. Configure the station (after setting the PC interface)! 4, Dowload the PC station Network connection 1. From the Windows task bar, select START > Settings > Control Pane! > Network Connections to open the screen form shown above. Depending on the connection of the Ethernet GP, change the Windows default names to "Plant bus" and "Terminal bus" Training Center SIMATIC PCS 7 System Training for AuDtoation ae Drives Page 32 ‘System Config SIEMENS SITRAIN 7: ing for Industry SIMATIC PCS 7 System Course Course ST-PCS7PRG ALN ECON: N Beret Eurae a Gumi ai pee wt abo at ea GOW ate et te een Naru GaGa ee), Con VB ar Ep sare tel scr aerason tate Bind iy At ial fe evs Stnersasimes essonsty 9 cons Troan renin el he sit a nent pia (Misi pas iter acme Oto ot Ub Sab fo duages At nis ‘erg ocnsty pc gmat crete ey osteo e Name: SIMATIC $7 PCS 7 PRG Course: from 10 to 14/t2ve0i2 Trainer: $1.Rémulo Duarte 1. System Overview 2. Configuration Overview 3. Project Structure 4 System Configuration 7 SCL fl 8. Operator Control and Monitoring 9. Multiproject 10. Append Inline Tel: 7951 21170704 951 21 4178089 Interne ttm stents sonst De. Release V7.0 (or POS 7 Version 7.0) SIEMENS i Dig) stlel PM sort Aten (yesh oe Heb Exercise: SIMATIC PC Station/OS HW Config ann Wy seme cae eae FAC ow Ope inden tp 24 Sige) 4 I SEEE ET pisieuia @f Se) aie BO) ey | PaRarcie —Z 2 WrEE Applicaton z | fl wrecaieon in) =I Bic ay namie | Et Pac pier cern — $ Bow accor) ree SIMATIC PCS 7 Dao 442006 (SITRAIN trang Beek omnes Sraneeie SIMATIG PC station 2, The OS was created as a SIMATIC PC station. The PC station was also Components WinCC Apzlication CPs configured as a component with the HW Config tool. In the component view of SIMATIC Manager, select the SIMATIC PC station, right-click and sefect Open Object (or double-click the configuration icon). In the hardware catalog, open the node "SIMATIC PC Station’, select the ‘components and use the mouse to drag them onto the PC rack. You need to match the slot in the rack with the Station Configuration Editor (SCE). The matching must take place before downloading the configuration to the PC (see next page). ‘The components are as follows: This corresponds to the OS software. However, the index (slot within the rack) does not match the position in the SCE (Station Configuration Editor). It neads to be adjusted as follows: - Use the mouse to drag the WinCC application to the same position in the HW Config rack as in the previously configured SCE, - Or, the SCE is automatically configured (see next page) if its still empty. In the latter caso, the slov/index in the HW-Config is now irrelevant. 2, Communications processors for connecting tha PC to the networks (MPI, PROFIBUS, Ethemet) In our exercise do not configure CP 5611 as itis running in "PG Operation" and is not loaded Select the Ethernet CP installed in your ES/OS PC configuration and drag it onto the PC rack. Set the Ethemet address (MAC address) in the CP properties according to the parts list for your workstation In our example, deactivate the Internet protocol (TCP/IP), Training Center for Automation and Drives Page 33 SIMATIC PCS 7 System Training System Config Note PGIPC interface If en IE Generel CPISoftnet CP is used (e.g. 3Com or LAN onboard), then itis generally not possible to change its address and the address in the HW Config must match the address dispiayad in the "Set PC Interface" tool After you compile or complete the HW-Config with with a Save operation, an OS: station is created in the component view of the SIMATIC Manager under the SIMATIC PC station. Select the station, Tight-olick and select Object Properties Then, the station as “OSxx", where xx is the number of your station (e.g. 0S01) Change the STONLINE interface to "PC internal (local)". While this setting is imelevant at the moment, you can make it now since you already have the SIMATIC Manager open. Training Center for Automation ane Drives ‘SIMATIC PCS 7 System Training Page 34 ‘System Config Exercise: SIMATIC PC Station/OS HW Config tie ca Pe Me bw Ose ave oD eaters A Os Fe be dh oe 2 BS roan Ciro ‘cnn a upto ce 6 —> | xereeca Easel poorer fens [Wsenigictegtccrm = +———— 3 Meccan =e Pant congted acer i 5 setae te tf — 4 SIMATIC PCS 7, ete: 9511.2006 - SN song Sewn A000 ge none Manele pox aes ‘Configuring the PC Station 3.0 Select the PC (your ES/OS) in the PRO_OS project in the SIMATIC Manager, then right-click and select Target system > Configure to open the screen form (see above) 3.1 Select your terminal bus under "Local network connection”. Only connections with 2 TCPIIP setting are offered. 3.2 Click "Update". The computers accessible under Windows ere displeyed, including your own computer. 3.9 Select "Use configured target computer". The name is automatically entered into the "Target computer" box. 3.4 Click "Display’. The current SCE of the PC is displayed (check). If something has already been configured, the hardware configuration must matoh it. If itis ‘ompty, carry out the next step. If necessary, components can be deleted by calling the SCE directly before the next step is carried out. 3.5 Click "Configure". The SCE is structured according to the hardware configuration, and matches it! 3.6 Check the messages to see if errors have occurred. Training Center SIMATIG PCS 7 System Training forAutoaion and Dives Pace 35 System Contig SIEMENS Exercise: SIMATIC PC Station/OS HW Config Station Configuration Editor SIMATIC PC station was created when <1 Bite comtts congue n ne PCS 7 was instaled on the PC projeatin the SIMATIC Manager Is contigured aocercing to tho and dovmioaced tothe target PC subsequent use of the PC as an ES oS andlor OS: STONLINE> PC local B aarcrciie =I 2 Cot perrereey 2 Pind Eenet Boorse Dew SO ere SIMATIC PCS 7 ae SITRAIN rae Senere AGE. Nee cova Pitre Si mer 6 Aisesn oats PC Interface 4. You can only download the PC if the access point STONLINE was set to "PC intemal (local)’. Set the access point accordingly via Set PC Station. As an altemative, you can also set the access point from the SIMATIC Menager via Options > Set PG/PC interface Access point S7ONLINE > PC intemal (local) Compile Compile from the HW/-Contig Tool (symbol 1 in the slide). Note 1 ‘The compilation process can take several minutes (depending on the computer), as a complete WinCC project is generated for the WinCC application. Load To download the PC configuration, select symbol 2 (see slide). Acknowledge the dialog boxes that appear. If error messages are displayed, this could indicate that the PRESET and ACTUAL states are incongruent. Open the Station Configuration Editor and look at the symbols in the Components tab, Status column. For mora information, activate the help button in the Station Configuration Editor. ‘Also check the Diagnosties tab! Have you obtained the SCE through "Configute station"? Note 2 In order to enable all AS and OS of the projects contained in a multiproject to be downloaded from the central ES, the PC interface must remain set to PC intemal (local) for the duration of the project. Itis necessary, however, to merge the different notworks of the projects (make them known). The NetPro tool is used in the multiproject for this purpose. You can also use il to set up the 87 connections required for the online data trensfer between the AS end OS. The next pages show you how to merge Ethemet networks and create the S7 connection between AS and OS. Training Center SIMATIC PCS 7 System Training for Automation ard Drives Page 36 System Config SIEMENS Calling Up NetPro 5 dav SMA, 7 and (@stoaed ch | = z SIMATIC PCS 7 ‘Strano A205. rs sen Exercise Steps Procedure ind ete STRAIN nanvater Bir srecStahe vo senor Ribmaton bone Launch NetPro for both projects (PRO_OS and PRO_AS) and marge the Ethemet subnets there, Then create an S7 connection from the OS to the AS and download the connection to both devices (AS and OS). 4. Start NetPro for the OS project. 2. Start NetPro for the AS project. For clarity, arrange both windows side by sido. 3. Merge the Ethernet subnets 4. Create the 87 connection called 0S01_ASO1 between the OS and the AS and download this to both stations. 1, Select the PRO_OS project in the SIMATIC Manager. Click the NetPro icon (see slide). NetPro opens with a window displaying the notworks from the PRO_OS project. 2. Select the PRO_AS project in the SIMATIC Manager. Click the same NetPro icon, As NetPro is already open, it appears in the foreground again and displays a second window with the networks from the PRO_AS project. Select the menu command Window -> Arrange > Tile Vertically to display both project-specific networks side by side. At this point they are still independent even if, for example, the Ethernet subnet has the same name in both projects (plant bus, see next slide). ‘Training Center for Aulomation ard Drives SIMATIC PCS 7 System Training Page 37 ‘System Config SIEMENS el cD = ee S) Sle) dela) 2) 12>) [i sal) ¥2) mo ainx lasot a a apt U0 VP vel Oe SIMATIC PCS 7 Beers A328, Noes. Bae p22 Pato nec eo meen SITRAI rane 3. The Industrial Ethernet-type subnets are visible but still need to be merged. Select Edit > Merge/Unmerge Subnetworks...> Ethemet Subnets. Anew screen opens. Select the subnet of one project in the left window and click the arrow keys to move it to the right window. Aiter having moved both subnets, you can rename the cross-project subnet. Training Center for Auiometion ard Drives: Page 38 SIMATIC PCS 7 System Training ‘System Config SIEMENS Sutnes neuter A005 —— Click twice -with a pause between clicks - ‘and then rename. SIMATIC PCS 7 ose team STRAN nant Internally the merged subnets are assigned a common ID (identifier) so that they are available as if they were @ uniform subnet. (One result of the common ID is that the setting for the access point "S7ONLINE > PC intemal (local)* is sufficient for the SIMATIC Manager to find and suggest a route for loading the devices! You just need to download this new information (e.g. from the HWY Config) to the ES first! Then you can download an AS too with the same setting. Training Center for Aulomation ard Drives SIMATIC PCS 7 System Training Page 33 System Config SIEMENS tutvok Ede ivrt IG Maer Sper Winn Hep S188) S) Sle) ala! 8) oie Taal!) xe) ee hove te. seen Setting Up a Connect ax Lskeoeemere of ders row crecon nie rome a SIMATIC PCS 7 Serre ABO pe ane 4, SITRAN ranna In NetPro, go to the OS project window and select the WinCC application within the PC symbol, then right-click and select Insert New Connection Asselection box appears. Select the partner for this connection (in our example your A801), Remark The yellow arrow in the PC symbol has two meanings: » The PC interface is set to "PC intemal (local)" and + The displayed PC is the local ES you are working on. Training Centor for Automation and Drives Page 40 SIMATIC PCS 7 System Training ‘System Config SIEMENS PCS Hardware HMI ES (PC) ssoni STONLINE Plant bus Automating “Closed-oop contol = Open-ioop control = Monitoring ~ Signaling DP bus, Distributed pe cer200N process signal converters foo Sensors es ¢ and actuators SIMATIC PCS 7 SEAN rg SI Aa ge ent acai Info Flow ‘Sensors, transducers, and DP process signal converters modules acquire process information. The AS processes this information and uses the same path to pass it on to the actuator. in parallel, commands are sent from the OS to the AS. AS information is displayed graphically on the OS. ET 200M The IM 153-2 interface module converts the process signal converter (VO module) information into message frames for and from the AS. DP bus ‘The bus (PROFIBUS DP) transports the message frames between the AS (DP AS (ST 417-4) Plant bus: (08 (wincc) 'S (STEP 7) ‘master interface) and the ET 200M interfaces. ‘The DP master intorfaco reads in the message frames in the AS. The driver blocks convert and process the message frames into process values. That is, ‘opentoop control algorithms and closed-loop control algorithms convert tho message frames Into commands and send the commands back to the 1/0 using the same path. The values are also monitored, and messages are sent to the OS when defined events occur. The plant bus can be MPI (Mult-Point-Interface), PROFIBUS or Industrial Ethemet. The plant bus is used for communication between the AS-OS, AS-AS, as well as between the ES and the above mentioned nodes for the purpose of configuring and commissioning. Data coming from the AS - embedded in process displays- are displayed graphically 2s measured values with a time-based sequence and as messages with classification. The plant operator's commands are passed on to the relevant AS and the response information displayed, The configuring and commissioning steps shown on the following pages are structured on this basis. The entire project is carried out on the Engineering Station (ES). The software accesses the plant bus via "“S7ONLINE”. Access can be established via different harcware components and is settable. Training Contor for Automation and Drives SIMATIC PCS 7 Sysiem Training Page 3 Configuration SIEMENS Setting Up a Connection (2) z 2 | Leclerc rot Concentrates a ya 3 e / ES Change to, for ‘example 0801_ASO1 maar T ee Paiva sf 3 Ieee forasinose =] (piensa erm | t lasot SIMATIC PCS 7 ate agate SITRAIN wats ‘Sears AG Age sen Pa rrcbiare 0 sont} dene one Each connection is assigned an 1D: * On the PC (application) side, this ID is a name (e.g. S7_Connection_1) © Onthe AS (CPU) side, the ID is a value. Recommendation Change the default name to a meaningful name(e.g. O$01_ASO1). This makes it easier fo see who the connection partner is in the connection table of an AS (CPU). Moreover, itis advantageous for the online test of a configured OS on the ES-PC (keyword "Start OS Simulation”) before the active OS is loaded. ‘Training Center SIMATIC PCS 7 System Training for Automation ard Drives: Page 41 System Config SIEMENS Tarech E38 trem PAC Ue Oats Wino Pe 3) i Download to Current Project > Selected Stations to download the stations. This method requires you to stop the CPUlapplication for a short duration (seconds) and then restart it! The network configuration is downloaded independently of the HW Contig download. If you do not want the AS to go to STOP (for example, i this is not permissible for the process), use a different method: Select the AS and download by selecting PLC > Doumload to Current Project Connections and Gateways. For the OS select the relevant connestion in the connection table and download it by selecting: PLG > Download to Current Project -> Selected Connections. Training Center for Automation ard Drives SIMATIC PCS 7 System Training Page 42 System Contig SIEMENS ‘Standard Viow Siteesen. Eek rsa PLC ww Cones Winco Hee ie) S| Biel dea) 5°) ( Cross-Project View Cross-Project View ST ‘SP EOP eet FC ew Optom Yor Hip Sle ISB) Sle) alee! <5} 11 (BSL) wel SIMATIC PCS 7 Shere 285, Sr er Standard View The standard view The subnets are di name. You can selet menus (usually Object Cross-Project View STTRAN rat te Paorrcsioye Yo snnss {left window} displays the devices of the individual project only. isplayed both with their project-spocific name and thoir morged ct the different components and set them via the relevant { Properties). This view serves mainly to view information that is relevant at the level of the project (no configuration of the components). For example, from here, you can download the conn Each node (CPU ot downloaded connec Remark \ection data to the listed components. F application) has its own, limited connection table. Individual, ;ctions cannot be deleted online. Should you need to delete them, you first need to delete the connection in the offline table and then download the full table by selecting PLC > Downloi However, as deseri duration! ad to Current Project > Selected Stations ibed above, the stations must be set fo STOP for a brief Training Center for Auiomalion and Drives SIMATIC PCS 7 System Training Page 43 System Config SIEMENS $7 Connections (Stations in Unknown Projects) 4 Se : oo ae ic Al bacco station’ e \ =~ ® Soe a Jen ope.tng mate meet Ei tvet S] J i 2 cose (are ae — pens =e —— ——— SIMATIG PCS 7 ae, date SITRAN Tangy Sees 43208 Asse, Fifer rcs suet Additional Information When configuring connections, the SIMATIC Manager provides them with IDs in the same sequence as they were created. If both nodes exist in the mulfiproject, you can select the partner, and each one is automatically assigned a separate ID for this connection. If the partner is not yet available, you can reserve an ID as described in the next section, Connestions in Unknown Project To do this, highlight the CPU in your project, the connection table appears, select an emply line, Jight-click and activate Insert New Connection to start the process. Then select as your Connection Partner: the option “In unknown project” and then the Properties of the S7 connection. Under Properties, enter a connection namefreference (circled on the slide) and specify whether the local CPU is to establish the connection (circled on the slide). Only one partner in the connection is permitted to establish an active connection, Ifthe connection has not been closed, it will be displayed as an error when NetPro is terminated, by way of a reminder. Later, when the other projects have been incorporated into the multiproject, connections from the various projects with the same reference are merged when the projects ate adjusted. After that point, the address details are known for both stations and the connections can be loaded into both, Note The project merge can either be started from the muitiproject or - like with the subnet merges - in NelPro by activating the menu command, Edit > Merge Connections... Training Center ‘SIMATIC PCS 7 System Training {or Automation and Drives, Page 44 System Config SIEMENS Cinfiguring Sequences with SFC — Faber hmide | ADEA skin Fentning| Bewrins| SS fees (Seis) kat und eer a Sa frameen———~ mer fanaa tr ft] +] =] oxcien [twchanten SIMATIC PCS 7 Dae er earen SERA tang Seren 5 286A gre nna, Parca N Tate ‘nace are owes Content OVEN een ‘Sequence Structures Action and Transition - a Preprocessing and Postprocassing for 2 Sequencer ... Operating State Logic of a Sequencer Exercise: Sequence Control - Temperature Open SFC (in Test Mode) nnn Sequence Control-Reactor Parameter Control via the SFC Notes. SFC Operating Mode Logic Run Behavior of an SFC. Restart Behavior of the SFO(1) Restart Behavior of the SFC(2) Extemal View Of SFC occenncnsee — Exercise: Adding Two Sequencers to the Sequential Control Holding Sequencer with Data Block for Values to be Saved .. Creating an SFC Type Creating an SFC Instance Miscellaneous Reference Data Training Center SIMATIC PCS 7 System Training for Automation and Drives Page 1 Configuring with SFC Overview Menu bar Element bar__ 81 to $4 Steps STAT Ti..74 Transitions SIMATIC PCS 7 rer AG 266 An ro ‘SFC Flow Chart Editor Insert Step Transition Runtime Properties Compile/Download gee oF SA rai The chart topology, the action functions af the steps, the switching conditions of the transitions and the runtime properties specify the flowchart created with SFC. Graphics are used to structure the flow chart. Connections with block paremeters already present in the CFC charts are used to configure the individual ‘components (steps ang transitions), Therefore, there is no programming; instead, you just access templates. You can select the siructure symbols from the step symbol bar. You click the symbols fo insert them (before/after a transition). Steps are always inserted together with the necessary transitions. Double olick the step symbol to begin configuring the step. You must fil out the tabs for this. ’Vhen configuring actions, you can use the "Browse..." bution to display the blocks contained in the CFC char's ("Magnifying glass") and transfer their parameters to the action list. Double-click the transition symbol fo begin configuring the transition. You must fil out the tabs for this. The same things apply to configuring actions as to ‘configuring steps. The chart will be automatically inserted into the OB where the pointer for the runtime sequence is positioned, Comeilation and download are performed in the same way as for CFC. All chart information is maintained in the chart folder. The compilation resutt is entered in the block folder and downloadad from there to the CPU. Test The sequencer can be run and tested when the CPU is connected and test mode is selected (Test menu). Double-click the step/transition symbol to display the current states Training Center for Automation and Drives SIMATIC PCS 7 Systorn Training Page 2 Configuring with SFC SIEMENS Sequence Structures Linear Parallel ‘Attornative Loop Jump ! ! ! | st st st st ! i ' T I ere Tie [ 1 Ti Tal st ti2] [713 ase! U 1 I 1 | $3 G2) 822 2 so |i = 12 ||| sz I L — s2 | T24 34 123 iE T Ci Le i i 23 : t 83 St = 8 i 1 7 T T ! ; SIMATIC PCS 7 cr, J SITRAIN sg Parca sco are AG DYE A if neve Linear Sequence _ Start position: S1 and 112 are active. Step enabling: if T12 is fulfilled, then $1 becomes inactive, and 82 and 723, become active. Parallel Branch Start position: $1 and T12 are active. Step enabling: if 712 Is fulfilled, then $1 is inactive, and $21, $22 and 123 become active Altemative Branch Start position: $1, 142 and 713 are active. Step enabling 1. IfT12 is futfilad, then $1 is inactive, and $2 and T24 are active (T13, $3, 134 inactive). 2. If T13 is futfiled, then S1 is inactive, and S3 and T34 are active (T12, $2, T24 inactive), 9, IFT12 and 713 are fulfilled, priority to the left is higher; the left branch is active, Loop Start position: S1 and T12 are active. Stop enabling: 1. IF T12 is futflled, then S2 Is active, and 723 and 12 are active. 2. IF 723s fulfilled, $2 terminates and S3 is active 3. IF T2 is fulfiled, S2 terminates and is initialized again. 4, If T23 and T2 are fulfilled, then to $3. Jump Start position: $1, T12 and 113 are active. Step enabling: 1. 1FT12 is fulfilled, then S2 and 723 are active. 2. IF T2'is fulfilled, then $3 and its following transition are active. 3.1712 and T2 are fulfilled, priority to the left is higher; normal sequence (no Training Center ime: SIMATIC PCS 7 System Training {or Auemation and Dives Page 3 Configuring with SFC SIEMENS sont Action and Transition Step active cop Se a ' Transitign futfitlod HH EH exces > SIMATIC PCS 7 page, STRAIN toting tr ‘Sears A205 ig se Pir rote vce OF aie outs Actions Step volualization, ‘Processing, Actions that determine what steps must do in the process (such as specify parameters and trigger switching operations) must be configured within the step. You can enter up to 0 actions per step section. Assiep consists of actions that run in three sections: Initialization is carried out onoe (for one program run from the OB) when the step becomes active. This section is carried out for every run from the OB until the next transition is fulfiled. If the transition is fulfiled, the terminating section (see below) is carried ‘out during the next OB run of the sequence. This section is carried out once, after the next transition is fuffled. After the last ‘command, the step becomes inactive and simultaneously, tho following step beoames active (with its initialization), depending on the topology. Transitions contain the step enabling conditions for the next step in the sequence, You can evaluate the validity of up to 16 conditions using five logical gates. If you ‘mouse-click the gate or connecting line, you can conver it to AND, NAND, OR or NOR. Training Center for Automaton and Drives SIMATIC PCS 7 System Training Page 4 Configuring with SFC SIEMENS Preprocessing and Postprocessing for a Sequencer Possible for each individual ‘sequencer Blue background “Tab content has been charged ee led SES ey — So soa a Fes FI rs Dea OC eae SIMATIC PCS 7 pie or 22006 SSITRAIN trating Serers AG 2H A EN Poerec See ace SFC Sequencers When created, an SFC chart has a sequencer (called RUN). It can be extended to Include other sequencers (which can be inserted, moved or deleted in the chart in the lower bar using the right mouse button). After insertion. the sequencer can be displayed by clicking the associated tab. Start Conditions A logic can be constructed in the sequencer properties same as for with the transiton. In this tab, you can define the conditions for the SFC chartitype that are to start the sequencer (6.9. “SFCNamo. RUN = Active" starts the sequencer if the SFC chart is in "Active" mode). At any one time there is always a maximum of ‘ONE sequencer being processed (active) in an SFC chart, Ifthe start conditions are fulfilled for several sequencers, the "Priority" proporty decides which sequencer is execuled (1 is the lowest and 255 the highest priority). If sequencers with start conditions that are futfiled at the same time also have the same priority, the sequencer which is located further to the left is initiated first. Preprocessing In this tab, you can define the actions for the SFC chert or type _that must be carried out before each sequencer processing call (regardless of whether the respective current step is in initialization, processing or finishing). Each line constitutes one statement. Up to 60 statements are possible in each case. You can change the selection of displayed statements (10) using the vertical ecroll bar at the right-hand side. Postprocessing In this tab, you can define the actions for the SFC chart or type that must be carried out after each sequencer processing call. Here, too, up to 50 statements are permitted. The preprocessing and postprocessing tabs are actuated before and after each sequencer cycle, as long as the sequencer is active. Run sequence The recommended rule here is: the SFC is called after the blocks that it queries in the transitions, but before the blocks that it writes with commands (to the extent possible). Remark You will first create an SFC chart with one sequencer. Then, afer more information is provided, you will add additional sequencers to the SFC chart. Training Center SIMATIC PCS 7 System Training {or Automation and Drives Page 5 Configuring with SFC ‘SIEMENS Operating State Logic of a Sequencer (Online Help > Index: operating state logic or OSL) Step Control Modes T with Transition TorO with Transition or Operetion Tand© with Transition and Operation B with Operation Ty] and O with step-specific operation apt Oana Operating moda = ra Operator commands: SIMATIC PCS 7 ae als aed Sern ABS Mere BS rE cw Fl rescence States Following the download operation to the CPU, the sequential control system is in a defined state. This defined state is specified with the SFC Editor (default: Ready). Now the sequential control can begin either automatically (SFC Chart Properties -> Start Options -> Autostar?) or after a start command (menu Chart-> Properties -> Start Options -> Operating Parameters). ‘Sequencer Operating State Logic (OSL) Processing of the sequencers is controlled by the sequencer operating state logic. The sequencers operating state logic is defined in the diagram of the state transitions for sequencer OSL. Operator Commands You can use commands to change the sequential control system between states (eg. Start, Hold, Resume, Abort, Complete) Step Control Modes The different step control modes modify the behavior of prepared or fulfilled transitions, A change in the step control modes is possible in all of the operating states. The individual step control modes mutually exclude each other. The following step contro! modes are available: T with Transition TorO with Transition or Operation TandQ with Transition and Operation B with Operation T/TandO with step-specific operation ‘Training Center SIMATIC PCS 7 System Training for Automaton and Drives Page 6 Configuring with SFG SIEMENS Solution Principle (AS) Hardware | Software (Module drivers with diagnostics Possible process simulation * (vO moduies) | re genorates automaticaly by (Other) ; crc) ‘Al CHAI SEC J brary Graphic | config. tool Diagnostic Process a [AO ai - féiemd module anne TR RID Kissacin) rivers drivers are [STRL PIO | XS, conneciedto le. CPU load the process tag Library * o measurement] __incividually in i the CFC) 4 (System aan 1 [| | pertormenco) an EACTOR ' a Program 1 Library ‘SCL { I I I bs SIMATIC PCS 7 Pa nc ABR AB SIRAW Teng ‘Stns AG 2008 Agere, Fite Vo oa 0P sucranen ses AS solution ‘The block libraries contain different blacks that form individual parts of the solution. Drivets, operator control blocks and technological blocks (closed-loop controllers, motors) are used. Inputting/outoutting process signals The single-channel drivers (CH_Al, CH_AO, CH_DI and CH_DO) are located in the PCS 7 library. These drivers are inserted in the CFC in which the process value is needed. The symbolic name of the value is used to select the connection to the process value (via the symbol table). ‘The name is essigned to the individual hardware channel during the hardware configuration. No additional parameters must be set, except for the measuring range. After CPU selection, the CFC generates the necessary module drivers during compilation, along with all of the necessary parameter settings (which are read from HW Config). With V7.0 and higher, the CFC also inserts the CPU_RT block, which can carry out runtime measurements and avoid a CPU stop in the event of an overload. Remark With V5.2 and higher, you can also use universal drivers (CH_U_Al, CH_U_AO, CH_U_DI and CH_U__DO). They can be used for $7-400, ET 200M or Profibus, PA field devices. If you want to configure an older CPU (from V4) using PCS 7 V6.0, you must continue to use the V4 libraries, or the CPU will be upgraded. Temperature control You can implement temperatura control, for example, by using the CTRL_PID block from the same library. This biook also has the faceplate necessary for operator control and monitoring (for WinCC). Signaling You can use the MEAS_MON biock, for example, for this. This block monitors the level and signals a limit violation to the OS. The controller block itself can also monitor its wn process variable and signal limit violations to the OS. Training Center SIMATIC PCS 7 System Training for Ausomation ard Drives Page 4 Configuration SIEMENS Exercise: Sequence Control - Temperature START | Startstep — se_exr Test Mode Compared to edit mode, the SFC chart window in test mode is expanded to show ‘an operating and display section at the bottom of the window. In addition to selection of the operating mode (MANUAL, AUTO); you can also. see the following buttons for the SFC: - Start -Hold - Resume -Abort Complete - Stop - Restart -Reset Error (handling) When the steps and transitions are cycled through, they will display different colors depencing on their state: Step active pale green Step held yellow ‘Step contains errors, red (e.g. maximum runtime exceeded) Step is inactive but has been processed dark green Step is inactive and has not yet been processed gray Transition fulfiled dark green ‘Transition not fulfilled dark red Transition inactive gray Training Center SIMATIC PCS 7 System Training ‘or Automation ond Drves Page 8 Configuring with SFC SIEMENS Test Mode) Menu: Debug >Test Mode Debug > Open SFCs. Select statuses “Nuttiple selection possible = No selection means m9 Imitaton ‘Ssiect the operating mode Find (Pantin, Fines Result Select ana open SIMATIC PCS 7 oa 2708, Sener A 2008, aH ene Pier neghave Vo set Analyze SFC In test mode it is possible to display SFCs that correspond to a defined combination of statuses. To do this, open any SFC and set it to test made. Only then is the menu item Debug > Open SFCs offered. ‘The required steps are shown in the above slide. Remark ‘The conditions are linked by logical ANDing. Training Center SIMATIC PCS 7 System Training {or Automation and Drives Pago 9 Configuring with SFC Sequence Control - Reactor ote es { snr || Seer Cores ne ama ee exer Cee 5 Centon] | Tov | Fiiatggrsooeax Yo 208 love Beungng Sting ime 2 min Saieane L ‘aches | Furmeten | “Grmear ON | sz Onendea ve, tomporture corals: sate ee ae cose eum] Se ; cal Fil secore eomponert __ ect coe ||| eres ian] SIMATIC PCS 7 ‘Stans 2058 Are ene Exercise Requirement ‘Steps Procedure STRAIN ti The sequence for the manufacturing procedure in Reacior A was described in the “Configuration Overview" tab, page 2. Now implement this sequence using an SFC chart. Configure, compile, download and test this SFC chart. You have implemented and tested the example in the chart "Exer_Reaci" with the MOTOR, VALVE and CTRL_PID blocks. 4. In the plant hierarchy under "Reactors\Unita", create an SFC chart, "SFC_Reacd’, 2. Establish the sequence of the SFC (see picture above). 3. Configure the actions in the individual steps and the signals to be queried in the transitions. 4, Compile and download the program. 5. Test the project. You can derive the sequence from the above picture. Control the filing valves and the drain valve using the VALVE blocks. Control the mixer via the MOTOR block For the "heating" step, set the controller to AUTOMATIC and the external setpoint to. 90°C, ‘You can include waiting times by inserting an empty step (with a minimum runtime setting) and an empty transition Training Center for Automation and Drves SIMATIC PCS 7 System Training Page 10 Configuring with SFC SIEMENS. Parameter Control via the SFC a Block | VALVE MOTOR CTRL_PID | Remark oot ‘SFC control assumes the control of the blocks (operator cannot operate) ‘Assume conirolot | LOP_SEi=t LOP_SEL=1 TIOP_WAN_SEL=1 | SFO determines Diocies operating moe operate mode (Lng ie Sdiveynet Opec ‘SetAuiomatiemode | AUT Lat aut AUT Lt Setexornalsetport oP_INT_SEL=t For controners ony SPEXON Let ‘Outputeormande | AUT_OC (fmopen) | AUT_ON fron) P_EXT= elue) ‘SFC control relinquishes control of the blocks (operator can operate again) LOR SEL-0 LOR SEL-6 LIOP_MAN_SEL-9 | SFO reieanes the Flinguich contol of ‘operating moi Blocks operating mode 1LIOP_INT_SEL*0 Sees not change the bering mode) ‘Active outputs of the blocks Pass oeystem ‘GcoNTROL ‘START oa l SIMATIC PCS 7 Dae 2208 TRAN totoge Serer ALPS Ne Firerresravs vo set Operating Modes For the SFC to be able to pass its commands to the valves or motors via the above listed blocks, it must be able to influence the blocks’ operating mode (set the operating mode to AUTOMATIC) and write commands to the sultable inputs. It must also be possible for the plant operator to intervene manually when the control has finished. This means the control must relinquish its control over the blocks again SIMATIC PCS 7 System Training Training Center for Automation and Drives Page 11 Contiguring with SFC SIEMENS Notes SIMATIC PCS 7 at fF B28 SITRAI rane ‘ener 0 208. its mene Pet ncSTSE RR tea soen oboe Training Center SIMATIC PCS 7 System Training for Automation and Drives: Page 12 Configuring with SFC SIEMENS een SFC Operating Mode Logic (Online Help > Index: operating state logic or OSL) ‘Buttons for testing dae ey Lacissaret ose ae the SFC st a HE hen 0 Resume BI abort 1 complete BI stop re Bl Restart I 2 reset = erecaas A eror SIMATIC PCS 7 Operating State Logic for SFC ‘The current operating state of the SFC OSL cen be mosified by the following State events: SITRAR va Farecsrare vo se = Commands (Start, Resume, Hold, etc.) in operating modes "MANUAL" or "AUTO" - External signals (SFC inputs, commands from another SFC, etc.). - Internal signals (commands from custom sequencers, from test mode or SFC visualization). - Implicit state change. ‘Step enable commands Start Complete Hold Resume Error Abort Stop Restart Reset Trigger start processing Trigger complats processing ‘Trigger hold processing Trigger continue processing, e.g. after an error Trigger error processing Trigger cancel processing Trigger stop processing Trigger start processing Change to Reacy state Treining Center {for Aulomation ard Drives SIMATIC PCS 7 System Training Page 13 Configuring with SFC Ifyou also want to open/close the valves manually, you can use simple operator Operation control blocks for digital values (OP_D) or the valve blocks (VALVE) with builtin operator control and monitoring Plant simulation You can simulate the plant using the REACTOR block (in a user library). Use the SFC Editor for this. This editor can only access data that were configured ‘Sequential control previously, such as with the CFC Editor. Training Center SIMATIC PCS 7 System Training for Automaton ard Orives Page 5 Configuration SIEMENS. Run Behavior of an SFC SIMATIC PCS 7 bate oraz SITRAIN Ying or ‘Seer RG 068 Ae es Fibrredhie eh wets PF scraie swan Interaction with Basic Automation (CFC) ‘The sequential control in the AS is connected to the basic automation via the action and transition functions. A specific runtime behavior is assigned to each SFC. Basic automation using the blocks contained in the CFC oharts can have a Gifferent runtime behavior than the SFC. You oan contro! an SFC chart using the ‘external view of the SFC chart contained in the CFC chart, The structure of the sequence system makes it possible for the sequential control and the basic automation biooks to run in different cycles, thereby reducing the cyclical load, In the same way, SFCs can be integrated into runtime groups, and can be given a different scan rate or phase offset via these groups. ‘SFC Runtime Options You can set the sequential control behavior in the runtime options. These can be set in the dialog field “SFC > Properties > Tab: Operating Parameters CPU". Instruction Output On: The actions of active steps will be processed. Off The actions of active steps will not be processed. Cyclic Execution With “Cycle Execution: On” the program will automatically revert to “Starting” following the "Completed" operating state. With "Cyclic Execution: Off, the program remains in “Completed” state. Time Monitoring With "Time Monitoring: On, the active time of the step is continuously compared against the monitoring time after the step is activated (object properties for the step, "General" tab, "Maximum Runtime" option), and a step error is reported if, the time is exceeded, Training Center SIMATIC PCS 7 System Training ‘or Automation and Drives Page 14 Configuring with SFC SIEMENS Restart Behavior of the SFC(1) Properties SFC chart vid ASQsaatgFacneles|08 | Yes] Dott Sep seatnode Oowntrgnode — [pawuat 3] 9 comadomms sre apatite Cele meen © Ini srt F tmenontons 1 RelanSFC oe Stan pons lee ca opening panne ube SEC cha as a] SIMATIC PCS 7 a IE 8 SRAN rath Restart Behavior —_ With PCS 7 Version 7.0 and higher there is an additional possibility for setting the behavior following a CPU resiart (see arrow in siide). In the previous versions, the SFC was always initialized, and the data valid prior to the stop were lost (this is now the default setting). In the new version, the SFC status can be retained. Following a CPU restart, the SFC then retains its status. Using the SFC and process states, the operator can then decide how the SFC is to continue working. Training Center ‘SIMATIC PGS 7 System Training for Adomaton ard Drives Page 15 Configuring with SFC SIEMENS Restart Behavior of the SFC(2) false opr ety {Si az Veet} Unich | ONLY | we Bastar lor und ka er gor om ies tnd a ->. —___ ! et aa 7 ae | Sa Sf EMER, ene Tana fier SESS) eer Oe Se terse SIMATIC PCS 7 pate. oF. 32 2008 STRAIN vag aS irc RET so Jl sma rae Exercise Set the SFC from the previous exercise such that it retains its state following a Steps CPU restart. Test the restart behavior of the SFC (by means of CPU stop followed by a CPU restart) in the "Component X" and "Heat" step. What happens to the configuration dus to this behavior? What happens, for example, with the filing of component X in the reactor in the meantime (between the CPU Stop and Resume command by plant operator, once the CPU is running again)? 1. Open the SFC, select the menu SFC > Properties -> "Operating parameters CPU" tab and select the "Retain SFC status" option. 2. Compile and download the changes. 3. Switch on test mode, and start the SFC. 4. When the "Component X" step is reached in the SFC, stop the CPU (using PLOY Operating Mode-> Stop). What is output by the output modules to which the valves (simulation) are ‘connected? What does this mean for a real plant? 6. From the last screen form, carry out the CPU restart. You must then decide at some time whether the SFC is to continue or stop/abort. Anew command is not output by the SFC up to this point. What commands are output by the valve, motor and controller blocks? Note that the blocks mentioned also exhibit @ restart behavior when the CPU is restarted, but they then call their program cyclically in the cyclic interrupt OB with the parameters which they find there. Training Center ‘SIMATIG PCS 7 System Training for Automaton and Drives Pege 16 Configuring with SFC SIEMENS External View of SFC [| ota ofan ostaer [Starrinict o_feampcere | amma = o—ffece o_faeeer o—fzrer 2—fenstanr 6—{cock com o_[teckwoLo o—[tocrnpor (eer o—zertae o _feveuexee ext eee SIMATIC PCS 7 Ser 2008 A ene External View Representation Interconnection Tip SITRAIN Tg ix ‘The SFC chart has a standard interface through which it can be controlled using CFC interconnections. This interface is represented as a graphic “external view" of the chart. Activate the following menu command in the SFC View > Extemal View to open the CFC with an extemal view window. The external view shows the SFC as a block with an SFC chert symbol in the block header. The block name is the SFC chart name and cannot be changed. Inputs can be interconnected to other objects, global addresses or textual interconnections. Please refer to the online help for more information about the individual parameters (Holp on SFC > Extornal View... > Soe also... Standard interface for ‘SFC charts). There the parameters are listed both alphabetically and according to thelr use. You cannot add further abjects to the CFC chart showing the external view of the SFC. All interconnections must pass over the edge of this chart Open the extemal view of the SFC (= a CFC window) and the CFC chart from. which the control is to be influenced (= @ second CFC window). Arrange both windows side by side. Interconnect the blocks as described in the CFC chapter. Training Center for Automation ard Drives SIMATIG PCS 7 System Training Page 17 Configuring with SFC SIEMENS Exercise: Adi ig Two Sequencers to the Sequential Control ‘SFC_ReacA HOLD! Start condition re Start conciton RUN sequencer — fa — See Lee Sale state Ouipul commands ‘Set operating modes for ‘operation ‘Siar eorelion =) Resuming sequencer al Restore state SIMATIC PCS 7 Exercise Stops Procedure Training Center {for Automation ard Drives ae 2 saat os Boies a ‘Supplement the sequential control for Reactor A as follows: IF the plant operator issues a hold command for the SFC control, a second "HOLD sequencer will start up. This is to ensure thet valves V1, V2 and V3 close, the mixer is switched off and the temperature controller is set to manual operation with a preset manual value. The HOLD operating state must not be reached uniil the two above-mentioned commands have become affective. This state must bo saved ina DB. The operator can perform operations in the HOLD state. If the control is to exit the "HOLD" state, the valves, mixer and controller must be switched back to the state saved in the OB, i.e. the state they were in when the HOLD command was issued. This is achieved by using a third CONTINUE sequencer" which resets the blocks to the desired state and is only exited after a check has been performed. 1. Insert additional sequencers in the SFC_ReacA. 2. Set the chart properties for the two additional sequencers. 3. Create data block to save data when control is in HOLD state. 4. In SFC_ReacA complete programming of the *HOLD" and "CONTINUE" sequencers, nal sequencers in SFC_ReacA. With the SFC open, go to the 1. Insert two ads "RUN" tab (below), right-click and select Insert Sequence at End to insert another sequencer. One SFC can process up to eight sequencers in alternation. With the SFC open, set the chart properties via Chart > Properties > Operating Parameters tab as follows: Step Control Mode: T, Operating mode: MANUAL; Instruction Output: checked, Use default operating perameters when SFC chart starts: checked. SIMATIC PCS 7 System Training Page 18 ‘Configuring with SFC Holding Sequencer with Data Block for Values to be Saved Ty sie aiainle i mm | 5 sar Ofeais-(aa) | ial (ler) ol) lS or restore) ex frasress [Meme te [intent wal] Comes (a To oT Sea (remad ours feat rave 3 ren 40.g fcsin pont Jeu rare $ pe 5 ee a 5:0] [reipvine ato. ooo0aersaned seipaine 4:0] frm Taine [eats [o.oooonesofseree erin. alae 2.8 sauce formal” reactor sequencer SIMATIC PCS 7 Create Data Block SITRADY nat Pasrrcsrars vo se Create a data block (DB) (e.g. 081 with a symbolic name. "ReacA_DB"). This block is to be used to save the necessary states when the main saquencer is held (see above for possible structure). 7T9.do this, you need to switch t the project component view. Select the block , then right-click and select New Object..> Data Biock {o create the global DB1. Enter the symbolic name "ReacA_DB" in the Properties window. Then select the block, ‘ight-click and select Open _ to start the deta block editor (see above). Define the necessary parameters in the corresponding data formats. Configuring SFC with Two Additional Sequencers HOLDING SFC. "Save" Step Transition RESUMING SFC "Restore" Step Transition Configure the HOLDING SFC and the RESUMING SFC. This is started when a command is received to hold the RUN SFC. In the "Save" step, the relevant pending commands/data are saved in DB (see above, content of DB1) and then the desired settings are made. This checks whether the operating modes and values that were set as a precautionary measure have become effective. The sequencer is completed only after the transition is fulfilled. The SFC chart then changes to HOLD state. This is started when @ command is received to resume the RUN SFC. The "Restore" stop is the opposite to the "Save" step in the HOLDING sequencer, i.e. the data Is read from DB" and distributed across the relevant block parameters/inputs (irom right to left). This chacks whether tha saved states have become effective again before the RUN sequencer resumes activity. ‘Training Center for Auiotation and Drives: SIMATIC PCS 7 System Training Page 19 Configuring with SFC SIEMENS Creating an SFC Type Bl src eat tt CU Uebig ten Ontens Widan Fe Dill) 8 )e)e°) ite) = ela) 21 xa! sla Seta al a =o ‘Several sequencers possible for one SFC ype La aI /L Pes fr fel. SIMATIC PCS 7 ale erseance SITRAIN rae Seana A206 A ie sm PitboecStaie sco ‘Adenetor ardent SFC Type In SFC V6.1 there is an SFC type in addition to the SFC chart. This makes it possible to define sequential controls, including an interface. The runtime logic of the SFC type is based on the interface of the SFC type, i. the SFC type cannot access just any process signals. Like function blocks, SFC types must be placed on a CFC chart, where they are given an SFC instance. Creating an SFC Type ‘SFC types cannot be inserted into the plant hierarchy, since they cannot run on their own. Instead, they are created using Insert new object > SFC type in the component view in the SIMATIC Manager or SFC.-> New (select 'SFC type" in the "Object type" field) in the SFC editor. Manipulating the SFC Typo The SFC type is a manipulable object like the SFC chart; however, it has its own symbol to distinguish it from the latter. The attributes necessary for the SFC type (e.g. $7_m_c) are presat. Seven messages requiring acknowledgement and five that do not require acknowledgement can be configured for each SFC type. The other available messages are required by the SFC type itself. Configuring Using the SFC Type Only the interfaces for the SFC type can be used to configure actions in the steps and the start and step enabling conditions. In other words, external access is via the SFC type interface only. Training Center SIMATIC PCS 7 System Training for Automation and Drives Page 20 Configuring with SFC SIEMENS Dies) ele a Als) eal) Lili 2e) BIE Sl ele) |? See Creating an SFC Instance Operacing mode Loverating modes Operating stare commands ‘Stop contrel Exooution option ‘tee. ETT SIMATIC PCS 7 Serer A208 A hs ene SFC Instance Messages Configuration Compile SITRAN vate fan SFC type is used, itis inserted into a CFC chart. An SFC instance will be assigned to it at this point. SFC instances are therofore always assigned to tho CFC chart and are addressed via the chart. By assigning the CFC chart to tho plant hierarchy, the instances that it contains are also indirectly assigned to the plant hierarchy. ‘SFC instance messages can be configured in the SFC via SFC > Message or in the CFC in the object properties dialog box. The messages are PCS-7- compliant and can also be provided with associated values, for instance. When you configure SFC instances, the interface and the sequencers must not be changed, as they are specified identically for all instances through the SFC type. Changes that are made cirectly to the instances may be loaded at any time, even if the SFC instance is currently being processed in the automation system. After you have configured any changes, you must use the function OS > Compile to ensure that the current data are also available on the OS. If the program is compiled on the ES side, the SFC instances will be compiled along with them. For any given SFC instance, 1#n data biocks will be created (where n= number of sequencers within an SFC), ‘Training Center for Automation ard Drives, SIMATIC PCS 7 System Training Page 21 Configuring with SFC SIEMENS Miscellaneous Reference Data [Re TTT z ‘Be verwerenovs cot vas Wis hep 5 @@)S01_2 108 BEGIN | CPU Functen Bick T Run Sequence = sce pa).c) (50) OUNSPU 427-41 [ SLANET | SLENET Function Bl} 4 0G) pe ator yet [OUENET | SASET Function Bock ] = coe DO) 0) (1010) Hf anna i( mo) & evpyneiea2 roa (80) er = a em90).«) (0 Soren se > cee Fr @GyURa 1 [AAC | Racy Pectin ck} sirtteenmecsn: E eayouises rest [each [eaceroceonaen SsnSaes E = Aree o) 0) a0} ieee aces eae | Bony Ps 071041 (001 ear Beoysanit_f1ts0] ee Fi ommmnazii tao! veeiee B arywooraes ta) oar Gf epyponecew.J.541 (00) wees ff epypusces, ini [40) = peers ee 5 SIMATIC PCS 7 date 7a SHAN ran ‘inure 0g ae Pane mae buat Calling up Reference Data ‘When you have opened a CFC or SFC chart, you can use Options > Chart Reference Data... or the symbol in the function bar to display and print the information shown below in ist form or in tree structure. You can search for the desired outout using the View menu command. Run sequence Graphic representation of the entire run sequence of a CPU. Cross References Chart Element > Address Allist of all global addresses used in the project, with the elements that have access to them Cross References SFC > Chart Element This displays the existing accesses to the block interfaces in the CFC from any ‘SFC charts. Block interconnections List of all interconnected chart elements. Access in SFC types List of all read and write accesses of the SFC types to their own interface. Cross References Chart Element > Runtime Groups: Existing accesses from any CFC and SFC charts for all runtime groups. Cross References Block Types ‘The block types used and the locations (CFC chart) where they are used ‘$7 Rosource Allocation The assignment between CFC configuration objects and S7 resources. Training Center SIMATIC PCS 7 System Training for Automation ard Drives Page 22 Configuring with SFC Local Data AILOBs in the program, with the calculated local data requirement and the local data sizes for the individual priority clesses 2s configured offine, and those actually available online, Block Call Hierarchy Graphic representation of the call hierarchy for all blocks in the current program. Textual Interconnections All open textual interconnections are listed. Statistics Number of all objects used by CFC, SRC; S7 resources and the time stamp from the current program, as well as the HMI-relevant block instances for the project. You can use this information to check your configuration structure. For example, you can use the "Cross-References Chart Element > Addresses" list to determine which symbols are used and how often, and whether write accesses are synchronized. See the online help for further information. Note The "Reference Data" function is also available in SIMATIC Manager. With PCS 7 projects it is only offered in the context of the chart folder of the CPU SIMATIC PCS 7 System Training Training Center Page 23, Configuring with SFC for Automation and Drives SIEMENS Configuration Steps (AS) iy Select block libraries ! Create plant hierarchy Iereate project-specific I library | | (SM view > Plant hierarchy o r _____ |_| Set view-> Prosess objec! view) ' Create project (SM) ' —— | Assign resources I (SM both views a ' PHor PO) Create resources ! oa (SM view i > Component view) * 1 Configure SW ! (CFC, SFC, SCL, a ; messages, archive tags) I Configure hardware | S (SM view i -> Component view) * i Test#commission tT | (configuration tools) SM*- SIMATIC Manager Document SIMATIC PCS 7 Introduction Block libraries. Create project Resources Hardware Plant hierarchy Assign resources Software Test + Commission The steps described below ere a simplified representation. For more detailed information about the sequences and what needs to be taken into account at the outset, please refer to the "PCS 7 - Engineering System Configuration Manual", ‘Chapter 3 "Planning the Plant Engineering’. The libraries that are not used should be hidden via the SIMATIC Manager file management funetion. It can be advantageous to create a separate library for each project in the same project directory (master data library). To start, the blocks that will be used later in the oroject are collected there. ifin the future the software Is upgraded, this library can be updated across all subprojects. Use the SIMATIC Manager to create the new project. The Manager hangles all of the data generated during configuration. Resources include the ASs in the project (with their hardware), the S7 programs (with blocks in the user program and with chart containers and the blooks imported to these chart containers Via CFC), networks, as well as the ES/OS PCs. Within the project, the AS/PC hardware components (CPU, CP, and /O modules) must be configured in accordance with the hardware structure. This configuration is downloaded to the AS and assigns the parameters for the modules. (Pry Ahiorarchy (with a maximum of eight levels) is used to display the configured plant in the project. This hierarchy can correspond to the HID system (comparable to a directory tree). ‘One AS and/or one OS can be assigned to each hierarchy level. The subordinate levels can inherit the assignment. CFC/SFC charts, OS displays, reports or documents belonging to the assigned AS/OS can be inserted in each level (as "leaves" on the "branch" AS-specific or OS-specific tools are used to configure the software as needed. From the AS, you open the object in the plant hierarchy to start the softvrare. The software must be loaded onto the configured hardware for this. Each configuration tool you use provides testing opportunities for online operation. Training Center ‘or Automation and Drives, SIMATIC PCS 7 System Training Pege 6 Configuration SIEMENS Project Environment Factory 4 . . Basic ak \\ materials wis SIMATIC PCS 7 Pa a Ste, STRAIN Ton note Enos R200 Ahrens Pore SS ae oe ‘Atonetn on bins Project Environment Our project is part of a dye manufacturing plant. The basic materials are manufactured in Factory 1 and are transported from there to Factory 2. In Factory 2, the basic materials are stored in dedicated storage tanks. After undergoing the manufacturing process, the end product is stored in a different section of the tank farm for transport purposes. Training Center SIMATIC PCS 7 System Training feraitomation 20 Drives Page 7 Configuration SIEMENS Our Plant (Factory 2) Factory 2 ‘Tank Farm North (is ‘Tank Farm East 2) 3/5 O00 [sili] 9999 - Oc00 = OO) e000 |alslels| QOOO / Mixod plan 0000 3 B18" OO Group 4 |AS4/AS§ yn oN S| 5lo}e Shipping \ Tank Farm South, Seer 4 O00 Pe — 0000 Control | oo000 building Group 5 } 0000 ; 0000 0000 Factory 1 SIMATIC PCS 7 one, Bia oF Sim AB eae Plant Overview The plant to be automated is part of Factory 2 and is broken dovmn into several different zones (see above): +» Tank Farms North, South and East +» Shipping +» Control building + Groups 1, 2, 3, 4, 5, 6,7 Each configured with the following reactor units: Unit A, Unit B, Unit C, Unit D ‘You can specify this breakdown in the plant view (on additional pages) and retieve it again later. Automation systems Eight automation systems ara used to carry out the automation tasks. The task assignment is displayod in the picture at the top right. os. Note Tasks that were originally assigned to an AS or OS can be reallocated over the plant hierarchy in a later project phase with minor configuration effort. Each participant takes on/configures a group in accordance with the training station number.. Training Center SIMATIC PCS 7 System Training foralxomaton ard Dries Page 8 Configuration SIEMENS Configuration Steps (OS) Edit individual objects (pictures, reports) r I Create resources ' (SM view i > Component view) * | | Compile and download OS = i ' ! Ss Setup OS/oroject editor 1 (optional) I Testrcommission oS (configuration tools) Create OS objecis | 3 Via plant hierarchy or t process abject view ! Document & ' 1 ' i i i i SM*~ SIMATIC Manager SIMATIC PCS 7 Note Datos 5112006 SITRAIN vane The OS is created as a SIMATIC PC. ‘The PC is also set up using the HW Config tool (like an AS). The basic data for a PCS 7 OS ere configured using the project editor (within WinCC). Individual objects are inserted via the plant hierarchy or process abject view and then completed in the appropriate editors (of WinCC).. ‘The OS must also be compiled and downloadad (like an AS). The OS PC must be networked with the ES PC for the download to work, You can find details about this in the section "HMl/Operator Control and Monitoring’ Training Contor for Automation and Drives SIMATIC PCS 7 System Training Page 9 Configuration SIEMENS ProjectStructure 0 SIMATIC PCS 7 ae 1501206 SITRAN nag Sees Ad Nee ree Rtercidea opens RIN nasa Content Project Environment Our Plant (Factory 2) Creating a Multiproject (MP) Creating Projects in the MP Setting the Language for Display Devices... Assigning the Plant Hierarchy a PH Settings esi Updating the Plant Hierarchy si Plant View - Settings/Properties ssn 12 PH Assignment 13 HID Generation 4 8 Hierarchy (AS/OS) 5 OS Hlorarchy (Picture Structure) 16 Names in the Component View 7 Training Center SIMATIC PCS 7 System Training ‘for Automation and Drives Page 4 Project structure SIEMENS Project Environment cae, ay “ : > “s 4 ‘ Factory 1 Basic Factory 2 materials Dyes SIMATIC PCS 7 ae, tat SITRAIN vane Serr A836 Agra Fiero BREE pons ‘stove wa es Repeat Project environment We shall repeat the project environment as in the previous chapter in order to create a suitable project structure for it. We will take into account the plant structure for this, while also considering the specific AS and PC equipment available in the training room. Our project is part of a dye manufacturing plant. The besic materials are manufactured in Factory 1 and are transported from there to Factory 2 In Factory 2, the basic materials are stored in dedicated storage tanks, ‘After undergoing the manufacturing process, the end product is stored in a different section of the tank farm for transport purposes. Training Center {or Automation ard Drives, SIMATIC PCS 7 System Training Page 2 Project structure SIEMENS Our Plant (Factory 2) Footory 2 Tank Farm North Apo Tank Farm East - OOO ili elolo \ 00090 yTAaTeI= \. 2009 s]/3/ 3] 3} lasa) Mixed plank, 90000 gel élé Tank farm \ 51515 / Shipping Tank Farm South { Group 3 |AS3 ast Group 7 \ } —x OOO | el ee ing ~ \ Group 1 incl JAS] |AS§ Group 5 / 2000 \ SP 0000 0000 ‘Shipping ~ 0000 Factory 1 SIMATIC PCS 7 ee en SITRAN ray Plant overview ‘The plant to be automated is part of Factory 2 and is broken down into several different zones (see above): + Tank Farms North, South and East + Shipping » Contro! building + Groups 4, 2, 3, 4,5, 6,7 Each of which is configured with the following reactor units: Unit A, Unit B, Unit C, Unit D You can specify this breakdowm in the plant view (on additional pages) and retrieve it again later. Automation systems Eight automation systems are used to carry out the automation tasks. The task assignment is displayed in the picture at the top right. Qoly pert of this plant will be automated in our exercise using one AS and one O83. Note ‘Tasks thet were originally assigned to an AS or OS can be reallocated over the plant hierarchy in a later project phase with minor configuration effort. Each participant takes on/configures a group in accordance with the training station number. ‘Training Center SIMATIC PCS 7 System Training for Auiomation ard Drives Page 3 Project structure SIEMENS Creating a Multiproject (MP) ae a —Treetewar—1 [RIFATRE_DAsynenCoue'aneFane Tooltip shows ‘storage location Muttiproject symbol SIMATIC PCS 7 2 cS SHTRAIN tain eas nae Ap PEteredA Ty ae ‘Aamir aus Objective ‘A project containing an AS and OS is to be created in such a way that itcan be simultaneously edited on different ES systems at a later time. The "multiproject" Is the project type of choice for this application. Exercise Create a PCS 7 multiproject in which one project is created for the AS side and one for the OS side. In each project, configure the harcware for the devices used (AS or PC) and download the configuration to the devices. Steps 1, Create the multiproject using the SIMATIC Manager. 2. Create the two projects in the multiproject (one project for the AS, the other project for the OS). 3. Set the language for the display devices (in which language the piant operator will read his textual information). 4, Configure the hardware used in each of the projects. 5. Compile and dovnload the configurations to the devices, Remark ‘Steps 4 and 5 can also be performed after the entire configuration has been completed, at the latest before debugging and startup. As we want to test online as soon as possible, we will carry out these steps even before creating the software, Procedure 4.4 Start the SIMATIC Manager by clicking the icon on the desktop or by selecting the following in the task bar: START-> SIMATIC -> SIMATIC Manager 1.2 Select File -> New In the "Multiprojects” tab, specify the storage location and enter a name for the multiproject (¢.g., storage location = "PCS7courses_V61" directory on the data drive, and name = "DYE"), Training Center SIMATIC PCS 7 System Training for Automaton ar Drives Page 4 Project structure SIEMENS Creating Projects in the MP Cee ee eer ct aad faire tor iver Ac Mew cero wncbo oe Os te Soe SES J ~Tresisaaie [aici fe lace = Project symbole Muttiproject symbol SIMATIC PCS 7 te st208 STRAIN Tati te ‘Sten 57005. es ase, Fer oveceara v3 ons Stonatn beds Note Always use a directory on a drive other than the installation drive of Windows and PCS 7. if the Windows and PCS 7 hard disk partition is restored or reinstalled, the previously implemented projects will be retained! 2.1 Select the multiproject icon, then right-click and select Muttiproject -> Create in Multiproject. Then, go to the User Projects tab and spocity the storage location and the name for the AS project (the path of the multiproject is already preset for the storage location, the name can be "PRO_AS", for example). 2.2 Now carry out the same procedure for the OS projact. Name it "PRO_OS', for example ‘Training Center SIMATIC PCS 7 System Training for Automation and Drives Page § Project structure SIEMENS the Language for Display Devices Pin ee eee eee ery aa — cei = Smt, es Rtn Moves ting Ts » InskLagaige Fae! Properties. Projat ame, a_i Poesy Cera Regn Scare Pao | Eesti ——} Egress, Nome Le Erde wn SuaceLucain — ioptemsonssrutpe atgeesty | Erk ubihen) “ Tne STEPT Pe! se are Ech nite Se “sama PectLemegt ——Erghtided Sty) SIMATIC PCS 7 hc BEEN imam ray Beers AS 20 A Pitsr sc NEM pene 3.1 First, select the AS project, and then select Options -> Language for Display Devices If you have not already specified the message number concept in the SIMATIC Manager, you will be prompted to do so. Select the default selling (for V6). This query 's necessary as the subsequent language selection will aifect the message texts offered during configuration. 3.2 Provided you only want to use German, all you have to do is set it as the Gefauitt langusge. Ifyou want the project to be available in multiple languages, itis advisable to set the default language to English (USA). Provision is also made for French, Italian and Spanish in PCS 7 libraries and in WinCC. You can easily add these languages to the “installed languages” If you want to use the project in a different language (other than German, English, French, Italian, or Spanish), we recommend setting English as the default language (i.e, do not enter any edditional langusges in the “Installed Languages in Project” box) and installing the required language in WVinCC later (this is explained in detail for the OS project). The English texts found there (in WinCC) can be exported, translated and reimported. Remark The language setting must be made for each project within the muliproject! ‘Tho project language displayed in the properties of the project corresponds to the Windows language vhen the project was created, and cannot be subsequently changed. For steps 4 and § mentioned at the beginning, please refer to Chapter 4 “System Configuration”. As these steps do not have to be performed but, rather, can be performed later, they have been included elsewhere, as indicated, Now we will return to configuring the system. Treining Center SIMATIC PCS 7 System Training foratoatbe ard Drives Page 6 Project structure SIEMENS oe eS onuwAssigning the Plant Hierarchy =, ., 1 Shaw Detail Levelt +S Doma me > BPs = ower Level 2. ——+ = Sins crc apse ioe Bi sone + Bt = Mt og SE a me Levels + 5 Bus CP echt suse 2 Sa Sutbecen: Leva rie ASO = Pro. > 2 ue * Giles ‘A802 a ‘AS03 ‘ASO4 2 Seton ASOS | in tno execiag you wil ation your AS Fata of 7AS0G | ‘ne A933 oxAs07 Use your PC as the OSES ASOT ASO8 * on i Picture Bice oct a + giuas Picture 2 Bits 2 Baths ik Picture ~ Bren SIMATIC PCS 7 esata TRAIN tact Sener AG 5 Alin set Retsreckaia vies aur Objective You have carried out the system configuration. The automation and HMI stations are in the foreground. The plant presented at the beginning of the chapter is to be reflected in the project ina so-called "Plant view" (also known as Plant Hierarchy). The AS ("ASxx") you configured a litle while ago will be used fo automate the two structurally identical "A" and "B" reactors, the OS ("OSxx)" you configured will be used for operator control and monitoring. Plant hierarchy You can call a plantrelated view (through PCS7) in the project (in the SIMATIC Manager) View > Plant View This view is initially empty. Select the project name, then right-click and select New Object -> Hierarchy Folder You can then rename the new folders. After selecting a hierarchy folder, you can structure the secondary plant hierarchy in the same manner. Result: The plant view mirrors the structure of the plant. In our exercise we will create a PH with 4 levels. ‘We will use Level 1 as the factory designation. This level is present for overview purposes only as the plant is large; it is not used in the AS and/or OS (nor is it part of the Higher Level Item Designation - HID) itis included in a printout of documentation, Training Centor SIMATIC PCS 7 System Training for Automation ard Drives Poge 7 Project structure AS/OS assignment AS Note 1: os Name the tasks Note 2: We will use Level 2 to divide the factory into plants, such as reactors, tank farms, ete. We will use Level 3 for the units (e.g. as Unit A, Unit C or Reactor A, Reactor C) Level 4 will describe the function (e.g., temperature control or inflow) The plant folders must each be assigned to one AS and/or one OS so that the automation task runs in the correct AS (the one that is "wired directly" to the plant) and the monitoring objects (pictures) are created in the correct OS. Select a hierarchy folder, then right-click and select Object Properties - AS-OS Assignment. If you select the "Lower-level objects..." check box, the lower-level directories will also inherit the assignment. When the AS is assigned, its chart folder is recorded (containing all CFC and ‘SFC charts that run on the assigned AS). Select the AS (‘ASxx") The reason for assignment to the chart container and not to the CPU is as follows: Ifyou have not yet specified the hardware, you can insert an $7 program (software only) into the project. You can assign the program's chart folder to the Plant View. After you specify the hardware, you can cul and paste this $7 program into the CPU, which is now known. It replaces the (still empty) $7 program of this CPU configured using HVV-Config. The already configured plant hierarchy end software also migrate. ‘Sofoct the OS ("OSX"). ‘The pictures configured later in the hierarchy folder are kept in this OS. Select a hierarchy folder, then right-click and select New Object -> (OFC, SFC, pictures, etc. ) to insart and name the relevant objects. These objects are implicitly inserted in the assigned AS (chart folder) or OS, where the abjects aro also loaded and must be executed. PH assignments can only refer to devices (AS/OS) that are located in the same project. However, identical names of the PH in different projects of a multiproject refer to the same plant component to be configured within the multiproject. Training Center for Automation ard Drives ‘SIMATIC PCS 7 System Training Page 8 Project structure EP a eee a ‘customize Pont Hierarchy Selec! hee! be ea oleae Pao0s PH Settings (1) Contre lat Hierarchy Nun ethsacy bree Leena ae mter rete tower Ht esas SI SIMATIC PCS 7 ‘Stns R298 AONE em Exercise Noie Stops Procedure La CSE Denepove roy pan tay de! Ea bent AC ww 1 breve dance emstonte at racy Do Bf ‘ * Dane Prone tonne te hrcnse conse age © Dene Hote tonic con otc had conor sae = Bats i Pasesettt [mmeceall one sean SITRAIN rag tx For the entire multiproject, set the plant hierarchy so that level 2 is defined as the (OS area, levels 2, 3 and 4 are part of the higher-order item designation, and the picture hierarchy and diagnostics screans are derived from the plant hierarchy. For instructional purposes, we will deactivate the "Diagnostics screens..." option again after checking the automatically generated structure. At the end of the second week of training, when we have completed the automation and HMI exercises, we will activate this option again and take a look at the end result. 1. Select the multiproject and open the settings sereen. 2. Select the project that is to serve as the template for the PH. 3. Define the OS that is to be used as a maintenance station (MS), Le., your ESOS 4. Check the changes that have been made. 1. In the SIMATIC Manager open the plant view of the multiproject and select the name of the multiproject. To open the screen form, right-click and select Plant Hierarchy > Settings Then set the options according to the requirements for the exercise. 2. In the next screen, select the AS project as the template. (The goal is to avoid having to create the PH again for each project if the selected project already contains a PH.) Training Center for Auiomation anc Drives SIMATIG PCS 7 System Training Page 9 Project structure SIEMENS PH Settings (2) Pasrtcnenec Staten bestemen a cent ae ne | sere Sar a Ces) B=) A |oale) aj [ ~al ‘syle ea reer PAC Men ovtens by red les) lef le al lou sie Pees F toon na. Reena SIMATIC PCS 7 Pet ocd SITRAI Tae ‘See A32058 ALG ree PSB pans 3. Define your OS (ES) as a maintenance station 4 After confirming prompts, an operation is triggered, which performs the following actions: + A first hierarchy folder is crested in all projects included in the multiproject (e.g. "Plant(1)") which you can expand or sdapt for each project as required. + Asecond hierarchy folder is created in all projects Included in the ‘multiproject for diagnostic purposes (e.g. "Diagnostics" Itis later automatically adapted after the software is usad to access the hardware. Remark In the slide above you can see the different breakdown of the diagnostic hierarchy in the two projects. Whilo in the AS project only AS objects contribute to the diagnostics, the OS project contains folders for the AS, network and PC objects (full Instrumentation and control setup). ‘The maintenance station that is running on the OS must provide the entire instrumentation and control diagnostics. Whereas CFC charts with diagnostics crivers are created in the diagnostics folder of the AS project (the hardware-related software must run in the AS), pictures are created in the OS project and ere displayed with graphic symbo's when appropriate. The user accesses the OS diagnostics information for the status of the device via these symbols. ‘The symbols are generated by the PCS 7 MS software. Training Center SIMATIC PCS T System Training for Auomalion a0 Dries Page 10 Project structure SIEMENS Updating the Plant Hierarchy Right-click and select Plant Hierarchy > Update in Multiproject, epdte eva oro 7 MegetieTH alow nbemdowe:t © Spat TH hone pant met pe Sued fore vine te man rao Coes corel Mao Result: both projects PRO_AS and PRO_OS have the same plant hierarchy SIMATIC PCS 7 one ssatamee STRAIN anew Serer AG 0% Atte eet. Pe orresiave. op sr (rai wuts Exercise Create the hierarchy tree from the above slide in the PRO_AS project in the plant We Update the PH in the multiproject to avoid having to meke the entries again in the OS project Action In the plant view. click the muitiproject, right-click and soloct Plant Hierarchy > Update in Multiproject to open the update soreen. The option selected in the above slide will create the PH folders with identical names in all projects A identically-named PH folder In the projects represents the (identically named) assigned plant section. The second option enables limited updating of selected projects. This is necessary, for example, if different plant sections are to be monitored on OSs i different projects. Different plant hierarchies are required in that case. Remark If you would like to rename the PH folder later, do this in the template project. Folders that were generated through an update will be automatically renamed. Training Center SIMATIC PCS 7 System Training for Automation and Drives Pace 11 Project structure SIEMENS Plant View - Settings/Properties 4 SAE cat Inet HC Ww oro ‘Dic arle| xlsaie| lf ve Jal SirRant rao SIMATIG PCS 7 Sees ASA008 ALS see8 PH settings The settings are taken from screen project. You can set the naming conventions for your project (number of levels, namie length per level, whether the name of the level is added to the hierarchy identification and whether the scroon hisrarchy in the OS or the diagnostic pictures are derived fromthis plant view), With the OS area, you specify which hierarchy level is applicable as the OS area level. You have set level 2 (see circular mark) Note: When you assign a name, note that the process tag name on the OS must not exceed 128 characters. The name is a combination of the names of the folders in the hierarchy path, the chart name, the block name, the separator, and the connection name (parameter name of the block). Hierarchy folder - Properties ‘After selecting a plant hierarchy (usually in level 1), right-click and select Object Properties to set the properties. for each hierarchy level of the current Training Center SIMATIC PCS 7 System Training for Automation and Orives, Page 12 Project structure ‘SIEMENS PH Assignment | SDR, OS mens, Se Gerad | Cerusland nordumgetiuies ASS Aesierrert | 568 Type Befrtin i 3 [co Dis) He] SIG seomouomene aC Eaycon BD PhO.AS (i Dapotice Levan eben 2 Bene Saco NGFU 417-57 2591 Cran 2 Sy cent =Omas Sages SIMATIC PCS 7 aa s5412006 ‘Start A208 A te ane PatorecSiovS v0 p rus ‘iat sods ASIOS Assignment Select the following in the AS/OS Assignment tab (see above): * The AS (its CPU chart folder) in which the CFC and SFC charts are stored. + The OS in which the pictures and reports are stored. This assignment can be passed on to the lower level hierarchy folders, unless, other assignments are necessary in lower levels. Remark You can only assign those ASs or OSs that are located in the same project as the PH folder that is currently being assigned. HMI Attributes ‘The OS area ID for the hierarchy folder of the level selected as the OS area is displayed in the Control and Monitoring Attrioutes tab, The ID is preset with the name of the PH folder for this level. The area ID is passed on to (i.e. inherited by) all of the lower level hierarchy folders, OS pictures, OS reports and messages. This means that all lower-level hierarchy folders with their pictures belong to one plant area in the OS. This affects the area-specific authorizations for operating personnel. If the picture hierarchy is to be based on the plant hierarchy, the "Order." button and the "Picture name for OS" field ere active ("Picture name for OS" only if the OS area ID is not active). The name of the hierarchy folder is entered as the defeuit setting for the picture name. The operator sees this name displayed in the WiNGC picture hierarchy. Remark Alllof the settings are associated with the AS/OS that you have assigned. Training Center SIMATIC PCS 7 System Training for Automation and Drives Page 13 Project structure SIEMENS HID Generation eee rar EO o¥_LOCk conTRop}--— 7 ove opm foc ocowr o-(yecuose | [omen eon o-[arto_oc | [ach_epy ots 305: a = fl Heaton o-{i_paseT | [aopatizns > fj Level oes ‘ogQman_AuT = fa ioe o- [ap opm] [eed our-Boot \ |g Sinudeion .sseo-[ge7mp_OF | | ad i=AUTO, O-MaNUAL Mace] : i o-{FB Chose HID on ES = 111\222\333\4441155 51656, icgeo [QC FB CL ‘sse0~[ac_gcomT HID on OS = 111/222/3331444/555/666 cn |HONTTOR UNS o-{n10p SEE i ogo Selectable combination -—— Process tag on O! 1 1/222/333/444/555/666.777 SIMATIC PCS 7 ae testa ITRAN ast Sewn A220. hip nna Biter Fas amie a HID formation The Higher-level ItemDesignation (HID) is formed from the following components: 2. Path name from the plant hierarchy b. Chart name ©. Block name Whereas the string the plant view contributes to the HID is the result of linking selectable combinations of the hierarchy folder names (components 1 to 4 in the slide), the chart name (5) and block name (6) ere always present in the HID, Process tag If individual parameters of the moduls are to be visualized in WinCC, the parameter name (7) is appended behind the previously described components, separated by a period. Examples In crc In the chart reference data of CFC, block 2U301 is displayed as part of Factory2\Reactors\UnitC\Drain\\Dr301, The chart name is separated from the hierarchy path by In WinCc (HID) The name of the block is displayed as Factory2/Reactors/UnitC/Drain/Dr301/2U301 (if all PH levels contribute to the HID) In our example, "Do not include in HID" was selected for Level 1 in the PH settings. Therefore, the resulting HID for the same block: Reactors/UnitC/DrainiDr301/2U301 In WinCC (process tag) Ifa parameter of the above block is addressed, itis identified as a process tag and displayed in WinCC as follows: Reactors/UnitC/Drain/0r301/2U301.QCONTROL Training Center SIMATIC PCS 7 System Training for Aulomation and Drives Page 14 Project structure SIEMENS OS Hierarchy (AS/OS) SIMATIC Manager winoc es ‘wince RT exe roe aici, Gp 2 cS eae ieee —a Bisl#isl aisle) WP alin Frito tia SIMATIC PCS 7 ous, etanie SITRAN rannae Ifyou have derived the picture hierarchy from the plant view (preceding slide, screen "1") the above slide shows the relationships. To start the OS compilation from the SIMATIC Manager, select the OS, then ‘ght-click and select Compile The pisture hierarchy is automatically provided to the "Picture Tree Manager" in WinCC CS (Configuration System). During runtime, in WinCC RT (Run Timo) the ptant operstor can select an area, launch the graphic display of the picture hierarchy, and look at the desired sub- area. Relationship Training Center SIMATIC PCS 7 System Training Project structure for Automation and Drives Page 15 OS Hierarchy (Picture Structure) “aterm [[[I] Loaetort Reacts Reasons _[[[])Reeorsa [1111 Group cieplay [a] |g] Overview of the reactors (REACTORS'.PDL) Reactors Unit A1,B1,C1,01 (UnitAT-PDL...) pe P | Detalis (if necessary) SIMATIC PCS 7 bale seatamee STRAIN anno er You can derive this OS picture hierarchy from the plant view. ‘You must use the plant view to insert the pictures for the relevant plant component in the hierarchy folders and provide them with meaningful names . You can then use OS (Graphics Designer) tools to configure these pictures. Tip: The following method is more efficient: - Start by inserting and renaming only one picture in the PH. ~ Open this picture in the Graphics Designer (WWinCC) and change to the desired dimensions (height, width) there using its properties. = Copy this modified picture (which is still empty) in the PH, and then insert it into the various PH folders. Training Center SIMATIC PCS 7 System Training Project structure for Automation and Drives Page 16 SIEMENS Names in the Component View ai Sine oe Saige SET a Project nemo gevas ae arene “The S7 program nema is discayed (a Sowces @ dons Bone oikom InWINCC 28 a SubstILte for tre AS Computer name (trom Windows) =) WaccAictn Boo 08 rama 87 program name for the lbvary SIMATIC PCS 7 ame same STRAIN nanngier Sere A208, A ee PaTorecsnene vip eraar Zusnston ne Brae Project name Was entered via the SIMATIC Manager, Can still be changed (especially if the projects are to be subsequently combined in a multiproject). The storage location on the hard disk remains the same. AS name The SIMATIC 400 station should be renamed so it can be found again at the location of installation. Select the station, then right-click and select Rename and ‘enter a new name (ASXx, where xx is your station number). S7 program name The name of the directory where the software Is stored; this directory is displayed as a substitute for the AS name in the process control messages of this AS in WinCC. It should be similar or identical to the AS name e.g. S7_ASO3. Computer name APC station is identified via the computer's Windows name. The name is assigned by the computer acministrator. To determine the name, select the My Computer icon on the PC desktop, then right-click and select Properties -> Computer Name Then, copy the indicated name. When renaming the PC station in the SIMATIC Manager, you can then insert this name there (do not use special characters in the namel). OS name This name can be freely assigned, but should allow the OS function to be identified (SERV2, ARSRV, C12 etc). 7 programname ‘The ST program directory can also be renamed for the library. Training Contor SIMATIC PCS 7 System Training {for Automation and Orives Page 17 Project structure SIEMENS SystemConfiguration Central Engineering System (ES) CFC library: Proxy blocks, for fold devices and distributed UO, faceplates for WinCC, Network configuring: OP master Configuring AS 414, AS 416, AS 417 eading measured values and He manipulated variables ia eH AUUIU SIMOCODE SIMOVERT SIPOS3MC SIPART = ET 200M ET 20018 ET 200K SIMATIC PCS 7 a 3511008 SITRAIN ig Sens A 20 eee, Fi ovrcSiove Yo snes he Content Page ‘System Configuration for PCS 7 Components errant 3 Configurable Components z 7 ‘ 4 Using HW Config to Configure the AS. ensure 6 Exercise: AS HW Config (Central AS) 8 Task: AS HW Config (PROFIBUS DP CiR Compatibility) ..... 1" Exercise: AS HW Config (PROFIBUS DP Set Parameters for CiR Object) 2 Exercise: AS HW Config (Sot Paramaters for PROFIBUS DP CiR Module) ... 14 Exercise: AS HW Config (CPU Process Image Partition) Exercise: AS HWV Config (Driver Concep’Symbolic Channel Namos) Compiling and Downloading the AS HW-Config Setting the PG/PC interface for the First AS Download Compiling the AS HW Config and Downloading in STOP Mode Exercise: Download the AS Hardware Configuration in RUN ... i Exercise: Download the AS HW Config to the PLC Check CiR Compatibility-1)....... 23 Configuring the PC Station (Overview) as 26 Set the PC Station (Modules) ss 28 Set PC Station (Access Point] 29 SCE (Station Configuration Editor Option) 30 Exorciso: SIMATIC PC Station/OS HW Contig 2 Calling Up NetPro 37 Setting Up a Connection 40 Downloading a Connection 42 Cross-Project Viow anu. 43 87 Connections (Stations in inknown Projects) 44 Training Conter SIMATIC PCS 7 System Training ‘for Automation and Drives Page 1 System Config Training Center SIMATIC PCS 7 System Training {or Automation and Drives, Page 2 System Cor SIEMENS M1_C1_SystemOverview SIMATIC PCS 7 System Overview SIMATIC PCS 7 ae ast Fil STRAIN rig ee iu ee ees PirecdINS om ans acento rs ee Content What Is Process Control? vsti Seamless Integration of Today's Systems... ss 3 A New PLC Generation with Integrated Process Control Functionality 4 SIMATIC PCS 7 - Automation Systems Configuring with Function Blocks = 5 Special Process Industry Requirements: Top-Down Design Ivethodology 8 Training Center SIMATIC PCS 7 System Training ‘for Automaton end Drives Page 1 System Overview SIEMENS System Configuration for PCS 7 Components ‘Set PC station Station Configuration Editor (SCE) Application WinCC application LAN onboard WinCC application CP 1613 HW Config e pe] cfc p| cl c s| BP] e] AS s| P| P| AS u | “Lu SIMATIC PCS 7 we ssa SPAN ra Sen G8. re Fatececbind Ye nants nanesnte Configuration APCS 7 environment consists of ASs (S7 components with suitable /O), PCs used as an ES or OS and networks between these components. There is an actual configuration and a preset configuration for each component. In addition ‘communication connections must be set up between the stations. Actual configuration With an AS, this is determined by the specific structure of the available hardware (rack, power supply, CPU etc.). In our case, the hardware was provided in our training room. With a PC (used a8 ES or OS), 2 virtual struoture is created using SIMATIC tools for the workstation configuration (Set PC station, or Station Configuration Editor). You need to set up the structure yourself (this is generally done when the PCS 7 software is installed on the PC). With V7.0 and higher, this can be simply cartiad out from the central ES (Configure Station). Preset configuration The preset configuration is created in the SIMATIC Manager within a project on the ES by using the HW-Config tool in the project. It contains project-specific parameter settings for the devices used. After completion, the preset configuration must then be transferred via the network from the ES to the respective station (AS or PC). In doing so, the load procedure must find the ‘components of the preset configuration in the actual configuration. Connection NotPro is used for this. Connections are created botween: ES-AS, OS-AS, AS-AS (if the latter need to exchange data among themselves). ‘You also need to download these connections to the respective stations. Remark All fools are integrated in the ES software and can either be called diractly or in the context of the components to be configured. Training Centor SIMATIC PCS 7 System Training for Automation ard Drives Page 3 System Config Configurable Components SIMATIC PCS 7 Configuration ‘Components HW Config ES ae pe leBL ee SITRAIN Tino Hardware components are used within the project. These include the automation sysioms (AS), PCs ag operator stations (OS) or enginearing statons (ES), and the networks, Inthe muttioroject, select the required project, then right-click and select select Insert New Object and then as required: ‘+ “SIMATIC 400 Station’ for an AS *SIMATIC PC Station” for an ES or OS + "Industrial Ethernet" for the plant bus or terminal bus, etc. When you select the object to insert, a symbol is generated to represent each device and serves as access point to the configuration ‘The "Hardware Configuration” tool or "HW Config" for short is used for this. HW- Config is used in the same way for both AS and ES, To configure the AS, use the mouse to select the symbol representing the required AS in the SIMATIC Manager (component view), then right-click and select Open Object The tool is launched. As an alternative, you can also double-click the hardware symbol in the right pane. To configure the ES, use the mouse to select the symbol representing the required PC in the SIVATIC Manager (component view), then right-click and select Open Object The tool is launched. As an allemative, you can also double-click the configuration symbol in the right pane of the SIMATIC Manager. Training Center for Automation and Drives SIMATIC PCS 7 System Training Page 4 System Config SIEMENS AS HW Config Son Sic weet AC Taw ORGY Wd Teb OSeTR SF Be de OO Ew ten (Baars Tif snanea © ce 2 Deus + Dro + aman + Sanece. | § Secu + Gecko 2 Sswa00 as | denn rfefe Ee (a7 SIMATIC PCS 7 ue sauna (FU STAN rata Serers AG 05 A SENS Pls or resteye V0 mehors HWY-Config To start, the configuration should reproduce the configuration of the devices. The ‘example in the slide shows an AS configuration. The components shown here offer settings screens (usually accessible via the object properties). If he configuring engineer is knowledgeable about the options available and application at hand, he or she can optimize the components’ settings offiine first. Then these setfings need to be supplied to the devices (by online download to the target systems). SIMATIC PCS 7 System Training Training Center System Config for Automation ard Drives Pago 6 SIEMENS Using HW Config to Configure the AS 2G suriene © ca cea + ou anes + Shrso Spo aE x Hardware one catalog on oa sqm 2 Shae Pst SIMATIC PCS 7 owe 4541 ite STRAIN Tg ‘Stent R900 Ae at Fi srercsr9r3. 70 sys dca ee Using HW Config You have created one project with an AS and one with en OS. The hardware configuration must be adapted to the AS and OS you are using. In doing so, the parts lists for the ASs and PCs in use must be taken into account. Terms ‘The HW Config tool refers to a station (AS or PC). In the right pane, a tree structure displays the SIMATIC components (hardware catalog). After selecting a component (arrow 2 in the slide), the associated Order No. and a brief description are displayed in the comment field (arrow 3). If you have nat been able to locate the module (as it is not a current PCS 7 module or is an older module) select the "Standars” hardware profile (arrow 1 in the slide) and search again. There you will find all 87 modules that are known in the current version of the SIMATIC Managers. Tp If you know part of the order number or designation, you can enter itn the Find box and click the button (arrow 4) to find the module. The search is only conducted for the selected profile. Please note that the pert designation can occur multiple times! (If this is the case, continue the search.) Pasting In the SIMATIC Manager select the station/AS in component view, then right-click and select Open to open the HW Contig. Training Center SIMATIC PCS 7 System Training {for Auiomotion ard Drives, Page 6 System Contig Then proceed as follows: = Search in the catalog and check the order number and if necessary the firmware version of the racks, power supply, and CPU in use (arrow 3). Use a drag-and-drop operation to insert the located modules in the left window. ‘* Select the modus in the left screen, then right-click and select Object Properties... then set the parameters for the module. Replace To replace a rack (or a module inserted in the rack) search for the new, required module in the hardware catalog. Take the hardware profile setting into account when doing so. The comment field (arrow 3) displays the corresponding order number and brief description for the selected component (arrow 2). ‘Soloct the correct component, “drag it with depressed left mouse button across to the rack/module symbol and drop it there. If the exchange is possible, a message is displayed with the order numbors of the two components and must be acknowledged. If the exchange is not possible (because the oldinew components are not compatible), the mouse pointer will change to a crossed circle. In this case, the settings of the old module should be documented before deleting the module and replacing it with a new one. Then transfer the settings as appropriate or make new setfings. Note Ifyou have selected an incorrect slot, you can drag the module to another location with the mouse. The new location must be free and wide enough (i.e. correspond to the number of slots roquirad by the module to be displaced). Remark The catalog profile (arrow 1 in the slide) was set up vith the PCS 7 installation. ‘You can edit the profile (s7hpro0) that is automatically created by selecting Options -> Edit Catalog Profile Here you use the familiar Windows procedure to copy objects from the standard profile (one window) to the new profile (the other window). After completion, the new profile can be saved via Profile -> Savo as... The newly created profile is offered for selection in the profile box. SIMATIC PCS 7 System Training Training Center System Config for Automation and Drives Page 7 SIEMENS Exercise: AS HW Config (Central AS) SLs (URt or UR2) =T 200M ps | m | sm | sm | sm | su PROFIBUS: address a SIMATIC PCS 7 Bene BAG2005 A sr Exercise Procedure ‘Open HW Config BorocB Ne Ehn eta ‘muonaon a ve Configure the modules for the central part of your AS. Use the pars list for your ‘AS as your guide! (The example refers to the "Saarbriicken' training room in the 1g Center.) Mannheim Trai 1. Ingert the rack (UR=Universel Rack) 2. insert the pawer supply (PS=Power Supply) 3. Insert the CPU or supplement the integrated DP interface. Rename the DP subnet and check properties 4, Insert and set CP for PROFIBUS DP (if available) Register CP 443-5 Ext as DP master Rename the DP subnet and check properties 5. Insert and set CP for Ethemet Create a new Ethemet network for the plant bus and rename it Assign or verify MAC address, disable TCP/IP protocol In the project, select the ASxx to be configured (your AS), and right-click and select Open object Use the hardware catalog to locate and configure the components (rack, PS, CPU, CP and I/O modules) in the HW Config for the station. Ifyou cannot sae the catalog, select View -> Catalog to activate it. Training Center {or Augomation arc Drives SIMATIC PCS 7 System Training Page 8 ‘System Config Rack Notice! Power supply CPU In the hardware catalog select the desired rack SIMATIC 400 -> RACK 400-> UR? then use drag & drop to move it to the top left window. For the catalog component you have highlighted, check the detail specifications in the lower catalog window pane (order No. and comment) so you can insert the correct components. itis possible that the CPU will not start up if you insert a component incorrectly! The slots in the rack are listed in rows. You can now populate each slot (you can also use “drag & drop"). Select siot "1". In the hardware catalog, select SIMATIC 400 -> PS 400-> 0.9. PS 407 10A and position it on row 1. This 10 A power supply occupies 2 slots. Select the correct CPU from the hardware catalog (for example) SIMATIC 400 -> CPU 400 -> CPU 417-4 -> V3.1 and drag it to the next free row (row 3). ‘The CPU with the integrated OP interface occupies two slots. The Propertios ‘screen opens. Select the New button to create a new DP network and ener a meaningful name (e.g. DP_subnet, or DP_ASO1_int1, or DP_AS01_ext3). In the properties for the selected network ‘check whether the DP protocol and the desired baud rate are set (default 1.5 Mbaud), The image displayed now represents the PROFIBUS DP with the "OP. master system (1)" identifier. The ET 200M is later appended to this. Networking CPU vie MPI This is no longer necessary with Version V6 and higher. Remark Additional OP subnet ‘The new Ethernet CP from BGK7 443-1£X11-0XE0 V2 supports direct addressing of the card via the known MAC address of the Ethemet CP, therefore, the initial loading via MPI is no longer necessary. Ifan additional CP is connected in the rack for another DP subnet (such as the CP 443-5 Ext), this CP must be inserted in the rack in HW Config and be connected with a DP subnet (as the second DP master). In the HW catalog, select: SIMATIC 400->CP 400-> CP 443-5 Ext, select the correct CP and use "drag & drop" to move the CP to the correct rack slot In the screen overlaid for the PROFIBUS interface for the CP, select NEW to creata a new DP network and then rename the network (for example, DP_ ‘Subnet2).. Training Contor {for Automation and Drives SIMATIC PCS 7 System Training Page 9 ‘System Config CPasDPmester Highlight the CP 443-5 Ext in the rack, right-click and select insert DP Master System to name this system as the master for the nev subnet. You can use the graphically displayed subnet for additional ET 200M devices or for PROFIBUS PA devices via OP/PA link/coupler modules, If you do not want to configure the CP (no DP hardware is connected, for exampla), you must disconnect it from the power source (remove it from the rack). I itis present in the rack but not in the harcware configuration, the CPU (depending on the firmware version) may not siart up (remain in STOP mode) or may not be downloaded. Therefore, if this CP exists in the hardware, it must also be entered in the HW Config. Ethernet CP Ethemat is used as the plant bus by default. Insert the CP in the HW Config. In the HW catalog, select SIMATIC 400-2CP-400->CP 443-1-> "Concrete CP" and position Itin the rack. In the overlaid “Ethernet Interface Properties" screen -> Parameters tab, click the New button Then, create a new Ethernet subnet (if you have not already done so), rename the subnet (o.g., "Plant bus") and select this bus to identify the CP as being networked. Set a unique MAC address in the project, taking into account other nodes physically present on the bus that are not part of this project. Itis advisable to use the ISO transport protocol for small networks as it provides higher performance. However, if you want to communicate over more spread-out networks that are connected with routers, use the ISO-on-TCP transport protocol instead. Remark ‘The hardware configuration is downloaded in a later part of the exercise. Here, the AS is loaded cirectly via the known MAC address of the Ethernet CP for the first time. For this to work, the accoss point STONLINE must be active on an Ethernet-capable CP that is connected to the plant bus. (additional settings are described in the chapter "Configuring the Workstation" under Setting the PC Interface), ‘The download also provides the CPU its parameter settings via the Ethernet CP (therefore the CPU is configured during this procedure). If you change the PC interface to the integrated Ethemet CP (LAN card or CP 1613), you can then download and debug additional data (hardware configuration and subsequent software) over the plant bus. Training Center SIMATIC PGS 7 System Training for Aulomation are Drives Page 10 System Config SIEMENS What Is Process Control? Automation > AS systems = Measuring + Glosed-loop control + Open-loop control tc. HMI systems + Displaying + Operating Loe OF + Recording + ote. [eerie Bus, * Central engineering ES SIMATIC PCS 7 PRE, elas 7 SITRAIN Trariog te Eevee AB Nghe nena red t oe ts pact Process control = Automation system + HII + Communication system In Components Automation system (AS) + HMI system (OS - operator station) + Bus Configuration: Engineering system (ES) = Engineering toolset + Process control libraries (AS/OS blocks) Training Center SIMATIC PCS 7 System Training for Automation and Drives Page 2 System Overview Task: AS HW Config (PROFIBUS DP CiR Compatibility) (UR1 or UR2) SIMATIC PCS 7 au 541 20 STRAIN vamse ‘Serre A203 A sa Pe srrcSrOra. 10 err pins be Exercise Configure the distributed / a 200M). The configuration is to allow changes in runtime }).. Please refer to the parts list for your training Steps 4. Activate CiR compatibility 2. Set parameters for CiR object (reserve address range) 3. Set paramoters for CiR module 4. Insert and configure /O modules: 5. Set process image partitions (CPU and ]O modules) 6. Assign symbolic names for the /O channels 7. Compile and download (aor changing tha PC interac CIR Compatibility (For Distributed VO Only) ciR Additions are to be made to the distributed l/O during runtime, without stopping the CPU. Select the OP master system (1) shown in the preceding graphic on the integrated DP interface of the CPU, right-click and select Activate CiR compatibility ‘As a result a so-called CiR object is represented on the PROFIBUS DP. This object needs to be parameterized with regard to future additions of VO. Training Center SIMATIC PCS 7 System Training for Autoren and Drives Page 11 System Config ‘SIEMENS Object) Fen rors 2 Soma Sune Exercise: AS HW Config (PROFIBUS DP Set Parameters for CiR Mex. bytes per slave Nase T taesetng: Bae peontr Taypes Vedeos Ce rer=mon fara sOx2H 2491/20 of Must be made ayaladie as PIPIO via the CPU. properties! oe poe 1297 a de® 149? a SIMATIC PCS 7 Sera a6 208, A ares eso cr Note Pier ecliby facrater as 206 Pier rcbrbie Yo mets Then ‘right-click and select Properties to open the screen form above. The GIR object must retain resources for future DP/PA slaves. Each slavo requires up to 244 bytes (can also be less, depenciing on the actual I/O modules). There is also a maximum limit for the number of slaves that can be inserted in the subnet online. 1. The guaranteed number of DP slaves (FT200, DP field devices) must be parameterized in relation to future additions. If no "Extra Settings" are selected, the sum of input and output bytes is automatically displayed. 2. They must be taken into account as sum values for the settings in CPU Properties -> Cycle/Ciock Bit Memory tab -> Size of the process images (for all DP staves on all subnets), ‘The CPU properties cannot be changed online! The maximum CiR synchronization time has a default setting of 1000 ms. The time associated with the current configuration is displayed in the properties of the CIR object. The default time and the CIR download process can be influenced in the software. To this end, the system function SFC104 "CIR" can be called in a CFC (from the "Stancard Library"). By parameterizing and downloading this, the CIR process can be influenced without stopping the CPU. Training Center for Automation and Drives SIMATIC PCS 7 System Training Page 12 ‘System Config SIEMENS Smee elon = sme mene | 8 | Buenos , SIMATIC PCS 7 owe setae Sere A526 Ar ne Peoria ie senonas see wndtee Specify the PROFIBUS DP address for the ET 200M on the displayed screen (as seton the address switches for the IM). After closing the screen, the associated frame is displayed with a maximum of 11 slots (for /] modules you can use slots Ato 11). Note Not all IM 153-2 modules are CiR-compatible (pay attention when ordering). Currently (V6.1) the 153-2 HF and 153-2 HF FO in the V6.1 hardware profile are sultable for CIR, Training Center SIMATIC PCS 7 System Training for Automation and Drives Page 13 System Cor SIEMENS. Exercise: AS HW Config (Set Parameters for PROFIBUS DP CiR Module) sini) of) S| Ble ‘fa Bo wel ee a a aitencea| nae STs] i ‘4201 GE. Seat onees Suan oreee Sasa bast. siaa 3s | Saiz be so Dao 4] 5 wre Sit baa “sil BL see Sez oct i Sua Ona wae Swe Drsbact z SWZ DEAE 9) ee“ i Beton 5 pea 4 $ ~ Bperpmaerte wee i: ec oe SIMATIC PCS 7 eee SITRAIN Taig tr enna ea so Faeroe pnts ‘Arcelor on es As the selected IM 153-2 supports CiR, 2 CiR module is offered in the lower part of the window from slot 4. VO Modules "Take the 1/0 modules and position them on top of this CiR module in the ET {as previously for the station, but now with modules from the ET 200M / IM 183-2 directory). This way the CIR module is shifted one place to the right, ready to receive the next /]O module. The CiR module reserves an address range for inputs and outputs (the total of which is less than 244 bytes - they can be addressed via the slave). Using the module properties, you should reserve sufficient address space for modules to be inserted at a later point in time. If you want to add address space later, you must switch the CPU to Stop mode. For exemple, ¥ th plarsiod soiiguation ie one ET 200M for 8 maces ha ct), and if tho Intalinetallafion fs equipped with § Al modules (8-channel, this means that 5x8x2=80 bytes input addresses are used. If you would like to acd identical modules to the three remaining slots while the CPU is in Run mode, you will need to have reserved 8x8x2=128 bytes input addresses during the initial setup. 1 word=2 bytes per analog value are required Note about module replacement When using PCS 7 you can replace modules during operation. Select the ET 200, and right-click and select Object Properties -> Operating Parameters tab Then select the option "Module replacement during operation” The bus modules listed here must be installed in the rack. IEyou forget to set this option and replace a module later during runtime. a rack failure message is, issued (as if all modules had failed). ‘The power supply for IM is not configured, but an external 24 V supply is possible. Training Center for Automation and Drives, SIMATIC PCS 7 System Training Page 14 ‘System Config Exercise: AS HW Config (CPU Process Image Partition) PIP Process image partition PIPI (inputs) PIPO (outputs) cpu DP mestor buffer PIPIT Pig I + B32 1 4 PIFOI— PPR 4 3, ones 4 . PIPO2 ~~ SIMATIC PCS 7 ale 5412000 SITRAIN rane w Semen A208, Ae aan Pa’srecSiavs ira sos ‘Adena on ee Process Image ‘The DP master (CP or integrated DP interface on the CPU) cyclically scans the PROFIBUS DP subnet (circular arrow 1 in the slide). In doing s0 it passes data to the slaves (e.g. ET 200M for passing to the output modules) and reads back data from the slaves (which acquired them from the input modules). The data are passed through an IM internal buffer. Tr During each cycle, the DP master writes/reads values to/from all its slaves. The buffer content forms an image of the inputs and outputs of the modules. The cycle time is called Ttr = Target rotation time and is displayed in the properties of the GiR object, here IM 159. The DP update cycle runs independently of the CPU program, but must be at least es fast as the fastest program that processes the process values. For evaluation in tho user programs, the intormodiately stored input data from the ‘operating systam aro copied at a dofined point in time from the buffer to a CPU memory area and output data copied from there are written back to the buffer at a different point in time. The programs can then gain read (|) and write (O) access to this "process image" memory area. ‘Synchronization This ensures that the programs are working with consistent process data. This means that the operating system must provide for the updating of the process input image and freeze it, before starting the program. After the program has been executed and commands have been written in the process output image, the output image is sent to the DP master. However, as process signals and their associated processing operate at selectable repetition rates (slow/fast processes), itis necessary for their synchronization to match as well Training Center SIMATIC PCS 7 System Training for Autre Dives Page 15 System Config _ Process image pariion The CPU offers OBs with different speeds in which the user can execute Note Remember: programs. You can assign a process image partition to the OBs in the CPU (e.g, OB32<->PIP1, 0B35<>PIP2, OBx<->PIPs, where n=1 to 16 is dependent on the CPU). At the same time a suitable PIP must be assigned for the individual ! modules in their properties. Driver blocks are used in the PCS 7 software to input and output process data. These driver blocks must run in the same OB that updates the PIP of the scanned 1/0 module. Itis useful when wiring the signals between modules to differentiate between slow and fast signals. A module should be assigned to a PIP that is capable of delivering signals to the software at sufficient speeds such that the fastest connected signal is processed currently. If signals are mixed on the module, this, causes slow signals to be read quickly, wasting computing time. Ifyou want many, it cannot be fast. Ifyou want fast, it cannot be many. ‘The CPU cannot continuously work in overload. After a programmed, but, limited time this leads to CPU stop! Training Center ‘or Automation ard Drives SIMATIC PCS 7 System Training Page 16 System Config SIEMENS - “Exercise: AS HW Cont (Driver Concept/Symbolic Channel Names) ps4or|cpu | cpl ce 417-40P] P| Eth opsz PIP2 ig al | MPI Lt | ps | im | sm | SM | SM | SM PROFIBUS aa a addres Tada da iT} Pe |e fe po | ee ‘Name_channel_0 Name_channel_1 SIMATIC PCS 7 ome seston TRAN vont Benes AC200% Ae need Ret srodSita Yc ton incest Exercise ‘The process image partitions are to be updated on the CPU: PIP "1" by OB32 and PIP "2" by OBS5. The I/O modulas (in the example) must be assigned to process Image partition "1." Give the individual channels of the /O modules symbolic names as listed in the parts list for your AS. Steps 4. Select CPU symbol, open object properties 2. Gyelic Interrupt tab: assign PIP to the OBs 3. Cycle/Clock Bit Memory tab -> check OBES call 4, Assign symbolic names for VO channels Process image partion The CPUs ([rom about 1998) support process image partitions. The process image partition is defined in the CPU and for each I/O module (see next section). ‘The process image is updated by the system through connection to an OB you selected, The procedure is as follows. Select the CPU. Open its Object Properties, Select the “Cyclic interrupt" tab, For example, for 0832, sefect process image partition “PIP 1". For OB35, select process image partition "PIP2". Select the "Cyle/Clock Bit Memory" tab. Check or make the following settings: B85 call with /O access error: Wath incoming or outgoing errors only Size of process input (output) image: both >= 1024 (default setting depends on the CPU used) Training Center SIMATIC PCS 7 System Training fer Aulomation ard Drives Page 17 ‘System Config ‘Setting parameters for I/O modules In the upper window, select the ET 200M you went to configure. In the lower window, select the individual line for the relevant module. Then, ‘right-click and select Object Properties -> Addresses tab Click the "Process Imago" field. Select the process image partition you want (such as "PIP1,” according to the OB - process image partition assignment for the CPU made in the previous section). Repeat the procedure for each VO module. This is how you determine how quickly and frequently the CPU updates the data for the individual module. “inputs/Outputs" iab Here you can make individual adaptations to the connected process signals and their characteristics for the module and its inputs/outputs. Symbolic channel names Seleot the line with the VO module. Then, right-click end select Edit Symbols to add the symbolic name and possibly a comment for each channel. You enter this symbolic 1D in the symbol table for the S7 program. When you insert tho now driver blocks In a CFC char, you “only” have to recognize this name again. The drivers automatically take the settings on the modules, their inputs/outputs, and their slots into consideration. Additional specifications are not needed. Based on this unambiguous signal name for CFC, all additional settings are read from the HW.-Config and parameterized on the drivers, Proposal Name the module inputs as follows: Module Symbol Comment Analg input ALCHO ‘Analog input channel 0 ALCHt Analog input channel 1 ete. Analog output AO_CHO Analog output channel 0 AO_CH1 — Analog output channel 1 ote. Digital input DI_CHO Digital input channel 0 DILCH1 Digital input channel 1 ets. Digital output DO_CHO Digital output channel 0 DO_CH1 Digital output channel 1 ete. Caution: The channel driver to be used later in the CFC must run in the OB that also updates the process image partition for the module (in our example 0832). ‘Training Contor SIMATIC PCS 7 System Training for Automation and Drives Page 18 ‘System Config SIEMENS Compiling and Downloading the AS HW-Config © Download the hardware configuration only after the following steps have been carried out with NetPro: © The network is configured and connections have been set up from the OSs to the monitored ASs. © Connections were also configured between the devices (AS, AS) to allow data exchange during process control. See also chapter "Network Configuration’ Q For testing purposes, you can also compile and download the AS configuration in the exercise now (the ES is not yet configured). For this to work, the Ethemet CP of the ES must be in "PG Operation” mode (see also the section "Configuring the Workstation"). SIMATIC PCS 7 cae ssetame TRAN rant Sener A320 Ae meen Flesreusiats vit sions ‘beware Be SIMATIC PCS 7 System Training Training Genter Pdi System Config for Auiomation ard Drives Page 19 SIEMENS Setting the PG/PC Interface for the First AS Download Pease recon “ secoaPab| ‘Pecr Poneto Fopeston oun STEPZ) erace Paar erment Used [edtee Thanet Hook TIBIA Peers SIMATIC PCS 7 om testa SITRAN nang tx Shmare 9 208 Arie sone Pater ecSa'e vo senor Kumaton snd Sone Exercise Change the PG/PC interface S7ONLINE to the plant bus CP. Test this setting by determining the accessible nodes. ‘STONLINE This is the symbolic name used by the SIMATIC Manager and its lower-level applications for the interface for communicating with other devices. Based on the setting, the CP (communication path) that was assigned in the screen shown above is selected. Procedure In the SIMATIC Manager, select the menu item Options -> Set PG/PC interface. In our exercise we shail select the Ethemet CP with ISO protocol which is connected {o the plant bus. Click OK to confirm the setting Accessible nodes Atter changing the interface, click the Acoessible Nodes icon in the SIMATIC Manager. A window opene listing the Ethemet partners that can be reached via the ISO protocol. In the slide above, a CP 443-1 and an OSM are detected and displayed. Training Center SIMATIC PCS 7 System Training for Aiomaton ord Drives Pago 20 ‘System Config SIEMENS Compiling the AS HW Config and Downloading in STOP Mode = us ‘etre efomd acta be a= Spee eens Beebe acca nae ‘Serers AG 703. rs ees Exercise Compile Download Remark ‘Compile and download your AS's hardware configuration to your target module. Click the Save and Compile icon ("1" in the slide). Or, alternatively, you can use the menu command Station > Save and Compile Ensure that the CPU is in STOP mode and that the keyswitch is set to STOP or RUN _P. Click the icon *2" or, alternatively, use the menu command PLC Download to Module The first time you download, the AS is downloaded with the CPU in STOP mode. (ifitis stil running with an old configuration, the download dialog box offers a stop and restart option), Ifyou make changes later, they can also be downloaded with the CPU in RUN mode (certain rules apply). This assumes that suitable PCS 7 driver blocks are already running in the CPU. For the sake of completeness, a description of dowloading in RUN mode is provided on the following pages. If you need to make changes to the hardware: confguration during the course of the project, follow the download procedure described there. Now the configuration of the AS from the first project is complete. A similar procadure must also be performed for the PC stations that are boing used as ES or OS (See the section "Configuring the PC Station” in this chapter). Training Center for Atomnation end Drives SIMATIC PCS 7 System Training Page 21 System Config SIEMENS Exercise: Download the AS Hardware Configuration in RUN ae ans pete er ee .. ee ontin a Version de —— epenerreres BE Chass ew a) © Dowloscin STOP mec Laat emfa Noten —it |_| signee mere peice e4 eee paca el a ‘rece F 1 taget Hele. x a ae ET f SIMATIC PCS 7 ate, 1531 2008 Sa SMC er. tna BET et somen maem Download to target system in RUN Requirements After the station configuration was downloaded with CPU STOP, you made changes to the configuration and have not saved them yet. In the hardware configuration select, PLC > Download to Module or click the icon (point 1 in the slide) ‘The GPU keyswitch must be set to RUN_P. Then download in RUN state is offered. Should the CPU nevertheless go to STOP as a result of downloading in RUN, this is an indication that the CPU software is incomplete or does not capture the triggered events. This problem is automatically solved by using the PCS 7 driver blocks. Training Center ‘SIMATIC PCS 7 System Training forAuosaton ard Drives Page 22 System Config ‘SIEMENS Exercise: Download the AS HW Config to the PLC I (check, ciR Compatibllity-1) ieee ee Help on Message 13:4829 Description ef Error: Dae fo a metifeaton othe cerfiawlin, ae SDB was gererted which sarrat 92 covrfoaded tthe modse ‘To Correct or Avoid Error: Undo the ctanges. Be rROETP nave SIMATIC PCS 7 baw ss412me SITRANN rsshe Senera AS20H, AS reat Re'srercsiars. ro ssomzs fae ard oeee CIR Compatibility _Ater the download procedure is started in RUN, STEP 7 first checks whether the changes can be downloaded in RUN. The current onlins configuration of the CPU is also taken into account. Ifit is not possible to download the changes (e.9. offline changes to the CPU parameters, such as e.g. PIP assignment), @ screen is displayed indicating the cause. You cen then press the Help button to display a description of the error and how it can be oliminated (If this Is possible). Note You can also start a preliminary check of the CiR compatibility by activating the menu option in the HWW Config Station -> Check Ci Compatibility ‘This checks whether the configuration changes that were made since the last download can be downloaded to the automation system in RUN. The check is performed offline, An online connection is not required. If the check retums a negative result, we recommend discarding the changes, You are lucky if you didr't save the modified configuration before the check! You can now exit the HW Config. You are prompted whether you want to save the changes. Respond with NO! This way you can discard all changes that are not CiR-compatibie. General Recommendation After a successful download, make small changes to the HW Config and note or remember the changes you have made. Should the result of the CiR check be negative, there is no major loss when you discard the changes. If, however, the changes are necessary, you will have to resort to downloading with the CPU in STOP mode and then reboot. For a dotailed descristion, please refer to the manual "STEP 7 - Modifying the ‘System During Operation via CiR” that was installed on your ES. Tho programming instructions in that manual can be disregarded under PCS 7, as the PCS 7 driver blocks take care of the specific cases, ‘Training Center SIMATIC PCS 7 System Training for Automation ard Drives, Page 23 System Config SIEMENS Exercise: Download the AS HW Config to the PLC (Check CiR Compatibilit A Seton cet Year AC Wen Optew Redon tab 1213 Disa ie S| sale) data MBC) wel Bence pane olin ~— fl rere sua Aaa Suc AD Sw ae Suen aut Sua net swan AO Swan ABST Thecurt HO este node eee a hepa nde a | SIMATIC PCS 7 ae istic [STRAIN Taher Soren A820 A gs Hiern BE Gs ents Some properties that are relevant for the CiR are already checked during configuration. In the above example, the address range reserved by the CIR module is not sufficient to allow insertion of another analog module. It is not possible to download changes made to the reserved range in RUN (see next page). Training Center SIMATIC PCS 7 System Training ‘or Automation and Orives Page 24 ‘System Config ‘SIEMENS Exercise: Download the AS HW Config to the PLC (Check CiR Compatibility-3) Pet cwdete prepertics x) ee — | et Sage | oes marl vere 3 SIMATIC PCS 7 SITRAIN rai ae 15412800 Serve A020 Abe reand Fitri hn onmene28 ‘acraten arte Any subsequent changes to the reserved range for this ET 200M cannot be downloaded in RUN, i. if insufficient address space was allocated before the first download. How should we proceed now? If the CiR object on the DP subnet stil has sufficient address room for slaves, an additional ET 200M can be inserted there and fitted with modules. In the latter case, you should create sufficient reserve addresses so that the new rack can be completely equipped. Training Center SIMATIC PCS 7 System Training for Automaton and Daves Page 25 ‘System Config SIEMENS Configuring the PC Station (Overview) Hardware descristion mode* SIMATIC PCS 7 PC Station Commissioning Wizard The Commissioning Wizard appears after the Set PC Station SCE Remark Hordwere description on the PC sition | inthe PCS 7 project | Preset configuration | ; ® Station HW Contig Configuration Editor 1 ofthe PO steton (partof PC instalation) §—j_——_—(partof projet) Set PC = | indexttype @) station | "PC I operation” Application : | 1 Application 2 | WinCC application i 2 | WinCC application t—] | cPx ---} -3-|~--=sR€----} + 4-2} SPE | oy rs Py I] 4 oy ‘with "configured ‘Station Manager | 125|_ Station Manager eB sire rae ‘The PC can be used as ES or OS or both. It must however be set up once, immediately following installation of PCS 7. Then it can be changed later. stallation and detects (via ‘Win2000 functionality) the network cards (CPs) on your computer. You need to make setlings for the CPs (explained in more detail later) It is also automatically started if new or different communications cards (CP) were installed on the PC. after it was lest shut down, ‘Atter the Commissioning Wizard has finished, this tool opens and the modules/CPs recognized by the Commissioning Wizard are displayed, For each module, the operating mode is displayed in the "General" tab: "Configured Mode": The CP (mociule) is loaded from the project by the Hardware Config (configured). The preset configuration created there determines, the behavior of the CP (actual configuration). *PG Operation”: In this case, the CP is configured via the properties, orvia START-> SIMATIC->SIMATIC NET->Settings -> Set PG/PC interface (as you may already be familiar with from the previous PCS 7 version) The Station Configuration Editor is displayed in the form of a table. Only the CPs that ara set in "Configuted Moce” initially by the "Commissioning Wizard” (or later by "Set PC Station’) ate entered in the fable. Ifa CP is switched from "PG. Operation” mode to "Configured Mode" in the "Set PC Station” tool, it is, automatically recorded in the SCE table. When the mode is set back to "PG Operation", the CP is removed from the SCE again. Each component (also the individual CP) is assigned an index in the SCE (like a “slot in the table). You can change the slot/index in the SCE vier Select CP and Edit or by moving it with the mouse. Training Center for Avxomatian ard Drives, SIMATIC PCS 7 System Training Page 26 ‘System Config SIEMENS Set the PC Station (Modules) ani Mm yor |e > OR DP Tel aud Pellet (ine SS | sosetteness A __[Caieeeinee ———— 3] acd | ae oe me a Bion atte - Bee Sa Ca a OTE tone sures | tonatretie = ey J sicetventie Rowton Sma easy mene. | atte ee aos | "Zee oe Brace | Tice seen team Pac sateen, oe | _ | (EOE Boe [rca | oo | | Boer | fou | (gua ns sth SIMATIC PCS 7 STRAW rangi Bene AG 04, A os Set PC Station Modules OP 5611 CP y (see page 26) OP x Remark ns B LEP eine ia ‘The Set PC Station tool is launched via the Windows Start bar Start > SIMATIC > SIMATIC NET > Set PC Station. ‘The "Modules" and "Access points" tabs are of interest for PCS 7. All communication modules detected by the Commissioning Wizard are listed here. ‘The GP can be used for interconnection via MP! or PROFIBUS DP. Itis set to PG Operation, as itis only used for PCS 7 V6.1 in some specific cases, Inthe example, "Configured Mode" is displayed as the mode type for the internal LAN interface (Intel). Index "4" means that this module was entered in the SCE on "Slot 4", It can be moved there if required. The settings for the module ars loaded from tho project after the HW Config is opened. ‘The module is required as a connection to the plant bus. In the example, "PG Operation” is displayed as the mode type for the 2nd LAN interface (Xircom). This module is not displayed in the SCE, is not used in the HW Config, and is not loaded from the project. ‘The module is used as @ connection to the terminal bus. ‘To change the operating mode (PG Operation <->Configured Mode) you must have administrator rights under Windows. In Configured Mode, the parameter settings for the module are loaded from the project. In "PG Operation’, you set the parameters. Training Center {or Automation arc Drives SIMATIC PCS 7 System Training Page 26 ‘System Config SIEMENS [S708 Pccrts 2 tom vou eo om BR 2 ces ome | oa ‘se as pe psa tpt Faas pine sro FR Soa wer commen SIMATIC PCS 7 Accass Point Remark Set PC Station (Access Point) 3109 hsdnc Erne» ret] PAU/iCOVE Re aes scram TRAN vonage Ai srecsioNs re psterzs ‘atone one The available access points are listed here. The assigned interface parameter settings and module are displayed for each access point. Applications that use the protocol libreries (DLLs) directly use the name of an access point to access the module. Double-clicking on an access point opens a dialog where you can make changes to the assignment. ‘The access point "S7ONLINE" is the relevant access point for online operation of the ES. Which device (interface) the SIMATIC Manager uses to communicate with the ASs is determined by the access point. For example, if STONLINE is set to CP5611(MP!), the SIMATIC Manager will only try to access the other components via this module with its MPI settings. On the other hand, if the access point S7ONLINE is set to "PC internal|ocal)", the SIMATIC Manager tries to find the path to the other components on the basis of the configured networks. If several paths/gateways are possible, then a screen form will appear offering a selection of the available gateways. This setting is also required in order to Gownload the configured ES/OS configuration "to the PC". It ls also used for central configuring in large-scale projects (multiprojects). Training Center {for Automation and Drives SIMATIC PCS 7 System Training Page 29 System Config SIEMENS SCE (Station Configuration Editor Option) [asscomerrs ees eee a Index BABY Ap) fern atmcane ot leant Nae {OEE Sm Feeeteion Jpeeprcnntaty, freee [etches owe Sooner tine Sr Bpleston SIMATIC PCS 7 SUTRA Tanne tr Ses AG 208: oe. Patio exon Exercise (info option) Set up the Station Configuration Ector so that Index 2 (row 2) contains a WinCC application whilo Index $ (g90 aide) containe the Ethernet CP for the plant bus, nter the Windows name of your PC as the station name, Note 1 ‘The SCE initially only shows the communication modules that the Commissioning Wizard has found that are in "Configured Mode". Procedure Start the Station Configuration Editor from the desktop (or alternatively, via the icon in the Windows taekbar). Delete Select the row with the contents you wish to delete, then right-click and select Delete to remove the contents, It it was a CP, tis removed from the Station Configuration Editor, but remains In the Set PC Station tool where it is switched to PG Operation mode. Move Ifthe correct component was already entered, but in the wrong row, you can move itto the correct row with a drag-and-drop operation. Add If you want to add a new component, select the row in the table, right-click and select Add. Asscreen form opens where you can select the component you wish to insert. Application ‘An application should run on the PC according to its function in the network. Ifthe PC is used as ES, it needs a slov/index of type “Application” or "WinCC application” in the SCE. Ifthe PC is used as OS, it needs a slot/index of type "WinCC application", Wine application (sty) or “WinCC apolication clentin the SCE. Whih option to select depends on whether the OS is configured as a single server or redundant server, or if the OS is used as a terminal (olent) SIMATIG PCS 7 System Training Training Center Page 30 ‘System Config for Auxomation andl Drives ‘Once the configuration is completed on the PC, it must be loaded from the HW. Config (which is contained in the project). Then the PC is ready to assume the role assigned to it (ES or OS) Note Later when the connection is configured, the application represents the contact point on the PC side for the CPU from the AS side. Noto 2 Tho previously described procedure also functions in Version 7.0. A disadvantage is the double configuration (once as SCE on the PC and additionally in the hardware configuration of the PC station, in the PCS 7 project). With Version 7.0 and higher, the SCE can be derived from the project ones the hardware configuration has been created in the project. initial creation of the SCE is then omitted. SIMATIC PCS 7 System Training Training Genter System Config for Automation ard Drives Page 31 SIEMENS Exercise: SIMATIC PC Station/OS HW Config Windows network connections (via START > Settings “> Control Panel > Network Connections) aa era am sevmeed bp a ———— acess i Tipe [ae Teves [howe] LatverHoh Speeder Coneted este aTei39 Fay PCI Fes LaNortohSpeedinernetNetwaicable unused eam Ehemet Ader iftic0 4 LeNorHghspeedincert Comets tne adaster ame a Meaningful names for the LAN connections Installed Ethernet CPs SIMATIC PCS 7 Prac BES apuenise ee Exercise Configure your PC station as an ES/OS. ‘Steps 1. Open the network connections of the PC under Windows, and provide them with meaningful names. 2. Open the SIMATIC PC station from the SIMATIC Manager project OS_PRO, and add to the components in the virtual rack 3. Configure the station (after setting the PC interface)! 4, Dowload the PC station Network connection 1. From the Windows task bar, select START > Settings > Control Pane! > Network Connections to open the screen form shown above. Depending on the connection of the Ethernet GP, change the Windows default names to "Plant bus" and "Terminal bus" Training Center SIMATIC PCS 7 System Training for AuDtoation ae Drives Page 32 ‘System Config SIEMENS i Dig) stlel PM sort Aten (yesh oe Heb Exercise: SIMATIC PC Station/OS HW Config ann Wy seme cae eae FAC ow Ope inden tp 24 Sige) 4 I SEEE ET pisieuia @f Se) aie BO) ey | PaRarcie —Z 2 WrEE Applicaton z | fl wrecaieon in) =I Bic ay namie | Et Pac pier cern — $ Bow accor) ree SIMATIC PCS 7 Dao 442006 (SITRAIN trang Beek omnes Sraneeie SIMATIG PC station 2, The OS was created as a SIMATIC PC station. The PC station was also Components WinCC Apzlication CPs configured as a component with the HW Config tool. In the component view of SIMATIC Manager, select the SIMATIC PC station, right-click and sefect Open Object (or double-click the configuration icon). In the hardware catalog, open the node "SIMATIC PC Station’, select the ‘components and use the mouse to drag them onto the PC rack. You need to match the slot in the rack with the Station Configuration Editor (SCE). The matching must take place before downloading the configuration to the PC (see next page). ‘The components are as follows: This corresponds to the OS software. However, the index (slot within the rack) does not match the position in the SCE (Station Configuration Editor). It neads to be adjusted as follows: - Use the mouse to drag the WinCC application to the same position in the HW Config rack as in the previously configured SCE, - Or, the SCE is automatically configured (see next page) if its still empty. In the latter caso, the slov/index in the HW-Config is now irrelevant. 2, Communications processors for connecting tha PC to the networks (MPI, PROFIBUS, Ethemet) In our exercise do not configure CP 5611 as itis running in "PG Operation" and is not loaded Select the Ethernet CP installed in your ES/OS PC configuration and drag it onto the PC rack. Set the Ethemet address (MAC address) in the CP properties according to the parts list for your workstation In our example, deactivate the Internet protocol (TCP/IP), Training Center for Automation and Drives Page 33 SIMATIC PCS 7 System Training System Config Note PGIPC interface If en IE Generel CPISoftnet CP is used (e.g. 3Com or LAN onboard), then itis generally not possible to change its address and the address in the HW Config must match the address dispiayad in the "Set PC Interface" tool After you compile or complete the HW-Config with with a Save operation, an OS: station is created in the component view of the SIMATIC Manager under the SIMATIC PC station. Select the station, Tight-olick and select Object Properties Then, the station as “OSxx", where xx is the number of your station (e.g. 0S01) Change the STONLINE interface to "PC internal (local)". While this setting is imelevant at the moment, you can make it now since you already have the SIMATIC Manager open. Training Center for Automation ane Drives ‘SIMATIC PCS 7 System Training Page 34 ‘System Config Exercise: SIMATIC PC Station/OS HW Config tie ca Pe Me bw Ose ave oD eaters A Os Fe be dh oe 2 BS roan Ciro ‘cnn a upto ce 6 —> | xereeca Easel poorer fens [Wsenigictegtccrm = +———— 3 Meccan =e Pant congted acer i 5 setae te tf — 4 SIMATIC PCS 7, ete: 9511.2006 - SN song Sewn A000 ge none Manele pox aes ‘Configuring the PC Station 3.0 Select the PC (your ES/OS) in the PRO_OS project in the SIMATIC Manager, then right-click and select Target system > Configure to open the screen form (see above) 3.1 Select your terminal bus under "Local network connection”. Only connections with 2 TCPIIP setting are offered. 3.2 Click "Update". The computers accessible under Windows ere displeyed, including your own computer. 3.9 Select "Use configured target computer". The name is automatically entered into the "Target computer" box. 3.4 Click "Display’. The current SCE of the PC is displayed (check). If something has already been configured, the hardware configuration must matoh it. If itis ‘ompty, carry out the next step. If necessary, components can be deleted by calling the SCE directly before the next step is carried out. 3.5 Click "Configure". The SCE is structured according to the hardware configuration, and matches it! 3.6 Check the messages to see if errors have occurred. Training Center SIMATIG PCS 7 System Training forAutoaion and Dives Pace 35 System Contig SIEMENS Exercise: SIMATIC PC Station/OS HW Config Station Configuration Editor SIMATIC PC station was created when <1 Bite comtts congue n ne PCS 7 was instaled on the PC projeatin the SIMATIC Manager Is contigured aocercing to tho and dovmioaced tothe target PC subsequent use of the PC as an ES oS andlor OS: STONLINE> PC local B aarcrciie =I 2 Cot perrereey 2 Pind Eenet Boorse Dew SO ere SIMATIC PCS 7 ae SITRAIN rae Senere AGE. Nee cova Pitre Si mer 6 Aisesn oats PC Interface 4. You can only download the PC if the access point STONLINE was set to "PC intemal (local)’. Set the access point accordingly via Set PC Station. As an altemative, you can also set the access point from the SIMATIC Menager via Options > Set PG/PC interface Access point S7ONLINE > PC intemal (local) Compile Compile from the HW/-Contig Tool (symbol 1 in the slide). Note 1 ‘The compilation process can take several minutes (depending on the computer), as a complete WinCC project is generated for the WinCC application. Load To download the PC configuration, select symbol 2 (see slide). Acknowledge the dialog boxes that appear. If error messages are displayed, this could indicate that the PRESET and ACTUAL states are incongruent. Open the Station Configuration Editor and look at the symbols in the Components tab, Status column. For mora information, activate the help button in the Station Configuration Editor. ‘Also check the Diagnosties tab! Have you obtained the SCE through "Configute station"? Note 2 In order to enable all AS and OS of the projects contained in a multiproject to be downloaded from the central ES, the PC interface must remain set to PC intemal (local) for the duration of the project. Itis necessary, however, to merge the different notworks of the projects (make them known). The NetPro tool is used in the multiproject for this purpose. You can also use il to set up the 87 connections required for the online data trensfer between the AS end OS. The next pages show you how to merge Ethemet networks and create the S7 connection between AS and OS. Training Center SIMATIC PCS 7 System Training for Automation ard Drives Page 36 System Config SIEMENS Calling Up NetPro 5 dav SMA, 7 and (@stoaed ch | = z SIMATIC PCS 7 ‘Strano A205. rs sen Exercise Steps Procedure ind ete STRAIN nanvater Bir srecStahe vo senor Ribmaton bone Launch NetPro for both projects (PRO_OS and PRO_AS) and marge the Ethemet subnets there, Then create an S7 connection from the OS to the AS and download the connection to both devices (AS and OS). 4. Start NetPro for the OS project. 2. Start NetPro for the AS project. For clarity, arrange both windows side by sido. 3. Merge the Ethernet subnets 4. Create the 87 connection called 0S01_ASO1 between the OS and the AS and download this to both stations. 1, Select the PRO_OS project in the SIMATIC Manager. Click the NetPro icon (see slide). NetPro opens with a window displaying the notworks from the PRO_OS project. 2. Select the PRO_AS project in the SIMATIC Manager. Click the same NetPro icon, As NetPro is already open, it appears in the foreground again and displays a second window with the networks from the PRO_AS project. Select the menu command Window -> Arrange > Tile Vertically to display both project-specific networks side by side. At this point they are still independent even if, for example, the Ethernet subnet has the same name in both projects (plant bus, see next slide). ‘Training Center for Aulomation ard Drives SIMATIC PCS 7 System Training Page 37 ‘System Config SIEMENS el cD = ee S) Sle) dela) 2) 12>) [i sal) ¥2) mo ainx lasot a a apt U0 VP vel Oe SIMATIC PCS 7 Beers A328, Noes. Bae p22 Pato nec eo meen SITRAI rane 3. The Industrial Ethernet-type subnets are visible but still need to be merged. Select Edit > Merge/Unmerge Subnetworks...> Ethemet Subnets. Anew screen opens. Select the subnet of one project in the left window and click the arrow keys to move it to the right window. Aiter having moved both subnets, you can rename the cross-project subnet. Training Center for Auiometion ard Drives: Page 38 SIMATIC PCS 7 System Training ‘System Config SIEMENS Sutnes neuter A005 —— Click twice -with a pause between clicks - ‘and then rename. SIMATIC PCS 7 ose team STRAN nant Internally the merged subnets are assigned a common ID (identifier) so that they are available as if they were @ uniform subnet. (One result of the common ID is that the setting for the access point "S7ONLINE > PC intemal (local)* is sufficient for the SIMATIC Manager to find and suggest a route for loading the devices! You just need to download this new information (e.g. from the HWY Config) to the ES first! Then you can download an AS too with the same setting. Training Center for Aulomation ard Drives SIMATIC PCS 7 System Training Page 33 System Config SIEMENS tutvok Ede ivrt IG Maer Sper Winn Hep S188) S) Sle) ala! 8) oie Taal!) xe) ee hove te. seen Setting Up a Connect ax Lskeoeemere of ders row crecon nie rome a SIMATIC PCS 7 Serre ABO pe ane 4, SITRAN ranna In NetPro, go to the OS project window and select the WinCC application within the PC symbol, then right-click and select Insert New Connection Asselection box appears. Select the partner for this connection (in our example your A801), Remark The yellow arrow in the PC symbol has two meanings: » The PC interface is set to "PC intemal (local)" and + The displayed PC is the local ES you are working on. Training Centor for Automation and Drives Page 40 SIMATIC PCS 7 System Training ‘System Config SIEMENS Setting Up a Connection (2) z 2 | Leclerc rot Concentrates a ya 3 e / ES Change to, for ‘example 0801_ASO1 maar T ee Paiva sf 3 Ieee forasinose =] (piensa erm | t lasot SIMATIC PCS 7 ate agate SITRAIN wats ‘Sears AG Age sen Pa rrcbiare 0 sont} dene one Each connection is assigned an 1D: * On the PC (application) side, this ID is a name (e.g. S7_Connection_1) © Onthe AS (CPU) side, the ID is a value. Recommendation Change the default name to a meaningful name(e.g. O$01_ASO1). This makes it easier fo see who the connection partner is in the connection table of an AS (CPU). Moreover, itis advantageous for the online test of a configured OS on the ES-PC (keyword "Start OS Simulation”) before the active OS is loaded. ‘Training Center SIMATIC PCS 7 System Training for Automation ard Drives: Page 41 System Config SIEMENS Tarech E38 trem PAC Ue Oats Wino Pe 3) i Download to Current Project > Selected Stations to download the stations. This method requires you to stop the CPUlapplication for a short duration (seconds) and then restart it! The network configuration is downloaded independently of the HW Contig download. If you do not want the AS to go to STOP (for example, i this is not permissible for the process), use a different method: Select the AS and download by selecting PLC > Doumload to Current Project Connections and Gateways. For the OS select the relevant connestion in the connection table and download it by selecting: PLG > Download to Current Project -> Selected Connections. Training Center for Automation ard Drives SIMATIC PCS 7 System Training Page 42 System Contig SIEMENS ‘Standard Viow Siteesen. Eek rsa PLC ww Cones Winco Hee ie) S| Biel dea) 5°) ( Cross-Project View Cross-Project View ST ‘SP EOP eet FC ew Optom Yor Hip Sle ISB) Sle) alee! <5} 11 (BSL) wel SIMATIC PCS 7 Shere 285, Sr er Standard View The standard view The subnets are di name. You can selet menus (usually Object Cross-Project View STTRAN rat te Paorrcsioye Yo snnss {left window} displays the devices of the individual project only. isplayed both with their project-spocific name and thoir morged ct the different components and set them via the relevant { Properties). This view serves mainly to view information that is relevant at the level of the project (no configuration of the components). For example, from here, you can download the conn Each node (CPU ot downloaded connec Remark \ection data to the listed components. F application) has its own, limited connection table. Individual, ;ctions cannot be deleted online. Should you need to delete them, you first need to delete the connection in the offline table and then download the full table by selecting PLC > Downloi However, as deseri duration! ad to Current Project > Selected Stations ibed above, the stations must be set fo STOP for a brief Training Center for Auiomalion and Drives SIMATIC PCS 7 System Training Page 43 System Config SIEMENS $7 Connections (Stations in Unknown Projects) 4 Se : oo ae ic Al bacco station’ e \ =~ ® Soe a Jen ope.tng mate meet Ei tvet S] J i 2 cose (are ae — pens =e —— ——— SIMATIG PCS 7 ae, date SITRAN Tangy Sees 43208 Asse, Fifer rcs suet Additional Information When configuring connections, the SIMATIC Manager provides them with IDs in the same sequence as they were created. If both nodes exist in the mulfiproject, you can select the partner, and each one is automatically assigned a separate ID for this connection. If the partner is not yet available, you can reserve an ID as described in the next section, Connestions in Unknown Project To do this, highlight the CPU in your project, the connection table appears, select an emply line, Jight-click and activate Insert New Connection to start the process. Then select as your Connection Partner: the option “In unknown project” and then the Properties of the S7 connection. Under Properties, enter a connection namefreference (circled on the slide) and specify whether the local CPU is to establish the connection (circled on the slide). Only one partner in the connection is permitted to establish an active connection, Ifthe connection has not been closed, it will be displayed as an error when NetPro is terminated, by way of a reminder. Later, when the other projects have been incorporated into the multiproject, connections from the various projects with the same reference are merged when the projects ate adjusted. After that point, the address details are known for both stations and the connections can be loaded into both, Note The project merge can either be started from the muitiproject or - like with the subnet merges - in NelPro by activating the menu command, Edit > Merge Connections... Training Center ‘SIMATIC PCS 7 System Training {or Automation and Drives, Page 44 System Config SIEMENS SystemConfiguration Central Engineering System (ES) CFC library: Proxy blocks, for fold devices and distributed UO, faceplates for WinCC, Network configuring: OP master Configuring AS 414, AS 416, AS 417 eading measured values and He manipulated variables ia eH AUUIU SIMOCODE SIMOVERT SIPOS3MC SIPART = ET 200M ET 20018 ET 200K SIMATIC PCS 7 a 3511008 SITRAIN ig Sens A 20 eee, Fi ovrcSiove Yo snes he Content Page ‘System Configuration for PCS 7 Components errant 3 Configurable Components z 7 ‘ 4 Using HW Config to Configure the AS. ensure 6 Exercise: AS HW Config (Central AS) 8 Task: AS HW Config (PROFIBUS DP CiR Compatibility) ..... 1" Exercise: AS HW Config (PROFIBUS DP Set Parameters for CiR Object) 2 Exercise: AS HW Config (Sot Paramaters for PROFIBUS DP CiR Module) ... 14 Exercise: AS HW Config (CPU Process Image Partition) Exercise: AS HWV Config (Driver Concep’Symbolic Channel Namos) Compiling and Downloading the AS HW-Config Setting the PG/PC interface for the First AS Download Compiling the AS HW Config and Downloading in STOP Mode Exercise: Download the AS Hardware Configuration in RUN ... i Exercise: Download the AS HW Config to the PLC Check CiR Compatibility-1)....... 23 Configuring the PC Station (Overview) as 26 Set the PC Station (Modules) ss 28 Set PC Station (Access Point] 29 SCE (Station Configuration Editor Option) 30 Exorciso: SIMATIC PC Station/OS HW Contig 2 Calling Up NetPro 37 Setting Up a Connection 40 Downloading a Connection 42 Cross-Project Viow anu. 43 87 Connections (Stations in inknown Projects) 44 Training Conter SIMATIC PCS 7 System Training ‘for Automation and Drives Page 1 System Config Training Center SIMATIC PCS 7 System Training {or Automation and Drives, Page 2 System Cor SIEMENS System Configuration for PCS 7 Components ‘Set PC station Station Configuration Editor (SCE) Application WinCC application LAN onboard WinCC application CP 1613 HW Config e pe] cfc p| cl c s| BP] e] AS s| P| P| AS u | “Lu SIMATIC PCS 7 we ssa SPAN ra Sen G8. re Fatececbind Ye nants nanesnte Configuration APCS 7 environment consists of ASs (S7 components with suitable /O), PCs used as an ES or OS and networks between these components. There is an actual configuration and a preset configuration for each component. In addition ‘communication connections must be set up between the stations. Actual configuration With an AS, this is determined by the specific structure of the available hardware (rack, power supply, CPU etc.). In our case, the hardware was provided in our training room. With a PC (used a8 ES or OS), 2 virtual struoture is created using SIMATIC tools for the workstation configuration (Set PC station, or Station Configuration Editor). You need to set up the structure yourself (this is generally done when the PCS 7 software is installed on the PC). With V7.0 and higher, this can be simply cartiad out from the central ES (Configure Station). Preset configuration The preset configuration is created in the SIMATIC Manager within a project on the ES by using the HW-Config tool in the project. It contains project-specific parameter settings for the devices used. After completion, the preset configuration must then be transferred via the network from the ES to the respective station (AS or PC). In doing so, the load procedure must find the ‘components of the preset configuration in the actual configuration. Connection NotPro is used for this. Connections are created botween: ES-AS, OS-AS, AS-AS (if the latter need to exchange data among themselves). ‘You also need to download these connections to the respective stations. Remark All fools are integrated in the ES software and can either be called diractly or in the context of the components to be configured. Training Centor SIMATIC PCS 7 System Training for Automation ard Drives Page 3 System Config Configurable Components SIMATIC PCS 7 Configuration ‘Components HW Config ES ae pe leBL ee SITRAIN Tino Hardware components are used within the project. These include the automation sysioms (AS), PCs ag operator stations (OS) or enginearing statons (ES), and the networks, Inthe muttioroject, select the required project, then right-click and select select Insert New Object and then as required: ‘+ “SIMATIC 400 Station’ for an AS *SIMATIC PC Station” for an ES or OS + "Industrial Ethernet" for the plant bus or terminal bus, etc. When you select the object to insert, a symbol is generated to represent each device and serves as access point to the configuration ‘The "Hardware Configuration” tool or "HW Config" for short is used for this. HW- Config is used in the same way for both AS and ES, To configure the AS, use the mouse to select the symbol representing the required AS in the SIMATIC Manager (component view), then right-click and select Open Object The tool is launched. As an alternative, you can also double-click the hardware symbol in the right pane. To configure the ES, use the mouse to select the symbol representing the required PC in the SIVATIC Manager (component view), then right-click and select Open Object The tool is launched. As an allemative, you can also double-click the configuration symbol in the right pane of the SIMATIC Manager. Training Center for Automation and Drives SIMATIC PCS 7 System Training Page 4 System Config SIEMENS AS HW Config Son Sic weet AC Taw ORGY Wd Teb OSeTR SF Be de OO Ew ten (Baars Tif snanea © ce 2 Deus + Dro + aman + Sanece. | § Secu + Gecko 2 Sswa00 as | denn rfefe Ee (a7 SIMATIC PCS 7 ue sauna (FU STAN rata Serers AG 05 A SENS Pls or resteye V0 mehors HWY-Config To start, the configuration should reproduce the configuration of the devices. The ‘example in the slide shows an AS configuration. The components shown here offer settings screens (usually accessible via the object properties). If he configuring engineer is knowledgeable about the options available and application at hand, he or she can optimize the components’ settings offiine first. Then these setfings need to be supplied to the devices (by online download to the target systems). SIMATIC PCS 7 System Training Training Center System Config for Automation ard Drives Pago 6 SIEMENS Using HW Config to Configure the AS 2G suriene © ca cea + ou anes + Shrso Spo aE x Hardware one catalog on oa sqm 2 Shae Pst SIMATIC PCS 7 owe 4541 ite STRAIN Tg ‘Stent R900 Ae at Fi srercsr9r3. 70 sys dca ee Using HW Config You have created one project with an AS and one with en OS. The hardware configuration must be adapted to the AS and OS you are using. In doing so, the parts lists for the ASs and PCs in use must be taken into account. Terms ‘The HW Config tool refers to a station (AS or PC). In the right pane, a tree structure displays the SIMATIC components (hardware catalog). After selecting a component (arrow 2 in the slide), the associated Order No. and a brief description are displayed in the comment field (arrow 3). If you have nat been able to locate the module (as it is not a current PCS 7 module or is an older module) select the "Standars” hardware profile (arrow 1 in the slide) and search again. There you will find all 87 modules that are known in the current version of the SIMATIC Managers. Tp If you know part of the order number or designation, you can enter itn the Find box and click the button (arrow 4) to find the module. The search is only conducted for the selected profile. Please note that the pert designation can occur multiple times! (If this is the case, continue the search.) Pasting In the SIMATIC Manager select the station/AS in component view, then right-click and select Open to open the HW Contig. Training Center SIMATIC PCS 7 System Training {for Auiomotion ard Drives, Page 6 System Contig Then proceed as follows: = Search in the catalog and check the order number and if necessary the firmware version of the racks, power supply, and CPU in use (arrow 3). Use a drag-and-drop operation to insert the located modules in the left window. ‘* Select the modus in the left screen, then right-click and select Object Properties... then set the parameters for the module. Replace To replace a rack (or a module inserted in the rack) search for the new, required module in the hardware catalog. Take the hardware profile setting into account when doing so. The comment field (arrow 3) displays the corresponding order number and brief description for the selected component (arrow 2). ‘Soloct the correct component, “drag it with depressed left mouse button across to the rack/module symbol and drop it there. If the exchange is possible, a message is displayed with the order numbors of the two components and must be acknowledged. If the exchange is not possible (because the oldinew components are not compatible), the mouse pointer will change to a crossed circle. In this case, the settings of the old module should be documented before deleting the module and replacing it with a new one. Then transfer the settings as appropriate or make new setfings. Note Ifyou have selected an incorrect slot, you can drag the module to another location with the mouse. The new location must be free and wide enough (i.e. correspond to the number of slots roquirad by the module to be displaced). Remark The catalog profile (arrow 1 in the slide) was set up vith the PCS 7 installation. ‘You can edit the profile (s7hpro0) that is automatically created by selecting Options -> Edit Catalog Profile Here you use the familiar Windows procedure to copy objects from the standard profile (one window) to the new profile (the other window). After completion, the new profile can be saved via Profile -> Savo as... The newly created profile is offered for selection in the profile box. SIMATIC PCS 7 System Training Training Center System Config for Automation and Drives Page 7 SIEMENS Exercise: AS HW Config (Central AS) SLs (URt or UR2) =T 200M ps | m | sm | sm | sm | su PROFIBUS: address a SIMATIC PCS 7 Bene BAG2005 A sr Exercise Procedure ‘Open HW Config BorocB Ne Ehn eta ‘muonaon a ve Configure the modules for the central part of your AS. Use the pars list for your ‘AS as your guide! (The example refers to the "Saarbriicken' training room in the 1g Center.) Mannheim Trai 1. Ingert the rack (UR=Universel Rack) 2. insert the pawer supply (PS=Power Supply) 3. Insert the CPU or supplement the integrated DP interface. Rename the DP subnet and check properties 4, Insert and set CP for PROFIBUS DP (if available) Register CP 443-5 Ext as DP master Rename the DP subnet and check properties 5. Insert and set CP for Ethemet Create a new Ethemet network for the plant bus and rename it Assign or verify MAC address, disable TCP/IP protocol In the project, select the ASxx to be configured (your AS), and right-click and select Open object Use the hardware catalog to locate and configure the components (rack, PS, CPU, CP and I/O modules) in the HW Config for the station. Ifyou cannot sae the catalog, select View -> Catalog to activate it. Training Center {or Augomation arc Drives SIMATIC PCS 7 System Training Page 8 ‘System Config Rack Notice! Power supply CPU In the hardware catalog select the desired rack SIMATIC 400 -> RACK 400-> UR? then use drag & drop to move it to the top left window. For the catalog component you have highlighted, check the detail specifications in the lower catalog window pane (order No. and comment) so you can insert the correct components. itis possible that the CPU will not start up if you insert a component incorrectly! The slots in the rack are listed in rows. You can now populate each slot (you can also use “drag & drop"). Select siot "1". In the hardware catalog, select SIMATIC 400 -> PS 400-> 0.9. PS 407 10A and position it on row 1. This 10 A power supply occupies 2 slots. Select the correct CPU from the hardware catalog (for example) SIMATIC 400 -> CPU 400 -> CPU 417-4 -> V3.1 and drag it to the next free row (row 3). ‘The CPU with the integrated OP interface occupies two slots. The Propertios ‘screen opens. Select the New button to create a new DP network and ener a meaningful name (e.g. DP_subnet, or DP_ASO1_int1, or DP_AS01_ext3). In the properties for the selected network ‘check whether the DP protocol and the desired baud rate are set (default 1.5 Mbaud), The image displayed now represents the PROFIBUS DP with the "OP. master system (1)" identifier. The ET 200M is later appended to this. Networking CPU vie MPI This is no longer necessary with Version V6 and higher. Remark Additional OP subnet ‘The new Ethernet CP from BGK7 443-1£X11-0XE0 V2 supports direct addressing of the card via the known MAC address of the Ethemet CP, therefore, the initial loading via MPI is no longer necessary. Ifan additional CP is connected in the rack for another DP subnet (such as the CP 443-5 Ext), this CP must be inserted in the rack in HW Config and be connected with a DP subnet (as the second DP master). In the HW catalog, select: SIMATIC 400->CP 400-> CP 443-5 Ext, select the correct CP and use "drag & drop" to move the CP to the correct rack slot In the screen overlaid for the PROFIBUS interface for the CP, select NEW to creata a new DP network and then rename the network (for example, DP_ ‘Subnet2).. Training Contor {for Automation and Drives SIMATIC PCS 7 System Training Page 9 ‘System Config CPasDPmester Highlight the CP 443-5 Ext in the rack, right-click and select insert DP Master System to name this system as the master for the nev subnet. You can use the graphically displayed subnet for additional ET 200M devices or for PROFIBUS PA devices via OP/PA link/coupler modules, If you do not want to configure the CP (no DP hardware is connected, for exampla), you must disconnect it from the power source (remove it from the rack). I itis present in the rack but not in the harcware configuration, the CPU (depending on the firmware version) may not siart up (remain in STOP mode) or may not be downloaded. Therefore, if this CP exists in the hardware, it must also be entered in the HW Config. Ethernet CP Ethemat is used as the plant bus by default. Insert the CP in the HW Config. In the HW catalog, select SIMATIC 400-2CP-400->CP 443-1-> "Concrete CP" and position Itin the rack. In the overlaid “Ethernet Interface Properties" screen -> Parameters tab, click the New button Then, create a new Ethernet subnet (if you have not already done so), rename the subnet (o.g., "Plant bus") and select this bus to identify the CP as being networked. Set a unique MAC address in the project, taking into account other nodes physically present on the bus that are not part of this project. Itis advisable to use the ISO transport protocol for small networks as it provides higher performance. However, if you want to communicate over more spread-out networks that are connected with routers, use the ISO-on-TCP transport protocol instead. Remark ‘The hardware configuration is downloaded in a later part of the exercise. Here, the AS is loaded cirectly via the known MAC address of the Ethernet CP for the first time. For this to work, the accoss point STONLINE must be active on an Ethernet-capable CP that is connected to the plant bus. (additional settings are described in the chapter "Configuring the Workstation" under Setting the PC Interface), ‘The download also provides the CPU its parameter settings via the Ethernet CP (therefore the CPU is configured during this procedure). If you change the PC interface to the integrated Ethemet CP (LAN card or CP 1613), you can then download and debug additional data (hardware configuration and subsequent software) over the plant bus. Training Center SIMATIC PGS 7 System Training for Aulomation are Drives Page 10 System Config Task: AS HW Config (PROFIBUS DP CiR Compatibility) (UR1 or UR2) SIMATIC PCS 7 au 541 20 STRAIN vamse ‘Serre A203 A sa Pe srrcSrOra. 10 err pins be Exercise Configure the distributed / a 200M). The configuration is to allow changes in runtime }).. Please refer to the parts list for your training Steps 4. Activate CiR compatibility 2. Set parameters for CiR object (reserve address range) 3. Set paramoters for CiR module 4. Insert and configure /O modules: 5. Set process image partitions (CPU and ]O modules) 6. Assign symbolic names for the /O channels 7. Compile and download (aor changing tha PC interac CIR Compatibility (For Distributed VO Only) ciR Additions are to be made to the distributed l/O during runtime, without stopping the CPU. Select the OP master system (1) shown in the preceding graphic on the integrated DP interface of the CPU, right-click and select Activate CiR compatibility ‘As a result a so-called CiR object is represented on the PROFIBUS DP. This object needs to be parameterized with regard to future additions of VO. Training Center SIMATIC PCS 7 System Training for Autoren and Drives Page 11 System Config ‘SIEMENS Object) Fen rors 2 Soma Sune Exercise: AS HW Config (PROFIBUS DP Set Parameters for CiR Mex. bytes per slave Nase T taesetng: Bae peontr Taypes Vedeos Ce rer=mon fara sOx2H 2491/20 of Must be made ayaladie as PIPIO via the CPU. properties! oe poe 1297 a de® 149? a SIMATIC PCS 7 Sera a6 208, A ares eso cr Note Pier ecliby facrater as 206 Pier rcbrbie Yo mets Then ‘right-click and select Properties to open the screen form above. The GIR object must retain resources for future DP/PA slaves. Each slavo requires up to 244 bytes (can also be less, depenciing on the actual I/O modules). There is also a maximum limit for the number of slaves that can be inserted in the subnet online. 1. The guaranteed number of DP slaves (FT200, DP field devices) must be parameterized in relation to future additions. If no "Extra Settings" are selected, the sum of input and output bytes is automatically displayed. 2. They must be taken into account as sum values for the settings in CPU Properties -> Cycle/Ciock Bit Memory tab -> Size of the process images (for all DP staves on all subnets), ‘The CPU properties cannot be changed online! The maximum CiR synchronization time has a default setting of 1000 ms. The time associated with the current configuration is displayed in the properties of the CIR object. The default time and the CIR download process can be influenced in the software. To this end, the system function SFC104 "CIR" can be called in a CFC (from the "Stancard Library"). By parameterizing and downloading this, the CIR process can be influenced without stopping the CPU. Training Center for Automation and Drives SIMATIC PCS 7 System Training Page 12 ‘System Config SIEMENS Smee elon = sme mene | 8 | Buenos , SIMATIC PCS 7 owe setae Sere A526 Ar ne Peoria ie senonas see wndtee Specify the PROFIBUS DP address for the ET 200M on the displayed screen (as seton the address switches for the IM). After closing the screen, the associated frame is displayed with a maximum of 11 slots (for /] modules you can use slots Ato 11). Note Not all IM 153-2 modules are CiR-compatible (pay attention when ordering). Currently (V6.1) the 153-2 HF and 153-2 HF FO in the V6.1 hardware profile are sultable for CIR, Training Center SIMATIC PCS 7 System Training for Automation and Drives Page 13 System Cor SIEMENS. Exercise: AS HW Config (Set Parameters for PROFIBUS DP CiR Module) sini) of) S| Ble ‘fa Bo wel ee a a aitencea| nae STs] i ‘4201 GE. Seat onees Suan oreee Sasa bast. siaa 3s | Saiz be so Dao 4] 5 wre Sit baa “sil BL see Sez oct i Sua Ona wae Swe Drsbact z SWZ DEAE 9) ee“ i Beton 5 pea 4 $ ~ Bperpmaerte wee i: ec oe SIMATIC PCS 7 eee SITRAIN Taig tr enna ea so Faeroe pnts ‘Arcelor on es As the selected IM 153-2 supports CiR, 2 CiR module is offered in the lower part of the window from slot 4. VO Modules "Take the 1/0 modules and position them on top of this CiR module in the ET {as previously for the station, but now with modules from the ET 200M / IM 183-2 directory). This way the CIR module is shifted one place to the right, ready to receive the next /]O module. The CiR module reserves an address range for inputs and outputs (the total of which is less than 244 bytes - they can be addressed via the slave). Using the module properties, you should reserve sufficient address space for modules to be inserted at a later point in time. If you want to add address space later, you must switch the CPU to Stop mode. For exemple, ¥ th plarsiod soiiguation ie one ET 200M for 8 maces ha ct), and if tho Intalinetallafion fs equipped with § Al modules (8-channel, this means that 5x8x2=80 bytes input addresses are used. If you would like to acd identical modules to the three remaining slots while the CPU is in Run mode, you will need to have reserved 8x8x2=128 bytes input addresses during the initial setup. 1 word=2 bytes per analog value are required Note about module replacement When using PCS 7 you can replace modules during operation. Select the ET 200, and right-click and select Object Properties -> Operating Parameters tab Then select the option "Module replacement during operation” The bus modules listed here must be installed in the rack. IEyou forget to set this option and replace a module later during runtime. a rack failure message is, issued (as if all modules had failed). ‘The power supply for IM is not configured, but an external 24 V supply is possible. Training Center for Automation and Drives, SIMATIC PCS 7 System Training Page 14 ‘System Config Exercise: AS HW Config (CPU Process Image Partition) PIP Process image partition PIPI (inputs) PIPO (outputs) cpu DP mestor buffer PIPIT Pig I + B32 1 4 PIFOI— PPR 4 3, ones 4 . PIPO2 ~~ SIMATIC PCS 7 ale 5412000 SITRAIN rane w Semen A208, Ae aan Pa’srecSiavs ira sos ‘Adena on ee Process Image ‘The DP master (CP or integrated DP interface on the CPU) cyclically scans the PROFIBUS DP subnet (circular arrow 1 in the slide). In doing s0 it passes data to the slaves (e.g. ET 200M for passing to the output modules) and reads back data from the slaves (which acquired them from the input modules). The data are passed through an IM internal buffer. Tr During each cycle, the DP master writes/reads values to/from all its slaves. The buffer content forms an image of the inputs and outputs of the modules. The cycle time is called Ttr = Target rotation time and is displayed in the properties of the GiR object, here IM 159. The DP update cycle runs independently of the CPU program, but must be at least es fast as the fastest program that processes the process values. For evaluation in tho user programs, the intormodiately stored input data from the ‘operating systam aro copied at a dofined point in time from the buffer to a CPU memory area and output data copied from there are written back to the buffer at a different point in time. The programs can then gain read (|) and write (O) access to this "process image" memory area. ‘Synchronization This ensures that the programs are working with consistent process data. This means that the operating system must provide for the updating of the process input image and freeze it, before starting the program. After the program has been executed and commands have been written in the process output image, the output image is sent to the DP master. However, as process signals and their associated processing operate at selectable repetition rates (slow/fast processes), itis necessary for their synchronization to match as well Training Center SIMATIC PCS 7 System Training for Autre Dives Page 15 System Config _ Process image pariion The CPU offers OBs with different speeds in which the user can execute Note Remember: programs. You can assign a process image partition to the OBs in the CPU (e.g, OB32<->PIP1, 0B35<>PIP2, OBx<->PIPs, where n=1 to 16 is dependent on the CPU). At the same time a suitable PIP must be assigned for the individual ! modules in their properties. Driver blocks are used in the PCS 7 software to input and output process data. These driver blocks must run in the same OB that updates the PIP of the scanned 1/0 module. Itis useful when wiring the signals between modules to differentiate between slow and fast signals. A module should be assigned to a PIP that is capable of delivering signals to the software at sufficient speeds such that the fastest connected signal is processed currently. If signals are mixed on the module, this, causes slow signals to be read quickly, wasting computing time. Ifyou want many, it cannot be fast. Ifyou want fast, it cannot be many. ‘The CPU cannot continuously work in overload. After a programmed, but, limited time this leads to CPU stop! Training Center ‘or Automation ard Drives SIMATIC PCS 7 System Training Page 16 System Config SIEMENS - “Exercise: AS HW Cont (Driver Concept/Symbolic Channel Names) ps4or|cpu | cpl ce 417-40P] P| Eth opsz PIP2 ig al | MPI Lt | ps | im | sm | SM | SM | SM PROFIBUS aa a addres Tada da iT} Pe |e fe po | ee ‘Name_channel_0 Name_channel_1 SIMATIC PCS 7 ome seston TRAN vont Benes AC200% Ae need Ret srodSita Yc ton incest Exercise ‘The process image partitions are to be updated on the CPU: PIP "1" by OB32 and PIP "2" by OBS5. The I/O modulas (in the example) must be assigned to process Image partition "1." Give the individual channels of the /O modules symbolic names as listed in the parts list for your AS. Steps 4. Select CPU symbol, open object properties 2. Gyelic Interrupt tab: assign PIP to the OBs 3. Cycle/Clock Bit Memory tab -> check OBES call 4, Assign symbolic names for VO channels Process image partion The CPUs ([rom about 1998) support process image partitions. The process image partition is defined in the CPU and for each I/O module (see next section). ‘The process image is updated by the system through connection to an OB you selected, The procedure is as follows. Select the CPU. Open its Object Properties, Select the “Cyclic interrupt" tab, For example, for 0832, sefect process image partition “PIP 1". For OB35, select process image partition "PIP2". Select the "Cyle/Clock Bit Memory" tab. Check or make the following settings: B85 call with /O access error: Wath incoming or outgoing errors only Size of process input (output) image: both >= 1024 (default setting depends on the CPU used) Training Center SIMATIC PCS 7 System Training fer Aulomation ard Drives Page 17 ‘System Config ‘Setting parameters for I/O modules In the upper window, select the ET 200M you went to configure. In the lower window, select the individual line for the relevant module. Then, ‘right-click and select Object Properties -> Addresses tab Click the "Process Imago" field. Select the process image partition you want (such as "PIP1,” according to the OB - process image partition assignment for the CPU made in the previous section). Repeat the procedure for each VO module. This is how you determine how quickly and frequently the CPU updates the data for the individual module. “inputs/Outputs" iab Here you can make individual adaptations to the connected process signals and their characteristics for the module and its inputs/outputs. Symbolic channel names Seleot the line with the VO module. Then, right-click end select Edit Symbols to add the symbolic name and possibly a comment for each channel. You enter this symbolic 1D in the symbol table for the S7 program. When you insert tho now driver blocks In a CFC char, you “only” have to recognize this name again. The drivers automatically take the settings on the modules, their inputs/outputs, and their slots into consideration. Additional specifications are not needed. Based on this unambiguous signal name for CFC, all additional settings are read from the HW.-Config and parameterized on the drivers, Proposal Name the module inputs as follows: Module Symbol Comment Analg input ALCHO ‘Analog input channel 0 ALCHt Analog input channel 1 ete. Analog output AO_CHO Analog output channel 0 AO_CH1 — Analog output channel 1 ote. Digital input DI_CHO Digital input channel 0 DILCH1 Digital input channel 1 ets. Digital output DO_CHO Digital output channel 0 DO_CH1 Digital output channel 1 ete. Caution: The channel driver to be used later in the CFC must run in the OB that also updates the process image partition for the module (in our example 0832). ‘Training Contor SIMATIC PCS 7 System Training for Automation and Drives Page 18 ‘System Config SIEMENS Compiling and Downloading the AS HW-Config © Download the hardware configuration only after the following steps have been carried out with NetPro: © The network is configured and connections have been set up from the OSs to the monitored ASs. © Connections were also configured between the devices (AS, AS) to allow data exchange during process control. See also chapter "Network Configuration’ Q For testing purposes, you can also compile and download the AS configuration in the exercise now (the ES is not yet configured). For this to work, the Ethemet CP of the ES must be in "PG Operation” mode (see also the section "Configuring the Workstation"). SIMATIC PCS 7 cae ssetame TRAN rant Sener A320 Ae meen Flesreusiats vit sions ‘beware Be SIMATIC PCS 7 System Training Training Genter Pdi System Config for Auiomation ard Drives Page 19 ‘SIEMENS ConfigOverview SIMATIC PCS 7 Bete 3811 2008 wi SITRAIN Tatrng tr ‘Stens a6 208 A rss, Figroreceror3 ve te 904 ‘acnaten nee Content Page Example 2 PCS Hardware. Solution Principle (AS) Project Environment (Our Plant (Factory 2) Training Center SIMATIC PCS 7 System Training for Automation and Drives Page 1 Configuration SIEMENS Setting the PG/PC Interface for the First AS Download Pease recon “ secoaPab| ‘Pecr Poneto Fopeston oun STEPZ) erace Paar erment Used [edtee Thanet Hook TIBIA Peers SIMATIC PCS 7 om testa SITRAN nang tx Shmare 9 208 Arie sone Pater ecSa'e vo senor Kumaton snd Sone Exercise Change the PG/PC interface S7ONLINE to the plant bus CP. Test this setting by determining the accessible nodes. ‘STONLINE This is the symbolic name used by the SIMATIC Manager and its lower-level applications for the interface for communicating with other devices. Based on the setting, the CP (communication path) that was assigned in the screen shown above is selected. Procedure In the SIMATIC Manager, select the menu item Options -> Set PG/PC interface. In our exercise we shail select the Ethemet CP with ISO protocol which is connected {o the plant bus. Click OK to confirm the setting Accessible nodes Atter changing the interface, click the Acoessible Nodes icon in the SIMATIC Manager. A window opene listing the Ethemet partners that can be reached via the ISO protocol. In the slide above, a CP 443-1 and an OSM are detected and displayed. Training Center SIMATIC PCS 7 System Training for Aiomaton ord Drives Pago 20 ‘System Config

You might also like