By 953313493@qq.com, 6 March, 2021 Forums DLMSDirector How to set custom object with xml edit? is there any example ? Image if set is like follow if set is like follow <SetRequest> <SetRequestNormal> <!-- Priority: Normal, ServiceClass: UnConfirmed, ID: 12 --> <InvokeIdAndPriority Value="0C" /> <AttributeDescriptor> <!-- Data --> <ClassId Value="0001" /> <!-- 0.0.96.80.2.255 --> <InstanceId Value="0000605002FF" /> <AttributeId Value="02" /> </AttributeDescriptor> <Value> <Array Qty="01" > <Structure Qty="03" > <String Value="task_item" /> <Enum Value="01" /> <Array Qty="03" > <Structure Qty="02" > <String Value="id" /> <String Value="19" /> </Structure> <Structure Qty="02" > <String Value="task_id" /> <String Value="1" /> </Structure> <Structure Qty="02" > <String Value="status" /> <String Value="1" /> </Structure> <Structure Qty="02" > <String Value="type" /> <String Value="1" /> </Structure> <Structure Qty="02" > <String Value="name" /> <String Value="hello word" /> </Structure> <Structure Qty="02" > <String Value="corn" /> <String Value="111111" /> </Structure> </Array> </Structure> </Array> </Value> </SetRequestNormal> </SetRequest> and how to set if i have to and how to set if i have to read with some args? Hi, Hi, Is the amount of the structures 5 instead of 3? <Array Qty="03" > What kind of arguments do you want to use for reading? Data objects are usually read without parameters. BR, Mikko I am sorry, <Array Qty =“ 06” I am sorry, <Array Qty =“ 06”> I want to read like in xml client read , so how should I input in the GXDLMSDirector or like follow , how shoud or like follow , how shoud i input in GXDLMSDirector <SetRequest> <SetRequestNormal> <InvokeIdAndPriority Value="68" /> <AttributeDescriptor> <ClassId Value="1" /> <InstanceId Value="0000605001FF" /> <AttributeId Value="2" /> </AttributeDescriptor> <Value> <Structure Qty="3"> <String Value="task" /> <Enum Value="1" /> <Array Qty="1"> <Structure Qty="2"> <Array Qty="1"> <Structure Qty="2"> <Enum Value="0" /> <String Value="30" /> </Structure> </Array> <Array Qty="1"> <Structure Qty="2"> <Enum Value="1" /> <String Value="1phase_task" /> </Structure> <Structure Qty="2"> <Enum Value="2" /> <String Value="1" /> </Structure> </Array> </Structure> </Array> </Structure> </Value> </SetRequestNormal> </SetRequest> Hi, Hi, You don't need to do anything. If you just read the value from the meter you can see it like the picture below. After the read, you can modify it and write back. BR, Mikko Image Log in or register to post comments
if set is like follow if set is like follow <SetRequest> <SetRequestNormal> <!-- Priority: Normal, ServiceClass: UnConfirmed, ID: 12 --> <InvokeIdAndPriority Value="0C" /> <AttributeDescriptor> <!-- Data --> <ClassId Value="0001" /> <!-- 0.0.96.80.2.255 --> <InstanceId Value="0000605002FF" /> <AttributeId Value="02" /> </AttributeDescriptor> <Value> <Array Qty="01" > <Structure Qty="03" > <String Value="task_item" /> <Enum Value="01" /> <Array Qty="03" > <Structure Qty="02" > <String Value="id" /> <String Value="19" /> </Structure> <Structure Qty="02" > <String Value="task_id" /> <String Value="1" /> </Structure> <Structure Qty="02" > <String Value="status" /> <String Value="1" /> </Structure> <Structure Qty="02" > <String Value="type" /> <String Value="1" /> </Structure> <Structure Qty="02" > <String Value="name" /> <String Value="hello word" /> </Structure> <Structure Qty="02" > <String Value="corn" /> <String Value="111111" /> </Structure> </Array> </Structure> </Array> </Value> </SetRequestNormal> </SetRequest>
Hi, Hi, Is the amount of the structures 5 instead of 3? <Array Qty="03" > What kind of arguments do you want to use for reading? Data objects are usually read without parameters. BR, Mikko
I am sorry, <Array Qty =“ 06” I am sorry, <Array Qty =“ 06”> I want to read like in xml client read , so how should I input in the GXDLMSDirector
or like follow , how shoud or like follow , how shoud i input in GXDLMSDirector <SetRequest> <SetRequestNormal> <InvokeIdAndPriority Value="68" /> <AttributeDescriptor> <ClassId Value="1" /> <InstanceId Value="0000605001FF" /> <AttributeId Value="2" /> </AttributeDescriptor> <Value> <Structure Qty="3"> <String Value="task" /> <Enum Value="1" /> <Array Qty="1"> <Structure Qty="2"> <Array Qty="1"> <Structure Qty="2"> <Enum Value="0" /> <String Value="30" /> </Structure> </Array> <Array Qty="1"> <Structure Qty="2"> <Enum Value="1" /> <String Value="1phase_task" /> </Structure> <Structure Qty="2"> <Enum Value="2" /> <String Value="1" /> </Structure> </Array> </Structure> </Array> </Structure> </Value> </SetRequestNormal> </SetRequest>
Hi, Hi, You don't need to do anything. If you just read the value from the meter you can see it like the picture below. After the read, you can modify it and write back. BR, Mikko Image
if set is like follow
if set is like follow
<SetRequest>
<SetRequestNormal>
<!-- Priority: Normal, ServiceClass: UnConfirmed, ID: 12 -->
<InvokeIdAndPriority Value="0C" />
<AttributeDescriptor>
<!-- Data -->
<ClassId Value="0001" />
<!-- 0.0.96.80.2.255 -->
<InstanceId Value="0000605002FF" />
<AttributeId Value="02" />
</AttributeDescriptor>
<Value>
<Array Qty="01" >
<Structure Qty="03" >
<String Value="task_item" />
<Enum Value="01" />
<Array Qty="03" >
<Structure Qty="02" >
<String Value="id" />
<String Value="19" />
</Structure>
<Structure Qty="02" >
<String Value="task_id" />
<String Value="1" />
</Structure>
<Structure Qty="02" >
<String Value="status" />
<String Value="1" />
</Structure>
<Structure Qty="02" >
<String Value="type" />
<String Value="1" />
</Structure>
<Structure Qty="02" >
<String Value="name" />
<String Value="hello word" />
</Structure>
<Structure Qty="02" >
<String Value="corn" />
<String Value="111111" />
</Structure>
</Array>
</Structure>
</Array>
</Value>
</SetRequestNormal>
</SetRequest>
and how to set if i have to
and how to set if i have to read with some args?
Hi,
Hi,
Is the amount of the structures 5 instead of 3?
<Array Qty="03" >
What kind of arguments do you want to use for reading? Data objects are usually read without parameters.
BR,
Mikko
I am sorry, <Array Qty =“ 06”
I am sorry, <Array Qty =“ 06”>
I want to read like in xml client read , so how should I input in the GXDLMSDirector
or like follow , how shoud
or like follow , how shoud i input in GXDLMSDirector
<SetRequest>
<SetRequestNormal>
<InvokeIdAndPriority Value="68" />
<AttributeDescriptor>
<ClassId Value="1" />
<InstanceId Value="0000605001FF" />
<AttributeId Value="2" />
</AttributeDescriptor>
<Value>
<Structure Qty="3">
<String Value="task" />
<Enum Value="1" />
<Array Qty="1">
<Structure Qty="2">
<Array Qty="1">
<Structure Qty="2">
<Enum Value="0" />
<String Value="30" />
</Structure>
</Array>
<Array Qty="1">
<Structure Qty="2">
<Enum Value="1" />
<String Value="1phase_task" />
</Structure>
<Structure Qty="2">
<Enum Value="2" />
<String Value="1" />
</Structure>
</Array>
</Structure>
</Array>
</Structure>
</Value>
</SetRequestNormal>
</SetRequest>
Hi,
Hi,
You don't need to do anything. If you just read the value from the meter you can see it like the picture below. After the read, you can modify it and write back.
BR,
Mikko