实例介绍
【实例简介】
61850的开发库,英文版,mms协议,工业制造报文规范
(61850 development library, English version)
【实例截图】
【核心代码】
Table of Contents i Introduction ...............................................................................................................................................................1 What is MMS-EASE Lite?......................................................................................................................................1 About This Manual ................................................................................................................................................1 Conventions Used in this Manual..........................................................................................................................2 Getting Started...........................................................................................................................................................3 Prerequisites..........................................................................................................................................................3 Installation.............................................................................................................................................................3 Directory Structure................................................................................................................................................7 Building MMS-Lite ...................................................................................................................................................9 Development System Preparation..........................................................................................................................9 Creating MMS-Lite Libraries..............................................................................................................................17 Building MMS-Lite Step-by-Step .........................................................................................................................23 MMS-Lite Lower Layers.........................................................................................................................................25 Profile Options ....................................................................................................................................................25 Lower Layer Component Portation .....................................................................................................................27 Overview of Sockets Interface Implementation....................................................................................................28 Subnetwork Layer Portation................................................................................................................................28 Protocol Stack Configuration ..............................................................................................................................29 Network Layer (CLNP/ES-IS) Configuration ......................................................................................................29 ACSE Authentication ...........................................................................................................................................31 MVL Application Program Interface.......................................................................................................................33 MVL Application Build Process ..........................................................................................................................34 Code Generation Utility Programs......................................................................................................................34 MVL Configuration..............................................................................................................................................35 MVL Connection Management............................................................................................................................36 Using MVL with MMS Lite ACSE Components...................................................................................................44 Extending the MVL Service Set............................................................................................................................45 MVL Dynamic Object Management ....................................................................................................................60 MMS Object Control ...........................................................................................................................................74 MVL MMS Server Facilities................................................................................................................................82 Variable Access Overview...................................................................................................................................94 MVL MMS Client Facilities...............................................................................................................................149 Using the UCA Features of MVL..........................................................................................................................185 Read/Write Indication Functions.......................................................................................................................185 Dynamic Type Creation for UCA and IEC 61850 .............................................................................................188 Using the IEC 61850 Features of MVL.................................................................................................................207 IEC 61850 Reporting Functions........................................................................................................................207 Sampled Value Support......................................................................................................................................214 Configuring IEC 61850 Devices Using SCL.........................................................................................................219 Dynamically Creating IEC 61850 Types from Input Obtained from the SCL File............................................219 SCL Data Structures..........................................................................................................................................219 IEC 61850 GOOSE Support..................................................................................................................................231 General GOOSE Information ............................................................................................................................231 IEC GOOSE.......................................................................................................................................................232 IEC 61850 GSSE (same as UCA 2.0 GOOSE) .....................................................................................................239 Receiving GSSE Messages.................................................................................................................................239 IEC 61850 GSE Management ...............................................................................................................................247 GSE Request Data Structures............................................................................................................................247 MMS Object Foundry............................................................................................................................................261 MMS Object Foundry Workflow........................................................................................................................261 Command Line Parameters...............................................................................................................................262 Object Definition Syntax....................................................................................................................................264 MMS Object Foundry Execution Control..........................................................................................................265 User Include File ...............................................................................................................................................265 MMS Data Type.................................................................................................................................................266 MMS Domain.....................................................................................................................................................266 MMS Named Variables......................................................................................................................................267 MMS Named Variable List ................................................................................................................................268 UCA Model Name Generation...........................................................................................................................269 Alignment Control File......................................................................................................................................269 MMS-EASE Lite Reference Manual ii MMS Object Foundry UCA Specific Features...................................................................................................270 Subset Creation......................................................................................................................................................275 Error Codes............................................................................................................................................................277 ACSE Error Codes.............................................................................................................................................277 TP4 Error Codes ...............................................................................................................................................278 CLNP Error Codes............................................................................................................................................278 Subnetwork API Error Codes............................................................................................................................280 MVL Error Codes..............................................................................................................................................281 Logging Tools........................................................................................................................................................283 General Logging................................................................................................................................................283 File Logging ......................................................................................................................................................283 Memory Logging................................................................................................................................................284 Log Control Data Structure...............................................................................................................................284 Using the SLOG Logmasks................................................................................................................................285 File Control Data Structure...............................................................................................................................285 Memory Control Data Structure........................................................................................................................286 IPC LOGGING..................................................................................................................................................287 SLOG (SISCO Logging) ....................................................................................................................................287 Enhanced Logging Features..............................................................................................................................295 MMS-Lite Log Levels.........................................................................................................................................296 Configuring Log Masks with the XML file.........................................................................................................299 Memory Management Tools..................................................................................................................................303 Standard Memory Management.........................................................................................................................303 Dynamic Memory Allocation.............................................................................................................................305 Pooled Memory Management Using SMEM .....................................................................................................309 Compiling and Linking with Pooled Memory Management ..............................................................................309 Range Monitoring..............................................................................................................................................311 SMEM Control Global Variables......................................................................................................................315 SMEM Functions...............................................................................................................................................316 Linked List Tools...................................................................................................................................................323 Link List Data Structure ....................................................................................................................................323 GLBSEM Subsystem for Multi-Threaded Support ...............................................................................................329 SISCO’s Global Mutex (Mutual Exclusion) Semaphore Macros.......................................................................330 Mutex Semaphore Functions .............................................................................................................................331 Event Semaphore Functions..............................................................................................................................332 Thread Functions...............................................................................................................................................336 Utility Functions....................................................................................................................................................339 Miscellaneous Functions...................................................................................................................................339 UTC Time Support Functions............................................................................................................................340 Subnetwork API ....................................................................................................................................................343 Subnetwork Data Structure................................................................................................................................343 Ethertype Data Structure...................................................................................................................................343 Subnetwork Functions .......................................................................................................................................344 Functions for IEEE 802.3 Tagged MAC frames (Ethertype).............................................................................350 MMS-EASE Type Description Language (TDL)..................................................................................................351 Simple Type Names............................................................................................................................................351 TDL Structure Control.......................................................................................................................................354 IEC GOOSE Example Application Framework ....................................................................................................357 Framework functions contained within iec_rx.c................................................................................................357 Framework functions contained within iec_tx.c ................................................................................................366 IEC61850 Product PICS........................................................................................................................................371 Index......................................................................................................................................................................387
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论