background image

 
 

 

 

 
 

 

 

O & M Manual 

 

 

 

 
 
 

Metrinet 

Ethernet-IP Communication Manual

 

 

 
 
 
 
 

      

Home Office  

 

 

 

     European Office 

 

   

 Analytical Technology, Inc. 

 

    ATI (UK) Limited 

    

6 Iron Bridge Drive   

 

 

    Unit 1 & 2 Gatehead Business Park  

   

Collegeville, PA 19426 

 

 

    Delph New Road, Delph  

    

Phone:  800-959-0299 

 

 

    Saddleworth OL3 5DE 

                   610-917-0991 

 

 

    Phone:   +44 (0)1457-873-318 

    

Fax:       610-917-0992 

 

 

    Fax:       + 44 (0)1457-874-468  

    

Email: [email protected]      Email:  [email protected] 

 

 

  

Содержание Metrinet

Страница 1: ...chnology Inc ATI UK Limited 6 Iron Bridge Drive Unit 1 2 Gatehead Business Park Collegeville PA 19426 Delph New Road Delph Phone 800 959 0299 Saddleworth OL3 5DE 610 917 0991 Phone 44 0 1457 873 318 Fax 610 917 0992 Fax 44 0 1457 874 468 Email sales analyticaltechnology com Email sales atiuk com ...

Страница 2: ... 5 Setting IP mask Assignment in BOOTP Server 8 Figure 6 Successful Detection of MAC ID and IP Address 9 Figure 7 PING and ARP Command Tests for IP Address Setting 10 Figure 8 Generic Module Input Output Settings 12 Figure 9 Connection RPI Settings 12 Figure 10 Output Assembly Object Command Example with EIP_Tool 23 Figure 11 Special Write Codes for MetriNet Variable Changes 24 Figure 12 TCP Objec...

Страница 3: ...t IP Communication Ethernet IP was first introduced in 2001 and is a highly developed and complete protocol for an industrial Ethernet network solution Intended for automation applications EtherNet IP is a member of a family of networks that implement the Common Industrial Protocol CIP at its upper layers of the standard ISO OSI 7 layer model CIP defines the object structure specifies the message ...

Страница 4: ...structure consists of a grouping of data values called Attributes inside other sets of containment data called Objects There are Ethernet IP required Objects and application Objects Required objects are typically Identity TCP and Router Application objects consist of some defined data types like a Motor Object and some user specific data types 1 4 Cable Connection The cable used for Ethernet IP co...

Страница 5: ...ed in some cases by passing the finished RJ45 connectors through the enclosure cable gland The connector will fit through the plastic part of the cable gland and the rubber grommet can be slit some RJ45s may be too big for this Once the connector is inside the enclosure simply plug it into the jack provided on the Ethernet IP communication board Be sure to adjust the rubber insert in the cable gla...

Страница 6: ... version of this tool recommended is BootP DHCP Ethernet IP Commissioning Tool Version 3 02 00 This tool is available from the Rockwell Automation website for free For optimum security only download this tool directly from Rockwell Automation While this tool is normally used for dynamic assignment the MetriNet will remember the last successful assignment made by BOOTP and it will retain that assig...

Страница 7: ... then back on to place it on the new IP address set in step 1 The PC will now be able to access any network device on 192 168 0 X as the subnet mask 255 255 255 locks in the first three variables The default value for the MetriNet is 192 168 0 254 so it can now be reached by the PC 3 Find the Rockwell BOOTP PC application and launch it Select your Ethernet Adapter as the network interface Figure 4...

Страница 8: ...d it is ready for a BOOTP IP request to come in for assignment Requests for assignment will appear in the upper window as they come in Figure 5 Setting IP mask Assignment in BOOTP Server 5 Now plug the cable from MetriNet into the PC Ethernet port turn on power to the MetriNet and wait for BOOTP to detect the request from the MetriNet for an IP address The upper Discovery History Window will show ...

Страница 9: ... PC port Do not launch BOOTP server this time as you don t need it During the 1 minute wait MetriNet will search for a BOOTP server on power up and won t find the service because it is not used here now and the MetriNet is also not connected to the PC It will then revert to the stored default the last successful BOOTP assignment Connect cable from MetriNet to the PC after that one minute You can n...

Страница 10: ...evel so the PC can still reach it with the settings made in step 1 If the PC is on 192 168 0 X then any assigned IP must be on the X level and don t place the MetriNet on the same IP as the PC During BOOTP server assignment if you place the MetriNet on a vastly different IP like 10 20 120 100 you must repeat step 1 before step 6 above to place the PC at something like 10 20 120 10 This can get tri...

Страница 11: ...eric Settings PLCs handle this Ethernet IP exchange in a wide variety of configurations and the basic configuration of a class 1 connection in every PLCs software is different but there should be a place to enter the following basic information Data Type INT or 16 Bit Input T O Assembly Instance 0x65 or 101 decimal Input T O Size 250 words 16 bit or 500 bytes 8 bit Output O T Assembly Instance 0x6...

Страница 12: ...ATI MetriNet Ethernet IP Communications Manual 12 O M Manual Rev A 6 19 Figure 8 Generic Module Input Output Settings Figure 9 Connection RPI Settings ...

Страница 13: ...t 0xF6 Ethernet Link Object These are all broken down below in sections below Identity Object 01HEX 1 Instance The following tables contain the attribute status and common services information for the Identity Object The Identity Object lists specific information on the actual product and the vendor Class Attributes Instance 0 Attribute ID Name Data Type Data Value Access Rule 1 Revision UINT 1 Ge...

Страница 14: ...data fields Class Attributes Instance 0 Attribute ID Name Data Type Data Value Access Rule 1 Revision UINT 2 Get 2 Max Instance UINT 0x66 102 decimal Get Input Instance Attributes Instance 101 Attribute ID Name Data Type Default Data Value Access Rule 3 Input Data VARIES 0 Get Input Instance Common Services Service Code Implemented for Service Name Class Level Instance Level 0EHEX Yes Yes Get_Attr...

Страница 15: ...U Sensor 7 Comm Err 7 NU Sensor 8 Comm Err 8 Active NU 9 New Config NU 10 NU NU 11 NU NU 12 NU NU 13 NU NU 14 NU NU 15 NU NU Sensor 1 MEASURE Bytes Data Type Description 20 23 DINT S1 Main Value 24 27 DINT S1 Units 28 31 DINT S1 Raw Value 32 35 DINT S1 Temperature 36 37 INT S1 Output Value 38 39 WORD S1 Status 1 40 41 WORD S1 Status 2 42 43 INT S2 ID Sensor 2 MEASURE Bytes Data Type Description 44...

Страница 16: ...ue 104 107 DINT S4 Temperature 108 109 INT S4 Output Value 110 111 WORD S4 Status 1 112 113 WORD S4 Status 2 114 115 INT S4 ID Sensor 5 MEASURE Bytes Data Type Description 116 119 DINT S5 Main Value 120 123 DINT S5 Units 124 127 DINT S5 Raw Value 128 131 DINT S5 Temperature 132 133 INT S5 Output Value 134 135 WORD S5 Status 1 136 137 WORD S5 Status 2 138 139 INT S5 ID Sensor 6 MEASURE Bytes Data T...

Страница 17: ...e3 206 207 WORD S8 Status 15 208 209 WORD S8 Status 25 210 211 INT S8 ID4 Notes on MEASURE data 1 Main Value Raw Value are Temperature are all 32 bit integers displayed with an implied fixed decimal point 0 000 resolution So 14 00 pH will show as 14000 which means 14 000 pH 2000 uS conductivity will show as 2000000 meaning 2000 000 uS 25C will show as 25000 meaning 25 000 2 Units are stored as pac...

Страница 18: ...FSET_HI 13 SENSOR_LOCK TC_UNSTABLE 14 NU NU 15 NU NU Sensor 1 INFO Bytes Data Type Description 212 213 INT S1 Slope 214 215 INT S1 Offset 216 217 INT S1 Delay 218 219 INT S1 Alarm A 220 221 INT S1 Alarm B 222 223 INT S1 Slope Alarm 224 225 INT S1 Timer Limit 226 227 INT S1 Vout HI 228 229 INT S1 Vout LO 230 231 INT S1 TC Mode 232 239 LWORD S1 Tag1 240 247 LWORD S1 Tag2 Sensor 2 INFO Bytes Data Typ...

Страница 19: ...ta Type Description 320 321 INT S4 Slope 322 323 INT S4 Offset 324 325 INT S4 Delay 326 327 INT S4 Alarm A 328 329 INT S4 Alarm B 330 331 INT S4 Slope Alarm 332 333 INT S4 Timer Limit 334 335 INT S4 Vout HI 336 337 INT S4 Vout LO 338 339 INT S4 TC Mode 340 347 LWORD S4 Tag1 348 355 LWORD S4 Tag2 Sensor 5 INFO Bytes Data Type Description 356 357 INT S5 Slope 358 359 INT S5 Offset 360 361 INT S5 Del...

Страница 20: ...ata Type Description 428 429 INT S7 Slope 430 431 INT S7 Offset 432 433 INT S7 Delay 434 435 INT S7 Alarm A 436 437 INT S7Alarm B 438 439 INT S7 Slope Alarm 440 441 INT S7 Timer Limit 442 443 INT S7 Vout HI 444 445 INT S7 Vout LO 446 447 INT S7 TC Mode 448 455 LWORD S7 Tag1 456 463 LWORD S7 Tag2 Sensor 8 INFO Bytes Data Type Description 464 465 INT S8 Slope 466 467 INT S8 Offset 468 469 INT S8 Del...

Страница 21: ...tual MetriNet While making changes digitally at the network level are possible these blind calibration attempts over the network are not recommended Network changes to the system ignore the typical sensor visual inspection process that occurs during typical calibration or adjustment For example sensors should always be removed inspected and then cleaned before calibration in solutions This is pret...

Страница 22: ...dle Code 1 2 3 UINT Sensor number 1 8 4 5 UINT Function Code 6 7 UINT Data Entry 8 9 UINT Lock Code Output Write to MetriNet Example Using Molex EIP Tool To change MetriNet delay setting in S1 to 2 0 send the following data in the EIP message Code 0x16 Set_Attribute_Single Class 0x04 Instance 0x66 102 Attribute 3 Data 01 00 01 00 13 A4 14 00 00 00 Where 00 01 1 Run Code is 1 always 00 01 1 Sensor ...

Страница 23: ...arm A sensor dependent 42005 42023 42041 42059 42077 42095 42113 42131 1 Alarm B sensor dependent 42006 42024 42042 42060 42078 42096 42114 42132 Slp Alarm 80 80 42007 42025 42043 42061 42079 42097 42115 42133 Tmr Limit 90 90 days 42008 42026 42044 42062 42080 42098 42116 42134 1 2 VoutHI sensor dependent 42009 42027 42045 42063 42081 42099 42117 42135 1 2 VoutLO sensor dependent 42010 42028 42046...

Страница 24: ...ry of 0x70 0x48 hex 70 48 you would store the characters pH TCP Object F5HEX 1 Instance The following tables contain the attribute and common services information for the TCP Object Class Attributes Instance 0 Attribute ID Name Data Type Data Value Access Rule 1 Revision UINT 1 Get TCP Instance Attributes Instance 1 Attribute ID Name Data Type Default Data Value Access Rule 1 Status1 DWORD 0x00010...

Страница 25: ...mmunications Manual 25 O M Manual Rev A 6 19 TCP Instance Common Services Service Code Implemented for Instance Level Class Level Instance Level 0EHEX Yes Yes Get_Attribute_Single Figure 12 TCP Object Query Example with EIP_Tool ...

Страница 26: ...Link Instance Attributes Attribute ID Name Data Type Default Data Value Access Rule 1 Interface Speed7 UDINT 0x00640000 Get 2 Interface Flags8 DWORD 0x000F0000 Get 3 Physical Address9 USINT Array 6 0x80009BA3D6BE Get Link Instance Common Services Service Code Implemented for Service Name Class Level Instance Level 0EHEX Yes Yes Get_Attribute_Single Figure 13 Ethernet Link Object Query Example with...

Страница 27: ...et IP RSLinx Classic is chosen here as its very common for Ethernet IP and it is the foundation communication driver component for RSLogix Studio 5000 In addition using the OPC server function allows all of this testing to be done without a PLC This all runs on a single computer with only the MetriNet connected to the PC Ethernet port So this test can also be used as a quick field test of Ethernet...

Страница 28: ...river Figure 14 RSLinx Classic Add the driver to the system You will need to select the active PC Ethernet port as part of the process It will immediately begin running Close this window Figure 15 Adding Ethernet IP Driver Connect MetriNet to the Ethernet port and you should quickly see the node appear under the drive that was just added ...

Страница 29: ...ice Properties will show the information from the node The node is active now Figure 16 New Node Added Successfully to Driver Application Close Properties pop up Now a Topic must be added to give the OPC server access to the node Select DDE OPC and then Add Topic Select node from below Ethernet IP driver on right and create new Topic called Q46 Figure 17 Creating DDE OPC Topic ...

Страница 30: ...topic Then select Done Figure 18 Processor Selection for PC based OPC Topic Minimize this RSlinx window now don t close it though and launch the Rockwell OPC Test Client utility which will start the OPC test server First via the menus connect server to RSLinx OPC server and add a simple Group called Test Set up an item next Figure 19 RSLinx OPC Test Client ...

Страница 31: ...e is run with one single S1 Q32C2 M Node attached so all other sensor data beyond it will be zero This is an array of 16 bit words The data is a string of bytes starting with the info structure Input Assembly Object which was shown on page 16 17 Here we will look only at the System info and then the info for S1 System Info Bytes Data Type Description 0 1 WORD Interface Status Flags 2 3 WORD System...

Страница 32: ... 38 39 WORD S1 Status 1 40 41 WORD S1 Status 2 42 43 INT S2 ID Parsing S1 Sensor MEASURE Data 2 Byte 20 21 S1 MainValue high byte 0x0002 15128 Byte 22 23 S1 MainValue low byte 0x3b18 8224 Byte 24 25 S1 Units high byte 0x2020 30035 Byte 26 27 S1 Units low bye 0x7553 0 Byte 28 29 S1 RawValue high byte 0x0000 0 Byte 30 31 S1 RawValue low byte 0x0000 0 Byte 32 33 S1 Temperature high byte 0x0000 14000 ...

Страница 33: ... improper storage or extended exposure to excessive gas concentrations Should inspection indicate that sensors have failed due to any of the above the warranty shall not apply The Manufacturer assumes no liability for consequential damages of any kind and the buyer by acceptance of this equipment will assume all liability for the consequences of its use or misuse by the Customer his employees or o...

Страница 34: ...ODUCTS NH3 Ammonia CO Carbon Monoxide H2 Hydrogen NO Nitric Oxide O2 Oxygen CO Cl2 Phosgene Br2 Bromine Cl2 Chlorine ClO2 Chlorine Dioxide F2 Fluorine I2 Iodine HX Acid Gases C2H4O Ethylene Oxide C2H6O Alcohol O3 Ozone CH4 Methane Combustible Gas H2O2 Hydrogen Peroxide HCl Hydrogen Chloride HCN Hydrogen Cyanide HF Hydrogen Fluoride H2S Hydrogen Sulfide NO2 Nitrogen Dioxide NOx Oxides of Nitrogen S...

Отзывы: