Skip to content

Diagram Controller

Design_Userdoc_Controller Controller Controller Controller->Controller extends > extends 0..1 ControllerInterface ControllerInterface Controller->ControllerInterface controllerInterface 1..1 InterfaceLocal InterfaceLocal Controller->InterfaceLocal interfaceLocal 1..1 InterfaceSpecific InterfaceSpecific Controller->InterfaceSpecific interfaceSpecific 1..1 AbstractChild AbstractChild Controller->AbstractChild child 0..N FunctionLibrary FunctionLibrary Controller->FunctionLibrary functionLibrary 0..N GlobalVariableLibrary GlobalVariableLibrary Controller->GlobalVariableLibrary globalVariableLibrary 0..N AbstractMessageReactionFunctions AbstractMessageReactionFunctions Controller->AbstractMessageReactionFunctions messageReaction 0..1 VariableLibrary VariableLibrary Controller->VariableLibrary variableLibrary 0..N ControllerLogbook ControllerLogbook Controller->ControllerLogbook controllerLogbook 0..N AStatemachine AStatemachine Controller->AStatemachine statemachine[ASmDecorator] 0..1 ControllerActions ControllerActions Controller->ControllerActions actions 0..1 UserObjectLink UserObjectLink Controller->UserObjectLink userObjectLink 0..N ChildIterator ChildIterator Controller->ChildIterator childIterator 0..N ControllerInterface->ControllerInterface implements 0..N AbstractChild->ControllerInterface requiresInterface 1..1 FunctionLibrary->FunctionLibrary functionLibrary 0..N AVariableLibrary AVariableLibrary FunctionLibrary->AVariableLibrary variableLibrary 0..N GlobalVariable GlobalVariable GlobalVariableLibrary->GlobalVariable globalVariable 0..N Statemachine Statemachine StateOverride StateOverride Statemachine->StateOverride StateBase StateBase Statemachine->StateBase state 0..N VariableLibrary->VariableLibrary extends > extends 0..N ControllerInstance ControllerInstance ControllerInstance->Controller instanceOf 1..1 UserObjectLinkInstance UserObjectLinkInstance ControllerInstance->UserObjectLinkInstance userTaskLinkInstance[UserObjectLink] 1..1 AVariableLibrary->VariableLibrary AStatemachine->Statemachine StatemachineExtension StatemachineExtension AStatemachine->StatemachineExtension AStateExtension AStateExtension StatemachineExtension->AStateExtension stateExtension 1..N StatemachineExtension->StateBase state 0..N StateOverride->StateBase stateToOverwrite > stateToExtend 1..1 NotExistBehaviour NotExistBehaviour ControllerActions->NotExistBehaviour notExistBehaviour 0..1 Function Function UserObjectInterface UserObjectInterface UserObjectLink->UserObjectInterface userObjectInterface 1..1 ChildIterator->ControllerInterface controllerInterface 1..1 ChildIteratorData ChildIteratorData ChildIterator->ChildIteratorData data 0..N AStateExtension->StateOverride StateExtension StateExtension AStateExtension->StateExtension AStateExtension->StateBase stateToExtend 1..1 StateExtension->StateBase stateToExtend > stateToExtend 1..1 StateExtension->StateBase state 0..N StateBase->Function entryFunction 0..N StateBase->Function stateFunction 0..N StateBase->Function simulationFunction 0..N StateBase->Function exitFunction 0..N UserObjectLinkInstance->UserObjectLink userObjectLink > target 1..1 AUserObject AUserObject UserObject UserObject UserObjectWrapper UserObjectWrapper

Controller

The controller is the central element of a UP application. A controller defines the smallest, intrinsically functional unit.

A controller essentially consists of two main elements: * Interface and data * [UP - Statemachine]

In addition, the controller has the definition of relations to [Child] controllers.

A controller can also be described as an instantiable type that is instantiated in the [UP - ControllerTree].

class Controller extends NamedResource, AControllerDescription, AnnotableComment, DatatypeLibraryOwner, RootVariableLibrary, RootVariableName, AOoDomainRoot, ACallingBaseElement, AResourceWithType

ControllerInterface

Definition of public informations of a [Controller]. A Controller interface can implement other interfaces and inherits all its elements.

class ControllerInterface extends NamedResource, AnnotableComment, DatatypeLibraryOwner

InterfaceLocal

The local interface holds all the private data of a controller.

class InterfaceLocal extends Resource, AnnotableComment

InterfaceSpecific

class InterfaceSpecific extends Resource, AnnotableComment, AInterfaceSpecific

AbstractChild

abstract class AbstractChild extends NamedResource, RangeChildFieldRef, AOoDomain, APrefixedResource

FunctionLibrary

class FunctionLibrary extends NamedResource, DatatypeLibraryOwner, RootVariableLibrary, RootVariableName, ACallingBaseElement, AAutoPrefix

GlobalVariableLibrary

class GlobalVariableLibrary extends NamedResource, DatatypeLibraryOwner, AAutoPrefix

Statemachine

Each controller has a state machine. It is generated automatically when the controller is created. The state machine describes the sequence or logic of a controller. The state machine is based on the specification of a UML state machine.

The statemachine has a graphical representation (diagram). This supports the developer when creating states and transitions.

The UML state diagram shows the different states a [controller] can be in and the transitions between these states. A state represents a stage in the behavior pattern of a controller. It is possible to have start and end states. An initial state, also called creation state, is the state in which a controller is at startup, while an end state is a state from which no transitions lead out. A transition is a transition from one state to another and is triggered by an event that is either internal or external to the controller.

class Statemachine extends AStatemachine, AStatemachineStart, RootVariableName, ASmDecorator, AJunctionProperty

AbstractMessageReactionFunctions

abstract class AbstractMessageReactionFunctions extends Resource

VariableLibrary

class VariableLibrary extends AVariableLibrary

ControllerInstance

The ControllerInstance is an instance of a controller. A controller is instantiated in the ControllerTree.

The controller instance is the application-specific version of the corresponding controller. In the context of the ControllerTree, various elements are defined which define the uniqueness.

class ControllerInstance extends AnnotableComment, RangeChildFieldRef, BaseTreeElementInstance

ControllerLogbook

The controller logbook contains all elements of a controller to be logged.

class ControllerLogbook extends NamedResource, ANotAvailableOnS7Tia

AVariableLibrary

abstract class AVariableLibrary extends NamedResource, AnnotableComment, DatatypeLibraryOwner, AAutoPrefix, AOoDomainRoot

AStatemachine

abstract class AStatemachine extends Decorator, AnnotableComment

StatemachineExtension

In the statemachine extension, elements of the statemachine overwritten or extended and new elements can be added.

class StatemachineExtension extends AStatemachine, AJunctionProperty

StateOverride

The state that is overwritten becomes a super state. The existing functions of the overwritten state are no longer executed. However, it is possible to call the existing functions with a super call.

class StateOverride extends AStateExtension, Statemachine

ControllerActions

Each controller has ControllerActions. These can be implemented without independently of the state machine

class ControllerActions extends Resource

Function

abstract class Function extends Resource

class UserObjectLink extends NamedResource

ChildIterator

class ChildIterator extends Resource

ChildIteratorData

class ChildIteratorData extends Resource, ASubFieldSelector

AStateExtension

abstract class AStateExtension extends TargetState

StateExtension

The state that is extended basically remains as it is. It can simply be extended by function or transitions. It is also possible to overwrite single functions or transitions. Further additional states and junctions can be created.

class StateExtension extends AStateExtension, AJunctionProperty

StateBase

abstract class StateBase extends TargetState, AState

NotExistBehaviour

This class defines the behaviour of statemachine if controller exist flag is false. Without any definitions, native single answer implementation is active.

Use singleAnswerOverwrite definition to change single answer behaviour dependent of requested command.

Define a function to implemement another specific behaviour during single answer mode.

class NotExistBehaviour extends Resource

UserObjectLinkInstance

class UserObjectLinkInstance extends Decorator

UserObjectInterface

class UserObjectInterface extends NamedResource, DatatypeLibraryOwner, AnnotableComment

AUserObject

abstract class AUserObject extends NamedResource, AnnotableComment

UserObject

class UserObject extends AUserObjectInterface, APlatformUserObject

UserObjectWrapper

The UserObjectWrapper can be used to call function blocks outside the controller construct. Relations can be drawn from any controller. The UserObjectWrapper also has two Code Snippet regions. One for the initialization and one for a cyclic call.

class UserObjectWrapper extends AUserObjectInterface

GlobalVariable

class GlobalVariable extends BaseArrayVariable, InterfaceOptions