Coder Social home page Coder Social logo

iec104's Introduction

iec104

iec104主站golang实现

quickstart

修改.env中的从站地址

执行docker-compose up

develop

  1. 修改.env中的从站地址
  2. 安装依赖 make deps
  3. 修改example/client/worker/worker.go来处理通过104协议收到的数据
  4. 运行example中的104主站程序 make client

104规约解析

遥信起始地址1H<=>1

遥测起始地址4001H<=>16385

遥脉起始地址6001H<=>24577

实现功能

  1. 每15分钟进行一次总召唤,第一次触发为激活后。

  2. 每15分钟进行一次电度总召唤,第一次触发为总召唤结束后。

  3. 主备切换,断线重连

  4. 信号量解析

    3.1. M_SP_NA_1=1 单点遥信

    3.2. M_DP_NA_1=3 双点遥信

    3.3. M_ME_NA_1=9 带品质描述的遥测

    3.4 M_ME_NC_1=13 浮点数遥测

    3.4 M_IT_NA_1=15 电度总量遥脉

    3.5. M_SP_TB_1=30 带7个字节短时标的单点遥信

iec104's People

Contributors

9d77v avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.