Understand how event record works

Forum Home Forums Understanding the Software Understand how event record works

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #15114
    kcks66
    Participant

    Hi Mikhail,

    I am working on a Timer to count Minutes and Seconds. My application is to provide a button for user to click to reset the Timer back to 0.

    I used Auto Control Module to send a RESET command to the Timer when user clicked the button. The result is as expected as the Timer is reset back to 0.

    I want to record the reset click action as an Event. The record shall record:
    – The time when user click the reset button
    – The Timer counted Value just before reset to 0

    My channels configuration (102 is Timer Value, 103 is output channel Button):
    https://ibb.co/BVjfhtF

    My auto control module configuration (I want to copy 102 value here):
    https://ibb.co/RHssNZ9
    https://ibb.co/F8kWBXz

    However, I always get the copy value 1 as the result (looks like copy from 103):
    https://ibb.co/ck4LmDL

    Pls advice for the correct configuration.
    Thank you.

    #15118
    Mikhail
    Moderator

    Hi,
    Try unset the Copy channel data checkbox, and specify channel value and status.
    May be, it’s better to create a command trigger rather than a data trigger.

    #15119
    kcks66
    Participant

    Hi Mikhail,

    Pls advice for what specific channel value needed to be insert here since I want to copy value from other channel.

    I tried to use command trigger but the result was same like data trigger.

    #15120
    Mikhail
    Moderator

    Hi,

    I want to copy value from other channel

    You can do that in the output formula of the channel that is used for sending command. Use Val(n) function.

    • This reply was modified 1 month ago by Mikhail.
    #15121
    Mikhail
    Moderator

    In a trigger, you can copy value of the channel that fires the trigger.

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