Show last authors
author | version | line-number | content |
---|---|---|---|
1 | = OPC UA Client = | ||
2 | |||
3 | This document describes the communication between Wecon HMI PI8150ig and LX6C-0808MT-DB Ethernet OPC UA, the PLC as Server and the HMI as Client. | ||
4 | |||
5 | **OPC UA Server Setting** | ||
6 | |||
7 | 1)Add [Symbol Configuration] | ||
8 | |||
9 | (% style="text-align:center" %) | ||
10 | [[image:1718694163624-376.png]] | ||
11 | |||
12 | 2)The option [Support OPC UA features] is enabled by default, do not change it, and then click [Add]; | ||
13 | |||
14 | (% style="text-align:center" %) | ||
15 | [[image:1718694187203-702.png]] | ||
16 | |||
17 | 3)Click [Build] to compile the project; | ||
18 | |||
19 | (% style="text-align:center" %) | ||
20 | [[image:1718694206493-877.png]] | ||
21 | |||
22 | 4)Tick the boxes for POU node to make all variables are accessible from OPC clients; | ||
23 | |||
24 | (% style="text-align:center" %) | ||
25 | [[image:1718694223959-314.png]] | ||
26 | |||
27 | |||
28 | **HMI Settings** | ||
29 | |||
30 | (% style="margin-left:auto; margin-right:auto" %) | ||
31 | |=**Items**|=**Settings**|=**Note** | ||
32 | |Protocol|OPC_UA_Client| | ||
33 | |Connection|Ethernet| | ||
34 | |Port No.|4840| | ||
35 | |PLC station No.|1| | ||
36 | |||
37 | (% class="box infomessage" %) | ||
38 | ((( | ||
39 | **✎**Note: Only 8000ig Series support OPC UA Client. | ||
40 | ))) | ||
41 | |||
42 | 1)[New]→[setting]→[communication device]:[communication]Ethernet, [Protocol]Ethernet1, [Device type]OPCUA,[Protocol]OPC_UA_Client→[OK] | ||
43 | |||
44 | (% style="text-align:center" %) | ||
45 | [[image:1718692090272-964.png]] | ||
46 | |||
47 | 2)Set the [Device IP] as Server IP:[Server IP]192.168.8.8,[Porta]4840.If you set the account of server,you need enter the [Username] and [Password] in the appropriate places. | ||
48 | |||
49 | (% style="text-align:center" %) | ||
50 | [[image:1718692350491-886.png]] | ||
51 | |||
52 | 3)Enter [Labels manage],click[Get Tags From Device] | ||
53 | |||
54 | (% style="text-align:center" %) | ||
55 | [[image:1718692618961-813.png]] | ||
56 | |||
57 | Choose the tags we need:[Root]-[Objects]-[DeviceSet]-[LX6C-0808MT-DD]-[Resources]-[Application]-[Programs].Then click[Add],and[Save]. | ||
58 | |||
59 | (% style="text-align:center" %) | ||
60 | [[image:123.png]] | ||
61 | |||
62 | 4)Then you can use these tags in the HMI. | ||
63 | |||
64 | (% style="text-align:center" %) | ||
65 | [[image:1718692728268-946.png]] | ||
66 | |||
67 | |||
68 | |||
69 |