• J
    Joe.technician

    @craigweb said in connect to Ethernet relay board:

    mango modbus test tool.

    thank you for replay .. but be noted that board "robot-electronics.co.uk ETH-RLY16 V3" is not modbus tcip its an ethernet relay and as you mentioned i changed its ip to static an i can reach that ... my problem is setting data source ... tcpip datasouce and it's datapoints ... i attached relay board settings , datasource and data point configuration ... hoping you or any here could help to set the rights settings.

    posted in Development general discussion read more
  • J
    Joe.technician

    i want to connect to relay board from "robot-electronics.co.uk ETH-RLY16 V3"
    could you please help me to pick the recommended datasource type, i tried to use tcpip but need help to put the right settings for data point any advice.

    thank you

    posted in Development general discussion read more
  • J
    Joe.technician

    hi all , i wanna to make an javascript function to loop into set of modbus settable points to change it's values , actually to toggle on/off each point depends on parameter that i should provide.
    i found something here but it serve only one point value , lets say that my data points name are b1_r01,b1_r02,b1_r03,b1_r04 ... b1_r08 , i wanna to change it's values after pressing on a button in a page using dashboradV3.1.
    and here the script i found:
    <script>function togglePoint( dataPointXid ) {
    var getPoint = new XMLHttpRequest();

    getPoint.addEventListener('load', function() {
        //Consider returning if empty response text
    	var point = JSON.parse( this.responseText );
    	point.enabled = !point.enabled;
    	
    	var putPoint = new XMLHttpRequest();
    	putPoint.open('PUT', '/rest/v1/data-points/'+point.xid, true);
    	putPoint.setRequestHeader( 'X-XSRF-TOKEN', /XSRF-TOKEN=(.*?);/.exec(document.cookie)[1] );
    	putPoint.setRequestHeader( 'Accept', 'application/json' );
    	putPoint.setRequestHeader( 'Content-Type', 'application/json' );
    	putPoint.send(JSON.stringify(point));
    });
    
    getPoint.open('GET', '/rest/v1/data-points/'+dataPointXid, true);
    getPoint.setRequestHeader( 'X-XSRF-TOKEN', /XSRF-TOKEN=(.*?);/.exec(document.cookie)[1] );
    getPoint.setRequestHeader( 'Accept', 'application/json' );
    getPoint.send();
    

    };

    togglePoint("F6_B01_R01");
    </script>

    posted in Scripting general Discussion read more
  • J
    Joe.technician

    hi phildunlap;

    completely right, it's Linux system and old ES , i logged as 'admin' using provided password and tried to access /opt/mango/bin/ma.sh start , system replied me that service already started .also web calling using name nothing working, when i list network settings using linux commands inet settings for eth0 is not configured , trying to do that required root password that we lost , also listing users command shows a lot of users , 'admin' one of them but it's doesn't have root permission to edit anything like IP address .
    one of those users is 'mango' has the required permissions , could you advice me what to do, may you can provide me with that user default password or any other work around in-order to config our network devices settings.

    posted in MangoES Hardware read more
  • J
    Joe.technician

    @phildunlap said in Mango v3:

    exact

    thanks phildunlap ,

    what i meant is if i installed mango service on a virtual operating system (lets say windows server 2012 on vmware environment) will mango handle communicate with mod-bus serial devices.

    regards;

    posted in Mango Automation general Discussion read more
  • J
    Joe.technician

    Hi all,

    our mangoes required to input username and password when turn it on.
    after logging i'm trying to run it manually using opt/mango/bin/ma-start.sh but also not working noted that we has not root password .
    screen shots attached.!2_1493887079502_18280780_1397790060267291_2039712051_n.jpg 1_1493887079502_18280174_1397790063600624_1809485502_n.jpg 0_1493887079501_18280002_1397790050267292_466648966_n.jpg

    posted in MangoES Hardware read more
  • J
    Joe.technician

    i think this post will be very important for all mango automation users , can i use mango v3 on a virtual vm-ware or hyper-v operating system.

    posted in Mango Automation general Discussion read more
  • J
    Joe.technician

    hi all,
    as i titled this post,
    i'm totally new on mango automation , can anybody here provide me required settings to add new MODbus serial data source and data point which will controlling lights . i used M-7053 16-channel Non-Isolated digital input module .

    posted in Mango Automation read more