OpcUa Extender Server:如何當Modbus Client 、 OPC UA Client 使用等?
Posted: Fri Feb 16, 2024 9:52 am
- 當 Modbus Client 使用。
- modsim32
- OpcUa Extender Server
- UaExpert/IoT Studio
Utilize modsim32 to create a Modbus TCP device.
Step 2:
Launch OpcUa Ext. Utility, then select the "Industrial Protocol" tag.
Add a "Modbus Tcp Configuration".
Prepare a Modbus device nodes config file for access and add it in the "Modbus Tcp Configuration".
Example: Modbus device nodes config file
Code: Select all
;TagName , DisplayName , Directory , Type , Trans , Address , Length , Factor , Offset
"TagString_4_40100","TagString_4_40100","InputReg/STRING","STRING","",40100,4,,
"TagString_4H_40100","TagString_4H_40100","InputReg/STRING","STRING.H","",40100,4,,
"TagString_4L_40100","TagString_4L_40100","InputReg/STRING","STRING.L","",40100,4,,
"TagString_4_30100","TagString_4_30100","InputReg/STRING","STRING","",30100,4,,
"TagString_4H_30100","TagString_4H_30100","InputReg/STRING","STRING.H","",30100,4,,
"TagString_4L_30100","TagString_4L_30100","InputReg/STRING","STRING.L","",30100,4,,
Step 3:
Utilize UaExpert to connect to OpcUa Extender Server, locate the Protocols in the relative Modbus TCP folder. Then, you can read/write to the Modbus TCP device like a Client.
- 當 OPC UA Client 使用。
- Another OpcUa Extender Server/other OpcUa Server
- OpcUa Extender Server
- UaExpert/IoT Studio
Utilize OpcUa Extender Server to create a target OpcUa Server.
Then got the target OpcUa Server Endpoint like: opc.tcp://os-x:48010
Step 2:
Launch OpcUa Ext. Utility, then select the "Industrial Protocol" tag.
Add a "OPC UA Client".
Prepare a OPC UA Client nodes config file for access and add it in the "OPC UA Client Configuration".
Example: OPC UA Client nodes config file
Code: Select all
;TagName , DisplayName , Directory , Type , Trans , Address , Length , Factor , Offset
Int32_Var01,Int32_Var01,,INT32,,ns=2;i=6003,1,,
Int32_Var02,Int32_Var02,,INT32,,ns=2;i=6004,1,,
Int32_Var03,Int32_Var03,,INT32,,ns=2;i=6005,1,,
Int32_Array,Int32_Array,,INT32,,ns=2;s=Tags.TagType.INT32.TagInt32_Arr[4],1,,
Float,Float,Float,FLOAT,,ns=2;i=6012,1,,
Step 3:
Utilize UaExpert to connect to OpcUa Extender Server, locate the Protocols in the relative OPC UA Client folder. Then, you can read/write to the OPC UA Client like a Client.