background image

Helmholz GmbH & Co. KG

 

| Hannberger Weg 2 | 91091 Großenseebach | Germany 

Phone: +49 9135 7380-0 | Fax: +49 9135 7380-110 | E-Mail: [email protected] | Internet: www.helmholz.de

 

 
 
 
 
 
 

 
 
 
 
NETLink

®

 PRO family 

Application Examples with RFC 1006 

Edition 7 / 05.11.2017 
 
 
Helmholz products 

S7/S5 OPC-Server V4.10.2.9117 (Company Helmholz)

 

 
Products of other manufacturers

 

INAT-OPC-Server (INAT GmbH) 
Indusoft Web Studio V7.0 (Indusoft) 
InTouch V9.5 (Wonderware GmbH) 
KEPserverEx V5.4.135.0 (KEPware Inc.) 
PROCON-Win V5.3 (GTI Control) 
VisAM Win32 (VISAM GmbH) 
WinCC V7.4 (Siemens AG) 
WinCC flexible 2005/2007 (Siemens AG) 
ZenOn V6.2 (COPA-DATA) 

 

 

 
 

 

Summary of Contents for 700-884-MPI21

Page 1: ...mples with RFC 1006 Edition 7 05 11 2017 Helmholz products S7 S5 OPC Server V4 10 2 9117 Company Helmholz Products of other manufacturers INAT OPC Server INAT GmbH Indusoft Web Studio V7 0 Indusoft InTouch V9 5 Wonderware GmbH KEPserverEx V5 4 135 0 KEPware Inc PROCON Win V5 3 GTI Control VisAM Win32 VISAM GmbH WinCC V7 4 Siemens AG WinCC flexible 2005 2007 Siemens AG ZenOn V6 2 COPA DATA ...

Page 2: ... 2 91091 Grossenseebach Germany Note We have checked the content of this manual for conformity with the hardware and software described Nevertheless because devia tions cannot be ruled out we cannot accept any liability for com plete conformity The information in this manual is regularly up dated When using purchased products please heed the latest ver sion of the manual which can be viewed in the...

Page 3: ...8 First edition 2 07 04 2010 PRO family updated 3 29 11 2010 KEPserverEx V5 4 135 0 updated 4 04 07 2011 Helmholz OPC Server V4 0 6 4908 updated 5 05 08 2011 Added Indusoft Web Studio V7 0 and PROCON Win V5 3 6 15 08 2012 Added WINCC V7 0 7 04 10 2017 Added WINCC V7 4 8 30 10 2017 KEPServer V6 2 429 0 updated ...

Page 4: ...the INAT OPC server 14 4 2 INAT OPC Client 15 5 Indusoft Web Studio V7 0 17 5 1 Configuring the Indusoft communication driver 17 5 2 Setting up values to visualize 19 6 InTouch V9 5 Wonderware GmbH 22 6 1 Starting the System Management Console 22 6 2 Configuring the Device Group 22 6 3 Configuring the Wonderware Client 23 7 KEPserverEx V6 2 429 0 KEPware Inc 24 7 1 Configuring KEPserverEx 24 7 2 S...

Page 5: ...nCC flexible 2005 2007 Siemens AG 48 11 1 Configuring connections 48 11 2 Configuring the PG PC interface 49 12 ZenOn V6 2 COPA DATA 50 12 1 Configuring Zenon 50 12 2 Setting the driver 51 12 3 Driver configuration 51 12 4 Integrating variables in images 52 13 Address conversion table 53 14 Troubleshooting 54 15 Directory of Sources 56 ...

Page 6: ...communication path In firmware versions from 2 3 of the NETLink PRO family adapters the RFC1006 function is always active It is assumed that the reader is familiar with the development environment of the software solutions mentioned in this doc ument as only the points specific to the connection are de scribed More extensive support with commissioning and parameteriza tion of the various SCADA HMI...

Page 7: ...You do not need to install any additional drivers for the NET Link The applications described here were performed on the Win dow XP operating system with service package 2 and 3 2 2 Adapting the configuration side As soon as the Web interface is opened by entering the rele vant URL http ip address the link to Configuration opens As soon as you have answered the security query you can write to all ...

Page 8: ...amily Application Examples 8 Configuration menu in NETLink PRO After the new parameterization data have been stored the NETLink PRO is restarted to activate the new configuration Rebooting can take up to 15 seconds ...

Page 9: ... 1 Configuration of the communication partner Start the Configuration S7 OPC Server program module via Start Programs Systeme Helmholz S7 OPC Server Select tab card Devices In this example click device 0 and then select S7 TCP IP from the pull down menu Go to the tab Connections in the right sub window Click Change to create a new connection It opens a new connection window ...

Page 10: ... of the connected PLC in Slot Finally set the type of PLC you are working with Close the window by clicking OK Complete your connection settings with Apply Next select the main tab Connections Click the Button Scan Enter the configured device number possible 0 to 15 In this example 0 Confirm with OK The connection to the adapter should be established and dis played ...

Page 11: ... device the PLC no has to be unique for each connection These num bers must be different 3 2 Setting up the OPC Toolbox demo client The following steps are provided as an example only and are not obligatory for customer applications They serve as a visual check whether data exchange is taking place Start program module OPC Toolbox demo client with Start Programs Systeme Helmholz S7 OPC Server The ...

Page 12: ...The group opens in the left field The green circle indicates that the connection has been started Now switch to the DA Browse tab card open opcda Helmholz OPC S7 DA 1 in the tree structure A device is displayed when it has been found in this case 0 0 On opening the device the data access objects are searched from the CPU and then listed Transfer the selected items into the left column by double cl...

Page 13: ...uality status is displayed in the Quality column Currently only the permissible name range elements are dis played under Value Every item can be edited by selecting it and then clicking the Properties button The changes are adopted with Apply and OK Further examples of the syntax of various items ...

Page 14: ...ring the INAT OPC server The following dialog box opens when you select Configura tion AccessPathDefinition from the menu A new connection is generated via menu Configuration New in dialog box Access Path Definition The following dialog box opens When you have confirmed the new connection with the OK button you can set the parameters in the subsequent dialog box ...

Page 15: ...ction properties RFC1006 The RFC1006 setting is configured via the ISO on TCP but ton 4 2 INAT OPC Client Select the OPC Server Once the server is configured you can access the data of the controller via the OPC Client You can select the OPC server from which the configured data will be fetched via menu item File New ...

Page 16: ...rst of all create a Group Menu Group Add Group Then select menu Item Add Item Important In field Access Path you must enter the name of the connection exactly as designated in the OPC server For Item Name enter the variable from the SPC Finally press button Add Item and then OK ...

Page 17: ...t least have the Getting Started guide and the Indu soft driver specs SIETH at hand 5 1 Configuring the Indusoft communication driver Choose the tab Comm in Project Explorer then right click on Drivers and choose Add Remove drivers Pick the SIETH driver out and add it by clicking Select and confirm with OK Press Help before you select the driver in order to open the correspond ing driver manual ...

Page 18: ... In the Project Explorer tab Comm right click on the driv er SIETH and from the context menu choose Settings Under Serial Encapsulation choose TCP IP and under IP Address enter the IP address of the NETLink Everything else will be left default ...

Page 19: ...ETH you can find a Main Driver Sheet Double click either this or any other driver sheet On this Driver Sheet you have to configure any values you choose to visualize After double clicking the first empty cell in the column Tag Name a dialog window opens in which to choose the tag to specify In this example the tag is called Mbyte ...

Page 20: ...e rack number and the slot the PLCs MPI address under the column Station using this format IP address Rack Slot Adjacent enter the memory address of the variable you want to access on the PLC under the column I O Address for further information please consult the SIETH driver manual ...

Page 21: ...e V registers of the S7 200 can be read by stating the DB1 registers For further information please consult the SEITH driver manual Save the Driver Sheet and run the application The value contained in flag byte 0 VB0 in a S7 200 will be saved and displayed in the tag Mbyte ...

Page 22: ...rsion 5 1 The following steps must be performed in the described se quence status July 2007 6 1 Starting the System Management Console Start Programs Wonderware System Management Console 6 2 Configuring the Device Group Enter Device Group later the NETLink will be addressed with this name from the WWClient ...

Page 23: ...onderware Factory Suite Common WWClient to establish connection If the connection has been set correctly the following display opens Configuring the item If the Item configuration is correct and the SIDirect DAServer has been activated the configured Item is updated in the Wonderware Client window ...

Page 24: ...e Inc The following steps must be performed in the described se quence status November 2017 7 1 Configuring KEPserverEx Start program module KEPServerEx create a new project or right click in the demo project and select New Channel Select device driver Siemens TCP IP Ethernet ...

Page 25: ...NETLink PRO family Application Examples 25 Enter a new name or leave the existing one and Continue Select the computer s own network card Leave default optimizations and confirm with Continue ...

Page 26: ...TLink PRO family Application Examples 26 Select the Floating Point Values to Unmodified and confirm with Continue Finish the channel settings Select Click to add a device to assign the NETLink as a device ...

Page 27: ...NETLink PRO family Application Examples 27 Enter a new name or leave the existing one and Continue Select device model S7 300 Enter the IP address of the connected NETLink here ...

Page 28: ...NETLink PRO family Application Examples 28 Leave default timing and confirm with Continue No changes at this point Continue ...

Page 29: ...NETLink PRO family Application Examples 29 No changes at this point Continue No changes at this point Continue The communications port for RFC 1006 is 102 default ...

Page 30: ...NETLink PRO family Application Examples 30 The link type must be set to OP Leave byte order at Big Endian S7 Default ...

Page 31: ...ples 31 No changes at this point Continue Finish the device settings The following steps are provided as an example only and are not obligatory for customer applications They serve as a visual check whether data exchange is taking place ...

Page 32: ... Application Examples 32 By clicking Click to add a static tag in this example only one item will be assigned The flag word zero will be processed in the sequential program of the connected CPU Complete with Apply and OK ...

Page 33: ...amples 33 7 2 Starting the OPC quick Client The Quick Client can be started via the marked icon The program module OPC Quick Client opens and the status of the item is displayed by marking the channel and device you previously created ...

Page 34: ...TI Control The following steps must be performed in the described se quence Version July 2011 8 1 Configuring the driver and connection Open PROCON WIN 5 VisuDesigner Create a new project by pressing New Project Choose Compact and name the project Confirm with OK ...

Page 35: ...ication Examples 35 A new project is created and opened immediately Double click Tag From the menu bar click on Tag Driver selection Select S5 S7 COMBI RFC 1006 Click the button contained in the cell under the column INI File ...

Page 36: ...wing ag0 type s7_osi ip_adr XXX rtsap 02 0Y wtsap 02 0Y ltsap 02 0Y uni yes In place of the XXX enter the IP address of the NETLink Replace every Y with the MPI address of the PLC con nected to the NETLink The resulting string should look something like this Close the text editor and driver selection screen by press ing OK From the menu bar press Tag New Num ...

Page 37: ... Max PLC 127 Min PC 0 Max PC 256 Driver S5 S7 COMBI RFC 1006 IO Input Baustein Typ MERKER Format S7 BYTE Values not defined above are left at default Save the project STRG S 8 2 Creating a Picture Right click on Pictures and select New A new Picture is created and displayed Click the tab Dynamic under Items and then Numeric Field ...

Page 38: ...xamples 38 Now right click on the white area beneath Dynamic Sym bol and choose New Numeric Digit Press the button contained in the cell under column In stance Value row Value Choose the afore created tag and close the window with OK ...

Page 39: ...ulling it on the picture using drag drop Save the project CTRL S and from the menu bar press File Create Runtime Open the Windows start menu and select Aktuelles Pro jekt under All programs GTI PROCON WIN 5 3 If no start menu entry exists you can find the file projects pcs in the folder PROCON WIN Projects It can be opened with a texte ditor ...

Page 40: ...mples 40 Enter the name of the project in the text file and save it Now start PROCON WIN 5 VisuCompact A numeric field containing the content of the flag byte 0 in decimal format should be visible now To close VisuCompact double tap Esc ...

Page 41: ...ribed se quence status May 2008 9 1 Configuring VisAM Win 32 Open the program module VisAM editor Communication Select channels Click assignment 1 in the communication channel selection In the selection select assignment Siemens S7 Ethernet ISO on TCP as the VKM name and confirm with Continue Click the remote name and ...

Page 42: ...Confirm with OK and click TSAP and enter address In this case 2 2 for bus address 2 rack 0 slot 2 see the relevant chapters with the Address conversion table in the NETLink manual Confirm with OK You have now created the communications channel and can apply the settings with Close ...

Page 43: ...les 43 Select Communication VDF Data Field Select Group 0 and click the 000 field to activate process var iable selection Coupling channel 1 is referenced to the previously defined communications channel Confirm with OK Save the settings ...

Page 44: ...visualization Select Project Test hotkey F5 Select Online UL and click Start Process visualization opens and the communications link is started The connection monitor switches from offline to online mode The transmission information can be displayed in Info ...

Page 45: ...rsion November 2017 10 1 Add the protocol driver To parameterize a RFC1006 link in a WinCC project a new TCP IP link must first be created in the SIMATIC S7 PROTO COL SUITE Right click Tag Management Add new driver Select SIMATIC S7 Protocol Suite chn create a new TCP IP connection in SIMATIC S7 PRO TOCOL SUITE Open the Tag management ...

Page 46: ...s of the NETLink device Enter the rack slot combination of the end device Here 172 16 0 49 and 0 2 The destination CPU with which we want to communicate has the bus address 2 10 2 Creating a variable Under this connection we have just configured we now have to create a variable This is done by right clicking to open the context menu of the new connection and selecting New variable All NETLink have...

Page 47: ...the newconnection_1 connection If this variable is now included in the initial screen of the WinCC project for example a connection will be established to the CPU with address 2 via the NETLink Gateway to read or write marker byte 0 from this address Further variables of different types can of course be created and used according to the same scheme It is also possible to create additional TCP IP c...

Page 48: ...ring connections Start WINCC flexible Project and open the connections in the communications register Select communications driver SIMATIC S7 300 400 Interface Ethernet The operator panel address is the local IP address of the com puter network card Access point S7ONLINE The Control address is the IP address set in NETLink The Slot is the MPI address of the CPU to be addressed ...

Page 49: ...G PC Interface mod ule Select the network card with protocol TCP IP installed in the computer system as the Used Interface Parameterization Check whether S7ONLINE Step7 TCP IP is active for Access point of application Confirm with OK All variables that are linked to Controller_1 can now be accessed via the RFC 1006 protocol ...

Page 50: ...s 50 12 ZenOn V6 2 COPA DATA The following steps must be performed in the described sequence status August 2007 12 1 Configuring Zenon Start Zenon and create a new project or adapt an existing one and define variables Configuring variables ...

Page 51: ...river Mark S7 TCP IP Press Click here in the configuration 12 3 Driver configuration New button Enter data remote IP address IP address from NETLink Remote TSAP MPI address of PLC First the Save button Then OK button First the Save button and only then confirm OK ...

Page 52: ...NETLink PRO family Application Examples 52 12 4 Integrating variables in images Configuring images Finally start the runtime ...

Page 53: ...5 3 9 0269 10 0 10 020A 42 1 10 022A 74 2 10 024A 106 3 10 026A 11 0 11 020B 43 1 11 022B 75 2 11 024B 107 3 11 026B 12 0 12 020C 44 1 12 022C 76 2 12 024C 108 3 12 026C 13 0 13 020D 45 1 13 022D 77 2 13 024D 109 3 13 026D 14 0 14 020E 46 1 14 022E 78 2 14 024E 110 3 14 026E 15 0 15 020F 47 1 15 022F 79 2 15 024F 111 3 15 026F 16 0 16 0210 48 1 16 0230 80 2 16 0250 112 3 16 0270 17 0 17 0211 49 1 ...

Page 54: ...ter 0 into the Rack field and the PROFIBUS address of your CPU into the Slot field Scenario 2 Your application only allows slot field values of up to 31 You will have to enter a 32x multiplier into the Rack field and the missing remainder of the PROFIBUS address into the Slot field Address assignments using the Rack and Slot input fields Example 1 Entry for address 17 Calculation 0 32 17 Example 2...

Page 55: ...ressed the Adapter Update adapter menu the dialog box shown below appears example To perform an update from a firmware version lower than V1 42 to a version higher than V1 42 it is first necessary to update to version 1 42 as an intermediate step After that an update to all higher versions can be performed in a further step Q What must I observe when calling your technical support A Please have al...

Page 56: ...erverEx V5 4 135 0 http www kepware com Products OPC_Servers html PROCON Win V5 3 http www gti de index php id 45 S7 S5 OPC Server http www helmholz de prod d 18_30_34 html p_id 39 VisAM Win32 http www visam de 03_produkte visam index php WINCC V7 0 http www automation siemens com mcms human machine in terface de visualisierungssoftware scada wincc Seiten Default aspx WinCC flexible 2005 2007 http...

Reviews: