IEC61850標准學習和調試,測試的記錄文檔,主要參考了IEC61850標准文檔,《IEC61850應用入門(第二版)》,開源代碼libIEC61850及libIEC61850說明文檔。
IEC61850標准內容參考IEC61850標准文檔,以及IEC61850標准介紹文檔《IEC 61850應用入門》。
資源下載
版本編譯
使用交叉工具鏈編譯arm-linux版本:
1. 下載libiec61850-0.9.2.1.tgz並解壓
2. 打開make/target_system.mk文件,修改ARM_TOOLCHAIN_PREFIX為指定的交叉編譯工具
3. 使用make TARGET=LINUX-ARM編譯arm-linux版本
4. 使用make examples編譯應用示例
5. 進入examples/server_example1目錄
6. 使用sudo執行./ server_example1程序
7. 使用IEDScout連接server_example1查看內容
配置導入
Generate the static model source code from ICD (SCL) file
Note: You need a Java JRE 6 installed in order to create the model source code!
In the main directory of the source distribution change to the tools/model_generator directory. Enter
java -jar genmodel.jar my_model.icd
This will generate the two files static_model.c and static_model.h. Copy these files to your project directory where the build system can find them. The file static_model.c contains the definition of the data structures that build up the IED data model and also contains pre-configured values provided by the SCL file. The file static_model.h is intended to be included by your code and defines handles that you can use to efficiently access the data model.
更多說明內容參考官網說明http://libiec61850.com/libiec61850/documentation/