-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new IXa FBType with event and data connections. Add new FBType "QXA" for boolean output data with events, vars, and connections. Add boolean OR function blocks AX_OR_2, AX_OR_3, and AX_OR_4. Detailed XML descriptions for each block with input/output connections.
- Loading branch information
1 parent
2b6ae24
commit e9a0dec
Showing
5 changed files
with
226 additions
and
0 deletions.
There are no files selected for viewing
40 changes: 40 additions & 0 deletions
40
data/typelibrary/adapterized-1.0.0/typelib/boolean/AX_OR_2.fbt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<FBType Name="AX_OR_2" Comment="FB to calculate boolean OR" > | ||
<Identification Standard="61499-2" Description="Copyright (c) 2024 HR Agrartechnik GmbH This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0/ SPDX-License-Identifier: EPL-2.0" > | ||
</Identification> | ||
<VersionInfo Version="1.0" Author="franz" Date="2024-10-23"> | ||
</VersionInfo> | ||
<CompilerInfo packageName="io::adp::boolean"> | ||
</CompilerInfo> | ||
<InterfaceList> | ||
<Plugs> | ||
<AdapterDeclaration Name="OUT" Type="AX" Comment="OR result" x="-11713.33" y="-986.67"/> | ||
</Plugs> | ||
<Sockets> | ||
<AdapterDeclaration Name="IN1" Type="AX" Comment="OR input 1" x="-13713.33" y="-986.67"/> | ||
<AdapterDeclaration Name="IN2" Type="AX" Comment="OR input 2" x="-13713.33" y="-400"/> | ||
</Sockets> | ||
</InterfaceList> | ||
<FBNetwork> | ||
<FB Name="OR_2" Type="OR_2" x="-12760" y="-986.67"> | ||
</FB> | ||
<EventConnections> | ||
<Connection Source="IN1.E1" Destination="OR_2.REQ"/> | ||
<Connection Source="IN2.E1" Destination="OR_2.REQ" dx1="253.33"/> | ||
<Connection Source="OR_2.CNF" Destination="OUT.E1"/> | ||
</EventConnections> | ||
<DataConnections> | ||
<Connection Source="IN1.D1" Destination="OR_2.IN1"/> | ||
<Connection Source="IN2.D1" Destination="OR_2.IN2" dx1="286.67"/> | ||
<Connection Source="OR_2.OUT" Destination="OUT.D1"/> | ||
</DataConnections> | ||
</FBNetwork> | ||
<Attribute Name="Documentation" Type="CDATA"><![CDATA[<p>Copyright (c) 2024 HR Agrartechnik GmbH <br /> | ||
<br /> | ||
This program and the accompanying materials are made <br /> | ||
available under the terms of the Eclipse Public License 2.0 <br /> | ||
which is available at <a href="https://www.eclipse.org/legal/epl-2.0/">https://www.eclipse.org/legal/epl-2.0/</a> <br /> | ||
<br /> | ||
SPDX-License-Identifier: EPL-2.0</p> | ||
]]></Attribute> | ||
</FBType> |
35 changes: 35 additions & 0 deletions
35
data/typelibrary/adapterized-1.0.0/typelib/boolean/AX_OR_3.fbt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<FBType Name="AX_OR_3" Comment="FB to calculate boolean OR" > | ||
<Identification Standard="61499-2" Description="Copyright (c) 2024 HR Agrartechnik GmbH This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0/ SPDX-License-Identifier: EPL-2.0" > | ||
</Identification> | ||
<VersionInfo Version="1.0" Author="franz" Date="2024-10-23"> | ||
</VersionInfo> | ||
<CompilerInfo packageName="io::adp::boolean"> | ||
</CompilerInfo> | ||
<InterfaceList> | ||
<Plugs> | ||
<AdapterDeclaration Name="OUT" Type="AX" Comment="OR result" x="-11713.33" y="-400"/> | ||
</Plugs> | ||
<Sockets> | ||
<AdapterDeclaration Name="IN1" Type="AX" Comment="OR input 1" x="-13713.33" y="-986.67"/> | ||
<AdapterDeclaration Name="IN2" Type="AX" Comment="OR input 2" x="-13713.33" y="-400"/> | ||
<AdapterDeclaration Name="IN3" Type="AX" Comment="OR input 3" x="-13713.33" y="186.67"/> | ||
</Sockets> | ||
</InterfaceList> | ||
<FBNetwork> | ||
<FB Name="OR_3" Type="OR_3" x="-12760" y="-400"> | ||
</FB> | ||
<EventConnections> | ||
<Connection Source="IN1.E1" Destination="OR_3.REQ" dx1="280"/> | ||
<Connection Source="IN2.E1" Destination="OR_3.REQ"/> | ||
<Connection Source="OR_3.CNF" Destination="OUT.E1"/> | ||
<Connection Source="IN3.E1" Destination="OR_3.REQ" dx1="280"/> | ||
</EventConnections> | ||
<DataConnections> | ||
<Connection Source="IN1.D1" Destination="OR_3.IN1" dx1="246.67"/> | ||
<Connection Source="IN2.D1" Destination="OR_3.IN2" dx1="246.67"/> | ||
<Connection Source="OR_3.OUT" Destination="OUT.D1"/> | ||
<Connection Source="IN3.D1" Destination="OR_3.IN3" dx1="313.33"/> | ||
</DataConnections> | ||
</FBNetwork> | ||
</FBType> |
38 changes: 38 additions & 0 deletions
38
data/typelibrary/adapterized-1.0.0/typelib/boolean/AX_OR_4.fbt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<FBType Name="AX_OR_4" Comment="FB to calculate boolean OR" > | ||
<Identification Standard="61499-2" Description="Copyright (c) 2024 HR Agrartechnik GmbH This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0/ SPDX-License-Identifier: EPL-2.0" > | ||
</Identification> | ||
<VersionInfo Version="1.0" Author="franz" Date="2024-10-23"> | ||
</VersionInfo> | ||
<CompilerInfo packageName="io::adp::boolean"> | ||
</CompilerInfo> | ||
<InterfaceList> | ||
<Plugs> | ||
<AdapterDeclaration Name="OUT" Type="AX" Comment="OR result" x="-17046.67" y="-366.67"/> | ||
</Plugs> | ||
<Sockets> | ||
<AdapterDeclaration Name="IN1" Type="AX" Comment="OR input 1" x="-19046.67" y="-986.67"/> | ||
<AdapterDeclaration Name="IN2" Type="AX" Comment="OR input 2" x="-19046.67" y="-366.67"/> | ||
<AdapterDeclaration Name="IN3" Type="AX" Comment="OR input 3" x="-19046.67" y="253.33"/> | ||
<AdapterDeclaration Name="IN4" Type="AX" Comment="OR input 4" x="-19046.67" y="873.33"/> | ||
</Sockets> | ||
</InterfaceList> | ||
<FBNetwork> | ||
<FB Name="OR_4" Type="OR_4" x="-18093.33" y="-366.67"> | ||
</FB> | ||
<EventConnections> | ||
<Connection Source="IN1.E1" Destination="OR_4.REQ" dx1="273.33"/> | ||
<Connection Source="IN2.E1" Destination="OR_4.REQ"/> | ||
<Connection Source="OR_4.CNF" Destination="OUT.E1"/> | ||
<Connection Source="IN3.E1" Destination="OR_4.REQ" dx1="266.67"/> | ||
<Connection Source="IN4.E1" Destination="OR_4.REQ" dx1="266.67"/> | ||
</EventConnections> | ||
<DataConnections> | ||
<Connection Source="IN1.D1" Destination="OR_4.IN1" dx1="233.33"/> | ||
<Connection Source="IN2.D1" Destination="OR_4.IN2" dx1="233.33"/> | ||
<Connection Source="OR_4.OUT" Destination="OUT.D1"/> | ||
<Connection Source="IN3.D1" Destination="OR_4.IN3" dx1="300"/> | ||
<Connection Source="IN4.D1" Destination="OR_4.IN4" dx1="333.33"/> | ||
</DataConnections> | ||
</FBNetwork> | ||
</FBType> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<FBType Name="IXA" Comment="Composite FB for boolean input data" > | ||
<Identification Standard="61499-2" Description="Copyright (c) 2024 HR Agrartechnik GmbH This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0/ SPDX-License-Identifier: EPL-2.0" > | ||
</Identification> | ||
<VersionInfo Version="1.0" Author="franz" Date="2024-04-24"> | ||
</VersionInfo> | ||
<CompilerInfo> | ||
</CompilerInfo> | ||
<InterfaceList> | ||
<EventInputs> | ||
<Event Name="INIT" Type="EInit" Comment="Service Initialization" > | ||
<With Var="QI"/> | ||
<With Var="PARAMS"/> | ||
</Event> | ||
</EventInputs> | ||
<EventOutputs> | ||
<Event Name="INITO" Type="EInit" Comment="Initialization Confirm" > | ||
<With Var="QO"/> | ||
<With Var="STATUS"/> | ||
</Event> | ||
</EventOutputs> | ||
<InputVars> | ||
<VarDeclaration Name="QI" Type="BOOL" Comment="Event Input Qualifier" /> | ||
<VarDeclaration Name="PARAMS" Type="STRING" Comment="Service Parameters" /> | ||
</InputVars> | ||
<OutputVars> | ||
<VarDeclaration Name="QO" Type="BOOL" Comment="Event Output Qualifier" /> | ||
<VarDeclaration Name="STATUS" Type="STRING" Comment="Service Status" /> | ||
</OutputVars> | ||
<Plugs> | ||
<AdapterDeclaration Name="IN" Type="AX" x="5600" y="1200"/> | ||
</Plugs> | ||
</InterfaceList> | ||
<FBNetwork> | ||
<FB Name="IX" Type="IX" x="1240" y="433.33"> | ||
</FB> | ||
<EventConnections> | ||
<Connection Source="INIT" Destination="IX.INIT" dx1="1286.67"/> | ||
<Connection Source="IX.INITO" Destination="INITO" dx1="1026.67"/> | ||
<Connection Source="IX.IND" Destination="IN.E1" dx1="1833.33"/> | ||
</EventConnections> | ||
<DataConnections> | ||
<Connection Source="IX.IN" Destination="IN.D1" dx1="633.33"/> | ||
<Connection Source="QI" Destination="IX.QI" dx1="953.33"/> | ||
<Connection Source="PARAMS" Destination="IX.PARAMS" dx1="626.67"/> | ||
<Connection Source="IX.QO" Destination="QO" dx1="3386.67"/> | ||
<Connection Source="IX.STATUS" Destination="STATUS" dx1="3893.33"/> | ||
</DataConnections> | ||
</FBNetwork> | ||
</FBType> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<FBType Name="QXA" Comment="Composite FB for boolean output data" > | ||
<Identification Standard="61499-2" Description="Copyright (c) 2024 HR Agrartechnik GmbH This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0/ SPDX-License-Identifier: EPL-2.0" > | ||
</Identification> | ||
<VersionInfo Version="1.0" Author="franz" Date="2024-04-24"> | ||
</VersionInfo> | ||
<CompilerInfo> | ||
</CompilerInfo> | ||
<InterfaceList> | ||
<EventInputs> | ||
<Event Name="INIT" Type="EInit" Comment="Service Initialization" > | ||
<With Var="QI"/> | ||
<With Var="PARAMS"/> | ||
</Event> | ||
</EventInputs> | ||
<EventOutputs> | ||
<Event Name="INITO" Type="EInit" Comment="Initialization Confirm" > | ||
<With Var="QO"/> | ||
<With Var="STATUS"/> | ||
</Event> | ||
<Event Name="CNF" Type="Event" Comment="Confirmation of Requested Service" > | ||
<With Var="QO"/> | ||
<With Var="STATUS"/> | ||
</Event> | ||
</EventOutputs> | ||
<InputVars> | ||
<VarDeclaration Name="QI" Type="BOOL" Comment="Event Input Qualifier" /> | ||
<VarDeclaration Name="PARAMS" Type="STRING" Comment="Service Parameters" /> | ||
</InputVars> | ||
<OutputVars> | ||
<VarDeclaration Name="QO" Type="BOOL" Comment="Event Output Qualifier" /> | ||
<VarDeclaration Name="STATUS" Type="STRING" Comment="Service Status" /> | ||
</OutputVars> | ||
<Sockets> | ||
<AdapterDeclaration Name="OUT" Type="AX" x="-1800" y="900"/> | ||
</Sockets> | ||
</InterfaceList> | ||
<FBNetwork> | ||
<FB Name="QX" Type="QX" x="1240" y="460"> | ||
</FB> | ||
<EventConnections> | ||
<Connection Source="INIT" Destination="QX.INIT" dx1="1286.67"/> | ||
<Connection Source="QX.INITO" Destination="INITO" dx1="1026.67"/> | ||
<Connection Source="OUT.E1" Destination="QX.REQ" dx1="700"/> | ||
<Connection Source="QX.CNF" Destination="CNF" dx1="1753.33"/> | ||
</EventConnections> | ||
<DataConnections> | ||
<Connection Source="OUT.D1" Destination="QX.OUT" dx1="700"/> | ||
<Connection Source="QI" Destination="QX.QI" dx1="6266.67"/> | ||
<Connection Source="PARAMS" Destination="QX.PARAMS" dx1="5826.67"/> | ||
<Connection Source="QX.QO" Destination="QO" dx1="1880"/> | ||
<Connection Source="QX.STATUS" Destination="STATUS" dx1="2053.33"/> | ||
</DataConnections> | ||
</FBNetwork> | ||
<Attribute Name="Documentation" Type="CDATA"><![CDATA[<p>Copyright (c) 2024 HR Agrartechnik GmbH <br /> | ||
<br /> | ||
This program and the accompanying materials are made <br /> | ||
available under the terms of the Eclipse Public License 2.0 <br /> | ||
which is available at <a href="https://www.eclipse.org/legal/epl-2.0/">https://www.eclipse.org/legal/epl-2.0/</a> <br /> | ||
<br /> | ||
SPDX-License-Identifier: EPL-2.0</p> | ||
]]></Attribute> | ||
</FBType> |