I'm trying to use your libraries in a small tool. My aim is open valve with GXDLMSActionSchedule but I don't understand how to use this class.
I need to use obis 0.0.15.0.1.255, attribute 2 "ExecutedScript", with this structure
<Structure>
<OctetString>
<SpecifiedLength>6</SpecifiedLength>
<Contents>00000A006AFF</Contents>
</OctetString>
<LongUnsigned>0</LongUnsigned>
</Structure>
You set action time to action schedule. Action schedule calls wanted Script table object.
You can use GXDLMSDirector to check this. I believe it's easier to implement after that.
Are you sure of the data structure? It's not what standard says.
Hi,
Hi,
You set action time to action schedule. Action schedule calls wanted Script table object.
You can use GXDLMSDirector to check this. I believe it's easier to implement after that.
Are you sure of the data structure? It's not what standard says.
BR,
Mikko
Hi,
Thanks for the response. (sorry but I had to create new account because I had a problem with my old company mail)
I'm sure about structure (BlueBook)
script ::= structure
{
script_logical_name: octet-string,
script_selector: long-unsigned
}
Thanks
Hi,
Hi,
Sorry, I misunderstood what you want to do.
You just want to add an executed script and not invoke it. If this is correct do the following.
GXDLMSScriptTable s = new GXDLMSScriptTable("0.0.15.0.1.255");
GXDLMSActionSchedule act = new GXDLMSActionSchedule ();
act.Target = s;
act.ExecutedScriptSelector = 0;
Write(act, 2);
BR,
Mikko