Difference between revisions of "AlarmEvent"
From ESS-WIKI
Line 1: | Line 1: | ||
= Introduction = | = Introduction = | ||
+ | |||
+ | Alarm event that is a service to subscribe MQTT borker topic to get message code. Accroding to message code mapping event message and send event to EI server. | ||
= Alarm Event = | = Alarm Event = |
Revision as of 10:53, 28 November 2018
Contents
Introduction
Alarm event that is a service to subscribe MQTT borker topic to get message code. Accroding to message code mapping event message and send event to EI server.
Alarm Event
How to
Software Requirements
- MQTT broker V1.0.3
- EI Agent
- Agent_Modbus_Handler_2.0.1-rc2 or newer
Installation
1.Double click AlarmEvent-X.X.X.exe to install.
2.Click "Next" to continue the setup wizard.
3.Select installation folder then click "Next"
4.Click "Next" to begin the installation
5.Complete the installation, click "Finish" to exit the setup wizard
6.Edit event_config.json (if need)
7.Restart device
Configuration
event_config.json (location: C:\Program Files (x86)\Advantech\AlarmEvent\config)
- handler_name: Subcribe handler name
- tag_name: Subcribe tag name
- subtype: Event subtype
- event:
- severity: Emergency = 0 ,Warning = 4
- msg_code: Device output code
- msg: Output code express message
- error_code: Output code express error code
- extmsg: Externel event message
- server: MQTT broker ip
- server_port: MQTT broker port
{ "handler_name":"Modbus_Handler", "tag_name":"Error_Code", "subtype":"TC_AC", "event": { "1": {"severity":0, "msg_code":241, "msg":"Door Open","error_code": "E:0030", "extmsg":"Immediate stop: Enclosure door open"}, "2": {"severity":4, "msg_code":242, "msg":"Door Open", "error_code": "A:0030","extmsg":"Warning: Enclosure door open"}, "3": {"severity":4, "msg_code":250, "msg":"CAB FTR DP ALM","error_code": "A:0031", "extmsg":"Warning: Cabinet filter differential pressure"}, "4": {"severity":0, "msg_code":321, "msg":"Oil level","error_code": "E:0040", "extmsg":"Immediate stop: Oil level alarm"}, "5": {"severity":4, "msg_code":322, "msg":"Oil level alarm","error_code": "A:0040", "extmsg":"Warning: Oil level high"}, "6": {"severity":0, "msg_code":401, "msg":"RD alarm","error_code": "E:0050", "extmsg":"Immediate stop: Refrigerant dryer"}, "7": {"severity":4, "msg_code":402, "msg":"RD alarm","error_code": "A:0050", "extmsg":"Warning: Refrigerant dryer"}, "8": {"severity":0, "msg_code":481, "msg":"Belt drive SERV","error_code": "E:0060", "extmsg":"Immediate stop: Belt drive service"}, "9": {"severity":0, "msg_code":561, "msg":"Fan MTR IMM stop","error_code": "E:0070", "extmsg":"Immediate stop: Fan motor trip"} }, "server":"127.0.0.1", "server_port": 3000 }
Import event table
- Add RMM_Event data source
- Upload plugin (swanair-datatable-panel_2018-11-21.zip)
- Add panel
- Panel setting
- Event table
Json Data Format
{ "susiCommData": { "commCmd":2059, "requestID":2001, "agentID":"Modbus_Handler", "handlerName":"general", "sendTS":1541992952337, "eventnotify": { "subtype":"TC_AC", "msg":"Door Open", "severity":4, "handler":"Modbus_Handler", "extMsg": { "n": "Warning: Enclosure door open", "ErrorCode":"A:0030", "eventID":242 } } } }
Use Case
...
Release
Index | Version |
Date |
Platform |
OS |
Release Note |
|
|
|