IEC61850笔记--开源代码libIEC61850(一)

IEC61850标准学习和调试,测试的记录文档,主要参考了IEC61850标准文档,《IEC61850应用入门(第二版)》,开源代码libIEC61850及libIEC61850说明文档。

IEC61850标准内容参考IEC61850标准文档,以及IEC61850标准介绍文档《IEC 61850应用入门》。

资源下载

1.libIEC61850开源代码

2.libIEC61850代码说明文档

3.测试工具IEDScout

版本编译

使用交叉工具链编译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/


评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值