• duncan

    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 read more
  • duncan

    Hi Joel,

    No this has me stumped. I have even installed a fresh copy of mango (2.6.2) and DG5 on a Win7 box. I get the same when clicking in the data tab. Capture.JPG

    posted in DGLux Graphic Dashboards read more
  • duncan

    Hi Joel,

    I have managed to install DG5 and have a demo license. When I click on the data tab I dont get anything:
    Capture.JPG The platform is Ubuntu 12.04.
    Any help would be appreciated.

    Thanks

    posted in DGLux Graphic Dashboards read more
  • duncan

    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 read more
  • duncan

    I want to create a 5 second pulse that will drive a trigger that will set a data point on and off. I want the pulse to run a 500 times and then stop. I have played around with timers and so forth but I cant seem to wrap my head around this. Has anyone got any ideas.

    Thanks,

    Duncan

    posted in DGLux Graphic Dashboards read more
  • duncan

    How can I disable the orbiting colours that show when the data is being refreshed on a DGLux dashbaord.

    Thanks,

    Duncan

    posted in DGLux Graphic Dashboards read more
  • duncan

    I have created a historic table in DGLux linked to a data point. The data point is a from a Meta Data Source.
    The historic table is bound to a date picker.

    Question. When the table is populated so that scroll bar is visible how do I export all the data in the table to a PDF document? At the moment all I get is really a screen shot.

    Thanks

    posted in DGLux Graphic Dashboards read more
  • duncan

    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 read more
  • duncan

    How do I format the date in a table from a mango history table. The ts from mango shows 2014-02-14T07:21:26.000+02:00. I would like to format this with a formula in a new column to show Day Month Year and Hour. Adobe datFormat function is confusing.

    Any help would be appreciated thanks

    posted in DGLux Graphic Dashboards read more
  • duncan

    . 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 read more