• Recent
    • Tags
    • Popular
    • Register
    • Login
    1. Home
    2. duncan
    3. Posts

    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.

    Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website Mango 5 Documentation Website
    • Profile
    • Following 0
    • Followers 0
    • Topics 5
    • Posts 15
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by duncan

    • RE: TCP/IP Data Source, Talking to MOXA Serial RS232?

      Hi Dan,

      I presume you are using one of the Moxa MGate series Modbus TCP gateways. We use these devices extensively with Mango and they are fairly easy to setup.
      My advice is to ensure you have the correct wiring on the DB9 from your RS232 device to your Mgate. On the Moxa Mgate DB9 pin 2 is RxD, Pin 3 is TxD and pin 5 is ground.
      Download and install the Mgate manager software. Configure the Mgate accordingly RTU slave or ASCI Slave.
      Ensure you have the correct settings in the Serial section that corrspond to your RS232 device.
      Ensure you have the correct IP settings. Save this configuration to the Mgate device. Check your IP settings on Mango as well.
      Download a copy of Modscan or similar and test your Modbus connectivity. If you cant see any data then Mango cant either. The default port is 502 (TCP) on both Mango and the Mgate.

      Cheers

      Duncan

      posted in User help
      duncanD
      duncan
    • RE: Mango 2.5 is now released

      The changes and improvements are really awesome Joel. Many thanks to you and your team. Happy holidays.

      posted in Announcements
      duncanD
      duncan
    • RE: Coal Processing Plant

      Just as a side note, The support I have recieved from the people at Infinite Automation has been awesome. The Mango platform is very powerful and really easy to undertand. A special thanks to Joel for all his help and those early morning international calls.

      posted in Stories
      duncanD
      duncan
    • Coal Processing Plant

      Hi everyone, I thought I would share one of my sucesses using Mango and DGLux.

      The client has a plant that takes raw coal in and then processes it into various products for distribution. There are a number of conveyor belts and each conveyor has a scale. A analog signal for the current weight and a pulsed relay contact for the totalised weight are fed into a Moxa IOLogik E2242. The Modbus registers are read into Mango and then displayed in DGlux.
      There is a small reporting page where the client can see the tonnages and also export this to a PDF. The data provided has really helped. In the past the client would have had to visit each conveyor belt on the plant and manually record the tonnages from the scale at the end of each shift. Now they can view the tonnages at any time from anywhere.

      The Mango installation is running on a small embedded PC with Ubuntu 12.04 as the OS. The system has been running for a year now with a 100% uptime. I chose to use Mysql rather than the embedded data base. This was to allow the client the ability to query the data tables for commercial reporting.

      The plant is spread over a large area and I used WiFi to connect all the Moxa units. The embedded PC sits in a small panel in a control room.
      Attached are some screen shots of the DGlux screens.

      Cheers Duncan

      Attachment: download link

      posted in Stories
      duncanD
      duncan
    • RE: Coal Processing Plant

      Hi everyone, I thought I would share one of my sucesses using Mango and DGLux.

      The client has a plant that takes raw coal in and then processes it into various products for distribution. There are a number of conveyor belts and each conveyor has a scale. A analog signal for the current weight and a pulsed relay contact for the totalised weight are fed into a Moxa IOLogik E2242. The Modbus registers are read into Mango and then displayed in DGlux.
      There is a small reporting page where the client can see the tonnages and also export this to a PDF. The data provided has really helped. In the past the client would have had to visit each conveyor belt on the plant and manually record the tonnages from the scale at the end of each shift. Now they can view the tonnages at any time from anywhere.

      The Mango installation is running on a small embedded PC with Ubuntu 12.04 as the OS. The system has been running for a year now with a 100% uptime. I chose to use Mysql rather than the embedded data base. This was to allow the client the ability to query the data tables for commercial reporting.

      The plant is spread over a large area and I used WiFi to connect all the Moxa units. The embedded PC sits in a small panel in a control room.
      Attached are some screen shots of the DGlux screens.

      Cheers Duncan

      posted in Stories
      duncanD
      duncan
    • RE: DGLux - no Design Mode link

      Hi Joel,

      I have tried clearing cache and have even used another browser. The user icon in Dglux only has the option to logout. This is true on both internal and public IP's.

      Thanks

      Duncan

      posted in User help
      duncanD
      duncan
    • DGLux - no Design Mode link

      Just upgraded the license to allow for a public ip address. Since that there is no Design link on the DGLux page.

      Any ideas.

      Thanks Duncan

      posted in User help
      duncanD
      duncan
    • RE: DGLux - no Design Mode link

      Just upgraded the license to allow for a public ip address. Since that there is no Design link on the DGLux page.

      Any ideas.

      Thanks Duncan

      posted in User help
      duncanD
      duncan
    • Script help

      . I have a ModBus device connected to Mango. I have a couple of ModBus Data Points. I then have a Meta Data point referencing the Modbus Data points with the following script.

      var a=p1.value;
      var le=p9.value;
      var re=p10.value;
      if (le==true) {
                      var x = " Left";
      }
      else if (re==true) {
                      var x = " Right";
      }
      if (a>0) {
                      var y = "Pkey"; 
                      var result = y +" "+ a +" "+ x;
      }
      else if (a==0) {
                      var result = "No fault"
      else if(typeof(p9.value || p10.value)=='undefined'){var result = "No fault"}
      
      return result;
      

      It works as expected except that it throws undefined errors into the result.

      No fault 06:44:46
      Pkey 1 undefined 06:44:44
      Pkey 1 Left 06:44:37
      No fault Feb 09 12:28
      Pkey 1 undefined Feb 09 12:28
      Pkey 1 Right Feb 09 12:28

      Could anyone possibly assist.

      Many thanks,

      Duncan

      posted in User help
      duncanD
      duncan
    • RE: Script help

      . I have a ModBus device connected to Mango. I have a couple of ModBus Data Points. I then have a Meta Data point referencing the Modbus Data points with the following script.

      var a=p1.value;
      var le=p9.value;
      var re=p10.value;
      if (le==true) {
                      var x = " Left";
      }
      else if (re==true) {
                      var x = " Right";
      }
      if (a>0) {
                      var y = "Pkey"; 
                      var result = y +" "+ a +" "+ x;
      }
      else if (a==0) {
                      var result = "No fault"
      else if(typeof(p9.value || p10.value)=='undefined'){var result = "No fault"}
      
      return result;
      

      It works as expected except that it throws undefined errors into the result.

      No fault 06:44:46
      Pkey 1 undefined 06:44:44
      Pkey 1 Left 06:44:37
      No fault Feb 09 12:28
      Pkey 1 undefined Feb 09 12:28
      Pkey 1 Right Feb 09 12:28

      Could anyone possibly assist.

      Many thanks,

      Duncan

      posted in User help
      duncanD
      duncan
    • RE: Scaling Data

      I was being rather stupid. Please ignore the request. Its a simple math formula.
      :oops:

      posted in How-To
      duncanD
      duncan
    • Scaling Data

      I have a 4-20ma field device connected to a PLC. From the register I read a the value into Mango via Modbus which translates to 0 - 62260 where 4ma is 0 and 20ma is 62260.
      In DGlux I can scale this value easily to present a value such as tons or temp or volume. In this case I have load cells. They have various capacities. So one load cell would be 200t the next 50t and so on.

      What I need is to scale this value with a metadata value. Any ideas on a scrip I could use?

      Any help would be greatly appreciated.

      posted in How-To
      duncanD
      duncan
    • RE: Scaling Data

      I have a 4-20ma field device connected to a PLC. From the register I read a the value into Mango via Modbus which translates to 0 - 62260 where 4ma is 0 and 20ma is 62260.
      In DGlux I can scale this value easily to present a value such as tons or temp or volume. In this case I have load cells. They have various capacities. So one load cell would be 200t the next 50t and so on.

      What I need is to scale this value with a metadata value. Any ideas on a scrip I could use?

      Any help would be greatly appreciated.

      posted in How-To
      duncanD
      duncan
    • Profibus

      Hello again,

      Are there any plans to create a Profibus module?

      Kind regards,

      Duncan

      posted in Mango Automation general Discussion
      duncanD
      duncan
    • RE: Profibus

      Hello again,

      Are there any plans to create a Profibus module?

      Kind regards,

      Duncan

      posted in Mango Automation general Discussion
      duncanD
      duncan