Home
S7B Driver
Contents
1. 8 x 300 bit Tslot_Init i Man T edr Min T amp dr Tset Tqui Gap Factor Retry Limit Talot 300 t_bit 150 t_bit 11 t bit Tide Try Tid 37 ibit Ti D a Doi 14 3 me Ttr 1500 t_bit 1 0 ms Watchdog a thi 23 7 ms Recalculate File Edt View Display Mode Options Help nemm e gt fm m au Cancel Help etlink MFI H PlSer EJ etLinkPB Description m Primary Comm way MPI serial NetLink Adapt 1 0 Address Syntax S7M W1 comp S Not German 57 Notation IEC om Channel Mame Netlink Pl NetLinks gt MPI Bus Enable M Prim MPI PB NetLink 1 Frim MPI PB NetLink 2 m Bus Parameters for Profibus Profile Dwn Address 2 Highest Station Address fi 26 OF Eaud Rate fi 500000 Slot Time 300 Bit Station Delay Min ee Quiet Time Clo gt mit Setup Time fi J tBit Target Rotation ime tBit Gap Actualization Fact Retries For Help press F1 Picture 3 9 configuration bus parameters aa Relation between the Step7 hardware config bus parameters and the S7B Configuration of the NetLink adapters S7B driver for iFIX FIX32 Page 20 3 3 Read back the TCP IP and bus parameters from NetLink The currently stored TCP IP and MPI or Profibus parameters in the NetLink adapter can be read
2. Profibus parameters If the NetLink adapter is used on a Profibus it must be configured with the current bus parameters There is a detailed description of how to locate the bus parameters of the S7 Profibus in chapter 2 3 2 Chart 1 on page 6 shows the relation between the parameters of the S7 side and the fields in the S7B configuration dialog on the second property page MPI PB NetLink 2 The following picture demonstrates how the parameters from the Step7 configuration relate to the fields in the S7B configuration The corresponding parameters of the Step7 configuration and the S7B configuration are marked by circles of the same color The bus parameters must be disclosed to the NetLink adapter per download It is not sufficient just to collect the bus parameters After the parameters have been gathered in the property page MPI PB NetLink 2 it is then neccessary to switch to the first property page MPI PB NetLink 1 and by clicking the Download to NetLink button the downloading of the bus parameters on to the NetLink adapter can be started Configuration of the NetLink adapters S7B driver for iFIX FIX32 Page 19 oe HW Config SIMATIC 300 1 Configuration CPU315 Tiy Station Edit Insert PLC View Options Window Help m Properties DP R0O S2_1 Properties PROFIB Prog PROFIBUS 1 G Bus Parameters olele 3 e inla 38 xe General Addresses Operating Mode Configuration
3. PROFIBUS 1 DP master system 1 E SIMATIC PC Based Control 300 400 SIMATIC PC Station E3 i oi oH z PROFIBUS DP slaves for SIMATIC 7 M7 and C7 x distributed rack Press F1 to get Help Picture 2 1 Dialog HW Config SIMATIC in Simatic Manager Configuration of the NetLink adapters S7B driver for iFIX FIX32 Page 8 2 Select the slot with the Profibus module our example X2 DP In the context menu right mouse button choose Object Properties The dialog Properties DP comes up Properties DP R0 S2 1 x General Addresses Operating Mode Configuration Short Description DP Order No Name DPI r Interface Type PROFIBUS Address 3 Networked Yes Properties Comment Cancel Help Picture 2 2 Dialog Properties DP in S7 hardware configuration 3 Inthe dialog Properties DP click the button Properties The dialog Properites PROFIBUS Interface DP with property page Parameters comes up Properties PROFIBUS interface DP R0752 1 Ea General Parameters Address 3 Highest address 63 Transmission rate 1 5 Mbps Subnet not networked New PROFIBUSI1 ees Properties Delete Cancel Help Property Page Parameters of dialog Properties PROFIBUS Interface DP in S7 hardware configuration Picture 2 3 Configuration of the NetLink adapt
4. INGOSDL e Juergen Staehler e Ferdinand Dirichs Str 6 e 65549 Limburg Lahn Jurgen Stafler User Manual for the Configuration of the NetLink Adapter via the S7B Driver for iFIX FIX32 Release date 10 06 2005 Editor J Stahler InCoSol Industrial Communications Solutions Configuration of the NetLink adapters S7B driver for iFIX FIX32 Page 2 Table of contents 1 DUET GILT CEO sapiarcrsapcartw a rears Ge aren aris le snl eae vn cay mater eer a 4 1 1 Purpose of this document 0 000 tees 4 12 Tage O OU Sa Mat gan Patt tat td ett dtl Sa tae tai ad wets 4 123 IDetinitions andacronyMs ses oseoe eee eee eee See Ee RES SG EEE eee eee eee eeeeees 4 Weed ACTON S Sscegtncraies r a Aite Matas Aa Ate Maen a Adee Aan ae Ac ee ee ce he an ae 4 1 4 Typographical conventions 0000 ce tee 4 2 Wine Ne tek AGADIGI senaren Bae oe ei aiei E we See eee Bee ee ow ae eae 5 2 1 FROWN Pie ree n Resta uate see a E E ys veteran de a a A a ns dines a tiye gegen 5 2 2 Configuration general information 00000 tee 5 2 3 MPWor ProtibuS i sbenehe bs bebe bie AE PEAEREEEREAE RES ERLAE SESE RTE E RES EEE be 5 2 3 1 MPI bus parameters 0 0 000 cee 6 2 3 2 Profibus parameters 0 00 ct eee 7 2 3 3 Determination of Profibus parameters 0 000 c eee ee 7 3 hie SAB Diver scenes wees ene eek e wee a eek eS Oke Nek oR eRe Rene E 11 3 1 Configuration of the NetLink adapter with the help
5. In this case the adapter should be disconnected shortly from power and another attempt to set the IP address should be made Once the NetLink adapter has accepted the new IP address the following hint comes up that must be confirmed by clicking the OK button Scan for NetLinks x r Configured NetLinks f NetLinks accessible by UDP Perm IP Addr Netlin 192 72 214 11 Wi neui 192 72 214 10 Start Scan Setlp Tempore Setting IP Address successfull 192 2 NetLink s found Cancel Select amp Exit Picture 3 5 Message box which indicates that the IP address was set successfully Now the NetLink adapter has a temporary IP address which will be lost if the adapter is disconnected from power Once the NetLink adapter has a valid IP address this address can only be changed within the first three minutes after the power on following the above procedure So if it is desired to change the set IP address again the new address must be entered in the entry field Temporary IP address Before the Set button is clicked the adapter should be discoected shortly from power and re started After the re start the NetLink adapter accepts the request to change the IP address only for three minutes An attempt to change the IP address later than three minutes after the re start will result in the Configuration of the NetLink adapters S7B driver for iFIX FIX32 Page 15 NetLink adapter sending an er
6. These parameters are the Highest PROFIBUS Address HSA and the Transmission Rate Baud Rate of the Profibus net Please write down these two parameters 7 Click on button Bus Parameters in order to show all other profibus parameters PROFIBUS 1 Ea Bus Parameters Tslot_Init l 300 t_bit Tslot 300 t_bit Max Tsdr 150 t bit Tid2 150 t_bit Min T sdr l 11 3 t_bit Tidy 11 t bit Tset l 1 4 t_bit Tid1 37 t_bit Tqui l 14 t_bit Ttr 22405 t_bit 14 9 ms Gap Factor l 1 14 Ttr 1500 t_bit 1 0 ms Retry Limit l 1 4 Watchdog 44517 t bit 29 7 ms OK Cancel Help ok Picture 2 6 Property page Bus Parameters of dialog PROFIBUS 1 in S7 hardware configuration 8 The parameters on the property page Bus Parameters of the dialog PROFIBUS 1 are listed in the following table These parameters are needed later for the configuration of the bus parameters in the S7B configuration dialog In the second column of the table below there is a list of the respective field names for the corresponding values in the S7B configuration dialog Parameter STEP 7 Parameter S7B Configuration Value T slot_Init Slot Time Max Tsdr Station Delay Max Min Tsdr Station Delay Min Tset Setup Time Tqui Quiet Time Gap Factor Gap Actualization Factor Retry Retries Te Target Rotation Time S Table 2 2 Profibus parameters Please make a printout of this page and note do
7. out by clicking the Upload from NetLink button They will be displayed on both of the property pages MPI PB NetLink 1 and MPI PB NetLink 2 Whether the bus parameter should be filled in the MPI parameters record or in the Profibus parameters record must be selected before the upload through the selection of the Combo box plugged into Attention The upload function cannot recognise independently if the NetLink adapter is connected to the MPI or the Profibus
8. 0005 15 Relation between the selected bus type and its corresponding parameter set 16 Relation between the Step7 hardware config bus parameters and the S7B configuration bus ParaMeClersen et Ba Pete a ae a ete i i ch ea Dan 19 Configuration of the NetLink adapters S7B driver for iFIX FIX32 Page 4 1 1 1 1 2 1 3 1 3 1 1 4 Introduction Purpose of this document This document describes the procedures of the configuration of a NetLink adapter from the company Hilscher via the S7B driver for iFIX FIX32 Due to the specific features and functionality of the NetLink adapter the ability to configure the NetLink adapter on pure intuition is limited This detailed documentation is designed to assist the user where necessary Target groups This documentation addresses iFIX FIX32 application engineers who wish to integrate the S7B driver with the NetLink adapter in their system Definitions and acronyms Acronyms UDP User Datagram Protocol TCP IP Transmission Control Protocol Internet Protocol MPI Multi Point Interface CP Communication Processor HSA Highest Station Address Typographical conventions Files directories host and domain names as well as menu entries and options will be italicized Blue font will be used for the titles of dialog windows Red font will be used for the lettering on button controls Green font will be used for the field names of the input and display fields as well as for name
9. a valid IP address The UDP does not address a network partner via the IP address but via the MAC address This MAC address is used on the lowest ethernet telegram level to address a partner As factory defaults each NetLink adapter has a valid and unique MAC address and can be contacted via this address As the MAC address does not work across routers the NetLink adapter is only accessible in the local network segment Hence connect the NetLink adapter to a port in your local network segment if you have to contact it via UDP In order to reduce the risk that a NetLink adapter already with an IP address getting another IP address via UDP by mistake the NetLink adapter is equipped with a lock Because of this lock the setting of a new IP address via UDP is only possible within the first three minutes after the power up of the adapter Hence if a new IP address is to be set via UDP it is necessary to disconnect the NetLink adapter from the power supply then power it up again and set the new IP address via UDP within three minutes However this three minute limit is not valid if the NetLink adapter does not have an IP address yet or the address is 0 0 0 0 factory defaults An IP address set via UDP is not permanently stored in the NetLink adapter s flash memory but only in its unbuffered RAM and therefore lost after switching off the adapter To store the IP address permanently in the NetLink adapter s flash memory a configuration download
10. must be done With this download the configuration file that contains the permanent IP address other TCP IP parameters and the MPI Profibus parameters is saved permanently in the NetLink adapter s flash memory To configure an empty NetLink adapter follow each step as described thereafter Configuration of the NetLink adapters S7B driver for iFIX FIX32 Page 12 3 1 1 1 Start the S7B Power Tool Open the power tool S7B starting from the program group iFIX or from the iFIX system configuration and open the configuration file called DEFAULT S7ZB if it is not done automatically When installing the S7B driver this default configuration file is copied into the iFIX root directory The default configuration file contains the three channels NetLinkMPI MPISer and NetLinkPB To use the NetLink adapter on an MPI bus of a S7 SPS select the channel NetLinkMPI to use the NetLink adapter on a Profibus select the channel NetLinkPB These channels are already configured with the necessary parameters for the respective bus In the right half of the Power Tool window the property pages Prim MPI PB NetLink 1 and Prim MPI PB NetLink 2 pop up and the first property page is visible in the foreground 1 E ASDK S 7b Bin default s7b Configurator File Edit View Display Mode Options Help osmu o gt fw m un 2 Channel Name NetLinkMPI Enable V Description NetLink lt gt MPI Bus E NetLinkP
11. Attention As the UDP cannot address a NetLink adapter across a router the NetLink adapter must be in the same ethernet network sub network as the PC that it used for the initial set up of the TCP IP address via the UDP MPI or Profibus The NetLink adapter can be used as an MPI bus station but also in a Profibus DP or FMS network Within existing Profibus networks neither the configuration of the master nor configuration of the slaves has to be adapted In a Profibus DP net it is not necessary to configure the NetLink adapter as an additional slave Only an unused Profibus station address must be available This address must be less or equal the highest Profibus station address HSA configured in this Profibus net While the Profibus parameters are fixed at the MPI bus see table 1 they can vary at the Profibus net depending on the type of protocol DP or FMS and the number of stations on the bus The NetLink adapter must know these Profibus parameters in order to be correctly accepted by the bus when it will be connected The S7B Power Tool configuration program is used to record all these Profibus parameters and to download the parameter set to the NetLink adapter Configuration of the NetLink adapters S7B driver for iFIX FIX32 Page 6 2 3 1 MPI bus parameters In MPI networks the bus parameters are fixed according to the following table Even though it s possible to change the MPI bus parameters they should not be changed in the S7B dr
12. B NetLink 1 and all adjustable Profibus parameters or MPI bus parameters on the second property page Prim MPI PB NetLink 2 It should be noted that all changes to the parameters made via the Power Tool will only become active in the NetLink adapter after the parameters have been transferred to it per download For the two different bus types MPI and Profibus the driver stores an individual parameter set The parameter set can be selected by the plugged into Combo box on the first property page Prim MPI PB NetLink 1 Due to the storage of the separate parameter sets it is possible to switch from one bus type to the other without the risk of losing the parameters of the bus type selected beforehand The following picture will elucidate the relation between the selected bus type and its corresponding parameter set Prim MP PB NetLink 2 p O MPI Parameter Set Slot Time ns tBit Station Delay Min feo Max aoo tBit Quiet Time fi tBit Setup Time fi tBit Target FatationT ime fioooo tBit Gap Actualization Factor foo Retries Ro TCP IP Parameter Set 132 72 214 21 Subnet Mask 2565 256 255 O Default Gateway p 5 Download ta Wetlak Scan for Upload trannetlint Prim MPI PB NetLink 2 r Bus Parameter for Profibus Profile Dwn Address Highest Station Address pz x Baud Rate fisooooo Slot Time o
13. B RT i m Primary Comm Wa p i Prim MPI PB NetLink 1 Prim MPI PB NetLink 2 MPI serial NetLink Adapt NetLink Adapter plugged into MPI X m Adapter s TCP IP Settings Up Down IP Addr Permanent IP Addr C EAEAN 192 72 214 10 z gt Subnet Mask 255 255 255 0 255 255 0 Default Gateway f Downoad to tetin Scan for 120 Address Syntax C S7M V1 x comp Upload from Netlink C 57 Not German 57 Notation IEC om m x For Help press F1 Ui Picture 3 1 Power Tool with selected Channel NetLinkMPF and property page Prim MPI PB NetLink 1 in foreground Configuration of the NetLink adapters S7B driver for iFIX FIX32 Page 13 3 1 1 2 Determination of accessible NetLink adapters In order to set a temporary IP address for the NetLink adapter click on the button Scan for A new dialog named Scan for NetLinks pops up Scan for NetLinks x Configured NetLinks NetLinks accessible by UDP Perm IP Addr Netlin 192 722 NetLi 192 72 214 10 Temp IP Add MAC Address Start Scan Setlp Press Start Scan Button Cancel Select amp Exit Picture 3 2 Dialog Scan for NetLinks to set the temporary IP address In the list to the left Configured NetLinks you can see the existing NetLink channels of the current configuration and their permanent IP addres
14. d IP address will the buttons be enabled to upload or download the parameter sets To be able to download the parameter sets it is necessary to ensure that the IP address corresponds with the IP address of the NetLink adapter under which it can be reached see point 1 below The Up Download IP address field can be filled in three ways 1 Manual entry of the TCP IP address If the IP address of the NetLink adapter is known and the IP address is accessible a manual entry of the IP address in the field Up Download PAddr can be applied To find out whether the IP address is actually accessible test it with the command PING from the DOS command window 2 Automatic transfer from the dialog Scan for NetLinks The new temporary IP address will automatically be inserted in the Up Download IP address field if the NetLink adapter has received a new temporary IP address per UDP via the dialog Scan for NetLinks and the dialog is then closed with the button Select amp Exit 3 Transfer from the field Permanent IP Addr To change the NetLink s bus parameters only i e the MPI s own station address transfer the stored IP address from the Permanent IP Addr field in the Up Downl IP Addr field by clicking the left transfer button 4 Permanent IP Addr The permanent IP address assigned to this field will be transferred to the NetLink adapter and permanently stored during the downloading of the parameters click the butto
15. e eee heRe eee eee eee eA ee eee the 10 List of Pictures Dialog HW Config SIMATIC in Simatic Manager 000 0c eee eee eee 7 Dialog Properties DP in S7 hardware configuration 000ec eee ee eee 8 Property Page Parameters of dialog Properties PROFIBUS Interface DP in S7 hardware configuration 0 0 20 000 cece tee 8 Property page General of dialog Properties PROFIBUS in S7 hardware configuration Decca ys ens UNeviavs NG NN Ngee tees Ni it AM Neen E SE NIL ae OA Ree ae 9 Property page Network Settings of dialog Properties PROFIBUS in S7 hardware CONMGUPAUION sereen e a a en hag ha a a a aA 9 Property page Bus Parameters of dialog PROFIBUS 1 in S7 hardware configuration RIN E N ha E A E E ta EE ah Maar May Morea A Na 10 Power Tool with selected Channel NetLinkMPE and property page Prim MPI PB NetLink 1 in foreground 1 2 2 2 ce ee 12 Dialog Scan for NetLinks to set the temporary IP address 0055 13 List of the found NetLink adapters and allocation to configured adapters 13 Dialog Set NetLink s IP Address to enter the IP address 2000 eee 14 Message box which indicates that the IP address was set successfully 14 Error message box if the temporary IP address could not be set 15 Message box at the end of the dialog Scan for NetLinks
16. ers S7B driver for iFIX FIX32 Page 9 4 On property page Parameters of the window Properties PROFIBUS interface DP click on the button Properties As shown below the dialog Properties PROFIBUS with property page General pops up Properties PROFIBUS Ed General Network Settings Name PROFIBUS 1 S subnet ID oost 0004 Project path CPU 315 Storage location of the project IF Siemens STEP 4S fproj Cpu315 Author I Date created 19 02 2003 18 41 03 Last modified 13 03 2003 16 03 34 Comment T Cancel Help Picture 2 4 Property page General of dialog Properties PROFIBUS in S7 hardware configuration 5 In the window Properies PROFIBUS click on property page Network Settings The dialog changes to the property page Network Settings as shown below Properties PROFIBUS x General Network Settings Options Highest PROFIBUS Address 63 z E Change Transmission Rate 45 45 31 25 Kbps 93 75 Kbps 187 5 Kbps a 500 Kbps Profile Standard Universal DP FMS User Defined Bus Parameters Cancel Help Picture 2 5 Property page Network Settings of dialog Properties PROFIBUS in S7 hardware configuration Configuration of the NetLink adapters S7B driver for iFIX FIX32 Page 10 6 On the property page Network Settings two Profibus parameters are already listed
17. essible For the configured channel NetLinkMPI with the IP address 192 72 214 11 white square no NetLink adapter was found However a second NetLink adapter was found that does not have an IP address yet or the IP address 0 0 0 0 Configuration of the NetLink adapters S7B driver for iFIX FIX32 Page 14 3 1 1 3 Set a temporary IP address In order to assign a valid IP address to the NetLink adapter without an IP address select the NetLink adapter on the right list NetLinks accessible by UDP and then click on the button Set IP The following dialog window Set NetLink s IP Address with an input field for the new IP address as well as Set button and Exit button comes up Scan i NetLinks m x m Configured NetLinks NetLinks accessible by UDP Perm IP Add Sn T Netin 192 72 214 11 2647 Stat Scan 782 _Statt Scan E NetLi 192 72 214 10 Setlp Temporary IP Address 2 NetLink s found Cancel Select amp Exit Picture 3 4 Dialog Set NetLink s IP Address to enter the IP address As the NetLink adapter s current IP address is still undefined or is 0 0 0 0 the entry field Temporary IP Address is empty Enter an IP address and click on the Set button The software transfers the entered IP address to the NetLink adapter and awaits its response If the NetLink adapter cannot accept the IP address it returns an error code to the software and a window with an error message pops up
18. ied to the driver channel PowerT ool AN Do you want to assign the IP Addess 192 72 214 21 to the driver channel NetlinkMPI no Picture 3 7 Message box at the end of the dialog Scan for NetLinks If answered with Yes the given IP address will be assigned to the driver channel dialog as a temporary IP address and put in the field Up Download IP Address This means that the NetLink adapter is now accessible through the IP address and that the parameters can be downloaded Only when the parameters have been downloaded will the IP address be permanently stored The following passage describes how the IP address can be permanently stored and how other network parameters and bus parameters of the NetLink adapter can be changed or read back Configuration of the NetLink adapters S7B driver for iFIX FIX32 3 2 Prim MPIPB NetLink 1 r MetLink Adapter plugged into Up Downl IF Addr Permanent P Addr Page 16 Permanent storage of the IP address and bus parameters Should the permanent IP address of the NetLink adapter via which it is accessible for whatever reason need to be changed or if the NetLink adapter was assigned only a temporary IP address and this should be stored permanently it is necessary to perform a so called Download of the NetLink parameters The NetLink parameter set contains next to the IP address the subnet mask the default gateway address on the first property page Prim MPI P
19. iver s configuration dialog Parameter Value Highest station address HSA Baud Rate 187500 Slot Time 415 Station Delay Min 60 Station Delay Max 400 Setup Time 1 Quiet Time Gap Actualization Factor Retries Target Rotation Time Table 2 1 Standard MPI bus parameters Configuration of the NetLink adapters S7B driver for iFIX FIX32 Page 7 2 3 2 2 3 3 Profibus parameters If the NetLink adapter is to be used in a Profibus network the Netlink adapter must be configured with the current bus parameters of the Profibus which is described later in chapter 3 2 2 2 At first the following chapter initialy describes how the current profibus parameters can be obtained with the help of the Step7 software so that they are available in the S7B Power Tool for the parameterization of the NetLink driver channel Determination of Profibus parameters In Profibus networks the determination of the current profibus parameters is done via the Step7 software How to obtain this information with the Step7 software is described thereafter step by step and with the help of several screen shots 1 Open the hardware configuration in the Step7 project The dialog HW Config occurs a Hw Config SIMATIC 300 1 Configuration CPU315 Dl Station Edit Insert PLC View Options Window Help 8 x pelee S Sale aula fe 32 x Profile Standard 7 HE PROFIBUS PA H E SIMATIC 300 H E SIMATIC 400 Er 22
20. n Download to NetLink It is not obligatory that the permanent IP address must correspond with the temporary address To change the present IP address to which the NetLink adapter can currently be connected type in the new IP address in the Permanent IP Addr field Then type in the current IP address in the Up Down IP Addr field The parameter data are written in the NetLink adapter through a click on the Download to NetLink button After a successful download the NetLink adapter will be automatically reset and be accessible through the new IP address Attention The given IP address in this field is the address through which the S7B driver establishes a data connection with the NetLink adapter in online mode run The IP address in the Up Downl IP Addr field can be transferred to the Permanent IP Addr field by clicking the right transfer button gt Subnet Mask The subnet mask determines in a TCP IP segment the address range of the IP addresses via which each host will be addressed In a class C network only the last 8 Bits 4th octet of the IP address are available to address the host From these 8 Bits however one or more can be used to address a sub network The NetLink adapter must be made recognizable to the subnet mask of the net segment to which it is physically attached If the NetLink adapter is used in the same net segment as the system running the S7B driver the settings of the NetLink subnet mask can be
21. o iet Station Delay Min mo Mas fso tBit Quiet Time po tBit Setup Time Po tBit Target RotationT ime joa tBit Gap Actualization Factor fio Reties fo Profibus Parameter Set S7B Config File Picture 3 8 Relation between the selected bus type and its corresponding parameter set During the download of the parameters in the NetLink adapter the TCP IP parameter set and the corresponding bus parameter set of the selected bus type will be transferred As the NetLink adapter stores only one bus parameter set if the bus type is changed during the download of the new parameter set the last will be overwritten Therefore it is necessary to download the parameter set each time the bus type is changed Configuration of the NetLink adapters S7B driver for iFIX FIX32 Page 17 3 2 1 3 2 1 1 3 2 1 2 3 2 1 3 TCP IP parameters of the first property page MPI PB NetLink 1 The TCP IP parameter set contains the following parameters Up Download IP Addr During uploading or downloading the S7B Power Tool tries to connect to the NetLink adapter via the Up Download IP address Therefore this must be the current valid TCP IP address of the NetLink adapter After starting the Power Tool and reading the S7B configuration file this field is empty for the time being As long as this field is empty the buttons Download to NetLink and Upload to NetLink are disabled Only when this field contains a vali
22. of the S7B driver s power tool 11 3 1 1 Setting an IP address when Netlink is in factory state 00 04 11 3 1 1 1 Start the S7B Power Tool 0 0 0 ee 12 3 1 1 2 Determination of accessible NetLink adapters 13 3 1 1 3 Set a temporary IP address 0 0 0 ees 14 3 2 Permanent storage of the IP address and bus parameters 00 0200000 16 3 2 1 TCP IP parameters of the first property page MPI PB NetLink 1 17 3 2 1 1 Up Download IP Addr 0 000 ee 17 3 2 1 2 Permanent IP Addr 0 0 00 cee 17 S223 VoubnetMaski sc scp rece Shi aee sae eae eveea vee ee eevee eee ee 17 3 2 1 4 Default Gateway 0 0 02 eee 18 3 2 2 TCP IP parameters on the second property page MPI PB NetLink 2 18 3 2 2 1 MPI bus parameters 0 000 cect eee 18 2 2 2 2 Profibus parameters schserr Pek beer bees Prerbres beer Pres bPers 18 3 3 Read back the TCP IP and bus parameters from NetLink 00000 eeee 20 Configuration of the NetLink adapters S7B driver for iFIX FIX32 Table 2 1 Table 2 2 Picture 2 1 Picture 2 2 Picture 2 3 Picture 2 4 Picture 2 5 Picture 2 6 Picture 3 1 Picture 3 2 Picture 3 3 Picture 3 4 Picture 3 5 Picture 3 6 Picture 3 7 Picture 3 8 Picture 3 9 Page 3 List of Tables Standard MPI bus parameters 0 000 cee eee 6 PronbuS Paramelers said deseeh eee sO
23. ror response and the following message will come up Scan for NetLinks p Configured Net inks Perm IP Addr N Failed to set new IP Address Netlin 192 72 214 11 o NetLi 192 72 214 10 2647 Start Scan 782 Stet Sean Set Ip Error NetLink Adapter doesn t accept the new IP Address The NetLink Adapter only accepts the new address within the fist 3 minutes after power on or reset Disconnect the adapter from power and try again Cancel Select amp Exit Picture 3 6 Error message box if the temporary IP address could not be set If the temporary IP address was set successfully click the Exit button to leave the dialog Set NetLink s IP address In the list to the right NetLinks accessible by UDP the previously selected NetLink adapter in the column Temp IP Addr now contains the previously assigned IP address Should this also correspond with an IP address of a configured NetLink adapter left side the corresponding colored square in the first column in the right list will be displayed To transfer the NetLink adapter or the IP address of the NetLink adapter in the channel configuration of the chosen driver channel highlight the selected NetLink adapter by clicking the corresponding line in the right list NetLinks accessible by UDP Then click the button Select amp Exit The following message box will then ask if the IP address should be appl
24. s setup of the TCP IP address is done via ethernet with the help of the User Datagram Protocol UDP The UDP does not need a TCP IP address in order to address the communication partners but only the MAC address Because of the factory defaults the NetLink adapter does not have a TCP IP address yet or the address is 0 0 0 0 and therefore the S7B software cannot access the NetLink adapter via TCP IP Hence the software uses the UDP once to assign a unique TCP IP address for the NetLink adapter The TCP IP address transfered to the NetLink adapter via UDP is only temporarily valid as it is only stored in the internal RAM of the adapter If the NetLink adapter is switched off after it has received a temporary TCP IP address via UDP this address will be lost once the adapter is switched on again The reason for this is that the RAM loses all its information when the power supply is switched off The TCP IP address is only stored permanently once the S7B driver has downloaded the so called DBM file database file into the adapter This file contains in addition to the TCP IP address all other MPI Profibus parameters such as MPI Profibus baud rate highest station address or the station address of the NetLink adapter The DBM file is saved in the adapter s flash memory and is kept even after a power off of the NetLink adapter Once the NetLink adapter can be accessed via a TCP IP address a new TCP IP address can be assigned via the TCP IP protocol
25. s of property pages Configuration of the NetLink adapters S7B driver for iFIX FIX32 Page 5 2 2 1 2 2 2 3 The NetLink Adapter Hardware The NetLink adapter is a gateway between the ethernet port of the iFIX system and the MPI bus or Profibus of the S7 PLC Via auto detection the ethernet interface identifies if it is connected to a 10 or 100 MBit ethernet network The complete hardware of the NetLink adapter is fit in a standard Profibus D Sub housing thus the NetLink adapter can be plugged directly in to the MPI or Profibus port of the S7 or any other gadget that is compatible with an MPI bus The supply voltage is provided by the MPI Profibus connection For this the MPI Profibus connector of the S7 must provide a voltage of 24 volt on pin 7 of the 9 Pin D Pub plug If there is no supply of 24 volt on the Profibus plug of the CP as it is the case with the Profibus CP 343 5 the NetLink adapter can be separately supplied with power In this case the junction box for MPI and Profibus made by Helmholz can be recommended Helmholz code No 700 751 MPV20 Configuration general information The configuration of the NetLink as MPI bus or Profibus connection is done by the S7B driver software As factory defaults the NetLink adapter is always configured for an MPI bus connection On the ethernet site it does not have any TCP IP addresses but only a unique MAC address The initial download of the basic configuration parameter
26. ses The permanent IP address is the IP address stored in the configuration which does not mean that it is actually configured in a NetLink adapter At first the right list is empty but will be completed once the button Start Scan has been clicked and the software has found one or several NetLink adapter s in its own network segment The click on the button Start Scan sends a so called broadcast call on the ethernet with the message all NetLinks please answer All NetLink adapters that have received this broadcast message send an answer to the driver S7B giving their MAC address the IP address if existing a type identifier and the serial number With the help of the received information the driver completes the right list to show which NetLink adapters are currently accessible Scan for NetLinks x Configured NetLinks NetLinks accessible by UDP Perm IP Addr NetlinkMPl 192 72 214 NetLinkPB 192 72 214 20 Temp IP Add MAC Address Type S N 0 0 0 0 00 02 42 00 04 NL MPI 2647 cit Scan MW NetLinkPB 192 72 214 20 00 02 42 0C 03 NL MPI 782 Stat Sean Set Ip 2 NetLink s found Cancel Select amp Exit Picture 3 3 List of the found NetLink adapters and allocation to configured adapters The above image shows that for the configured channel NetLink PB with the IP address 192 72 214 20 brown square a NetLink adapter with this IP address is acc
27. transferred from this Configuration of the NetLink adapters S7B driver for iFIX FIX32 Page 18 3 2 1 4 3 2 2 3 2 2 1 2 2 2 2 system Default Gateway If the NetLink adapter is not used in the same net segment as the system on which the S7B driver runs meaning for example it can only be reached via one or more routers then the IP address of the primary router must be made recognizable to the NetLink adapter to which it is directly attached TCP IP parameters on the second property page MPI PB NetLink 2 On the second property page of the NetLink channel configuration the bus parameters for the MPI bus or the Profibus will be configured MPI bus parameters If the NetLink adapter is used in an MPI bus in most cases the default parameters can be used The most important MPI bus parameters are the NetLink adapter s own station address and the highest station address The NetLink adapter must be assigned with its own station address in an MPI net This may not be used by another MPI station and must be less than or equal to the highest station address In standard MPI networks the highest station address is set at 31 If the MPI network uses addresses higher than 31 then the highest station address setting of the NetLink adapter must be set accordingly All other parameters should not be altered as variations from the default values may hinder the bus communication or could be at the least disturbed by the NetLink adapter
28. wn the bus parameters Configuration of the NetLink adapters S7B driver for iFIX FIX32 Page 11 3 3 1 The S7B Driver Configuration of the NetLink adapter with the help of the S7B driver s power tool With the installation of the driver S7B all software modules driver necessary for the the NetLink adapter are installed It is not necessary to install the driver software that is delivered together with the adapter from Hilscher or other suppliers The initial configuration of a nameless NetLink adapter is also done by the power tool of the driver S7B as factory defaults the NetLink adapter does not have an IP address or the IP address is 0 0 0 0 All steps necessary to configure the NetLink adapter are described in detail thereafter and are illustrated with the help of screen shots If the NetLink adapter does not have an IP address or in case you do not know the address start with point 3 1 1 in order to configure a new IP address If you want to change the IP address of an already configured NetLink adapter and if this adapter is accessible at this address continue with point 3 2 Setting an IP address when Netlink is in factory state As factory defaults the NetLink adapter does not have a valid IP address or the address is 0 0 0 0 and is therefore not accessible via the IP protocol In order to initially assign a valid IP address to the NetLink adapter the adapter is contacted via the UDP User Datagram Protocol and gets
Download Pdf Manuals
Related Search
Related Contents
PQ DE Edition 2.indb ATILA 162 B N8142-38 無停電電源装置 取扱説明書 (No.053262) ENZO2 PILOT`S MANUAL Metalcerámica Samsung NP-R463 User Manual (FreeDos) w AdJusting the TV ........................................................ MANUALE D`USO - ferrarisistemidisicurezza Copyright © All rights reserved.
Failed to retrieve file