Forum Home › Forums › Understanding the Software › Alarm events sent by email or SMS
Tagged: api
- This topic has 23 replies, 6 voices, and was last updated 1 year, 6 months ago by Mikhail.
-
AuthorPosts
-
March 5, 2016 at 6:05 pm #853scodinaParticipant
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.
March 5, 2016 at 6:06 pm #854scodinaParticipantWe need rhetoric automation module for this?
March 5, 2016 at 6:10 pm #855scodinaParticipantThe* ( 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
March 6, 2016 at 1:56 pm #857MikhailModeratorI 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.
March 6, 2016 at 2:03 pm #858MikhailModeratorThe general sequence of configuring:
1. Configure sending emails and SMS in manual mode.
2. Download Automatic Control Module, install it and add appropriate triggers.March 6, 2016 at 2:06 pm #859MikhailModeratorThere 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.March 6, 2016 at 2:12 pm #860scodinaParticipantWhat’s the difference between demo mode, home and business for automatic control module? The demo mode is enough?
March 6, 2016 at 2:13 pm #861MikhailModeratorFor 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.
March 6, 2016 at 2:15 pm #862MikhailModeratorYou 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.
March 6, 2016 at 2:23 pm #863MikhailModeratorWhat’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.
March 26, 2017 at 3:01 pm #2034otrotabiParticipantHi, 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
March 27, 2017 at 5:57 am #2036MikhailModeratorHi,
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\LogMarch 27, 2017 at 11:27 am #2040otrotabiParticipantHi, 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: 1This 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:09Comm. sessions (total / errors) : 0 / 0
Commands (total / errors) : 1 / 0
Requests (total / errors) : 0 / 0Current 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 bookWaiting for commands…
2017-03-27 07:53:09 Command to the Device 41 “Email sender”, type: KpEmail
Email has been sent to josetabisi@tecnitower.comWaiting 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=1Regarding 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 textPlease let me know if you need furhert info.
Thanks
March 27, 2017 at 3:42 pm #2043MikhailModeratorIn the logs you can see that manually you send command to device 41, but automatically to device 401.
March 27, 2017 at 5:22 pm #2046otrotabiParticipantYes ! 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.
-
AuthorPosts
- You must be logged in to reply to this topic.