Metasphere MM-IM User Manual

Remote telemetry unit

Advertisement

Quick Links

MM-IM
Remote Telemetry Unit
User Guide

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MM-IM and is the answer not in the manual?

Questions and answers

Summary of Contents for Metasphere MM-IM

  • Page 1 MM-IM Remote Telemetry Unit User Guide...
  • Page 3 Permission is, however, not required to copy sections on conditions that a full reference to the source is shown. Published by Metasphere Ltd, Millfield, Dorking Road, Tadworth, Surrey KT20 7TD. Master Control MM-IM User Guide, Issue 9.0 ©...
  • Page 4: Table Of Contents

    Fieldbus Configuration .................... 17 Modbus ........................18 Ethernet/IP ......................21 Sequence Monitoring ....................23 Configuration ....................25 Configuring the MM-IM with the Straton-Medina Enhancements ....... 25 Outstation Parameters ..................... 26 DF1 Configuration ....................27 DSM Configuration ....................29 IP Configuration ...................... 32 Modem Configuration ....................
  • Page 5 Straton Debugging .................... 54 Dynamic Configuration and Reporting ............... 56 General ........................56 Dialout Test ......................56 Configuring Master Control for a MM-IM ............58 Creating a configuration ..................58 Creating points ....................... 59 Installing the MM-IM ..................61 General installation guidelines ................. 61 Safety precautions ....................
  • Page 6 MM-IM User Guide Dsm.cfg ........................79 pulse.dat ......................... 79 Scale.dat ......................... 79 T5.cod ........................80 Technical details ....................81 Standards and approvals ................... 83 Further information ................... 84 Index ........................ 84...
  • Page 7: About This Manual

    MM-IM User Guide About this manual This manual explains how to install, configure and program the Micro Medina Intelligent Modem RTU. It is assumed that the reader has a basic understanding of telemetry, Remote Telemetry Units and configuration of central telemetry systems. The reader may from time to time need to make reference to other manuals in the Master Control set.
  • Page 8: Other Master Control Manuals

    MM-IM User Guide Other Master Control manuals Master Control Getting Started Provides an overview of Master Control: its structure and uses, appearance and terminology. There are basic instructions for using its graphical displays and for navigating the menu structure. Master Control User Guide Instructions for general users of Master Control: how to create and use Summaries and Reports, Trends, Alarms and Events and use additional Commands.
  • Page 9: The Mm-Im

    Additional features such as the provision of independent lower and upper alarm thresholds and time deadbands can be used to reduce the false alarm rate. The MM-IM has been designed to take advantage of mainstream PC technology to reduce costs and allow for easy expansion.
  • Page 10: Points

    Real - Values measured by the RTU at the inputs or Values at the outputs. ■ Derived - Values calculated by the MM-IM internally or used to store data collected from ■ sources other than real I/O (e.g. data from slave RTU’s using the Data Sharing Manager (DSM)).
  • Page 11 MM-IM User Guide Analogue Inputs Each real analogue point value can be subjected to zero threshold checking that can modify the value. If the value falls below a configurable zero threshold, then the point is considered to have reached its minimum value. The value is then set to the configured zero value.
  • Page 12: Historic Data

    MM-IM User Guide Historic Data The MM-IM will store (trend) points in its memory, providing a history of the site which can be read out remotely by Master Control. Any real or derived analogue input or pulse counter point may be trended. For analogue values, the firmware supports trending of: Current values: the point value at the time the data is written to memory.
  • Page 13 Remember, without this mechanism for pre-empting the poll schedule, it could be hours or even days before the next scheduled poll goes out to the MM-IM – too long to wait if an alarm condition has occurred.
  • Page 14 Now all measured analogue signals will exhibit minor variations about a nominal value. This means that as an analogue value approaches one of the setpoints the MM-IM is likely to see a very large number of duplicate alerts being raised and cleared as the value fluctuates about the setpoint level.
  • Page 15 MM-IM User Guide Alert Level Deadband Hi setpoint t2 t3 Hi Alert: Raised at t = t1 Cleared at t = t3 Figure 2: Alert Level Deadband Example With just time deadband values in place, the current value must now equal or exceed the setpoint value continuously for at least the configured alert time deadband value before the alert is actually raised.
  • Page 16 MM-IM User Guide Alert Level Deadband Hi setpoint Alert Time Deadband Hi Alert: Raised at t = t2 Cleared at t = t3 Figure 4: Alert Level and Time Deadband Example Each AI is independently configurable and has its own HiHi, Hi, Lo and LoLo setpoints and its own level and time deadband values.
  • Page 17: Straton

    Ethernet/IP drivers. Tutorials and help are provided with Straton, so only Medina MM-IM specific issues will be covered in this section The Medina MM-IM makes use of a set of extensions to Straton that must be present in the installation. They are distributed with each Medina MM-IM firmware release, or are available on request.
  • Page 18: Modbus

    Then click the Insert Configuration icon from the top left corner of the IO Driver pane to add a filed bus driver. Modbus To add a Modbus master configuration to the MM-IM, select MODBUS Master protocol from the Add Configuration window. Then right click on the Modbus Master and select “Insert Master/Port”.
  • Page 19 MM-IM User Guide You can choose either Modbus on Ethernet, or Serial Modbus-RTU. The format of the “Com port” string must be in lower case as shown in the example below. It comprises: <COM port>, <Baud rate>, <parity>, <Data bits>, <Stop bits>...
  • Page 20 MM-IM User Guide Note: For more information on configuring Modbus, please see the Straton help file.  The item selected in the “MODBUS Request” section in the above diagram (Read Input Bits, Read Coil Bits, Write Coil Bits etc.) determines the address that will be added on to the “Base address”...
  • Page 21: Ethernet/Ip

    Four different Ethernet/IP configurations are supported, these are: Ethernet/IP Adapter (server) This is used to configure the MM-IM as an Ethernet/IP IO device, to provide data to an Ethernet/IP scanner. IO data is usually grouped into input and output assemblies and read by the scanner at a periodic interval (set by the scanner).
  • Page 22 N.B. Instance and Class values for input and output assemblies and vendor specific objects should always be in the range 100 to 199. Ethernet/IP Tag Client This is used to configure the MM-IM to read or write tags in a Rockwell Logix5000 series PLC using Ethernet/IP. Ethernet/IP Flex & Point IO...
  • Page 23: Sequence Monitoring

    MM-IM User Guide Further details for the configuring the Ethernet/IP driver can be found in the Straton help files. Sequence Monitoring Timing of the Straton application is monitored and if each cycle starts to take longer, then the Sequence Running Halted error bit will be set.
  • Page 24 MM-IM User Guide maximum allowed cycle time. The MM-IM will still learn the expected cycle time, but by using a suitable value in the CFG_SWG_LIMIT point, Sequence Running halted errors can be overridden. The common use for this is within applications that have some processing that takes longer only some of the time.
  • Page 25: Configuration

    MM-IM User Guide Configuration The MM-IM configuration can be done in one of two ways — either with or without the Straton-Medina enhancements. With the Straton-Medina enhancements, the entire configuration and file download can be done within Straton. Without the enhancements, both Straton and MicroMC are required.
  • Page 26: Outstation Parameters

    Click on the toolbar icon shown below or use the “File / Open / Fieldbus Configuration” command from the menu. The “MEDINA Configuration – Outstation” view will be present. In this screen, you define each of the Com port settings, along with other general settings for the MM-IM.
  • Page 27: Df1 Configuration

    Select this box to record over the oldest data if the Recording memory becomes full. Web server enabled Select this to enable the Web server on the MM-IM (See the “Web Server” section). Broadcast enabled Select this if the serial port is used to pass polls to a remote RTU so that the broadcast time poll is forwarded.
  • Page 28 MM-IM User Guide You must now define the details of the PLC you are connecting to, by clicking on this icon or right-clicking on the “MEDINA DF1 Configuration” and choosing “Insert Master/Port”: In here, select the serial port connected to the PLC, the PLC Node address, and a status word.
  • Page 29: Dsm Configuration

    MM-IM User Guide Parameter Description Type Type of point – Analogue inputs/outputs, Digital inputs/outputs or counters. Starting Point The point number of the first point to be retrieved. E.g. Number if “Analogue inputs” is chosen with a starting point of 16, the first word in the polling block will be stored in AI16.
  • Page 30 Data Sharing is being performed with the remote outstation as well. As standard the MM-IM has COM1 to COM4, however up to 4 additional ports can be added using USB adaptors. See USB Serial Adapters for details.
  • Page 31 MM-IM User Guide Defining groups of exchanged points After defining a remote outstation a new group of exchanged points needs to be created. This can be done by clicking on the "Insert Slave / Data Block" icon or right clicking on the remote outstation and selecting the "Insert Slave / Data Block"...
  • Page 32: Ip Configuration

    IP Configuration If you wish to enable the MM-IM for IP communication, you need to insert the “MEDINA IP Configuration”. In here, you can configure the IP address and subnet mask of both of the on-board Ethernet adaptors.
  • Page 33: Modem Configuration

    MM-IM User Guide Note: Where an MM-IM is configured with both IP and a modem, it will contact the  master dependant on the Test Frequency as detailed in the Dynamic Configuration and Reporting section. By default it will always try IP first to contact Master Control, followed by the modem if IP fails.
  • Page 34: Lsi Configuration

    Medina RTU’s configured as LSI slaves, or from proprietary Medina Bus Master modules. The MM-IM scans the selected serial port when it starts up, to detect any connected slave devices and automatically begins polling. After each polling cycle, it checks for the presence of a new slave device that hasn’t yet been found, in order to achieve “plug and...
  • Page 35 For integrated inputs, the “size” option can be used to specify a rollover value for the input. This way, the MM-IM works out the increment each time an integrated input changes, and can detect when it rolls over to zero, making use of the full range of the MM-IM’s counter inputs.
  • Page 36 MM-IM User Guide When the DF1 input rolls over to zero, the MM-IM’s integrated value will increase to 32,768, and continue increasing following further roll-overs. Note: This means that the integrated value presented to the DG will often be different ...
  • Page 37: Downloading An Mm-Im Configuration

    “Communication” section of this window will be set to the current connection settings for the Straton Workbench. You can select either to connect over IP or serial. For IP, enter the IP address of the MM-IM. For serial, select the serial port of your PC and the baud rate. Then click “Query RTU”.
  • Page 38: Configuring The Mm-Im Without The Straton-Medina Enhancements

    Metasphere website at http://www.metasphere.co.uk You can also download an installable version of MicroMC from the Metasphere website. When you start MicroMC, a login box is displayed. Enter a valid username and password (both case sensitive) and click OK.
  • Page 39: Creating An Mm-Im Configuration

    OK. In the box that is displayed, enter a name and telemetry address for the RTU. Select “MMIM” for the hardware type. The MM-IM configuration revolves around a main screen as shown below. This is accessed by selecting “Configure” and “Configuration” from the main menu.
  • Page 40: Serial Ports

    MM-IM’s group address and if the RTU address does not match the MM-IM’s RTU address or the address of one of the Remote RTU’s.
  • Page 41: Phone Numbers

    This is the delay after the MM-IM is switched on before it will try to contact Master Control using the phone numbers or IP addresses defined in the configuration.
  • Page 42: Memory

    Allocate a percentage to each type of memory. Remote RTU This screen is used to set up any specific remote RTU’s that are connected to the MM-IM, so that polls from the Master Control system can be forwarded over the correct serial port.
  • Page 43: Ip Address

    Note: The “RTU” field is obsolete so it does not matter what is selected  (MM3/MM4A/MM4M etc). IP Address If you wish to use IP communications between the MM-IM and Master Control, use this screen to configure the IP address.
  • Page 44: Ip Dial Out

    Enter a valid IP address, subnet mask and gateway address. The PCMCIA adaptor refers to the second on-board Ethernet port You can change the port number that the MM-IM listens on for incoming connections from Master Control. All Medina RTU’s on a Master Control system will listen on the same port.
  • Page 45: Lsi

    Enter the IP addresses and port numbers of the Master Control servers (DGs). Tick “Default Dial Out” to make this address the first one the MM-IM tries. Note: Where an MM-IM is configured with both IP and a modem, it will always try IP ...
  • Page 46: Df1

    MM-IM User Guide Tick “Use Local Slave Interface” to activate the MM-IM’s LSI driver. Select a COM port that was set up for LSI in the “serial ports” screen. The slave failure points provide digital inputs that indicate the state of the LSI slave devices.
  • Page 47 MM-IM User Guide Allocate the device a serial port that has been set up to connect to “DF1 Slave” in the “Serial Ports” screen. Enter the Node Address of the DF1 Slave. An optional analogue input can be configured as the DF1 Status Word. This is an analogue value that indicates the health of the link to the DF1 device.
  • Page 48: Ethernet/Ip

    All points read or written by the DG are processed directly from the MM-IM’s point database. In order to enable the mapping of points between Straton and the MM-IM, a profile needs to be added to the Straton “Libraries” (this only needs to be done once).
  • Page 49 Then choose “Save Library” from the “File” menu and then exit. For each variable in Straton that you wish to map to the MM-IM, it needs to be assigned to the “mm4” profile. This is done in the properties of each point.
  • Page 50 For MM-IMs running firmware versions earlier than V6.0C5122 , any analogue values which are written in to Straton will be scaled if the MM-IM has received scaling factors for those points. Scaling factors for all “onscan” analogue points configured on the DG are...
  • Page 51: Downloading An Mm-Im Configuration

    For firmware V6.0C5122 and later, the raw value of the point will always be used in the Straton program. Downloading an MM-IM configuration Once you’ve made your changes to the MicroMC and Straton configurations, the configuration file can be generated by selecting “Generate” or “OK” on the main configuration screen in MicroMC.
  • Page 52 255.255.255.0. For RTU that has been configured for earlier firmware versions the default Medina communication. The default IP address of the MM-IM is port configured on an MM-IM is 158.234.17.166 with subnet mask COM1, at 9600 baud 255.255.248.0.
  • Page 53 MM-IM User Guide After querying the RTU, you can download the PAK file. Click back on to the “File Download” window or select “Configure” and “File Download” from the menu and click start. The execute timeout is the time MicroMC waits after downloading the PAK file before querying the RTU and setting the RTU time.
  • Page 54: Straton Debugging

    It is possible to debug a Straton program by going “online” with the MM-IM. This can only be done over an IP connection, so you must know the IP address of the MM-IM. Once you have downloaded the configuration (including Straton program), you can connect to the device from within Straton.
  • Page 55 MM-IM User Guide...
  • Page 56: Dynamic Configuration And Reporting

    This allows each connection to be tested at a suitable rate. The testing relies on the MM-IM needing to dialout to the master (it is irrelevant for an outstation that is only ever contacted by the master). The values relate to the interval at which each particular connection is tested, based on the number of attempted connections.
  • Page 57 CFG_TEST_FREQ_PSTN_2 REAL MEDINA_AI CFG_TEST_FREQ_PSTN_3 REAL MEDINA_AI CFG_TEST_FREQ_PSTN_4 REAL MEDINA_AI CFG_TEST_FREQ_PSTN_5 REAL MEDINA_AI CFG_TEST_FREQ_PSTN_6 REAL MEDINA_AI CFG_TEST_FREQ_PSTN_7 REAL MEDINA_AI Name Straton Type Embed Profile RES_LAST_DIAL_IN_CONN REAL MEDINA_AO Dial in It is named from the perspective of the master, not the MM-IM...
  • Page 58: Configuring Master Control For A Mm-Im

    MM-IM User Guide Configuring Master Control for a MM-IM Before using the MM-IM, you must configure Master Control with information about the RTU so that the device is recognised and data communications will take place as required. Creating a configuration Configuration of any RTU on Master Control is performed by DBE, the DataBase Editor.
  • Page 59: Creating Points

    The type is “MEDINA4” – The MM-IM communicates using the Medina protocol with ■ enhanced features for the MM4 family of RTU’s. The PSTN type must match the modem connected to the MM-IM (or a compatible variant – ■ e.g. V34/V22bis will work with the MM-IM’s internal V92 modem).
  • Page 60 MM-IM User Guide...
  • Page 61: Installing The Mm-Im

    1. You should fuse the battery to charger connection in the positive rail to protect against short circuit or over current damage. 2. A 4A quick blow fuse should be used between the DC power supply and the MM-IM (as illustrated).
  • Page 62 RTU is immune to as specified by the EU EMC directive. 9. Power supply units used to power RTU’s must carry the CE mark and therefore comply with the necessary EU directives. 10. If the MM-IM is not used as specified in this manual the protection provided may be impaired.
  • Page 63: Connections, Switches And Indicators

    MM-IM User Guide Connections, switches and indicators MM-IM The MM-IM has four serial ports provided by RJ45 sockets. It also has two RJ45 Ethernet ports and four USB ports. Side View 1 IOIOI IOIOI IOIOI IOIOI USB Serial Adapters The MM-IM includes support for additional serial ports using USB to serial adapters. The FTDI Chipi-X cable has undergone testing, although others may work.
  • Page 64 MM-IM User Guide Function Pin (COM1) (COM2-3) RS485/422 port (COM4) connection Function Note: When the unit is clean configured, COM4 Rx may be constantly lit. This is not a  problem since COM4 is not configured in clean config and may be floating. It does not indicate a failed unit.
  • Page 65 MM-IM User Guide RJ45 Pin 9-Way D-Sub male For connection to Wago/Beckhoff I/O (RS485) RJ45 Pin 9-Way D-Sub male For standard male RS232 port (e.g. for connection to modem or radio (RS232) RJ45 Pin 9-Way D-Sub male...
  • Page 66 RJ45 Plug Pinout DIL Switch Settings The MM-IM has eight DIL switches mounted on the front of the enclosure. During start- up, the MM-IM reads the state of switches 1-3. These switches determine any special start-up actions it must perform (e.g. default configuration) and its final operating mode.
  • Page 67 MM-IM User Guide 5. Reset the MM-IM 6. When the MM-IM now starts up, it will have the default configuration with Medina address 4,4, COM1 @ 9600, and IP address LAN1: 192.168.1.1, subnet mask 255.255.255.0, LAN2: 192.168.2.1, subnet mask 255.255.255.0.
  • Page 68 Note: There is an approximate 10-second delay between power being applied to the  MM-IM and the system LED beginning to flash fast to indicate it is starting up. During this time, the System LED will be on and the MM-IM performs various start-up checks.
  • Page 69 MM-IM User Guide Indicates data being received by the corresponding port Indicates data being transmitted by the corresponding port Note: When the unit is clean configured, COM4 Rx may be constantly lit. This is not a  problem since COM4 is not configured in clean config and may be floating. It does not...
  • Page 70: Security

    This is in line with the needs of many customers. Enabling telnet If telnet is required for a specific MM-IM it can be enabled using a manual process. Any upgrade made to the MM-IM may revert to disabled telnet, and require the steps to be undertaken again.
  • Page 71 MM-IM User Guide a password on any other shared resource. The password is needed to upgrade the MM-IM not using the RFU method.
  • Page 72: Troubleshooting

    Contacting the RTU using MicroMC. Click on the button to confirm that the communication link is correctly established Resetting the MM-IM. Press the reset button on the side of the enclosure Reverting to the default configuration using DIL switch 1...
  • Page 73: Dialback Troubleshooting

    Finish The above diagram shows how the MM-IM decides when to initiate a connection to the DG, and the blacklist timers involved. There can be a maximum of ten IP dial out addresses (e.g. primary and secondary DGs) and eight PSTN numbers.
  • Page 74: Web Server

    MM-IM User Guide Web Server The MM-IM has a built-in Web Server that is capable of serving up a page with read-only access to the current configuration files. This provides an easy way to view the configuration on the MM-IM, although it will require some familiarisation with the configuration files (see the section on PAK Files for more information).
  • Page 75: Firmware Upgrade

    Local Pre-requisites The MM-IM firmware upgrade is provided in the form of a DOS batch file that uses FTP to transfer files to the MM-IM. To download a new version of firmware to the MM-IM you will need: The new firmware ■...
  • Page 76 Remote Firmware Upgrade Pre-requisites The MM-IM firmware upgrade is provided in the form of a Remote Firmware Upgrade (RFU) file (*.rfu) that can be remotely transferred to the MM-IM from the Data Gatherer. To download an RFU file to upgrade the MM-IM you will need: The RFU file ■...
  • Page 77: Pak Files

    MM-IM User Guide PAK Files Configuration files which are downloaded to the MM-IM must be in the form of a “PAK” file (the file has a .pak extension). This is a file that contains a number of other files. PAK files can be downloaded using a tools such as MicroMC and Straton, or via Master Control.
  • Page 78: Isa.map

    FILE=12; Ipdial.cfg Ipdial.cfg is a very small file that contains the IP addresses of the DG(s) on which the set that the MM-IM belongs to is configured. The MM-IM uses these addresses to contact the DG following power-up or reset.
  • Page 79: Dsm.cfg

    Manager on the MM-IM. It defines all points on remote outstations connected to the MM- IM that are to be read or written, and the points on the MM-IM that they are going to be read from or written to.
  • Page 80: T5.Cod

    T5.cod is a binary file that contains the compiled Straton user program. Straton actually creates this file as appli.xti, but it needs to be renamed to t5.cod for the MM-IM to recognise it. MicroMC or Straton automatically makes this change. The file also contains...
  • Page 81: Technical Details

    A mains power supply together with battery charging and monitoring circuitry is also available. Used in conjunction with an external lead-acid battery this can be used to provide the MM-IM with a high availability power supply tolerant of mains failures. Processor ICOP Vortex86SX SoC CPU-300MHz.
  • Page 82 System, used to indicate overall system status LAN1, used to indicate Ethernet activity LAN2, used to indicate Ethernet activity Watchdog The watchdog function will reset the RTU if any of the MM-IM’s internal tasks stop responding as expected. Four USB 2.0 Master ports...
  • Page 83: Standards And Approvals

    MM-IM User Guide Standards and approvals Standard Safety EN-61010-1 Safety requirement for electrical equipment for measurement and control EN-60950 Safety of information technology equipment Environmental Operating temperature -10°C to +55°C Relative Humidity 5% to 95% non-condensing Vibration Sinusoidal, 10-150Hz, 4g Amp., 5 sweeps in 3 orthogonal axis Shock half sine, Acc.
  • Page 84: Further Information

    MM-IM User Guide Further information For further information on the MM-IM or any of the other Master Control products, contact Metasphere using one of the methods below: Post Metasphere Ltd Millfield Dorking Road Tadworth Surrey KT20 7TD Telephone +44 (0) 1737 846100...
  • Page 85 MM-IM User Guide MM-IM Points ................9 Status LEDs ............62 MMIM Files Safety precautions ............. 56 df.cfg ..............70 Standards and approvals ..........73 dsm.cfg ..............71 Straton Debugging ............. 50 ipdial.cfg ..............70 Straton point properties ..........31 isa.map ............

Table of Contents