background image

 

Remote Automation Solutions

 

Part Number D301709X012 

October 2019 

 

 

IEC 62591 Wireless Interface Instruction 
Manual (for ControlWave

®

 Micro) 

 

 

 

 

 

 

Summary of Contents for D301709X012

Page 1: ...Remote Automation Solutions Part Number D301709X012 October 2019 IEC 62591 Wireless Interface Instruction Manual for ControlWave Micro ...

Page 2: ...ur investment Remote Automation Solutions offers a variety of ways for your personnel to acquire essential system expertise Our full time professional instructors can conduct classroom training at several of our corporate offices at your site or even at your regional Emerson office You can also receive the same quality training via our live interactive Emerson Virtual Classroom and save on travel ...

Page 3: ...w 3 2 3 1 1 Configuring Devices and Planning the Network 3 2 3 1 2 Network ID and Join Key 3 3 3 1 3 Rosemount THUM Adapter 3 3 3 1 4 Active List and Commission List 3 4 3 2 IEC 62591 Sample Program s 3 4 3 2 1 Before You Begin 3 5 3 2 2 Accessing the IEC 62591 Sample Program s 3 5 3 2 3 Modifying the IEC62591_STRUCTS Datatypes Worksheet 3 7 ACTIVE_DEVICES_ARRAY_V1_20 datatype 3 8 ACTIVE_DEVICES_A...

Page 4: ...istics 3 20 3 6 Upgrading Firmware in the IEC 62591 Wireless Interface Module 3 20 Chapter 4 Troubleshooting 4 1 4 1 Troubleshooting Guidelines 4 1 4 2 Common Troubleshooting Techniques 4 2 4 2 1 Identify which Components of the System Are Working 4 2 4 2 2 Basic Items to Check for Hardware 4 3 4 2 3 Checking Error Status Codes in the Standard IEC 62591 Application 4 3 4 3 Troubleshooting Checklis...

Page 5: ... zip file as this manual for a complete listing of all components Source code is available upon request You may obtain a copy of this source code by contacting Remote Automation Solutions Technical Support Overview The International Electrotechnical Commission s 62591 standard commonly called WirelessHART is a global IEC approved standard that specifies an interoperable self organizing mesh techno...

Page 6: ...he IEC 62591 Wireless Interface modules installing the Field Link and wiring the Field Link to the module Chapter 3 Configuring and Commissioning Provides information on using ControlWave Designer to configure and commission the Wireless Interface Chapter 4 Troubleshooting Provides general troubleshooting tips 1 2 Hardware The IEC 62591 Wireless Interface has two basic components the IEC 62591 Wir...

Page 7: ...stem Note For information on installing modules in the ControlWave Micro refer to the ControlWave Micro Instruction Manual part D301392X012 USB Port The module s USB port supports firmware upgrades and provides debug information for product support 1 2 2 Emerson Wireless 781 Field Link The second component in the Wireless Interface is the Field Link see Figure 1 3 You install the field link away f...

Page 8: ...reless Interface Module is designed to return the process and dynamic variables PV SV TV QV slot 0 1 2 3 from any device which meets the IEC 62591 specification HCF_SPEC 285 Revisions 2 0 Review the product data sheet ControlWave Micro IEC 62591 D301714X012 available on our website to see a current list of the devices which Emerson has tested and supports with the interface If you have a WirelessH...

Page 9: ...semount 928 transmitter use a hand held field communicator the AMS Device Manager the AMS Wireless Configurator or any WirelessHART communicator For remote configuration use the AMS Device Manager the AMS Wireless Configurator or the Smart Wireless Gateway Refer to Chapter 3 Configuring and Commissioning for specific instructions 1 4 Additional Technical Information Refer to the following document...

Page 10: ...IEC 62591 Wireless Interface Instruction Manual for ControlWave Micro 1 6 General Information Revised October 2019 This page is intentionally left blank ...

Page 11: ...ter 3 Configuring and Commissioning 2 1 Installing the IEC 62591 Module You install the IEC 62591 Wireless Interface module in the ControlWave Micro as you would any other module However you can install only one IEC 62591 module Notes Only ControlWave Micro s with 05 50 or newer system firmware support the IEC 62591 module Version 5 70 or newer system firmware is required for discrete control Vers...

Page 12: ...ess I O devices and the network of wireless field devices Find a location where the Field Link has optimal wireless performance Ideally this is 4 6 to 7 6 m 15 25 ft above the ground or 2 m 6 ft above obstructions or major infrastructures See Figure 2 1 Figure 2 1 Mounting the Field Link 2 2 2 Positioning the Antenna Position the antenna vertically either straight up or straight down approximately...

Page 13: ... of Figure 2 3 2 Insert the smaller U bolt around the base of the Field Link and through the L shaped bracket 3 Use a in socket head wrench to fasten the nuts to the U bolt Figure 2 3 Field Link Mounting 2 3 Wiring the Module and Field Link This section assumes you have already installed the IEC 62591 module in the ControlWave Micro and installed the Field Link in its permanent field location Comm...

Page 14: ...nal and the negative power lead to the power terminal 4 Connect the data lead to the A terminal and the data lead to the B terminal see Figure 2 4 5 Plug and seal any unused conduit connectors 6 Replace the housing cover A Data A B Data B C Return D 10 5 to 30 Vdc Figure 2 4 Field Link Power and Data Wiring 2 3 2 Wiring the IEC 62591 Module Figure 2 5 provides a wiring diagram for the IEC 62591 mo...

Page 15: ... Micro Revised October 2019 Installation 2 5 Table 2 1 RS 485 Cable Connections Field Link IEC 62591 Module A A B B POWER GND POWER PWR B POWER 18 AWG 2 Twisted Shielded Pairs Cable Twisted Pair 1 Twisted Pair 2 A B Figure 2 5 IEC 62591 Module Power and Data Wiring ...

Page 16: ...ss network A long tag name which is unique in the wireless network A Network ID must be the same for every device in the wireless network A Join Key must be same for every device in the wireless network Caution Configure all devices belonging to a site to use the same Network ID and join key To avoid network errors configure all devices in adjacent networks to use a different Network ID and join k...

Page 17: ...and turn the communicator on From the Main Menu double tap HART Application 2 When the HART application detects the device you want to configure double tap on it 3 From the Online Menu double tap Configure Online 4 From the Configure Menu double tap Manual Setup Configure 375 Main Menu HART Applicationnnnnnnnnnnnnnnnnnnn FOUNDATION Fieldbus Application Settings Listen For PC ScratchPad HART Applic...

Page 18: ... Information menu then choose Long Tag to set the long tag using the on screen keypad Device Information 8 When you re finished with your configuration tap SAVE and choose to save the changes to the Internal Flash memory of the device and tap SAVE again Save as 1 Wirelessnnnn nnnnnnnnnnnnnnnnnnnn 2 Process Sensor 3 Percent of Range 4 Device Temperatures 5 Device Information 6 Device Display 7 Othe...

Page 19: ...o Revised October 2019 Installation 2 9 2 5 Preparing for Configuration and Commissioning Once you have completed the wiring between the Field Link and the ControlWave Micro re attach the plastic bezel covers and apply power to the ControlWave Micro Proceed to Chapter 3 ...

Page 20: ...IEC 62591 Wireless Interface Instruction Manual for ControlWave Micro 2 10 Installation Revised October 2019 This page is intentionally left blank ...

Page 21: ...Specifying the Network ID and Slot Number 3 15 3 2 10 Configuring the Statistics List OPTIONAL 3 15 3 2 11 Generating Alarms Based on IEC62591 Function Block Status OPTIONAL 3 16 3 2 12 Additional Programming Notes 3 17 3 3 Commissioning Wireless Devices 3 17 3 3 1 Active Advertising 3 18 3 4 Decommissioning or Replacing Wireless Devices 3 18 3 5 WirelessHART Data Access and Statistics 3 19 3 5 1 ...

Page 22: ...r of wireless devices a Field Link and an IEC 62591 module installed in a ControlWave Micro The IEC 62591 module can communicate with a maximum of 100 wireless devices the actual number allowed for a given application varies depending upon the burst rate An eight second burst rate allows the full number of 100 devices a faster burst rate say one second reduces the number of devices allowed For the...

Page 23: ...ortant restriction in planning networks is to know that a network can have only one Network ID one Join Key one Field Link and one controller a ControlWave Micro supporting up to 100 devices 3 1 2 Network ID and Join Key A five character Network ID defines one logical grouping of WirelessHART devices all of which send their information to one Field Link You define a device s Network ID when you fi...

Page 24: ...m compares tag names for devices in the Active List to another structure called the Commission List If a device in the Active List has a matching tag name in the Commission List and its associated decommission flag is FALSE the program stores configuration and process variable data for the device in the Commission List The device is then considered to be commissioned as an active device in the net...

Page 25: ...se features available in the 5 70 firmware earlier ControlWave projects must replace the COMMISSION_ARRAY and COMMISSION_POINT structure data types with the COMMISSION_ARRAY_DISCRETE and COMMISSION_POINT_DISCRETE structure data types and then re compile the projects These discrete data type definitions are available in the ACCOL3 Online Help for the IEC62591 function block in 5 70 or in the IEC625...

Page 26: ...2591_DIO_Example zwt Addition of support for discrete control Use with CW Micro firmware 5 70 or newer IEC62591_Example zwt Original version of IEC 62591 sample project Use with CW Micro firmware 5 60 or earlier Notes The structures and names shown in the following sections are representative of the original IEC 62591_Example zwt project subsequent sample projects may have variations in names but ...

Page 27: ...an collect with DataView Harvester or other software The Act_List function block definition is in this worksheet It copies data from the Active List to a LIST that you can collect with DataView or other software The Clist program definition is in this worksheet It initializes the Commission List You must edit this program For each device you must enter tag names and set the decommission flag FALSE...

Page 28: ... the network This number should match the value of the ACTIVE_LIST_SIZE variable in the Global_Variables sheet TYPE ACTIVE_DEVICES_ARRAY_V1_20 ARRAY 1 OF ACTIVE_POINT_V1_20 END_TYPE ACTIVE_DEVICES_ARRAY datatype The ACTIVE_DEVICES_ARRAY datatype defines an array of active points that make up the Active List structure The Active List maintains identification information on each wireless device disc...

Page 29: ...mission List that has a matching tag name to a device in the Active List meaning it was detected by the Field Link and its decommission flag is FALSE the Commission List also stores configuration information and actual process variable data Specify the commission array size to be equal to the maximum number of commissioned devices you expect to exist in the network This number should match the val...

Page 30: ...n array to a LIST structure that can be collected by an external program such as DataView As written in the original IEC62591_Example zwt project the DevData function block copies the following ten items from the COMMISSION_ARRAY Item Description TagName The unique long tag name assigned to the device up to 32 characters bActive A flag which indicates communication with the device PV Primary proce...

Page 31: ...List inputDevNum odiSerialNumber iiSelect 10 iiOutlist inputListNum demuxStat DEMUX_10 odiStatus Now instead of the slot3var value the device serial number is copied Another possible modification you could make if you wanted to copy more than ten items would be to use a larger size LIST definition say LIST30 or LIST100 Remember that if you do this you must define the destination list to be the sam...

Page 32: ...ple that you needed to allow up to 50 devices in the active list ControlWave Designer supports LIST010 LIST020 LIST030 LIST050 and LIST100 function blocks The easiest way to accommodate 50 devices is to replace the LIST020 function block with a single LIST100 function block In the code below we don t show devices 11 through 45 for space reasons LIST100_1 iiListNumber inputListNum ianyElement1 Tag_...

Page 33: ...locks To do this you just use the same iiListNumber parameter for each that connects the two to allow for a 200 element list 3 2 7 Configuring the Commission List When the Field Link detects a wireless device that can be included in the network it adds information about that device to the Active List Process data from the device is only collected if it has a matching tag name in the Commission Lis...

Page 34: ...ong tag name for each iostrTagName and specify FALSE for the ibDecommission flag for each device you want to commission Specify TRUE for the ibDecommission flag only if you don t want to commission the device for example if it s not ready to be added to your system yet In the code below devices DEV_0001 DEV_0002 DEV_0003 and DEV_0004 all have their ibDecommission flag set to FALSE so they all can ...

Page 35: ...inKey variable strJoinKey 12345678 00000000 00000000 00000000 3 2 9 Specifying the Network ID and Slot Number The wireless network of devices detected by the Field Link has a Network ID You must specify the Network ID in the IEC62591_NETID variable in the WirelessV worksheet of your ControlWave project In the same worksheet you use the IEC62591_SLOT variable to specify the slot number of the Contr...

Page 36: ...vd IEC62591 Interface reset APM transmitted ianyElement15 swflTunnelMsgsXmtd IEC62591 Interface Tunnel messages transmitted ianyElement16 swflTunnelMsgsRcvd IEC62591 Interface Tunnel messages received ianyElement17 swflOtherHARTMsgsXmtd IEC62591 Interface other HART messages transmitted ianyElement18 swflOtherHARTMsgsRcvd IEC62591 Interface other HART messages received ianyElement19 swflRadioMsgsX...

Page 37: ...et definitions and includes the actual IEC62591 function block Both these program POUs reside within a CYCLIC task called WirLess Figure 3 4 CYCLIC Task Running Wireless Program Note The Wirless task in the example program executes once per second to ensure processing of data from the wireless network Do not change the task Interval setting from 1000 ms 1 second Once programming is complete compil...

Page 38: ...to keep radios active for a longer period of time to facilitate quicker detection of new or replaced wireless devices Because leaving radios on consumes power active advertising is only used under certain conditions When the IEC 62591 module is first powered on or is restarted after being powered off it automatically remains in active advertising mode for a period of time to detect wireless device...

Page 39: ...configured to return the Universal and Common HART parameters including Long Tag User Defined Message User Defined Descriptor Extended Device Type Device ID Manufacturer ID Device Serial Number Adapter Type THUM s Expanded Device Type Adapter ID THUM s Device ID PV SV TV and QV Variable Units Slot 0 1 2 and 3 Variable Units PV SV TV and QV Variable Value Slot 0 1 2 and 3 Variable Value Primary Var...

Page 40: ...y value SV tertiary value TV and quaternary value QV vary depending on the type of wireless device For some devices the primary value might be battery voltage whereas for a different device it might be the loop current 3 5 2 WirelessHART Communication Statistics Detailed communication statistics are accumulated for the wireless network and optionally stored in the Statistics List see Section 3 2 1...

Page 41: ...eration change the value of the ioaiMode parameter to 2 to start the firmware download 5 Monitor the odiStatus parameter on the IEC62591 function block While the download progresses status code 51005 is reported When the download completes the success code of 51006 appears momentarily then 0 appears which means the firmware upgrade is complete The upgrade takes approximately five minutes ...

Page 42: ...IEC 62591 Wireless Interface Instruction Manual for ControlWave Micro 3 22 Configuration and Commissioning Revised October 2019 This page is intentionally left blank ...

Page 43: ...e Troubleshooting Checklist at the end of this chapter If something worked previously but now has stopped working did you change something If for example you change the application running in the ControlWave Micro and re download it and now it stopped working it s possible that the change you made to the application might have caused a problem Adopt a systematic approach Don t try to solve the pro...

Page 44: ...have to call for technical assistance The remainder of this section includes Trouble Shooting Techniques Trouble Shooting Checklist 4 2 Common Troubleshooting Techniques 4 2 1 Identify which Components of the System Are Working The wireless interface has several different pieces of hardware and software A failure in any one of them can cause problems so you should consider all the different pieces...

Page 45: ...For information on what the LEDs mean see the ControlWave Micro instruction manual part D301392X012 Check for indications on the Smart Wireless Field Link See its accompanying documentation for details 4 2 3 Checking Error Status Codes in the Standard IEC 62591 Application Note This procedure assumes that You have ControlWave Designer installed on the PC laptop You are running the standard IEC 625...

Page 46: ...BSI Projects area and open the file IEC62591_Example mwt When you open the project you can see the project tree See Figure 4 2 4 Click Online Debug 5 Double click on the wireless program worksheet 6 Scroll down through the worksheet until you see the IEC 62591 function block You ll notice that in Debug Mode a column of live values sits to the left of the program statements these are the actual par...

Page 47: ...rent name then the name will be different but the parameter is the same 8 Look at the value in the live value column for the odiStatus parameter for the example in Figure 4 3 the value is 51012 Because it s negative that means it s an error and we need to find out what 51012 means 9 To find out what the error means go to the project tree and right click on the ACCOL3 library icon and choose Help o...

Page 48: ...C62591 help topic until you find the odisStatus description click on the status code link to bring up a list of status codes You may want to print out this list for reference as you re troubleshooting Figure 4 6 Status Code Link 12 Find the code you re looking for in this example 51012 and you ll see what the error means For 51012 the error says Figure 4 7 Example of Error Message That means the I...

Page 49: ...o verify that your devices have been tested with the interface Did you assign a unique Long Tag Name to each wireless device and specify the exact same long tag names in the IEC 62591 application running in the ControlWave Micro If not use Field Tools AMS Device Configurator software or a 375 475 Field Communicator to set the long tag name in the device and use ControlWave Designer to set the long...

Page 50: ...e ControlWave Micro PSSM module If so consult the ControlWave Micro instruction manual for more information Did you check for error status codes in the IEC 62591 application If not follow the instructions in Section 4 2 3 4 4 Best Practices While the IEC62591 function block makes device data available to the application and SCADA it does not take independent action unless the application is design...

Page 51: ...r process variables are slow this can occur if the IEC 62591 device cannot process a data request fast enough If this happens it generates a delayed response message and the RTU re requests the data To see if you are receiving delayed response messages look for a 9 Delayed Response Received status on the ousDevCommishStatus parameter of the Commission List entry ...

Page 52: ...IEC 62591 Wireless Interface Instruction Manual for ControlWave Micro 4 10 Troubleshooting Revised October 2019 This page is intentionally left blank ...

Page 53: ...organization that oversees the AGA3 orifice AGA5 heating value AGA7 turbine AGA8 compressibility AGA9 Ultrasonic and AGA11 Coriolis gas flow calculation standards See http www aga org AWG American Wire Gauge AI Analog Input AO Analog Output Analog Analog data is represented by a continuous variable such as an electrical current signal AP Absolute Pressure API American Petroleum Institute See http ...

Page 54: ...ressure DSR Data Set Ready modem communications signal DTE Data Terminal Equipment DTR Data Terminal Ready modem communications signal Duty Cycle Proportion of time during a cycle that a device is activated A short duty cycle conserves power for I O channels radios and so on E EEPROM Electrically Erasable Programmable Read Only Memory a form of permanent memory EFM Electronic Flow Metering or Meas...

Page 55: ...which field devices form wireless networks that dynamically mitigate obstacles in the process environment This architecture creates a cost effective automation alternative that does not require wiring and other supporting infrastructure IEC 62591 Module A hardware module that resides in a ControlWave Micro controller s I O slot to support communication with a Smart Wireless Field Link and WiHART n...

Page 56: ...or 0 001 watt N NaN Not a Number This refers to a value which cannot be expressed as a number such as a division by zero error condition NEC National Electrical Code Network ID An identifying number for the wireless network During transmitter setup you assign the same Network ID to every device in the network typically using a Field Communicator or PC based AMS Device Manager software When you con...

Page 57: ... data collection where data is only reported when a value change occurs RFI Radio Frequency Interference ROM Read only memory Typically used to store firmware RTC Real Time Clock RTD Resistance Temperature Detector RTS Ready to Send modem communications signal RTU Remote Terminal Unit This is commonly used to refer to a process controller such as a ControlWave or ControlWave Micro RS 232 Serial Co...

Page 58: ...ed up by a lithium battery T TCP IP Transmission Control Protocol Internet Protocol Tf Flowing temperature TX or TXD Transmitted Data communications signal Turbine meter A device used to measure flow rate and other parameters U Upload Send data a file or a program from the RTU to a PC or other host USB Universal Serial Bus a serial bus standard used to connect devices V V Volts W Z WiHART Wireless...

Page 59: ...IEC 62591 Wireless Interface Instruction Manual for ControlWave Micro Revised October 2019 Glossary A 7 This page is intentionally left blank ...

Page 60: ...cribed or their use or applicability Remote Automation Solutions RAS reserves the right to modify or improve the designs or specifications of its products at any time without notice All sales are governed by RAS terms and conditions which are available upon request RAS accepts no responsibility for proper selection use or maintenance of any product which remains solely with the purchaser and or en...

Reviews: