Professional Documents
Culture Documents
INDEX 1. NetPLC Communication with analog input/output module 1.1. Installation. 1.2. Requirement. 1.3. System Architecture. 1.4. Configuration of CifX Driver. 2. Configuration of netPLC in Simatic Manager. 2.1 Observation. 3 NetPLC communication with CitectSCADA. 3.1 OPC server configuration. 3.2 OPC client configuration. 3.3 Configuration in CitectSCADA 3.4 Runtime of CitectSCADA 4 References
01 01 01 02 05 19 20 22 29 33 54 57
HILSCHER MAKE NPLC-C100-DP Profibus Master Device- Hilscher Make S7-PCI315. Protocol details- Profibus DP Master. Profibus Slave Device- Siemens Make ET200M (6ES7- 153-2BAO2-OXBO) Protocol Details- Profibus DP Slave. 1.1 INSTALLATION 1. 2. 3. 4. 5. IBH S7-PCI315. Set up PCI PC Card Device Driver (cifX). S7NetPLCComm Service. IBH OPC server CitectSCADA 7.1
1.2 REQUIREMENTS 1. 2. 3. 4. NetPLC (S7-PCI315). Profibus Interface Module. Profibus cable. Analog I/O Module.
AI/AO TB
Input: 4-20 mA Output: 0-10 VDC
1.4 CONFIGURATION OF CIFX DRIVER:1. Click start -> All Programs -> IBH Softec GmbH-> S7-PCI315 -> netPLC setting.
2. Then give the virtual slot/MPI address of CPU and uncheck STEP 7 PU off and click ok.
2 CONFIGURATION OF netPLC IN SIMATIC MANAGER 1. Create new project in Simatic Manager Step 7.
3. Set Interface parameter as IBH S7-PCI315 internal (MPI) and Click OK.
4. Right click on NET_PLC icon and then go to Insert New Object option and choose SIMATIC 300 Station.
9. Then Click on CPU-300 Option and select CPU 315-2DP option as shown below.
10. After selecting CPU 315-2DP then in the Popup window assign the Profibus Interface address and then click on the new option of subnet.
12. Now set the transmission rate as 1.5Mbps and profile as DP.
10
13. Now go to PROFIBUS Interface again and check whether it is showing PROFIBUS (1) 1.5Mbps.
14. Click on PROFIBUS (1) DP master system and assign master number.
11
15. Click on PROFIBUS-DP option from side toolbar of Hardware Configuration and then select ET200M, and further select IM 153-2.
12
18. Select SM 334 AI4/AI02 8/8 BIT from ET-200M option of AI/AO-300.
13
19. After selecting AI/AO module the configuration of Hardware appears like below.
20. Click on Download option of Hardware Configuration and download the configuration done so far.
14
21. Go back to SIMATIC MANAGER and click on Blocks and click on OB1.
22. Clicking on OB1 its Properties is shown; now choose LAD in the created language option.
15
23. The LAD/STL/FBD page appears choose MOVE function from the left toolbar of Instruction Set.
24. Now assign IN and OUT of MOV instruction as PIW256 (peripheral input word) and PIW256 (peripheral output word) respectively.
16
25. Now download the program from the top toolbar option.
26. Go back to SIMATIC MANAGER page and click on CPU 315-2DP option and click on the PLC option of the top toolbar and select Copy RAM to ROM option.
17
27. The dialog box shows that the RAM contents were copied successfully to ROM.
18
2.1 OBSERVATION Giving different input to the AI04/02 Module the following was observed online (SIMATIC MANAGER).
19
20
21
3.1 OPC CONFIGURATION 1. Open IBH OPC Editor and create a new file.
22
3. Name the PLC as netPLC in PLC properties and choose S7 Simatic Net Protocol.
23
24
25
5. Now right click on the Generic option in the OPCeditor1 and select variable.
26
27
7. Now choose IBHSoftec.IBHOPC.DA.1 in the select OPC Server option and transfer to server.
28
3.2 OPC CLIENT CONFIGURATION 1. Click on OPC tab option in OPC client and Connect.
29
4. Now add the variable tags defined in the OPC.DA.1 server as shown below.
30
31
32
3.3 CONFIGURATION IN CitectSCADA 1. Goto server option tab in the Citect Project Editor and click select cluster option.
33
3. Goto the same server option and select I/O Server option and name it.
34
COMPUTER SETUP WIZZARD 1. Click on Computer Setup Wizard option in Citect Project Editor.
35
36
37
38
39
40
41
CONFIGURATION OF EXPRESS WIZZARD 1. Goto communication tab of Citect and select Express Wizard and follow the screenshots below.
42
43
44
45
46
CONFIGURING I/O DEVICES, PORTS AND BOARDS Click on the communication tab of Citect Project Editor and configure I/O devices, Ports and Boards as shown in the below screenshots.
47
48
DEFINING VARIABLE TAGS 1. Goto tags option in Citect Project Editor and define the variable tags as shown in the below screenshots.
49
50
51
GRAPHICS PAGE DEVOLEPMENT IN CITECT GRAPHICS BUILDER 1. Develop a page to display the values of tags in the runtime of SCADA and insert the tag in display page as shown below.
52
53
54
RUNTIME OF CITECTSCADA 1. Given a command of 4mA and 20mA in CitectSCADA and got an output reading of 2volts and 20volts in Multimeter respectively.
55
2. Provided an input of 4mA and 20mA to the analog input output module and got the following reading in SCADA.
56
4 REFERENCES 1. 2. 3. 4. CitectSCADA Manual 7.0 Hilscher website(www.hilscher.com) NetPLC Startup guide. Siemens Catalog.
57