WASCADA Protocol

From ESS-WIKI
Jump to: navigation, search

RESTful 

Type Method URI Data Response Note
Logon GET /WaWebService/Json/Logon
Basic Auth

{"Result":{"Ret":0,"Total":1},"Projects":[{"ID":1,"Name":"ProjectTest","Description":"Project Test 01"}]}


Capability POST /WaWebService/Json/TagDetail/ProjectTest

{"Tags":[{"Name":"AO_40001","Attributes":[{"Name":"ALL"}]}]}

Tag detail found:

{"Result": {"Ret": 0,"Total": 1},"Tags": [{"NAME": "AO_40001","DESCRP": "Analog Output","ADDRS":  "40001","TYPE": "ANALOG","PADDRS": "40001[0:16]","NODE": "ScadaNode01","COM": "1","DEVNM": "DeviceTest01","SECA": "0","SECL": "0","ENUNIT": "","SPANHI": "1000","SPANLO": "0","OUTPHI": "1000","OUTPLO": "0","DSPFMT": "4.2","ALMHH": "*","ALMHI": "*","ALMLO": "*","ALMLL": "*","ALMROC": "*","ADVHI": "*","ADVLO": "*","APRHH": "0", "APRHI": "0","APRLO": "0","APRLL": "0","APRHDV": "0","APRLDV": "0","APRROC": "0"}]
}

Tag not exist:

{
    "Result": {
        "Ret": 0,
        "Total": 0
    },
    "Tags": []
}

SCADA server shutdown:

Could not get any response.


by Tag
Get Value POST /WaWebService/Json/GetTagValue/ProjectTest 
{"Tags":[{"Name":"AO_40001"}]}
{"Result":{"Ret":0,"Total":1},"Values":[{"Name":"AO_40001","Value":3514,"Quality":0}]}
by Tag

Simulator

WebAccess/SCADA Simulator Sever in NodeJS