35
GATEWAY SPECIFICATION - WebdynPulse
WebdynPulse – Gateway specification - Version 2.0
7.7.1 Syntax of the alarms file name
The alarms file uploaded to the FTP server complies with the following format:
prefixID
_AL_
YYMMDD_hhmmss.
csv.gz
Where:
prefixID:
gateway identifier.
YYMMDD_hhmmss:
timestamp for the archive in the format “year-month-day-hour-minute-second”.
7.7.2 Format of alarm file
The uploaded CSV alarm file can contain several alarms from different sources. It is in the following
format:
date-time_1;AlarmSource1;fileDefinitionName_1;typeIO_1;indexIO_1,valueIO_1
date-time_N;AlarmSourceN;fileDefinitionName_N;typeIO_N;indexIO_N,valueIO_N
Where:
date-time_N:
timestamp when the alarm was triggered, in the format YY/MM/DD-hh:mm:ss
AlarmSourceN:
source that triggered the alarm: here, I/O.
fileDefinitionName_N:
name of the definition file associated with the trigger.
typeIO_N:
type of trigger: here, Input.
indexIO_N:
index of the input raising the alarm.
valueIO_N:
value of the input raising the alarm (0 open, 1 closed).
7.7.3 Example of an alarm on a digital input
Reception of the alarm file
prefixID
_AL_130329_132505.csv.gz after the “PULSE 2” digital input has
closed. The file contains the following information:
29/03/13-13:21:01;IO;prefixID_IO.ini;Input;2;1
With the definition file:
prefixID
_IO.ini:
1;1;5;PULSE1;1;0;4
2;2;6;PULSE2;1;0;8
3;3;0;PULSE3;1;0;0
8 Upgrading the unit
The gateway can be updated locally via the built-in Web server, or remotely via the FTP server.
Only “.pak” files containing firmware supplied by Webdyn should be used.