Data History

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #9949
    gabeirinhas
    Participant

    Hello.

    I would like to implement a data history in the following way.

    When a bit of a specific address mw90.0 is activated. Read a specific byte (mw100).
    And store that value in a data record.

    The idea is to have a record of the number of refueling and the kg of a dispenser.

    any suggestion.

    Thanks in advance.

    • This topic was modified 2 years, 3 months ago by Mikhail.
    #9957
    Mikhail
    Moderator

    Hello,

    Try the following approach:
    1. Use Automatic Control Module to send a device poll command when the 1st input channel > 0.
    2. After reading the new value will be put into the 2nd input channel. This input channel should have event flags to write events on change.

    https://rapidscada.org/download-all-files/download-automatic-control-module/

    • This reply was modified 2 years, 3 months ago by Mikhail.
    #11333
    gabeirinhas
    Participant

    Hello,

    I have made the history the way you have indicated,

    I use the automatic module to send a command when I want to make the record,

    It works correctly, but there is a blind spot,

    When 2 equal events are generated one after the other, only the first event is logged, because the logging is based on event to change,

    Is there any way to generate the event in the same way without event to change, taking advantage of the triggering of the command?

    Thanks in advance.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.