| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| en:sw:01-mervis:weintek-hmi-bacnet-mervis-hidden [2021/08/05 13:12] – avsetula | en:sw:01-mervis:weintek-hmi-bacnet-mervis-hidden [2025/11/21 11:11] (current) – clarification ofojt |
|---|
| <WRAP group 100%> | <WRAP group 100%> |
| <WRAP half column 81%> | <WRAP half column 81%> |
| HMI panels are useful devices that can make control of various automation projects (boiler control, smart home control, industrial production control etc.) much easier. If you then need to connect HMI panel to the Mervis IDE, you can do so using the BACnet protocol over LAN. | If you need to connect the Mervis IDE and the HMI display using a local network, you can use the BACnet protocol. For your project, you can use the HMI, in this case, the Weintek touchscreen HMI display, for system control, production control, boiler control, home control, etc. |
| </WRAP> | </WRAP> |
| <WRAP half column 15%> | <WRAP half column 15%> |
| </WRAP> | </WRAP> |
| |
| In this tutorial, we will show you how to set up a BACnet server, how to connect a client to this server and how to generate a variable list (EDE file). | In the following tutorial, you will learn how to set up a BACnet server, how to connect to the server with a client, or how to generate a list of variables (.EDE file). |
| | |
| | The result of this tutorial is to show the PLC inputs as controls on the HMI display and to control the PLC digital outputs directly from the HMI display. |
| |
| |
| * The client access data via server-side objects (A/D values, trend logs etc.) | * The client access data via server-side objects (A/D values, trend logs etc.) |
| |
| | \\ |
| <WRAP center round box> | <WRAP center round box> |
| <html><span class="kbBlue-H4alt">Prerequisites:</span></html> | <html><span class="kbBlue-H4alt">Prerequisites:</span></html> |
| </WRAP> | </WRAP> |
| |
| | \\ |
| == Connection example: == | == Connection example: == |
| {{ :en:sw:01-mervis:weintek_hmi_bacnet.png?nolink |}} | {{ :en:sw:01-mervis:weintek_hmi_bacnet.png?nolink |}} |
| {{ :en:sw:01-mervis:003_weintek-hmi-mervis-_bacnet_en.png |}} | {{ :en:sw:01-mervis:003_weintek-hmi-mervis-_bacnet_en.png |}} |
| |
| Name the newly created device <html><span class="avOrangeText">BACnet_UDP</span><html>. Select the device and set the same parameters in <html><span class="avBlueText">Properties</span></html> in as following: | Name the newly created device <html><span class="avOrangeText">BACnet_UDP</span></html>. Select the device and set the same parameters in <html><span class="avBlueText">Properties</span></html> in as following: |
| * **Device instance:** 1 (1-4194302, unique within the network) | * **Device instance:** 1 (1-4194302, unique within the network) |
| * **Management Password:** //set your password// | * **Management Password:** //set your password// |
| {{ :en:sw:01-mervis:002_weintek-hmi-easybuilder-bacnet.png |}} | {{ :en:sw:01-mervis:002_weintek-hmi-easybuilder-bacnet.png |}} |
| |
| Upon creating the new project, a <span class="avBlueText">System Parameter Settings</span></html> will appear. Click on <html><span class="avBlueText">New device/server</span></html>. | Upon creating the new project, a <html><span class="avBlueText">System Parameter Settings</span></html> will appear. Click on <html><span class="avBlueText">New device/server</span></html>. |
| {{ :en:sw:01-mervis:003_weintek-hmi-easybuilder-bacnet.png |}} | {{ :en:sw:01-mervis:003_weintek-hmi-easybuilder-bacnet.png |}} |
| |
| {{ :en:sw:01-mervis:004_weintek-hmi-easybuilder-bacnet.png |}} | {{ :en:sw:01-mervis:004_weintek-hmi-easybuilder-bacnet.png |}} |
| |
| In this tab you can set up the IP address either manually, or you can click on <html><span class="avBlueText">Who Is…</span></html> and the server will be found and set up automatically. The standard BACnet port is 47808 – if you selected a different port in Mervis IDE, you need to change the BACnet port here as well. | In this tab you can set up the IP address either manually, or you can click on <html><span class="avBlueText">Who Is…</span></html> and the server will be found and set up automatically. The standard BACnet port is 47808 and the IP address field should have IP of the PLC, where BACnet server should run. If you selected a different port in Mervis IDE, you need to change the BACnet port here as well. |
| \\ | \\ |
| |
| For <html><span class="avBlueText">Bit lamp</span></html> choose one of the <html><span class="avBlueText">DI</span></html> variables. | For <html><span class="avBlueText">Bit lamp</span></html> choose one of the <html><span class="avBlueText">DI</span></html> variables. |
| |
| Look up the <html><span class="avBlueText">hw_$Axon S105_DO_1_01_w$</span></html> object and select <html><span class="avBlueText">PresentValue</span></html>. | Look up the <html><span class="avBlueText">hw_$Axon S105_DI_1_01_w$</span></html> object and select <html><span class="avBlueText">PresentValue</span></html>. |
| {{ :en:sw:01-mervis:013_weintek-hmi-easybuilder-bacnet.png |}} | {{ :en:sw:01-mervis:013_weintek-hmi-easybuilder-bacnet.png |}} |
| |