The perfect replacement for Kepware KepServer, a free open source project LECPServer User Guide

5 篇文章 1 订阅
4 篇文章 1 订阅

Introduction

The full name of LECPServer is Leanboard Equipment Communication Proxy Server. It is a high-performance industrial configuration service software developed based on the JLean framework. Through this configuration software, 90% of the PLCs on the market can be linked, and the reading and writing of PLCs can be communicated through the HTTP protocol, enabling users to Ability to connect, manage, monitor and control different automation devices and software applications through one intuitive user interface.

Different from KepServer, LECPServer performs read and write control with third-party devices through WebAPI, which solves the efficiency and difficulty of OPCUA protocol for server-side coding. It is easy to read and write on the device side, which also means that even if you write simple codes directly through browsers, such as Chrome and IE, you can control the status of the PLC synchronously.

Instructions

The use of LECPServer is also very simple, there is only one page control page, directly on the picture: (specific operating instructions document http://www.lecpserver.com:3001)

LECPServer界面

The operation method of adding devices and device nodes is also very simple. Add a new device on the device menu, then select a Panasonic type PLC in PLC_DRIVER, configure related parameters, such as IP address, port, and add a new PLC device node X0000 on the node configuration. , configure the device type, and click Apply.

LECPServer添加松下PLC设备

LECPServer添加松下PLC设备节点

The reading and writing communication with the PLC is also very simple. Read and write the device points through the following API commands.

// 读PLC节点X0000状态
{
    "action":"plc_read_node",
    "node":"NODES.PanMC.X0000"
}

// 写入PLC节点X0000状态为true
{
    "action":"plc_write_node",
    "node":"NODES.PanMC.X0000", 
    "value":true
}

As shown in the figure below, LECPServer also provides debugging tools for users to perform simple spot debugging.

LECPServer读写通讯

performance

The official also provides the performance test of LECPServer, the test environment is as follows:

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

50 read threads and 50 write threads, for the plc_read_node and plc_write_node commands, the return time for a single read and write is 10ms-13ms

50 read threads and 50 write threads, for the plc_read_nodes and plc_write_nodes commands, control 4 nodes at a time, and the return time for a single read and write is 20ms-24ms

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值