otrotabi

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: Alarm events sent by email or SMS #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.

    in reply to: Alarm events sent by email or SMS #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

    in reply to: Alarm events sent by email or SMS #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

Viewing 3 posts - 1 through 3 (of 3 total)