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)
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.
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.
performance
The official also provides the performance test of LECPServer, the test environment is as follows:
- CPU INTEL Core I7-1065G7 1.30Ghz processor
- 16GB DDR4 memory
- SSD M2 Disk
- Windows10 Professional Edition 1909 64bit Operating System
- 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