# 11. PLC Protocols

**Introduction**

This chapter contains information on configuring the communication between device and HMI.

**General procedure**

During configuring communication in PIStudio. The following components and conditions is indeed at least.

 One PI HMI

 One connected controller (for example PLC)

 One communication cable

![](/files/-LvJWz4t92_GKzrAaaw2)

User need to select controller protocol and set communication parameters in HMI project. Please note to set same communication parameter between controller and HMI project. After finishing project, user could download HMI project into HMI and connect HMI with controller by communication cable. Then a simple automation system would be established.

**Selecting protocol and communication parameters**

For example, controller is WECON LX3V series PLC and HMI is PI8070. Please set communications protocol, and set communication parameters in the \[Communication].

**Operating procedure**

1\) After creating the \[Quick\_Start] project, select the \[Project] -> \[Communication].

![](/files/-LvJWz4uC0KuNB60dK-G)

2\) Click “Setting” to open protocol setting windows.

![](/files/-LvJWz4vjbDCCEhKphO1)

3\) Select communication protocol, users could select serial port, Ethernet port, CAN port or USB.

 Serial port:

![](/files/-LvJWz4wgwhtfco_Drog)

 Ethernet port:

![](/files/-LvJWz4x290y_oog-4sA)

 CAN port (In COM1):

![](/files/-LvJWz4yM_BU9fw7mgU5)

 USB port:

![](/files/-LvJWz4zu9IszTBCAtcX)

4\) About parameters for communication, PLC default communication parameters have been written to PIStudio, the user can adjust them according to the actual situation.

 Serial port:

![](/files/-LvJWz5-OBmGqahdARzr)

 Ethernet port

Please note, during using Ethernet port, please set HMI IP in \[Project Setting], the detailed, please refer to \[Project Setting] chapter.

![](/files/-LvJWz50G5iH6l0DXEuj)

5\) Click \[OK] button to save settings and close the dialog;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wecon.gitbook.io/pistudio-manual/11.-plc-protocols.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
