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/