Write by schedule

10 posts / 0 new
Last post
MNN
Write by schedule

Hi,
I can add attributes to schedules for read, selecting COSEM object and "Add to Schedule" from "Tools" menu. And how can I add attributes to schedules for write data ?

Kurumi
Kurumi's picture

Hi,

I just notest that schedule UI in GXDLMSDirector is not show entries correctly. This is improved and a new version is released the latest tomorrow.

BR,
Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
http://www.gurux.fi

MNN

Hi,
Can I use new version with write attributes and methods by schedule?
And can I write attributes manually?

Kurumi
Kurumi's picture

Hi,

You can do it if your meter allows it.

BR,
Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
http://www.gurux.fi

Kurumi
Kurumi's picture

Hi,

Start GXDLMSDirector and update it to the latest version. Schedules UI is improved.

BR,
Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
http://www.gurux.fi

MNN

Hi,
I can write attributes in GXDLMSDirector, but DLMS.AMI can not do operation.
If I try to use ServerExample, an error occurs (but GXDLMSDirector write attributs):

fail: Gurux.DLMS.AMI.Reader.ReaderService[0]
Failed to Write 0.0.1.0.0.255:8. Access Error : Device reports Read-Write denied.

Our meter must be especially configured so that in DLMS.AMI it is possible to write?

Thank you.

MNN

The previous comment is a little incorrect.
I can write some attributes in GXDLMSDirector, but DLMS.AMI can not do operation and an error occurs (try to write passive calendar name ):

fail: Microsoft.AspNetCore.Server.Kestrel[13]
Connection id "0HLV2LUCOEFD5", Request id "0HLV2LUCOEFD5:00003A93": An unhandled exception was thrown by the application.
code = Error (1), message = System.Data.SQLite.SQLiteException (0x800007BF): SQL logic error
unrecognized token: "'CALIMP"
at Gurux.Service.Orm.GXDbConnection.UpdateOrInsert(List`1 list, Boolean insert)
at Gurux.Service.Orm.GXDbConnection.Update(GXUpdateArgs arg)
at DBService.Controllers.ValueController.Post(AddValue request) in C:\vsts-agent\_work\6\s\Gurux.DLMS.AMI\Controllers\ValueController.cs:line 110
at lambda_method(Closure , Object , Object[] )
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync()
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync()

Our meter must be especially configured so that in DLMS.AMI it is possible to write?
Thank you.

Kurumi
Kurumi's picture

Hi,

This looks more that SQ Lite can't handle this. What is your calendar name?

BR,
Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
http://www.gurux.fi

MNN

I try to write name "passive":

16:56:19 Writing object 0.1.13.0.0.255, interface ActivityCalendar
TX: 7E A0 1C 03 0F 5E 71 A6 E6 E6 00 C1 01 C1 00 14 00 01 0D 00 00 FF 06 00 09 01 0E 92 12 7E
16:56:19
RX: 7E A0 10 0F 03 14 18 D0 E6 E7 00 C5 01 C1 00 50 89 7E
16:56:19 Reading object 0.1.13.0.0.255, interface ActivityCalendar
TX: 7E A0 19 03 0F 70 5A 00 E6 E6 00 C0 01 C1 00 14 00 01 0D 00 00 FF 06 00 9A 6C 7E
16:56:20
RX: 7E A0 1B 0F 03 36 1D 12 E6 E7 00 C4 01 C1 00 09 09 0E 00 00 00 00 00 00 00 00 A6 6B 7E

Kurumi
Kurumi's picture

Hi,

You need to give name as an hex string. We have clients who are using hex string and that is the reason. I'll check if this can be improved to handle ASCII strings.

BR,

Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
http://www.gurux.fi