Alarm events sent by email or SMS

Forum Home Forums Understanding the Software Alarm events sent by email or SMS

Viewing 15 posts - 1 through 15 (of 18 total)
  • Author
    Posts
  • #853
    scodina
    Participant

    Can you write a step by step algorithm on how to create an alarm event from a discrete chanel and send the alarm by email or SMS, it will be very useful thanks.

    #854
    scodina
    Participant

    We need rhetoric automation module for this?

    #855
    scodina
    Participant

    The* ( sorry I’m writing on smartfone) I think this scada is very smart and easy to use! I’m a wonderware system integrator so I know about scada. The only thing that needs more improvement is the schematic tool, it is too poor I think, but in general is a great job! I would like to let know the software here in Italy. Ciao

    #857
    Mikhail
    Moderator

    I would like to let know the software here in Italy

    That’s nice news 🙂

    New version of web user interface is under active development. Definitely, it will be released in 2016.

    #858
    Mikhail
    Moderator

    The general sequence of configuring:
    1. Configure sending emails and SMS in manual mode.
    2. Download Automatic Control Module, install it and add appropriate triggers.

    #859
    Mikhail
    Moderator

    There is an article detailed describes how to add devices to the system: http://rapidscada.org/connecting-devices-using-modbus-protocol/
    In the article a Modbus device is added, but the ideas are the same.

    #860
    scodina
    Participant

    What’s the difference between demo mode, home and business for automatic control module? The demo mode is enough?

    #861
    Mikhail
    Moderator

    For sending SMS you need a GSM modem that supports AT command set, e.g. Cinterion MC55i http://www.smsco.it/tomcat/en/modem/cinterion_mc55i.jsp

    The steps of configuring are:
    1. Create an object, a communication line and a device (GSM modem) in the configuration database using SCADA-Administrator.
    2. Import the above data into SCADA-Communicator and make sure that the connection with the modem is established.
    3. Configure user interface.

    In case of configuring email notifications there is no physical devices, but you should also add a device of type Email into the configuration database.

    Please ask for details during the process of configuration.

    #862
    Mikhail
    Moderator

    You may be interesting in localization Rapid SCADA into Italian language. In this case just create a new topic and I’ll describe how to do it. It is easy.

    #863
    Mikhail
    Moderator

    What’s the difference between demo mode, home and business for automatic control module? The demo mode is enough?

    For now the difference between home and business licenses is the price only.
    Demo mode allows to try the module, you need to restart SCADA-Server after 10 minutes of work otherwise commands stop to be sent.

    If the software is installed at work you have to purchase the business license.

    #2034
    otrotabi
    Participant

    Hi, I am able to send emails in Manual Mode from the Communicator Module. I also downloaded Automatic Control Module, asked for a trial key, configured a channel data trigger (High temperature ) and get the confirmation from inside the module log that the trigger was detected (Trigger “High temperature ” raises) and the command to email device was sent (Send Command to Device 401. Command number: 1). However I do not get any emails. What else do I need to configure ?

    Thanks

    #2036
    Mikhail
    Moderator

    Hi,
    I think, you should check command data. See Device Data tab in Communicator, scroll to the commands. Compare the command with manually sent commands.
    If you can’t find the difference, post here the kpXXXX.txt and lineXXX.log. They are in C:\SCADA\ScadaComm\Log

    #2040
    otrotabi
    Participant

    Hi, thanks for your fast answer. What I am doing is “Ctrl C + Ctrl V” from what I am writing in the Automatic Control Module into the string that triggers an email from the manual configuration, so I am pretty sure the string is not the problem. I only add “no” to the message subject in order to be able to tell the messages apart and not get confused.

    Ok, I got a new trial key, here are the results from Scada/ScadaServer/Log/ModAutoControl log

    ——————————————————————————–
    2017-03-27 07:48:18 Start ModAutoControl module
    2017-03-27 07:48:18 Check “Automatic control module” registration:
    Registration key is valid. Expiration date is 28/03/2017
    Computer code: =A698CC14BAB3810A-C0BF277D3506B8DD-54CE811CD7B94DD5-2438CFFADF78EC77-2EE36D9C93F80512-D4E66955529E0CBD-B46517385A6088F3-AA3E7AFB358BD113-B0831251637B199E-871A4AAA71712C45-778BDCBA0E2222F5-242579DE0D2A7117-2CB6EDDFAB87CEEE-0790008BD45C11B4-39AACF95295CF8BB-4DBEE1E4E06A7DFE=
    2017-03-27 07:49:04 Trigger “Alta temperatura” raises
    2017-03-27 07:49:04 Send command to Device 401. Command number: 1
    2017-03-27 07:55:09 Trigger “Alta temperatura” raises
    2017-03-27 07:55:09 Send command to Device 401. Command number: 1
    2017-03-27 07:58:40 Trigger “Alta temperatura” raises
    2017-03-27 07:58:40 Send command to Device 401. Command number: 1

    This is the result form kp04 log

    Device 41 “Email sender”
    ————————
    DLL : KpEmail
    State : normal
    Comm. session : time is undefined
    Command : 27/03/2017 07:53:09

    Comm. sessions (total / errors) : 0 / 0
    Commands (total / errors) : 1 / 0
    Requests (total / errors) : 0 / 0

    Current device tags data
    +——–+————-+——-+———+
    | Signal | Name | Value | Channel |
    +——–+————-+——-+———+
    | 1 | Sent emails | 1 | 401 |
    +——–+————-+——-+———+

    No archive data

    No events

    Commands (recent 10 commands)
    +——+———————+————————————————————————-+
    | Num. | Date and Time | Description |
    +——+———————+————————————————————————-+
    | 1 | 27/03/2017 07:53:09 | Command: type=Binary, device=41, number=1, data=4A6F73653B5072756562… |
    +——+———————+————————————————————————-+

    I think this last line was added after I sent a manual email.

    This is line004 log

    Waiting for commands…
    ——————————————————————————–
    2017-03-27 07:48:25 Initialize communication line 4 “Email”
    2017-03-27 07:48:26 Start communication line 4 “Email”
    Loading address book

    Waiting for commands…

    2017-03-27 07:53:09 Command to the Device 41 “Email sender”, type: KpEmail
    Email has been sent to josetabisi@tecnitower.com

    Waiting for commands…

    This is ScadaCommSvc log. I am not sure what it means, but it looks like the module is doing it`s job

    ——————————————————————————–
    2017-03-27 07:48:23 <JOSEHP8540><SYSTEM><ACT> ScadaCommService 5.0.0.1 is started
    2017-03-27 07:48:24 <JOSEHP8540><SYSTEM><ACT> Load device library: KpModbus.dll
    2017-03-27 07:48:24 <JOSEHP8540><SYSTEM><ACT> Load device library: KpOpc.dll
    2017-03-27 07:48:25 <JOSEHP8540><SYSTEM><ACT> Load device library: KpSms.dll
    2017-03-27 07:48:25 <JOSEHP8540><SYSTEM><ACT> Load device library: KpEmail.dll
    2017-03-27 07:48:25 <JOSEHP8540><SYSTEM><ACT> Load device library: KpSnmp.dll
    2017-03-27 07:48:25 <JOSEHP8540><SYSTEM><ACT> Connect to SCADA-Server “localhost”
    2017-03-27 07:48:26 <JOSEHP8540><SYSTEM><ACT> Start communication lines
    2017-03-27 07:48:26 <JOSEHP8540><SYSTEM><ACT> Start receiving commands
    2017-03-27 07:49:04 <JOSEHP8540><SYSTEM><ACT> The command is received from SCADA-Server: type=Binary, device=401, number=1
    2017-03-27 07:53:09 <JOSEHP8540><SYSTEM><ACT> The command is received from file: type=Binary, device=41, number=1
    2017-03-27 07:55:09 <JOSEHP8540><SYSTEM><ACT> The command is received from SCADA-Server: type=Binary, device=401, number=1
    2017-03-27 07:58:40 <JOSEHP8540><SYSTEM><ACT> The command is received from SCADA-Server: type=Binary, device=401, number=1
    2017-03-27 08:14:11 <JOSEHP8540><SYSTEM><ACT> The command is received from SCADA-Server: type=Binary, device=401, number=1

    Regarding configuration of ModAutoControl, it says:

    Server: localhost Port: 10000 Timeout: 10000 User : ScadaServerCtrl Passsword: *****, I have not touched the password, but could it possibly be wrong ?

    In Device 401,Command 1, I have:

    Device: 401 Command: 1 Binary
    String: User;Mail Subject;Mail text

    Please let me know if you need furhert info.

    Thanks

    #2043
    Mikhail
    Moderator

    In the logs you can see that manually you send command to device 41, but automatically to device 401.

    #2046
    otrotabi
    Participant

    Yes ! Now it works, sorry to waste your time. I have another question to ask regarding the automatic module but I will open another topic. Thank you.

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