Code Monkey home page Code Monkey logo

xeden3 / lecpserver Goto Github PK

View Code? Open in Web Editor NEW
221.0 4.0 45.0 39.66 MB

LECPServer(Leanboard Equipment Communication Proxy Server), It is a high-performance industrial connectivity platform developed based on the JLean framework. It solves communications challenges with industrial devices and applications, with streamlined data through a single communications platform

HTML 2.42% CSS 4.52% JavaScript 93.00% SCSS 0.06%
plc kepserver jlean csharp javascript communication

lecpserver's Introduction

LECPServer

A faster and more concise open source PLC communication middleware than kepserver

LECPServer(Leanboard Equipment Communication Proxy Server), It is a high-performance industrial connectivity platform developed based on the JLean framework. It solves communications challenges with industrial devices and applications, with streamlined data through a single communications platform, Over 90% of PLCs can interact with applications through LECPServer by HTTP POST (Webapi), Users can connect, manage, monitor, and control diverse automation devices and software applications through one intuitive user interface.

Different from KEPServer,Matrikonopc, the communication protocol used by KEPServer is the more common HTTP POST protocol used on the application side. In addition to reducing the difficulty of development and improving communication efficiency, it also avoids the authorization required to use OPC protocol.

Website: http://www.lecpserver.com

Documentation: http://www.lecpserver.com:3001/

Source code: https://github.com/xeden3/LECPServer

Bug reports: https://github.com/xeden3/LECPServer/issues

Download: https://github.com/xeden3/LECPServer/releases/

Example Video

LECPServer connects and controls Schneider M200 series PLC [Chapter 1] https://www.bilibili.com/video/BV1bK4y1Q7o8

LECPServer connects and controls Schneider M200 series PLC [Chapter 2] https://www.bilibili.com/video/BV1yA411T71C

LECPServer Environment Requirements

Operating system:

  • Windows 10 x64 (Pro and Enterprise)
  • Windows 8.1 x64 (Windows 8, Professional and Enterprise)
  • Windows 8 x64 (Windows 8, Professional and Enterprise)
  • Windows 7 x64 (Pro, Ultimate and Enterprise)
  • Windows Server 2016 x64
  • Windows Server 2012 x64 R2
  • Windows Server 2012 x64

The minimum system configuration is as follows:

  • INTEL I3 or equivalent processor
  • 4GB RAM (follow OS recommendations)
  • 500 MB free disk space
  • 1G Ethernet card

Auxiliary runtime software that the system needs to install

LECPServer is currently developed based on the JLean v2.2.x platform, and the JLean v2.2.x version requires the following auxiliary runtime software

  • Microsoft .NET Framework 4.6.1 or above
  • Visual C++ Redistributable Packages for Visual Studio 2013

Microsoft .NET Framework 4.6.1 https://dotnet.microsoft.com/download/dotnet-framework/thank-you/net461-web-installer Visual C++ Redistributable Packages for Visual Studio 2013 https://www.microsoft.com/zh-cn/download/details.aspx?id=40784

Instructions

  1. Extract the zip file to a folder
  2. Double-click to start LECPServer.exe

User Interface

ofins webapi

Features

  • Simple and clear GUI
  • WebAPI read and write support
  • Massive PLC communication protocol support
  • Efficient load
  • Internationalization view selected languages
  • HTTP Debugger tool
  • System log

Performance Testing

Test Equipment

  1. CPU INTEL Core I7-1065G7 1.30Ghz processor
  2. 16GB DDR4 RAM
  3. SSD M2 disk
  4. Windows10 Professional 1909 64bit Operating System
  5. Schneider TM200CE24R PLC

testing method

  1. Set a BOOL point C0000 and a WORD point H0000 for the PLC, open 50 read threads and 50 write threads, run the plc_read_node and plc_write_node commands, and test the response speed of the two commands
  2. Set a BOOL point C0000 and a WORD point H0000 for the PLC, open 50 read threads and 50 write threads, run the plc_read_nodes and plc_write_nodes commands, and test the response speed of the two commands

Conclusion, the first set of test results, 50 read threads and 50 write threads, the read and write return time for a single thread is 10ms-13ms, the second set of test results, 50 read threads and 50 write threads, for a single read Write return time is 20ms-24ms

debugger6 debugger7

internationalization

Thanks to translate LECPServer into more languages.

Key language status
cn 简体中文 ✔️ @xeden3
en English ✔️ @xeden3
jp 日本語 @xeden3

About JLean authorization

LECPServer is free and open source software, all functions are free, its kernel is JLean, and the kernel needs to follow the JLean authorization model. For the function of LECPServer, if it is only for two PLCs, it can be used for free, but if more than two PLCs are required for linking, JLean needs to be authorized.

JLean website http://www.jlean.org

lecpserver's People

Contributors

xeden3 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

lecpserver's Issues

[Question] 为什么Release里面的bs.zip是加密的?

如果基于jlean开发,那么如果想在本地监听http请求,不是要调用JsProxyAPI.webAPIStart()这个接口吗?为什么源码里面没有处理http请求的相关代码?请问作者是jlean的员工吗?我翻遍了文档没有找到相关信息,问题比较多,有点像采访,希望作者不要介意 😄

S7-200 Smart 读取报错

["2022-10-14 09:44:38.224 +08:00","[INF]","COMM","", "sync_plc_nodes: [s7_200_smart] [q1.0] Error: System.InvalidOperationException: Could not execute method: plcReadBool(7b294fe3-1794-40d8-9acf-1d067cc6d15d, q1.0, NaN, CefSharp.Internals.JavascriptCallbackProxy) ---> System.ArgumentException: 类型“System.Double”的对象无法转换为类型“System.Int32”。 在 System.RuntimeType.TryChangeType(Object value, Binder binder, CultureInfo culture, Boolean needsSpecialCast) 在 System.Reflection.MethodBase.CheckArguments(Object[] parameters, Binder binder, BindingFlags invokeAttr, CultureInfo culture, Signature sig) 在 System.Reflection.RuntimeMethodInfo.InvokeArgumentsCheck(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) 在 System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) 在 System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters) 在 CefSharp.Internals.JavascriptObjectRepository.TryCallMethod(Int64 objectId, String name, Object[] parameters, Object& result, String& exception) 位置 c:\\projects\\cefsharp\\CefSharp\\Internals\\JavascriptObjectRepository.cs:行号 170 --- 内部异常堆栈跟踪的结尾 --- 在 CefSharp.Internals.JavascriptObjectRepository.TryCallMethod(Int64 objectId, String name, Object[] parameters, Object& result, String& exception) 位置 c:\\projects\\cefsharp\\CefSharp\\Internals\\JavascriptObjectRepository.cs:行号 194"],

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.