Skip to end of banner
Go to start of banner

OPC UA Create Object Example exercise

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

1. ECS Setup.

start with the setup described in

Getting started: IoT LFW example for netX 90 APP

2. Change OPC UA object

Cread OPC UA Hello World Variable in the Actuator object

open the comunicationstudio project

netXStudio_PNSV5_NetProxy_simple_V3.0.0.0\Components\cifXApplicationDemoNpx\OPCUA_CONFIG_PORT2\CommunicationStudioProject\NetProxy_simple\NetProxy_simple

and go to the object "Actuator"

click on "add new Node" andcreate in the "Actuator" object a new variable with the name "HelloWorld"

Now change the Data Type to "int16" with click on the green configuration symbol.

after choose of "int16" click on apply

4. Change netProxy object

Go to netProxy Object definition of the Actuator and click on Add

change the name to Hello World and data type int16

and click on Apply

5. Connect OPC UA with netProxy

Go to the mapping to connect netProxy with the OPC UA object

navigate to the Hello World variable and choose it and after ok do not forget to click apply.

If everthing is ok, it looks now like this

Export now thie configuration for the OPC UA server


3. Application Source Code Changes


  • No labels