dnetmod:DNetMod(DeviceNet模块)

  • H0_536292
    了解作者
  • 78.3KB
    文件大小
  • zip
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 1
    下载次数
  • 2022-05-24 09:45
    上传日期
DNetMod(DeviceNet模块) 介绍 本文档介绍DeviceNet(tm)模块。 它专门供C ++程序员使用(就像程序员参考一样),但可以由熟悉DeviceNet(tm)和C / C ++编程的任何其他人使用。 DeviceNet(tm)模块就像在DeviceNet(tm)接口(主设备)的C API上的C ++ shell。 该项目的目的是通过在您的应用程序,接口和DeviceNet(tm)网络中的设备之间提供一种通用的通信方式来简化此接口的使用。 DeviceNet(tm)模块已设计为可扩展的,以支持DeviceNet(tm)的更多和/或新接口。 这可以通过继承表示您的接口和与其连接的设备的模块基类来完成。 支持平台 该模块旨在用于Win32和Linux平台。 该模块应在Microsoft(r)Windows(r)9x,NT,Me,2000和XP上运行。 支持Linux内核
dnetmod-main.zip
  • dnetmod-main
  • .github
  • workflows
  • ccpp.yml
    425B
  • src
  • cnode.h
    3.5KB
  • ccifintf.h
    2.9KB
  • ccifdevice.cpp
    30.3KB
  • cnidevice.h
    3.2KB
  • cnode.cpp
    3.1KB
  • cintf.cpp
    3.4KB
  • cniintf.cpp
    5.4KB
  • dnmdefs.h
    4.3KB
  • dnmtest.cpp
    21.4KB
  • ccifintf.cpp
    13.1KB
  • cid.h
    2.4KB
  • cid.cpp
    3.4KB
  • dnmsd.h
    34.9KB
  • cdevice.h
    10.4KB
  • dnetmod.h
    3.9KB
  • ccifdevice.h
    3KB
  • dnmerrs.h
    11.7KB
  • cnidevice.cpp
    13.4KB
  • Makefile
    4KB
  • dnetmod.cpp
    21.5KB
  • cintf.h
    4.3KB
  • cniintf.h
    2.4KB
  • cdevice.cpp
    4.3KB
  • lib
  • get_deps.sh
    2.3KB
  • README.md
    1.6KB
  • dnm_user.h.diff
    12.6KB
  • rcs_user.h.diff
    9.7KB
  • tools
  • vne.pl
    623B
  • prj
  • dnmtest.vcproj
    3.8KB
  • dnetmod.vcproj
    12.2KB
  • dnetmod.sln
    1.4KB
  • dnetmod.kdevprj
    3KB
  • dnetmod.kdevses
    222B
  • AUTHORS
    178B
  • Changelog
    2.9KB
  • COPYING
    17.6KB
  • dnetmod.filelist
    423B
  • .travis.yml
    237B
  • README.md
    3.3KB
  • Makefile
    152B
  • Doxyfile
    491B
  • .gitignore
    70B
  • dnetmod.kdevelop
    2KB
  • dnetmod.kdevelop.filelist
    1.8KB
内容介绍
[![Build Status](https://travis-ci.com/gdsotirov/dnetmod.svg?branch=master)](https://travis-ci.com/gdsotirov/dnetmod) [![Action Status](https://github.com/gdsotirov/dnetmod/workflows/C/C++%20CI/badge.svg)](https://github.com/gdsotirov/dnetmod/actions?query=workflow%3A%22C%2FC%2B%2B+CI%22) # DNetMod (DeviceNet Module) ## Introduction ------------------------------------------------------------------------------ This document describes the DeviceNet(tm) Module. It's specially purposed for C++ programmers (it's like a programmers' reference) but can be used by any other person familiar with DeviceNet(tm) and C/C++ programming. The DeviceNet(tm) Module is like a C++ shell over the C API of the DeviceNet(tm) interfaces (master devices). The goal of this project is to simplify the use of this interfaces by providing a universal way of communication between your application, the interface and the devices in your DeviceNet(tm) network. DeviceNet(tm) Module has been designed to be expandable to support more and/or new interfaces for DeviceNet(tm). This can be done by inheriting of the module base classes to represent your interface and a device attached to it. ## Supported platforms ------------------------------------------------------------------------------ The module is designed to be used on Win32 and Linux platforms. The module should work on Microsoft(r) Windows(r) 9x, NT, Me, 2000 and XP. Linux kernel series 2.2 and 2.4 are supported. The primary target for the module is Intel(r) ix86 platform, but should be compiled on other platforms with no or small changes. On Win32 platform supported compilers are Microsoft(r) Visual C++(r), Borland(r) C++ Builder(tm), Watcom C/C++ and possibly others. On Linux platform GNU GCC is supported and possibly Intel(r) C++ Compiler for Linux. Note: If you wish to port the module to other platform/compiler be sure structures in files cif_user.h, cifuser.h, rcs_user.h and dnm_user.h to be packed and aligned on 1 byte boundary. ## Supported hardware ------------------------------------------------------------------------------ Currently the DeviceNet(tm) Module supports only two interfaces: * National Instruments(tm) NI-DNET(tm) Interface * Hilscher CIF-DNM Interfaces (Tested only with CIF-50DNM! But should work with all other Hilscher boards.) ## Features ------------------------------------------------------------------------------ DeviceNet(tm) Module provides general functionality to the programmer who uses it. In the same way independent from the interface you can communicate with your devices. With the DeviceNet(tm) Module you can do: * open, close and reset your interface; * allocate/deallocate a device on the network; * read data from a device; * write data to a device; * get device's attributes; * set device's attributes; * execute DeviceNet(tm) services. ## Module interface ------------------------------------------------------------------------------ Module API is provided thru functions and classes. To find more about them please follow the links below. You can view whole class hierarchy presented in a tree view (see hlp/). * Functions - DevTypeToString - GetErrMsg - VendIdToString * Classes - CIdentificator - CNode - CInterface - CDevice - CNIInterface - CNIDevice - CCIFInterface - CCIFDevice
评论
    相关推荐
    • Microsoft Windows 脚本技术
      Microsoft Windows 脚本技术新版,脚本使用手册
    • Microsoft Windows 程序设计
      该资源详细地介绍了微软Windows程序设计中的所有重要技术!还附带了很多实用的小例子.
    • Programming Applications for Microsoft Windows
      windows 程序开发人员必备的参考书。这本书可以帮助您理解windows的精髓和核心构成。这应该是同类书中最权威,讲解最透彻的一本书。-A excellent windows develper s most important reference book. This book can ...
    • Microsoft windows脚本技术
      主要介绍了windows下的各种脚本,不管对于初学者还是高手都值得一看
    • Microsoft Windows Script Technologies
      Microsoft Windows Script Technologies;VBScript,jscript,Script Runtime,Script Components,Windows Script Host技术参考
    • Microsoft Windows 脚本技术
      Microsoft Windows 脚本宿主 (WSH) 是一种工具,它允许您在基本操作系统(Windows 95 或 Windows NT 4.0.)内部运行 Visual Basic Scripting Edition 和 JScript。 Windows 脚本接口(英文) Microsoft Windows ...
    • Microsoft Windows 脚本技术
      Microsoft Windows 脚本技术
    • Microsoft Windows 脚本技术
      Microsoft Windows 脚本宿主 (WSH) 是一种工具,它允许您在基本操作系统(Windows 95 或 Windows NT 4.0.)内部运行 Visual Basic Scripting Edition 和 JScript。 Windows 脚本接口(英文) Microsoft Windows ...
    • Microsoft Windows Portable Workspace
      Microsoft Windows Portable Workspace
    • Professional Microsoft Windows Embedded 6.0
      Windows Embedded CE is a Microsoft operating system that addresses the needs of handheld, mobile, and embedded devices. This timely book will help you become familiar with the Windows Embedded CE ...