Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

  • Embedded platform to run mango on - what ideas do people have

    20
    0 Votes
    20 Posts
    14k Views
    H
    This tuturial is for thoose want to build a small box to run Mango or ScadaBr Since I was looking for a small pc I remember to use a Alix board that is more cheap than a pc and more compact and try to build a linux debian based system and them install MANGO In this tuturial I will try to explain the steeps I take to sucssefuly install the debian and then the Mango. My choise of using mango was because I can't get ScadaBr running because of the installer script so I turn to Mango In my configuration I will use: An Arduino Duemilanove an Alix Board 2D from PC Engines GmbH, can be bought at http://pcengines.ch/alix.htm 1 CF card 4Gb (for debian instalation and MANGO) After a seach on google I found a website with some instrutions that help me to get all up and running You can see all the instrutions where http://www.gooze.eu/howto/debian-installation-on-alix-board-howto/setting-time but for now I will try to resume some of then. In case you have some dificult I sugest you to read the instrutions on the above link. You will need a pc with a CFcard reader to start the instalation on the CFcard, in my case I'm using a Linux Mint distro but any other will do I will assume you have some linux experience and soo I will not go to deep Soo insert the CFcard on your reader.You will need to know waht was the /dev/sdXXX your system give to the CFcard. There are diferent ways to see this, I will describe 2 ways: before insert the card open a console and type: "tail -f /var/log/messages" then insert the CFcard, you will see the text will flick and there you can read the /dev/sdXX that was assigned to your card after that just hit CTRL+C to exit from the tail.Now you know the id of your device Another way is just use the gparted wich is a disk tool to manage partitions on linux with a nice GUI.there you can also see the "/dev" id of your card we will use the "dd" command to copy an image to CFcard with a prebuild of a debian instalation open again a console in case you close the last one and download the image $wget http://download.gooze.eu/embedded/debian/images/debian.tar.gz then extact the tar using: $tar -xvf debian.tar.gz After that we can transfer the image to the CFcard using: $ dd if=debian.img of=/dev/sd[b,c,d] double check the command because if you make some mustake you can delete or harddrive!!! it will take a while so just wait until you get the prompt again with the details of the duration and speed of the copy After that remove the card and insert the CFcard on the alix board.Before you power it you will need a Serial cable to connect the alix board to your computer You will also need a hiperterminal client, I had used gtkterm but you can use "screen" ou putty, its up to you. The baud is 38400N,8,1 Open the port with with configuration and the power the alix board. You should start to see some lines of a test memory wich is normal on the alix board and the wait until you see the debian instalation menu.This can take a while , do not remove the power, if soo perhaps you will need to reinstall the image of the last step Follow the setup as normal(if you have trouble read the instrutions on the link I give above) After the instalation is complete install ssh for remote acess.I will assume you already have internet conection on the alix $apt-get install openssh-server If you want to install mysql to support the Mango databases you can just install it by using: $apt-get install mysql-server Mango needs to have JAVA installed In my case using "apt-get install sun-java6-jdk" it give me a message no package found then I had need to add a source to a new repository use vi or nano and add the folowing line to /etc/apt/sources.list "deb http://archive.canonical.com/ lucid partner" without the " of course Save it and update all sources using "apt-get update" after that you should be able to install java then type "apt-get install sun-java6-jdk" Then install a ntp package to automaticaly update the time of your system $apt-get install ntpdate $ntpdate pt.pool.ntp.org In my case I'm using a Portuguese NTP server, adapt to your needs after that confirm the date and time using $date It must display the right time and date now. Now that we have all the requirements lets move to the MANGO instalation. Visit the link http://mango.serotoninsoftware.com/download.jsp Here we can find the parts we need Open a console again and choose a location to store the instalation.I had installed on /usr $cd /usr/local Lets Dowload the TOMCAT: $wget http://mango.serotoninsoftware.com/downloads/apache-tomcat-6.0.20.tar.gz Extract it: tar -xvf apache-tomcat-6.0.20.tar.gz Rename the folder to tomcat just to be more simple $ mv -R apache-tomcat-6.0.20 tomcat $ cd tomcat/bin For test the apachTomCat lets fireup it and see if it runs.To do this just do: $ ./startup.sh This will start the Service and now he would be able to open the welcome page of tomcat opening http://ip_of_box:8080 If you see the page you are ok, close it and lets stop it for now using : $ ./shutdown.sh Now we need to remove some folders inside the webapps/ROOT folder to store the MANGO to do this use: $cd /usr/local/tomcat/webapps/ROOT Remove all folders using: $rm -R This will remove all folders and files on this location, we need to remove it because this is the root dir of tomcat, this are the files and folder displayed when you start Tomcat, since we want just the MANGO lets now dowload it for this directory and extact it were Assuming you stil are in the same folder ("/usr/local/tomcat/webapps/ROOT") download the MANGO $wget http://mango.serotoninsoftware.com/downloads/mango-1.13.0.tar.gz Extact it : $tar -xvf mango-1.13.0.tar.gz To confirm all files and folder are now here just do an "ls -al" to list the directory: $ls -al you should see something like this: root@supervisao:/usr/local/tomcat/webapps/ROOT# ls -al total 28532 drwxr-xr-x 10 root root 4096 Jan 1 2000 . drwxr-xr-x 7 root root 4096 May 14 2009 .. drwxr-xr-x 12 root root 4096 Dec 19 15:52 WEB-INF drwxr-xr-x 3 root root 4096 Dec 19 15:52 audio drwxr-xr-x 3 root root 4096 Jan 1 2000 backup -rw-r--r-- 1 root root 6619 Mar 6 2011 customViewExample.jsp drwxr-xr-x 2 root root 4096 Dec 19 15:52 exception drwxr-xr-x 18 root root 4096 Dec 18 23:34 graphics drwxr-xr-x 3 root root 4096 Dec 19 15:52 images -rw-r--r-- 1 root root 1712 Mar 6 2011 index.jsp -rw-r--r-- 1 root root 29117044 Dec 19 15:52 mango-1.13.0.zip drwxr-xr-x 3 root root 4096 Dec 19 15:52 resources -rw-r--r-- 1 root root 2436 Mar 6 2011 soundmanager2.swf -rw-r--r-- 1 root root 8119 Mar 6 2011 soundmanager2_flash9.swf drwxr-xr-x 2 root root 4096 Jan 19 12:15 uploads If this is your output to you are almost finish the instalation. In my case In using an arduino to comunicate to outside world via USB port.In this case I need to include a file on java dir to be able to comunicate with serial ports ("dev/ttyUSB0 in my case") If this is also your case lets just download the librxtxSerial.so and import it: $wget http://mango.serotoninsoftware.com/downloads/librxtxSerial.so Now we need to save in <jdk1.6-home>/jre/lib/i386 To find this location on your instalation just use: $updatedb $locate /jre/lib/i386 This will display the path of you java, now lets move the librxtxSerial.so to that location.Im my case it was: $mv librxtxSerial.so /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/i386/ It's everything done Lets start the Tomcat and test it on your alix Board:) $cd /usr/local/tomcat/bin $./startup.sh In the first run the system will build the MANGO database soo it can take a while until the page loads. It could take about 40 secounds soo be patient When the page loads just enter the default login :admin admin and your MANGO small box is ready!! I hope this tuturial help those you want to test it on a alix board. I not a linux expert then it is possible to some steps could be wrong and could be a better way to do it. This manual can be modified to get better and sugestions are acepted email:hugo.santos@
  • Honeywell T7350

    12
    0 Votes
    12 Posts
    14k Views
    D
    Most probably it can be done! Mango M2M software can monitor the new Honeywell T7350.
  • Problem adding a data source - Modbus Serial

    22
    0 Votes
    22 Posts
    39k Views
    J
    Hello jkyner, Can you be more specific on the following post you made, please? I've been trying to put my power meter (connected to Mango via Modbus serial) on our LAN using Moxa 5230 without much success. What data source should I use to configure/connect to the Moxa 5230? And what "operation mode" should I choose for Moxa 5230 for Mango to connect? TIA, joohwan @jkyner said: I should have said Mango works fine with a Lantronix Intellibox Modbus Gateway with RTU slaves but also works fine with the Moxa 5130 (a basic Ethernet/RS485 SDA that is not Modbus-aware) for those Modbus slaves that can handle the 6-byte Modbus TCP-RTU header forwarded over RS485.
  • ICPcon

    4
    0 Votes
    4 Posts
    4k Views
    M
    @oja said: .. you able to create own JAVA classes.. ? Well I'm am not sure. My programming skills are limited and I have never worked with Java. But if I could find out the basics in how to locate, clone and modify one of the existing classes I might be able to hack the driver to talk this protocol.
  • BACnet/IP temp sensor?

    4
    0 Votes
    4 Posts
    7k Views
    C
    Closest you are going to get to that is a small controller or thermostat. Maybe check out Viconics, Exactlogic or BBP Energie in Canada. All of those are MSTP and you will need a router. Loytec makes a touch panel with a temp sensor and this can be on IP but probably this is overkill.
  • Wago 750-841 Modbus Fieldbus Coupler

    8
    0 Votes
    8 Posts
    8k Views
    D
    @zumiani said: You should look at the PLC program. Maybe a task turn it off after a while.. Surely it isn't due to Mango or Modbus! Ok finally found the issue! I had created a binary 0 reset on the program I had wrote and was talking to mango at the same time. So everytime I had set a point in mango my program was reseting that point after 2 seconds. So now that I finally have it all working I am running a BAC-HD150 bacnet controller for the Mitsubishi City Line system with Bacnet IP of course. And running custom valve and boiler control for large steam system. I am controlling that with Wago 750-841 Modbus Field Coupler. I will update you with my setup once all is done. Thanks and hope this helps others. dk
  • Carel modbus supported

    9
    0 Votes
    9 Posts
    15k Views
    B
    might be best to start a new topic in the "user help",
  • Labjack

    3
    0 Votes
    3 Posts
    3k Views
    M
    Love this part: In a moment of rare SCADA-software sanity, the offset is zero-based.
  • Addition for two modbus address

    3
    0 Votes
    3 Posts
    3k Views
    S
    You will first need to define a Modbus data source and add your two points to it. Then take a look at the Meta Data Source. You can use the two modbus data points as input to a meta data point that combines them using javascript.
  • Ascii through TCP

    2
    0 Votes
    2 Posts
    3k Views
    I
    Hello! I've got a problem, that I've described in modbus4j help forum. Here is the link: https://sourceforge.net/projects/modbus4j/forums/forum/810600/topic/3841078/index/page/1 Have anybody had such an experience?
  • Campbell Scientific...

    3
    0 Votes
    3 Posts
    3k Views
    F
    There is a serial port (RS232) and also modbus serial is supported, you can start from the examples. http://www.campbellsci.com/documents/manuals/cr1000.pdf
  • GSM/GPRS hardware

    2
    0 Votes
    2 Posts
    2k Views
    S
    Dear all, does anybody know which GSM/GPRS hardware device interfaces with Mango through GSM/GPRS? Ideally that piece of hardware would have a data logger and be battery-driven. It would log the sensors signals 0-20mA, 4-20mA and/or binary input. Any hints? Ideas? Experiences? Best wishes Sebastian
  • Trick to get support for all 1 wire devices

    6
    0 Votes
    6 Posts
    6k Views
    F
    May be a better way of doing this is to 1 - write a JSP page to run an op system command 2 - use the JSP to loop through the reply to create a neat page with the collected data 3 - use an HTTP retreiver to pick up the data (same way as I am doing for op sys stats) This means thoe whole process is under mango control and mango timings But I like the idea of using OWFS if a device is not mango supported Francis
  • X10

    10
    0 Votes
    10 Posts
    5k Views
    J
    Hi Francis - while on the list, we are currently giving priority to items that are included as part of project development work we are doing for Mango customers. While we do see a lot of value in this, we may not get around to it ourselves until this development can be co-funded through a project or a contribution from a user. Regards, /jk
  • Nibe Fighter 1130 with RCU 11

    16
    0 Votes
    16 Posts
    9k Views
    M
    I don't know what to say. I've tried the 1.8.1 download on Windows and Mac using the available download and install instructions, and accessing a Modbus TCP slave, and it works perfectly. If this continues to be a problem for you i can only suggest you wait for the 1.8.2 release, forthcoming once some details with a collaborator are worked out, hopefully in a matter of weeks.
  • Puls for kw

    5
    0 Votes
    5 Posts
    3k Views
    M
    Maybe this month. Depends on multiple factors. Just a note that the DS2423 functionality will be available because Antsu provided the hardware for testing. So, many thanks to Antsu.
  • Jee Labs OSH wireless sensor data in Mango

    2
    0 Votes
    2 Posts
    3k Views
    A
    Hi, I have Mango running with wireless sensor nodes from Jee Labs. The JeeLabs hardware and software are based on Arduino and is open source hardware/software. You can get JeeNodes from jeelabs.org either fully assembled or as a kit (note: I'm not affiliated in any way with Jee Labs). To get JeeNode rooms data (temp, presence, humidity, etc.) into Mango, I made a rooms2modbus sketch (in the Arduino world, that's a program that can be compiled and loaded on you microcontroller). This makes the central JeeNode/JeeLink act as a modbus RTU slave. For those interested, you can get the source here: www.tucsni.nl/jee
  • 1 wire adapter

    7
    0 Votes
    7 Posts
    6k Views
    K
    Hi From experience the best connector is the link45 as it can manage difficult cable configurations (See http://www.maxim-ic.com/app-notes/index.mvp/id/148). I started with a USB one and it constantly gave trouble. I have found one wire networks to be a law unto themselves, working fine for a week then losing sensors for days without a change being made. http://www.ibuttonlink.com/link45.aspx or http://www.homechip.com/catalog/ or Hobbyboards http://www.hobby-boards.com/catalog/index.php who are quick and helpful witth all their bits Cheers Keith
  • 1-Wire DS2450 A/D success after failure

    2
    0 Votes
    2 Posts
    4k Views
    M
    I wanted to try to use the DS2450 A/D converter to interface with Mango to monitor field signals from HVAC equipment. I have only several temp sensors on my one wire so far. I use the standard serial adapter to my Win XP PC as the bus host. I built a circuit to interface with and isolate from the field voltage which uses an LTV-814 (one channel) up to LTV-844 (four channel) AC/DC input opto-isolator. The output transistor of the LTV chip drives the input of the DS2450. I am using 5VDC (currently USB powered) to drive the output side of the LTV chip. Initially it did not work. However after plowing through the DS2450 datasheet, I learned the default setting for the DS2450 for input voltage is 2.55 volts maximum on the inputs. Since I was using 5V it did not know what to do and returned a big fat 0.0 to Mango (and One Wire Viewer). I then used a voltage divider network to bring the input down to a level that the chip would recognize and report in it's default state. An optional input value is 5.10V, but there is currently no way in Mango to select the input voltage or the resolution (default 8 bits) of the DS2450. The default settings for memory map page 1, Control/Status starting at 08h is: (hex) 08 8C 08 8C 08 8C 08 8C If it could be modified to: (hex) 08 8D 08 8D 08 8D 08 8D this would give 5.10V input enabled The settings are all volatile and revert to default when the chip is repowered so they need to come from the host software every time the one wire bus is powered or reset. I'm not a programmer so I leave that to Matthew as a possible improvement ! Hope this helps someone.....at least I got to relearn hex to figure this out. Short lesson is if you are over the input voltage you will get 0.0 output. Also, when you really are at zero input voltage the chip output floats at 0.03 or so on all channels. I have two DS2450 and they both do the same thing. Next job is to get it off my desk and into the field.
  • Reliable Controls Mach ProSys - BacNetIp

    2
    0 Votes
    2 Posts
    2k Views
    M
    Hi, I just discovered Mango M2M. I am so pleased that someone has taken the step to allow the little guy onto the feild. I downloaded and installed and WOW discovered the device instantly and connected. Worked great out of the box. :D I have some more learning to do, but I wanted to say thank You Very Much. I will be testing and playing for days to come. :lol: I can see a very bright future for this product. Thanks again..