Showing results 1 to 4 of 4

Thread: Message sending via function

  1. #1
    Join Date
    18.06.2013
    Posts
    29

    Default Message sending via function

    Hello Everybody

    I am having multiple bool variable.if any one bool variables goes to false then message
    will sent to user via outlook.One message will sent to user if one bool variable goes to false if multiple variable false then multiple message will sent to user.I would like to send only one message to user if one or multiple variable goes to false and also i would like to mention false variable name in that message.

  2. #2
    Join Date
    18.06.2013
    Posts
    29

    Default Re: Message sending via function

    Is it possible?

  3. #3

    Default Re: Message sending via function

    Hi sidramsatyal,

    For the first part, you would have to group your alarms, e.g. using an alarm group, and link an internal variable to this group.

    Then link the function to send the message to the variable defined at the alarm group.

    You do not have the information available which variables within this group have active alarms.

    However you could include the values of all the variables in this group, in the message text, if that is of any help.

    Best regards,
    Mark

  4. #4
    martins Gast

    Default AW: Message sending via function

    hi,

    if you want to use VBA, you could eventually use the VariableBulkChange event and use this one to trigger the Send Message function eventually. There, you need to modify the message text as well (using the event OnMessageCreated) - I never tried this, but I guess it should work.

    best regards,
    Martin

Similar Threads

  1. Sending two commands at once
    By gz0000 in forum zenon Energy Edition
    Replies: 5
    Last Post: 14th February 2017, 13:27
  2. Replies: 1
    Last Post: 24th April 2013, 04:50
  3. Sending command with IEC850 and communication error
    By nmblanquart in forum zenon Network
    Replies: 2
    Last Post: 24th October 2012, 08:37
  4. Replies: 3
    Last Post: 31st March 2011, 09:23
  5. Replies: 0
    Last Post: 25th September 2007, 14:10

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •