• Recent
    • Tags
    • Popular
    • Register
    • Login

    Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

    Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website Mango 5 Documentation Website

    Design pattern to modify an epoch timestamp on modbus tcp

    Scripting general Discussion
    1
    2
    983
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • E
      etantonio
      last edited by

      Hi,
      I've a modbus slave talking to mango 2.8.8 , I want to show on the web interface an epoch coming from the slave, I've done this using the datapoint rendering

      0_1602451661204_2f47759f-9565-4639-8089-4656d6572ae1-immagine.png

      0_1602451721846_f198e747-5e88-466b-9daf-fc8950c2244e-immagine.png

      0_1602451751110_1a759389-49c8-43b9-ab46-46f31a33b2af-immagine.png

      but this is not a clean solution because:

      1. I can't show the right time including locale without showing the locale itself
      2. to modify the value on the slave I've to send to it an epoch and not a formatted date

      What is the cleanest way to obtain this behaviour (modify an epoch on a modbus slave)?
      Is there some example for this?
      Thanks,
      Antonio

      1 Reply Last reply Reply Quote 0
      • E
        etantonio
        last edited by

        Using a Meta Data Source I think could be possible to format the date as I need but how I can then map to an epoch as required when the user for example change the hour?

        1 Reply Last reply Reply Quote 0
        • First post
          Last post