基本信息
源码名称:mmslite参考手册.pdf
源码大小:1.95M
文件格式:.pdf
开发语言:C/C++
更新时间:2021-01-14
友情提示:(无需注册或充值,赞助后即可获取资源下载链接)
嘿,亲!知识可是无价之宝呢,但咱这精心整理的资料也耗费了不少心血呀。小小地破费一下,绝对物超所值哦!如有下载和支付问题,请联系我们QQ(微信同号):813200300
本次赞助数额为: 1 元×
微信扫码支付:1 元
×
请留下您的邮箱,我们将在2小时内将文件发到您的邮箱
源码介绍
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