Versions Compared

Key

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

...

Code Block
languagecpp
case APP_TERMINAL_HANDLER_COMMAND_OPC_WRITE:
    {
      ACTUATOR_T tActuatorObj;
      tActuatorObj.bMode=0x55;
      tActuatorObj.bState=0xAA;
      tActuatorObj.iValue=0x1234;
      tActuatorObj.iHelloWorld=4321;
	...
	}

7. Terminal

Connect with a tool like hterm to the uart. With "help" the possbile list of command will be returned.

Image Added

chose "opcwr" will activate the function APP_TERMINAL_HANDLER_COMMAND_OPC_WRITE wtich means, that the netX90 application will write the netPROXY objects. The netPROXY objects are connected with the OPC UA objects. The UA expert read cyclic the OPC UA object. Here can be seen the change:

Image Added