Programs

From UaCapabilities
This is the approved revision of this page, as well as being the most recent.
Jump to: navigation, search

Introduction

OPC UA Programs represent long-running, often complex and stateful functions in a server or underlying system. When comparing Methods and Programs: a Method, for example, may be used to perform a calculation or reset a counter. A Program example would be to run and control a batch process, execute a machine tool part program, or manage a domain download. Programs can represent any level of functionality within a system or process in which client control or intervention is required and progress monitoring is desired. The execution time of a Program is not bound to the lifetime of a session.
Note – the Programs Information Model is specified in OPC UA Part 10.

Program Capabilities

Program Execution Model

URN:          https://opcfoundation.org/wiki/index.php/Programs#Program_Execution_Model

Description
Understand and support the Programs Information Model. This includes all Methods to invoke or control Program execution and the handling of transition events.

Usage Considerations
Consistent monitoring and control of long-running activities.


Conformance Testing

Client Server
  • Manage Programs using the ProgramType Methods
  • Monitor the execution state by subscribing for program transition events
  • Evaluate the result data after execution ended.

Server Profile for Programs