I forget that ACE 6000 is behavior differently. In other meters if you want to clear loadprofile you call reset method of Profile Generic object. Can you send trace bytes to me by email? I can check this today.
Sorry for slow reply. We was little busy. I was checkin my email, but did not find it.
Can you resend it. I have little time tomorrow and I can check it.
If you want to execute script you call script table object with script index you want to execute.
int index = 1; //Change this to script index you want to execute.
GXDLMSScriptTable it= new GXDLMSScriptTable("0.0.10.0.0.255");
comm.Method(it, 1, index, DataType.UInt16);
Trace what you sent to me meter is returning HW error.
Hi Mikko
Hi Mikko
I did some research and found the comm.method function in the GXCommunication class.
Below is my code to use the method to clear the load profile buffer.
GXDLMSScriptTable ClearLoadProfileDataObject = new GXDLMSScriptTable("0.0.10.0.0.255");
comm.Method(ClearLoadProfileDataObject, 4, ClearLoadProfileDataObject.Scripts, ClearLoadProfileDataObject.GetDataType(2), msno, host);
However i get response.
Unable to cast object of type system.Collections.Generic.List 1[Gurux.DLMS.Objects.GXDLMSScript]
Could you please point me in the right direction.
Regards
ACE6000 Execute Script Action
Hi,
When you call method, you should not update value.
You just get response using getData- method and check error.
BR,
Mikko
Hi Mikko
Hi Mikko
Thanks for your reply.
However im not sure i understand your response.
Could you please paste an example.
Regards
Example
Hi,
Try with this:
GXDLMSProfileGeneric it = new GXDLMSProfileGeneric ("0.0.10.0.0.255");
comm.Method(it, 1, null, DataType.None);
BR,
Mikko
Hi Mikko
Hi Mikko
It gives me parseApplicationAssociationResponse failed. Invalid tag.
I dont understand why you making it a Profile Generic object if it is in the Script Table.
Regards
ACE6000 Execute Script Action
Hi,
I forget that ACE 6000 is behavior differently. In other meters if you want to clear loadprofile you call reset method of Profile Generic object. Can you send trace bytes to me by email? I can check this today.
BR,
Mikko
Hi Mikko
Hi Mikko
Any luck with the above.
Regards
Hi Mikko
Hi Mikko
Could you get a change to look into the above request.
Regards
Hi Mikko
Hi Mikko
Did you get a change to look into the above request.
Regards
Hi Mikko
Hi Mikko
Happy new year did you perhaps had a chance to look at the above.
Regards
Keenan George
ACE6000 Execute Script Action
Hello Keenan,
Sorry for slow reply. We was little busy. I was checkin my email, but did not find it.
Can you resend it. I have little time tomorrow and I can check it.
BR,
Mikko
Hi Mikko
Hi Mikko
As requested i have send you our communication.
Regards
Keenan George
ACE6000 Execute Script Action
Hi Keenan George,
If you want to execute script you call script table object with script index you want to execute.
int index = 1; //Change this to script index you want to execute.
GXDLMSScriptTable it= new GXDLMSScriptTable("0.0.10.0.0.255");
comm.Method(it, 1, index, DataType.UInt16);
Trace what you sent to me meter is returning HW error.
BR,
Mikko