event triger

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #8902
    Zeus
    Participant

    Hi,
    I got a problem. I am trying to config input channels. The type of channel is calculated real. I checked event and event onchange. But there is no event triggered on the webstation.

    the count of input channels is 19900. whether or not it is the reason that caused the problem.

    https://ibb.co/fdq9tfg

    #8911
    Mikhail
    Moderator

    Hi,

    May be events are created but not displayed. Did you click “All Events” button of the events table?
    Also you should open the archive files in Administrator and check if events presented or not.

    If you change language to English, open channel properties form, and make a screenshot of all channel properties, it would help.

    #8920
    Zeus
    Participant

    hi
    I have opened the archive files in Administrator and checked events not presented.
    https://ibb.co/17z4vgx
    https://ibb.co/nQ197rR
    https://ibb.co/QKJDtTz

    #8925
    Zeus
    Participant

    hi
    I have solved it. thanks a lot.

    #8926
    Zeus
    Participant

    hi
    I got a new problem.
    I created a new channel. its type is calculated real. I use formula below

    “GetBit(Val(1001),0);Cnl==0?115:116”

    I checked the option ‘onchange’.
    There are always two events.
    The first one is caused by value change and the second is caused by status change.
    How can I fix it. thanks alot.

    #8928
    manjey73
    Participant

    The same garbage for two events, the formulas seem to affect the creation of duplicates.

    #8930
    Mikhail
    Moderator

    Hi,

    The formula is incorrect. Could you provide a screenshot of all properties of this channel?

    #8934
    Zeus
    Participant
    #8935
    Zeus
    Participant

    @mikhail
    hi
    i am waiting online.

    #8937
    Mikhail
    Moderator

    Hi,
    1. Set Signal to blank
    2. Update the formula to GetBit(Val(1001), 0); GetBit(Val(1001), 0) > 0 ? 116 : 115

    #8939
    Zeus
    Participant

    hi
    thanks a lot. it works. it confused me for a long while.

    #8947
    Mikhail
    Moderator

    Glad to read this 🙂

    #9064
    SGG
    Participant

    Hello Mikhail, i have similar problems regarding event duplicates

    for every event on the list, there is a duplicate. how do i remove the duplicates?

    The images for the event, channel and channel properties is as shown.

    Event

    Channel Prop

    Thanks

    • This reply was modified 2 years, 10 months ago by SGG.
    #9072
    Mikhail
    Moderator

    Hi,

    Likely, you should not set the channel 2570 from itself.
    The formula of the channel 2570 should be: Val(2510) > 0 ? Val(2526) : Val()

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