Forum Home › Forums › Communicating with Devices › OPC › SCADA Comunicattor – Events not received
- This topic has 11 replies, 2 voices, and was last updated 6 years, 1 month ago by Mikhail.
-
AuthorPosts
-
January 31, 2018 at 3:48 pm #3093tripodeParticipant
I have setup a OPC Demo device receiving data perfectly, but I would like to receive the Alarms and Events from my OPC server.
I have set up the configuration for that acording to documentation, adding a ‘event receiving group’ in Device 21 config, but when an event is raised I can see the following in SCADA comunicator Line Log:
2018-01-31 16:45:47 Device 21. Handle new events
Device 21. Unknow event soruce. Name: localhost.Sample Structured Text Program(it is a test event generated from Fernhill OPC server).
I dont know if some more configuration is needed to have the events/alarms sent to the Automatic Control Module and therefore have them in my email.
Thanks in advance.
February 1, 2018 at 7:58 am #3094tripodeParticipantHi, I have added the corresponding signals in data folder in Device 21 ‘OPC Demo’, and now I can see the events coming from the Fernhill OPC server in Device Data window (SCADA Configurator).
Then, how can I link this events/alarms to the Email sender?
Thanks in advance.
Edit: still having this:
‘2018-01-31 16:45:47 Device 21. Handle new events
Device 21. Unknow event soruce. Name: localhost.Sample Structured Text Program’- This reply was modified 6 years, 1 month ago by tripode.
February 1, 2018 at 2:19 pm #3101MikhailModeratorHi,
When an event is received from an OPC server, it contains tag name, called Event Source. You should add the tag “localhost.Sample Structured Text Program” to a DA subscription.You wrote in another topic that you use Automatic Control Module to send events by email. Does it work for now?
February 1, 2018 at 2:20 pm #3102MikhailModeratorWhen you get “Unknown event source” error, the event is not received, so you can’t send it by email.
February 1, 2018 at 2:32 pm #3103tripodeParticipantI have added “localhost.High temperature tank” to a ‘data reading group’ folder in SCADA-Communicator and I can see the events coming in ‘Device data’ info window, but the Automatic Control Module only triggers emails for events generated by itself (and works fine 10 min), but it doesnt work for events coming directly from OPC server (or at least I dont know how to trigger that). The ‘Email’ device doesnt trigger anything as I can see that in the log window.
- This reply was modified 6 years, 1 month ago by tripode.
February 1, 2018 at 2:47 pm #3105tripodeParticipantHi, now I have this:
‘‘2018-01-31 16:45:47 Device 21. Handle new events
Device 21. Process event. Name: localhost.High temperature tank’But Device 41 ‘Email sender’ doesn`t get the trigger signal to send email.
- This reply was modified 6 years, 1 month ago by tripode.
February 2, 2018 at 1:30 pm #3107MikhailModeratorHi,
Do events shown in Webstation?
Make a screenshot of the Device Data page of Communicator where tags and events are visible.February 5, 2018 at 8:31 am #3114tripodeParticipantNo, events directly from OPC server are not showed in Webstation (only events generated by RapidScada are).
- This reply was modified 6 years, 1 month ago by tripode.
February 5, 2018 at 10:14 am #3118tripodeParticipantEvents from OPC server aren not shown in .dat files neither.
February 5, 2018 at 4:10 pm #3123MikhailModeratorI can’t see important data on the screenshot, because it’s cropped. Can you find that file in C:\SCADA\ScadaComm\Log and paste it here?
February 6, 2018 at 7:22 am #3128tripodeParticipantWell, thanks to your question, I guess I have found the problem
I have added a channel number to signal 16 ‘localhost.t primario’ (it was empty), which is linked to alarms generated from OPC server and that tag. Now I have something.
So, can you confirm I have to have two channels for each tag? One for value and other for alarm/events?
Is there any way to take straighfoward event/alarm messages from OPC AE?
February 6, 2018 at 10:52 am #3132MikhailModeratorYou have a one input channel for a one tag.
Event must be bound to a tag that is bound to a channel to be passed to Server. -
AuthorPosts
- You must be logged in to reply to this topic.