Menu

Command type 59 : Double with time tag

Oliver
2017-03-24
2017-03-28
  • Oliver

    Oliver - 2017-03-24

    Dear Ricardo

    I'm experiencing a problem with command type 59 (Double with time tag) ?

    When I send a double command with time tag, the date tag in the sent message is one month before. Ex, we are the 24h of March, the sent date is 24th of February.

    If I shift my computer clock one month later (24th of april) the sent date is the 24th of March.

    I did not have tried the other command with time tag.

    Thanks in advance for your support.

    Olivier

    Mail Disclaimer
    http://www.gillam-fei.be/maildisclaimer

     
  • ricardolo

    ricardolo - 2017-03-26

    Dear Oliver,

    You are right.
    I see that there is a problem in the code (iec104_class.cpp, line 1750) when converting tm time structure where months are 0 based (0-JAN, 11=DEC) to CP56 time format where months are 1 based (1=JAN, ... 12=DEC). This is happening also for all other commands with time.
    I will correct the code and publish a new version soon.

    Thanks for spotting the problem.

    Ricardo

     
  • Oliver

    Oliver - 2017-03-28

    Hi Ricardo,

    Thanks for the feedback.
    Could you please notify me on my email address as soon as the new version is available ?

    Best regards,

    Olivier

     
    • ricardolo

      ricardolo - 2017-03-28

      Dear Oliver,
      The version 1.20 was uploaded with the correction of the month problem for commands.
      Please let me know if it's working properly for you now.
      Regards,
      Ricardo
      olsen.ricardo [ @ ] dscsys.com

       
  • Oliver

    Oliver - 2017-06-07

    Hi Ricardo,

    Sorry for the long time to give you a feedback.
    It's working properly now, thanks for your prompt and efficient support.

    Regards,

    Oliver

     

Log in to post a comment.