LECPServer中文 ↗Free download

Simulation PLC

On this page
  1. How to configure
  2. About debugging

LECPServer has a built-in simulated PLC node environment, which can simulate LECPServer when there is no PLC online.

How to configure

  1. Click "Add Device" and fill in the device name, such as "SIM_TEST"
  2. Select "Simulation" in PLC_DEVICE in the "Device Configuration" form
  3. Click the "Apply" button in the "Device Configuration" form, at this time the "SIM_TEST setting value is saved successfully" prompt, which proves that the node has been successfully added to the LECPServer

Screenshot

app_screen4

successful save prompt

app_screen5

After the device is successfully added, the specific node of the device can be edited. The editing method is as follows

  1. Click the "+" button to add a plc node
  2. Enter node name,like "FIRST_NODE"
  3. Enter the address of this node by "FIRST_NODE"(read and write FIRST_NODE in PLC)
  4. Select the type of the node,we using type of "BOOL"
  5. Node length, used to set the array length of the node,Here we set it to "2", which means that the node is a BOOL array consisting of 2 elements
  6. Click the "Apply" button, the node has taken effect, and you will see current value appear in the "Value" column of the node

app_screen6

About debugging

After the node is configured, we can debug it by the method of chapter about debugging