Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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"

Image Added

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

Image Added

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

Image Added

after choose of "int16" click on apply

Image AddedImage Added

4. Change netProxy object

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

Image Added

change the name to Hello World and data type int16

Image Added

and click on Apply

Image Added

5. Connect OPC UA with netProxy

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

Image Added

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

Image Added

If everthing is ok, it looks now like this

Image Added

Export now thie configuration for the OPC UA server

Image Added


3. Application Source Code Changes

...