In this page, you can configure the PubSub of AIC OpcUa Server.
1. PubSub Setting: Change the configure file and server address
2. Default Parameter: Setup parameters
Example: Set up 2 OpcUa Server in 2 computers with the same local network.
Step 1: Open the program "UaExpert" and connect to 2 OpcUa servers.
Notice!: The operator should be "Configure Admin" to set Pub/Sub
Step 2: “Document” -> ”Add…”, Choose “PubSub Config View” document and press button “Add”
Step 3: Double click “Add UDP Multicast Group” and add a default group “opc.udp://239.0.0.1:4840”
Step 4: Double click “Add UA Application” to choose “AIC OPC UA 1” (The first OpcUa server) and press button “OK”
Step 5: Double click “Add DataSet Writer” to create a published dataset “Writer_1”
Step 6: Drag tags from “Address Space” and drop to Publish dataset
Step 7: Press button “OK” to apply the dataset setting
Step 8: Double click “Add UA Application” to choose “AIC OPC UA 2” (The first OpcUa server) and press button “OK”
Step 9: Double click “Add DataSet Reader”, choose “AIC OPC UA 1 / Writer_1” to create a subscribed dataset
Step 10: Drag tags and drop to the rows of subscribed tags, and press button “OK”
Step 11: In folder “Configuration”, press download button and press “OK” to download the configuration to 2 servers
Verification
Monitor data
Int_0001~Int_0010 from AIC OPC UA 1 (called Zone1)
and
Int_0011~Int_0020 from AIC OPC UA 2 (called Zone2)
When data of Zone 1 changes, the data from Zone2 change, too
[User Manual] Introduce Pub/Sub
Moderator: OpcUa Support
-
- Posts: 39
- Joined: Thu Nov 17, 2022 7:15 am
[User Manual] Introduce Pub/Sub
Best Regards,
OpcUa Support Team
OpcUa Support Team