Difference between revisions of "AlarmEvent"
Eric.liang (talk | contribs) |
Eric.liang (talk | contribs) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 102: | Line 102: | ||
[[File:Grafana customization event table.jpg|1200x250px|Grafana customization event table.jpg]] | [[File:Grafana customization event table.jpg|1200x250px|Grafana customization event table.jpg]] | ||
− | = | + | = Event JSON Message for Air Compressor = |
<pre>{ | <pre>{ | ||
"susiCommData": | "susiCommData": | ||
Line 123: | Line 123: | ||
"eventID":242, | "eventID":242, | ||
"ModBusDeviceID":"Modbus_Device0", | "ModBusDeviceID":"Modbus_Device0", | ||
− | + | "HandlerName":"Modbus_Handler" | |
} | } | ||
} | } | ||
} | } | ||
}</pre> | }</pre> | ||
− | |||
− | |||
= Release = | = Release = | ||
− | {| border="1" cellspacing="1" cellpadding="1" style="width: | + | {| border="1" cellspacing="1" cellpadding="1" style="width:1300px;" |
|- | |- | ||
| style="text-align: center; width: 45px;" | <span style="font-size:medium;">Index</span> | | style="text-align: center; width: 45px;" | <span style="font-size:medium;">Index</span> | ||
Line 175: | Line 173: | ||
*[file://eossfs/ESS-Release/EdgeSense/Release/ESS-Release/Windows/Modbus_Handler/2.0.1 Modbus_Handler v2.0.1] | *[file://eossfs/ESS-Release/EdgeSense/Release/ESS-Release/Windows/Modbus_Handler/2.0.1 Modbus_Handler v2.0.1] | ||
− | | style="width: | + | | style="width: 231px;" | |
+ | [[Media:event_config-1.0.2.zip|event_config.json]] | ||
+ | |||
+ | [[Media:Advantech-SW-Specification-for-SWANAIR-20190315.pdf|Software Specification-signed by customer]] | ||
+ | |||
|} | |} |
Latest revision as of 04:13, 11 June 2019
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. Event message is setting in the "event_config.json". And event_config.json that can set handler name, tag name to subscribe specific handler and message code.
Alarm Event
How to
Software Requirements
- MQTT broker v1.0.3
- EI Agent
- Modbus_Handler v2.0.1
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)
- tag_name: Subcribe tag name
- subtype: Event subtype
- event:
- severity: Emergency = 3 ,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
{ "tag_name":"Error_Code", "subtype":"TC_AC", "event": { "1": {"severity":3, "msg_code":241, "msg":"E:0030 Door Open","error_code": "E:0030", "extmsg":"Immediate stop: Enclosure door open"}, "2": {"severity":4, "msg_code":242, "msg":"A:0030 Door Open", "error_code": "A:0030","extmsg":"Warning: Enclosure door open"}, "3": {"severity":4, "msg_code":250, "msg":"A:0031 CAB FTR DP ALM","error_code": "A:0031", "extmsg":"Warning: Cabinet filter differential pressure"}, "4": {"severity":3, "msg_code":321, "msg":"E:0040 Oil level","error_code": "E:0040", "extmsg":"Immediate stop: Oil level alarm"}, "5": {"severity":4, "msg_code":322, "msg":"A:0040 Oil level alarm","error_code": "A:0040", "extmsg":"Warning: Oil level high"}, "6": {"severity":3, "msg_code":401, "msg":"E:0050 RD alarm","error_code": "E:0050", "extmsg":"Immediate stop: Refrigerant dryer"}, "7": {"severity":4, "msg_code":402, "msg":"A:0050 RD alarm","error_code": "A:0050", "extmsg":"Warning: Refrigerant dryer"}, "8": {"severity":3, "msg_code":481, "msg":"E:0060 Belt drive SERV","error_code": "E:0060", "extmsg":"Immediate stop: Belt drive service"}, "9": {"severity":3, "msg_code":561, "msg":"E:0070 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
A SwanAir Table supports maximizue 東正 AIR Compressor devices' event message.
- Add RMM_Event data source => Configuration / DataSources
- Upload plugin (swanair-datatable-panel_2018-11-21.zip) => Configuration / Plugins
- Add panel
- Panel setting
- Hidden Column
- Event table
Event JSON Message for Air Compressor
{ "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, "ModBusDeviceID":"Modbus_Device0", "HandlerName":"Modbus_Handler" } } } }
Release
Index | Version |
Date |
Platform |
OS |
Release Note |
Download | Note |
1 | 1.0.1 | 2018/12/10 | x64 CPU |
Windows 10 x64 | AlarmEvent_ReleaseNote_1.0.1.pdf |
|
Event Format v1.0.1 |
2 | 1.0.2 | 2019/03/05 | x64 CPU | Windows 10 x64 |
|