Skip to content

Commit cbf4e0e

Browse files
MandKastneroberlehner
authored andcommitted
add event trigger function block
this FB will trigger all unconnected events of the specified type within a resource on REQ
1 parent 6a18d0b commit cbf4e0e

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<FBType Name="E_TRIG" Comment="Trigger FB for a specified Event Type" >
3+
<Identification Standard="61499-2">
4+
</Identification>
5+
<VersionInfo Version="1.0" Author="Mario Kastner" Date="2025-01-08">
6+
</VersionInfo>
7+
<CompilerInfo>
8+
</CompilerInfo>
9+
<InterfaceList>
10+
<EventInputs>
11+
<Event Name="REQ" Type="Event" Comment="Request trigger of unconnected event pins of type EVENTTYPE" >
12+
<With Var="EVENTTYPE"/>
13+
</Event>
14+
</EventInputs>
15+
<EventOutputs>
16+
<Event Name="CNF" Type="Event" Comment="Confirmation of Requested Service" >
17+
</Event>
18+
</EventOutputs>
19+
<InputVars>
20+
<VarDeclaration Name="EVENTTYPE" Type="STRING" Comment="Event type to be triggered" />
21+
</InputVars>
22+
</InterfaceList>
23+
<Service RightInterface="RESOURCE" LeftInterface="APPLICATION" Comment="Service Interface Function Block Type" >
24+
</Service>
25+
<Attribute Name="Documentation" Type="CDATA"><![CDATA[]]></Attribute>
26+
</FBType>

0 commit comments

Comments
 (0)