• Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Reset DI Input Counter

    Official EVOK API
    2
    2
    1160
    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.
    • roberts_lando
      roberts_lando last edited by

      Is there a way to reset inputs counter? I have tried with:

      wget -qO- http://localhost/rest/input/1_01 --post-data='counter=1'
      

      But it returns:

      {"errors":  {"__all__": "Input instance has no attribute '_regcounter'"}, 
      "success": false}
      

      Any suggestions? Does the counter restart from 0 once it reach the max number rappresentation? Thanks.

      T 1 Reply Last reply Reply Quote 0
      • T
        tomas_hora administrators @roberts_lando last edited by

        @roberts_lando Support for Neurons is limited only to set the outputs and read inputs. Setting counter is not possible using Evok but if you want, you can use the TCP Modbus interface for that.

        Yes, once the maximum number of counter is reached it is reset to 0.

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