GTW/EN CT/C40
Communication
Page 28/64
PACiS Gateway
3.7
SOE file management
The number of SOE files, SOE104 files, in the directory defined by keys Drive+Path is
limited. When the limit is reached, the oldest file is replaced by a new one.
A SOE file creation is divided into 3 steps:
-
until the maximum number of events in a SOE number is reached, events are stored
in a xxxx.tmp file, where xxxx is the IEC name (number in [1…65535],
-
when the xxxx.tmp file is full, it is immediately in xxxx.tmp_ready,
-
every 20 seconds the dll looks for .tmp_ready files: if any, it tries to rename it in
.SOE104 file. If the file couldn’t have been renamed, a new trial will be done
20 seconds later, an so on. In a normal processing, the only thing which prevents from
renaming a .tmp_ready in a .SOE104 is when the directory is full and the oldest file is
being read by the SCADA (i.e. this oldest file cannot be deleted and replaced by the
new .tmp_ready). When the file is successfully renamed, a “directory” ASDU is sent
with Cause of Transmission = spontaneous.
When the dll starts, some .tmp and .tmp_ready can be present in the directory: .tmp will be
then renamed in .tmp_ready, and .tmp_ready will be renamed in .SOE104, as in the normal
processing, but no “directory” ASDU will be sent. However that may be, “directory” ASDU is
never sent on dll starting.
“directory” ASDU is sent when a new SOE file appears in the directory or, if
delete_file_after_read registry key is set to 1, after a file deletion. “directory”. ASDU is not
sent if the SCADA deletes a file explicitly with ASDU F_SC_NA_1 (122).
IOA and file name management:
The directory content is ordered by increasing file name: base IOA generally fit to oldest file,
which name (=IEC name = a number) is the smallest (exception if files a 1, 2, 65534, 65535).
Example (=”dir” ASDU content):
- 25.SOE104
IOA = 1000
- 26.SOE104
IOA = 1001
- 27.SOE104
IOA = 1002
- 28.SOE104
IOA = 1003
If file 25.SOE104 is read and deleted, the “dir.” ASDU content will become:
- 26.SOE104
IOA = 1000
- 27.SOE104
IOA = 1001
- 28.SOE104
IOA = 1002
Or if file 25.SOE104 is replaced by 29.SOE104
- 26.SOE104
IOA = 1000
- 27.SOE104
IOA = 1001
- 28.SOE104
IOA = 1002
- 29.SOE104
IOA = 1003
Only one file can be transferred at a time, it’s not possible to read 2 files or more
simultaneously: i.e if a file is currently selected, a selection on a second file will be refused.
If a loss of communication with the SCADA occurs while a transfer is in progress, on
communication recovery the processing has to be resumed from the beginning.
A SOE104 file is a binary file, which contains only the ASDUs (no other information is
present in the file).
Содержание GTW/EN T/C40
Страница 1: ...PACiS GTW Gateway GTW EN T C40 Version 4 5 Technical Guide ...
Страница 2: ......
Страница 4: ...GTW EN T C40 Technical Guide Page 2 2 PACiS GTW gateway BLANK PAGE ...
Страница 5: ...Safety Handling GTW EN SA C40 PACiS GTW gateway SAFETY HANDLING ...
Страница 6: ......
Страница 8: ...GTW EN SA C40 Safety Handling Page 2 8 PACiS GTW gateway BLANK PAGE ...
Страница 14: ...GTW EN SA C40 Safety Handling Page 8 8 PACiS GTW gateway BLANK PAGE ...
Страница 15: ...Technical Data GTW EN TD C40 PACiS GTW gateway TECHNICAL DATA ...
Страница 16: ......
Страница 31: ...Introduction GTW EN IT C40 PACiS GTW Gateway INTRODUCTION ...
Страница 32: ......
Страница 34: ...GTW EN IT C40 Introduction Page 2 8 PACiS GTW Gateway BLANK PAGE ...
Страница 40: ...GTW EN IT C40 Introduction Page 8 8 PACiS GTW Gateway BLANK PAGE ...
Страница 41: ...Hardware Description GTW EN HW C40 PACiS GTW gateway HARDWARE DESCRIPTION ...
Страница 42: ......
Страница 44: ...GTW EN HW C40 Hardware Description Page 2 8 PACiS GTW gateway BLANK PAGE ...
Страница 51: ...Connection GTW EN CO C40 PACiS Gateway CONNECTION ...
Страница 52: ......
Страница 54: ...GTW EN CO C40 Connection Page 2 8 PACiS Gateway BLANK PAGE ...
Страница 60: ...GTW EN CO C40 Connection Page 8 8 PACiS Gateway BLANK PAGE ...
Страница 61: ...Installation GTW EN IN C40 PACiS Gateway INSTALLATION ...
Страница 62: ......
Страница 64: ...GTW EN IN C40 Installation Page 2 30 PACiS Gateway BLANK PAGE ...
Страница 82: ...GTW EN IN C40 Installation Page 20 30 PACiS Gateway Don t forget to click on the Apply button ...
Страница 93: ...Human Interface GTW EN HI C40 PACiS GTW gateway HUMAN INTERFACE ...
Страница 94: ......
Страница 96: ...GTW EN HI C40 Human Interface Page 2 12 PACiS GTW gateway BLANK PAGE ...
Страница 106: ...GTW EN HI C40 Human Interface Page 12 12 PACiS GTW gateway BLANK PAGE ...
Страница 107: ...Communication GTW EN CT C40 PACiS Gateway COMMUNICATION ...
Страница 108: ......
Страница 172: ...GTW EN CT C40 Communication Page 64 64 PACiS Gateway BLANK PAGE ...
Страница 173: ...Commissioning GTW EN CM C40 PACiS GTW gateway COMMISSIONING ...
Страница 174: ......
Страница 176: ...GTW EN CM C40 Commissioning Page 2 4 PACiS GTW gateway BLANK PAGE ...
Страница 179: ...Record Sheet GTW EN RS C40 PACiS GTW gateway RECORD SHEET ...
Страница 180: ......
Страница 182: ...GTW EN RS C40 Record Sheet Page 2 6 PACiS GTW gateway BLANK PAGE ...
Страница 187: ...Maintenance GTW EN MF C40 PACiS GTW gateway MAINTENANCE ...
Страница 188: ......
Страница 192: ...GTW EN MF C40 Maintenance Page 4 68 PACiS GTW gateway BLANK PAGE ...
Страница 256: ...GTW EN MF C40 Maintenance Page 68 68 PACiS GTW gateway BLANK PAGE ...
Страница 257: ...Problem Analysis GTW EN PR C40 PACiS GTW gateway PROBLEM ANALYSIS ...
Страница 258: ......
Страница 259: ...Problem Analysis GTW EN PR C40 PACiS GTW gateway Page 1 4 CONTENT 1 SCOPE OF THE DOCUMENT 3 2 PROBLEM IDENTIFICATION 4 ...
Страница 260: ...GTW EN PR C40 Problem Analysis Page 2 4 PACiS GTW gateway BLANK PAGE ...
Страница 263: ...Functional Description GTW EN FT C40 PACiS Gateway FUNCTIONAL DESCRIPTION ...
Страница 264: ......
Страница 266: ...GTW EN FT C40 Functional Description Page 2 12 PACiS GTW gateway BLANK PAGE ...
Страница 276: ...GTW EN FT C40 Functional Description Page 12 12 PACiS GTW gateway BLANK PAGE ...
Страница 277: ...Logical Diagram GTW EN LG C40 PACiS GTW gateway LOGICAL DIAGRAM ...
Страница 278: ......
Страница 280: ...GTW EN LG C40 Logical Diagram Page 2 6 PACiS GTW gateway BLANK PAGE ...
Страница 284: ...GTW EN LG C40 Logical Diagram Page 6 6 PACiS GTW gateway BLANK PAGE ...
Страница 285: ...Glossary GTW EN LX C40 PACiS GTW gateway GLOSSARY ...
Страница 286: ......
Страница 287: ...Glossary GTW EN LX C40 PACiS GTW gateway Page 1 10 CONTENT 1 INTRODUCTION 3 2 LEXICAL 4 ...
Страница 288: ...GTW EN LX C40 Glossary Page 2 10 PACiS GTW gateway BLANK PAGE ...
Страница 297: ......