Skip to content

I see that the Master.cs input switch has a case time sync, but that results in a [NO_FUNC_CODE_SUPPORT] from the outstation. #344

Closed Answered by jadamcrain
mattheweby asked this question in Q&A
Discussion options

You must be logged in to vote

Change this method to return WriteTimeResult.Ok:

public WriteTimeResult WriteAbsoluteTime(ulong time)

There's a section in the docs here that discusses what is happening:

https://docs.stepfunc.io/dnp3/1.5.2/guide/docs/api/outstation/application#time-synchronization

Our library will NOT change the system clock. It's up to you to do so or reconcile a clock with the time received via DNP3 and then apply a calculated time when updating the database.

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@mattheweby
Comment options

Comment options

You must be logged in to vote
1 reply
@mattheweby
Comment options

Answer selected by mattheweby
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants