Line 33: |
Line 33: |
| | | |
| # In the OPC UA Servers block, insert the name of the server | | # In the OPC UA Servers block, insert the name of the server |
− | # Click Add to create new instance[[File:OPC UA Configuration example adding server v1.png|class=tlt-border|1067x1067px]] | + | # Click Add to create new instance[[File:OPC UA Configuration example adding server v1.png|border|class=tlt-border|1067x1067px]] |
| #Toggle Enable option to on | | #Toggle Enable option to on |
| #Insert the URL of the OPC UA Server | | #Insert the URL of the OPC UA Server |
− | #Add new server node[[File:OPC UA Configuration example adding server node v1.png|class=tlt-border|1067x1067px]] | + | #Add new server node[[File:OPC UA Configuration example adding server node v1.png|border|class=tlt-border|1067x1067px]] |
| #Enter the ID Namespace of the node | | #Enter the ID Namespace of the node |
| #Select ID type as String | | #Select ID type as String |
| #Enter ID of the node | | #Enter ID of the node |
− | #Save & Apply settings[[File:OPC UA Configuration example configuring server node v1.png|class=tlt-border|1060x1060px]] | + | #Save & Apply settings[[File:OPC UA Configuration example configuring server node v1.png|border|class=tlt-border|1060x1060px]] |
| #Optionally, add another node analogously | | #Optionally, add another node analogously |
| | | |
| | | |
− | [[File:OPC UA Configuration example adding server node second v1.png|class=tlt-border|1106x1106px]] | + | [[File:OPC UA Configuration example adding server node second v1.png|border|class=tlt-border|1106x1106px]] |
| | | |
| ===Defining Value Groups and Values=== | | ===Defining Value Groups and Values=== |
Line 50: |
Line 50: |
| | | |
| #Insert the name of the Value Group | | #Insert the name of the Value Group |
− | #Press Add to add new value group[[File:OPC UA Configuration example adding value group v1.png|class=tlt-border|1056x1056px]] | + | #Press Add to add new value group[[File:OPC UA Configuration example adding value group v1.png|border|class=tlt-border|1056x1056px]] |
− | #Enable the group and leave the rest of the settings as default[[File:OPC UA Configuration example configuring value group v1.png|class=tlt-border|901x901px]] | + | #Enable the group and leave the rest of the settings as default[[File:OPC UA Configuration example configuring value group v1.png|border|class=tlt-border|901x901px]] |
− | #Inside the OPC UA Group Values, add new instance with your preferred name[[File:OPC UA Configuration example adding value v1.png|class=tlt-border|1053x1053px]] | + | #Inside the OPC UA Group Values, add new instance with your preferred name[[File:OPC UA Configuration example adding value v1.png|border|class=tlt-border|1053x1053px]] |
| #Enable the instance | | #Enable the instance |
| #Assign a server node from which the data will be retrieved | | #Assign a server node from which the data will be retrieved |
− | #Save and apply settings[[File:OPC UA Configuration example configuring value v1.png|class=tlt-border|1049x1049px]] | + | #Save and apply settings[[File:OPC UA Configuration example configuring value v1.png|border|class=tlt-border|1049x1049px]] |
| #Optionally configure the second value | | #Optionally configure the second value |
− | [[File:OPC UA Configuration example configuring value second v1.png|class=tlt-border|1091x1091px]] | + | [[File:OPC UA Configuration example configuring value second v1.png|border|class=tlt-border|1091x1091px]] |
| | | |
| ===Testing Data Retrieval=== | | ===Testing Data Retrieval=== |
Line 65: |
Line 65: |
| In order to do so, we can press the "Test" button under OPC UA Value Groups: | | In order to do so, we can press the "Test" button under OPC UA Value Groups: |
| | | |
− | [[File:OPC UA Configuration example test button v1.png|class=tlt-border|1092x1092px]] | + | [[File:OPC UA Configuration example test button v1.png|border|class=tlt-border|1092x1092px]] |
| | | |
| The output should show requested data like so: | | The output should show requested data like so: |
| | | |
| | | |
− | [[File:OPC UA Configuration example test response v1.png|class=tlt-border|670x670px]] | + | [[File:OPC UA Configuration example test response v1.png|border|class=tlt-border|670x670px]] |
| | | |
| ===Sending Data to a Server=== | | ===Sending Data to a Server=== |
Line 84: |
Line 84: |
| #Adjust the JSON format to include the data | | #Adjust the JSON format to include the data |
| #Define HTTP server IP | | #Define HTTP server IP |
− | [[File:OPC UA Configuration example DatatoServer config v1.png|class=tlt-border|751x751px]] | + | [[File:OPC UA Configuration example DatatoServer config v1.png|border|class=tlt-border|751x751px]] |
| | | |
| After saving these settings, we can start listening on "555" port using Hercules and see the data flow: | | After saving these settings, we can start listening on "555" port using Hercules and see the data flow: |