blob: 6fd508eb0ea507b7545af631d416d73aa0ba0716 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
<FBType Comment="Service Interface Function Block Type" Name="SET_LOCAL_ADS_ADDRESS">
<Identification Standard="61499-2"/>
<VersionInfo Author="Martin Melik Merkumians" Date="2018-08-31" Organization="TU Vienna/ACIN" Version="1.0"/>
<InterfaceList>
<EventInputs>
<Event Comment="Service Initialization" Name="INIT" Type="Event">
<With Var="QI"/>
</Event>
</EventInputs>
<EventOutputs>
<Event Comment="Initialization Confirm" Name="INITO" Type="Event">
<With Var="QO"/>
<With Var="STATUS"/>
<With Var="LOCAL_ADS_ADDRESS"/>
</Event>
</EventOutputs>
<InputVars>
<VarDeclaration Comment="Event Input Qualifier" Name="QI" Type="BOOL"/>
<VarDeclaration Comment="Local ADS address to set" Name="PARAMS" Type="STRING"/>
</InputVars>
<OutputVars>
<VarDeclaration Comment="Event Output Qualifier" Name="QO" Type="BOOL"/>
<VarDeclaration Comment="Service Status" Name="STATUS" Type="WSTRING"/>
<VarDeclaration Comment="Resulting ADS address" Name="LOCAL_ADS_ADDRESS" Type="STRING"/>
</OutputVars>
</InterfaceList>
<Service Comment="Service Interface Function Block Type" LeftInterface="APPLICATION" RightInterface="RESOURCE">
<ServiceSequence Comment="" Name="normal_establishment">
<ServiceTransaction>
<InputPrimitive Event="INIT+" Interface="APPLICATION" Parameters="PARAMS"/>
<OutputPrimitive Event="initialize" Interface="RESOURCE" Parameters="PARAMS"/>
<OutputPrimitive Event="INITO+" Interface="APPLICATION"/>
</ServiceTransaction>
</ServiceSequence>
<ServiceSequence Comment="" Name="unsuccessful_establishment">
<ServiceTransaction>
<InputPrimitive Event="INIT+" Interface="APPLICATION" Parameters="PARAMS"/>
<OutputPrimitive Event="initialize" Interface="RESOURCE" Parameters="PARAMS"/>
<OutputPrimitive Event="INITO-" Interface="APPLICATION" Parameters="STATUS"/>
</ServiceTransaction>
</ServiceSequence>
<ServiceSequence Comment="" Name="request_confirm">
<ServiceTransaction>
<InputPrimitive Event="REQ+" Interface="APPLICATION" Parameters="SD"/>
<OutputPrimitive Event="request" Interface="RESOURCE" Parameters="SD"/>
<OutputPrimitive Event="CNF+" Interface="APPLICATION" Parameters="RD"/>
</ServiceTransaction>
</ServiceSequence>
<ServiceSequence Comment="" Name="request_inhibited">
<ServiceTransaction>
<InputPrimitive Event="REQ-" Interface="APPLICATION" Parameters="SD"/>
<OutputPrimitive Event="CNF-" Interface="APPLICATION" Parameters="STATUS"/>
</ServiceTransaction>
</ServiceSequence>
<ServiceSequence Comment="" Name="request_error">
<ServiceTransaction>
<InputPrimitive Event="REQ+" Interface="APPLICATION" Parameters="SD"/>
<OutputPrimitive Event="request" Interface="RESOURCE" Parameters="SD"/>
<OutputPrimitive Event="CNF-" Interface="APPLICATION" Parameters="STATUS"/>
</ServiceTransaction>
</ServiceSequence>
<ServiceSequence Comment="" Name="indication_response">
<ServiceTransaction>
<InputPrimitive Event="indicate" Interface="RESOURCE" Parameters="RD"/>
<OutputPrimitive Event="IND+" Interface="APPLICATION" Parameters="RD"/>
</ServiceTransaction>
<ServiceTransaction>
<InputPrimitive Event="RSP" Interface="APPLICATION" Parameters="QI,SD"/>
<OutputPrimitive Event="response" Interface="RESOURCE" Parameters="QI,SD"/>
</ServiceTransaction>
</ServiceSequence>
<ServiceSequence Comment="" Name="indication_inhibited">
<ServiceTransaction>
<InputPrimitive Event="indicate" Interface="RESOURCE" Parameters="RD,QI=FALSE"/>
<OutputPrimitive Event="inhibited" Interface="RESOURCE"/>
</ServiceTransaction>
</ServiceSequence>
<ServiceSequence Comment="" Name="error_indication">
<ServiceTransaction>
<InputPrimitive Event="error" Interface="RESOURCE" Parameters="STATUS"/>
<OutputPrimitive Event="IND-" Interface="APPLICATION" Parameters="STATUS"/>
</ServiceTransaction>
</ServiceSequence>
<ServiceSequence Comment="" Name="application_initiated_termination">
<ServiceTransaction>
<InputPrimitive Event="INIT-" Interface="APPLICATION"/>
<OutputPrimitive Event="terminate" Interface="RESOURCE"/>
<OutputPrimitive Event="INITO-" Interface="APPLICATION" Parameters="STATUS"/>
</ServiceTransaction>
</ServiceSequence>
<ServiceSequence Comment="" Name="resource_initiated_termination">
<ServiceTransaction>
<OutputPrimitive Event="INITO-" Interface="APPLICATION" Parameters="STATUS"/>
</ServiceTransaction>
</ServiceSequence>
</Service>
</FBType>