first commit
This commit is contained in:
commit
f323a29af9
131 changed files with 15580 additions and 0 deletions
1
.env
Normal file
1
.env
Normal file
|
@ -0,0 +1 @@
|
||||||
|
OPENROUTER_API_KEY=your_openrouter_api_key_here
|
3
README.md
Normal file
3
README.md
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
# ECE to EAE Converter
|
||||||
|
|
||||||
|
This project converts Schneider ECE files (.XBD, .XPG, .XST) to EAE System.sys XML format using Gemini 2.5 and RAG.
|
41
data/basic_blocks_eae/DIV1.fbt
Normal file
41
data/basic_blocks_eae/DIV1.fbt
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!DOCTYPE FBType SYSTEM "../LibraryElement.dtd">
|
||||||
|
<FBType GUID="d38cd6d4-223e-4f37-b1d2-1645992e7487" Name="DIV1" Comment="Basic Function Block Type" Namespace="Main">
|
||||||
|
<Identification Standard="61499-2" />
|
||||||
|
<VersionInfo Organization="Schneider Electric" Version="0.0" Author="Schneider" Date="4/28/2025" Remarks="Template" />
|
||||||
|
<InterfaceList>
|
||||||
|
<EventInputs>
|
||||||
|
<Event Name="REQ" Comment="Normal Execution Request">
|
||||||
|
<With Var="IN1" />
|
||||||
|
<With Var="IN2" />
|
||||||
|
</Event>
|
||||||
|
</EventInputs>
|
||||||
|
<EventOutputs>
|
||||||
|
<Event Name="CNF" Comment="Execution Confirmation">
|
||||||
|
<With Var="OUT" />
|
||||||
|
</Event>
|
||||||
|
</EventOutputs>
|
||||||
|
<InputVars>
|
||||||
|
<VarDeclaration Name="IN1" Type="INT" Comment="Input event qualifier" />
|
||||||
|
<VarDeclaration Name="IN2" Type="INT" />
|
||||||
|
</InputVars>
|
||||||
|
<OutputVars>
|
||||||
|
<VarDeclaration Name="OUT" Type="INT" Comment="Output event qualifier" />
|
||||||
|
</OutputVars>
|
||||||
|
</InterfaceList>
|
||||||
|
<BasicFB>
|
||||||
|
<Attribute Name="FBType.Basic.Algorithm.Order" Value="REQ" />
|
||||||
|
<ECC>
|
||||||
|
<ECState Name="START" Comment="Initial State" x="552.9412" y="429.4117" />
|
||||||
|
<ECState Name="REQ" Comment="Normal execution" x="217.647" y="752.9412">
|
||||||
|
<ECAction Algorithm="REQ" Output="CNF" />
|
||||||
|
</ECState>
|
||||||
|
<ECTransition Source="START" Destination="REQ" Condition="REQ" x="447.8488" y="648.3352" />
|
||||||
|
<ECTransition Source="REQ" Destination="START" Condition="1" x="372.8767" y="512.7991" />
|
||||||
|
</ECC>
|
||||||
|
<Algorithm Name="REQ" Comment="Normally executed algorithm">
|
||||||
|
<ST><![CDATA[;
|
||||||
|
OUT:=IN1/IN2;]]></ST>
|
||||||
|
</Algorithm>
|
||||||
|
</BasicFB>
|
||||||
|
</FBType>
|
41
data/basic_blocks_eae/MUL1.fbt
Normal file
41
data/basic_blocks_eae/MUL1.fbt
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!DOCTYPE FBType SYSTEM "../LibraryElement.dtd">
|
||||||
|
<FBType GUID="1feefb25-406a-43a7-b23c-cb1ba8668523" Name="MUL1" Comment="Basic Function Block Type" Namespace="Main">
|
||||||
|
<Identification Standard="61499-2" />
|
||||||
|
<VersionInfo Organization="Schneider Electric" Version="0.0" Author="Schneider" Date="4/28/2025" Remarks="Template" />
|
||||||
|
<InterfaceList>
|
||||||
|
<EventInputs>
|
||||||
|
<Event Name="REQ" Comment="Normal Execution Request">
|
||||||
|
<With Var="IN1" />
|
||||||
|
<With Var="IN2" />
|
||||||
|
</Event>
|
||||||
|
</EventInputs>
|
||||||
|
<EventOutputs>
|
||||||
|
<Event Name="CNF" Comment="Execution Confirmation">
|
||||||
|
<With Var="OUT" />
|
||||||
|
</Event>
|
||||||
|
</EventOutputs>
|
||||||
|
<InputVars>
|
||||||
|
<VarDeclaration Name="IN1" Type="REAL" Comment="Input event qualifier" />
|
||||||
|
<VarDeclaration Name="IN2" Type="REAL" />
|
||||||
|
</InputVars>
|
||||||
|
<OutputVars>
|
||||||
|
<VarDeclaration Name="OUT" Type="REAL" Comment="Output event qualifier" />
|
||||||
|
</OutputVars>
|
||||||
|
</InterfaceList>
|
||||||
|
<BasicFB>
|
||||||
|
<Attribute Name="FBType.Basic.Algorithm.Order" Value="REQ" />
|
||||||
|
<ECC>
|
||||||
|
<ECState Name="START" Comment="Initial State" x="552.9412" y="429.4117" />
|
||||||
|
<ECState Name="REQ" Comment="Normal execution" x="217.647" y="752.9412">
|
||||||
|
<ECAction Algorithm="REQ" Output="CNF" />
|
||||||
|
</ECState>
|
||||||
|
<ECTransition Source="START" Destination="REQ" Condition="REQ" x="447.8488" y="648.3352" />
|
||||||
|
<ECTransition Source="REQ" Destination="START" Condition="1" x="372.8767" y="512.7991" />
|
||||||
|
</ECC>
|
||||||
|
<Algorithm Name="REQ" Comment="Normally executed algorithm">
|
||||||
|
<ST><![CDATA[;
|
||||||
|
OUT:=IN1*IN2;]]></ST>
|
||||||
|
</Algorithm>
|
||||||
|
</BasicFB>
|
||||||
|
</FBType>
|
41
data/basic_blocks_eae/SUB1.fbt
Normal file
41
data/basic_blocks_eae/SUB1.fbt
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!DOCTYPE FBType SYSTEM "../LibraryElement.dtd">
|
||||||
|
<FBType GUID="5ab0ff22-3cb9-4b59-b3aa-321ff3c52b5b" Name="SUB1" Comment="Basic Function Block Type" Namespace="Main">
|
||||||
|
<Identification Standard="61499-2" />
|
||||||
|
<VersionInfo Organization="Schneider Electric" Version="0.0" Author="Schneider" Date="4/28/2025" Remarks="Template" />
|
||||||
|
<InterfaceList>
|
||||||
|
<EventInputs>
|
||||||
|
<Event Name="REQ" Comment="Normal Execution Request">
|
||||||
|
<With Var="IN1" />
|
||||||
|
<With Var="IN2" />
|
||||||
|
</Event>
|
||||||
|
</EventInputs>
|
||||||
|
<EventOutputs>
|
||||||
|
<Event Name="CNF" Comment="Execution Confirmation">
|
||||||
|
<With Var="OUT" />
|
||||||
|
</Event>
|
||||||
|
</EventOutputs>
|
||||||
|
<InputVars>
|
||||||
|
<VarDeclaration Name="IN1" Type="REAL" Comment="Input event qualifier" />
|
||||||
|
<VarDeclaration Name="IN2" Type="REAL" />
|
||||||
|
</InputVars>
|
||||||
|
<OutputVars>
|
||||||
|
<VarDeclaration Name="OUT" Type="REAL" Comment="Output event qualifier" />
|
||||||
|
</OutputVars>
|
||||||
|
</InterfaceList>
|
||||||
|
<BasicFB>
|
||||||
|
<Attribute Name="FBType.Basic.Algorithm.Order" Value="REQ" />
|
||||||
|
<ECC>
|
||||||
|
<ECState Name="START" Comment="Initial State" x="552.9412" y="429.4117" />
|
||||||
|
<ECState Name="REQ" Comment="Normal execution" x="217.647" y="752.9412">
|
||||||
|
<ECAction Algorithm="REQ" Output="CNF" />
|
||||||
|
</ECState>
|
||||||
|
<ECTransition Source="START" Destination="REQ" Condition="REQ" x="447.8488" y="648.3352" />
|
||||||
|
<ECTransition Source="REQ" Destination="START" Condition="1" x="372.8767" y="512.7991" />
|
||||||
|
</ECC>
|
||||||
|
<Algorithm Name="REQ" Comment="Normally executed algorithm">
|
||||||
|
<ST><![CDATA[;
|
||||||
|
OUT:=IN1-IN2;]]></ST>
|
||||||
|
</Algorithm>
|
||||||
|
</BasicFB>
|
||||||
|
</FBType>
|
41
data/basic_blocks_eae/aand.fbt
Normal file
41
data/basic_blocks_eae/aand.fbt
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!DOCTYPE FBType SYSTEM "../LibraryElement.dtd">
|
||||||
|
<FBType GUID="b4b477b8-dc31-400b-af1a-44f608620eef" Name="AAND" Comment="Basic Function Block Type" Namespace="Main">
|
||||||
|
<Identification Standard="61499-2" />
|
||||||
|
<VersionInfo Organization="Schneider Electric" Version="0.0" Author="Schneider" Date="4/28/2025" Remarks="Template" />
|
||||||
|
<InterfaceList>
|
||||||
|
<EventInputs>
|
||||||
|
<Event Name="REQ" Comment="Normal Execution Request">
|
||||||
|
<With Var="IN1" />
|
||||||
|
<With Var="IN2" />
|
||||||
|
</Event>
|
||||||
|
</EventInputs>
|
||||||
|
<EventOutputs>
|
||||||
|
<Event Name="CNF" Comment="Execution Confirmation">
|
||||||
|
<With Var="OUT" />
|
||||||
|
</Event>
|
||||||
|
</EventOutputs>
|
||||||
|
<InputVars>
|
||||||
|
<VarDeclaration Name="IN1" Type="BOOL" Comment="Input event qualifier" />
|
||||||
|
<VarDeclaration Name="IN2" Type="BOOL" />
|
||||||
|
</InputVars>
|
||||||
|
<OutputVars>
|
||||||
|
<VarDeclaration Name="OUT" Type="BOOL" Comment="Output event qualifier" />
|
||||||
|
</OutputVars>
|
||||||
|
</InterfaceList>
|
||||||
|
<BasicFB>
|
||||||
|
<Attribute Name="FBType.Basic.Algorithm.Order" Value="REQ" />
|
||||||
|
<ECC>
|
||||||
|
<ECState Name="START" Comment="Initial State" x="552.9412" y="429.4117" />
|
||||||
|
<ECState Name="REQ" Comment="Normal execution" x="217.647" y="752.9412">
|
||||||
|
<ECAction Algorithm="REQ" Output="CNF" />
|
||||||
|
</ECState>
|
||||||
|
<ECTransition Source="START" Destination="REQ" Condition="REQ" x="447.8488" y="648.3352" />
|
||||||
|
<ECTransition Source="REQ" Destination="START" Condition="1" x="372.8767" y="512.7991" />
|
||||||
|
</ECC>
|
||||||
|
<Algorithm Name="REQ" Comment="Normally executed algorithm">
|
||||||
|
<ST><![CDATA[;
|
||||||
|
OUT:=IN1 AND IN2;]]></ST>
|
||||||
|
</Algorithm>
|
||||||
|
</BasicFB>
|
||||||
|
</FBType>
|
39
data/basic_blocks_eae/inv.fbt
Normal file
39
data/basic_blocks_eae/inv.fbt
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!DOCTYPE FBType SYSTEM "../LibraryElement.dtd">
|
||||||
|
<FBType GUID="e1e556fd-21b5-4421-8931-025732835169" Name="inv" Comment="Basic Function Block Type" Namespace="Main">
|
||||||
|
<Identification Standard="61499-2" />
|
||||||
|
<VersionInfo Organization="Schneider Electric" Version="0.0" Author="Schneider" Date="4/28/2025" Remarks="Template" />
|
||||||
|
<InterfaceList>
|
||||||
|
<EventInputs>
|
||||||
|
<Event Name="REQ" Comment="Normal Execution Request">
|
||||||
|
<With Var="IN1" />
|
||||||
|
</Event>
|
||||||
|
</EventInputs>
|
||||||
|
<EventOutputs>
|
||||||
|
<Event Name="CNF" Comment="Execution Confirmation">
|
||||||
|
<With Var="OUT" />
|
||||||
|
</Event>
|
||||||
|
</EventOutputs>
|
||||||
|
<InputVars>
|
||||||
|
<VarDeclaration Name="IN1" Type="BOOL" Comment="Input event qualifier" />
|
||||||
|
</InputVars>
|
||||||
|
<OutputVars>
|
||||||
|
<VarDeclaration Name="OUT" Type="BOOL" Comment="Output event qualifier" />
|
||||||
|
</OutputVars>
|
||||||
|
</InterfaceList>
|
||||||
|
<BasicFB>
|
||||||
|
<Attribute Name="FBType.Basic.Algorithm.Order" Value="REQ" />
|
||||||
|
<ECC>
|
||||||
|
<ECState Name="START" Comment="Initial State" x="552.9412" y="429.4117" />
|
||||||
|
<ECState Name="REQ" Comment="Normal execution" x="217.647" y="752.9412">
|
||||||
|
<ECAction Algorithm="REQ" Output="CNF" />
|
||||||
|
</ECState>
|
||||||
|
<ECTransition Source="START" Destination="REQ" Condition="REQ" x="447.8488" y="648.3352" />
|
||||||
|
<ECTransition Source="REQ" Destination="START" Condition="1" x="372.8767" y="512.7991" />
|
||||||
|
</ECC>
|
||||||
|
<Algorithm Name="REQ" Comment="Normally executed algorithm">
|
||||||
|
<ST><![CDATA[;
|
||||||
|
OUT:= NOT IN1;]]></ST>
|
||||||
|
</Algorithm>
|
||||||
|
</BasicFB>
|
||||||
|
</FBType>
|
45
data/basic_blocks_eae/nand.fbt
Normal file
45
data/basic_blocks_eae/nand.fbt
Normal file
|
@ -0,0 +1,45 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!DOCTYPE FBType SYSTEM "../LibraryElement.dtd">
|
||||||
|
<FBType GUID="a38dad69-943b-4d03-9a26-2b839cb62702" Name="nand" Comment="Basic Function Block Type" Namespace="Main">
|
||||||
|
<Identification Standard="61499-2" />
|
||||||
|
<VersionInfo Organization="Schneider Electric" Version="0.0" Author="Schneider" Date="4/28/2025" Remarks="Template" />
|
||||||
|
<InterfaceList>
|
||||||
|
<EventInputs>
|
||||||
|
<Event Name="REQ" Comment="Normal Execution Request">
|
||||||
|
<With Var="IN1" />
|
||||||
|
<With Var="IN2" />
|
||||||
|
</Event>
|
||||||
|
</EventInputs>
|
||||||
|
<EventOutputs>
|
||||||
|
<Event Name="CNF" Comment="Execution Confirmation">
|
||||||
|
<With Var="OUT" />
|
||||||
|
</Event>
|
||||||
|
</EventOutputs>
|
||||||
|
<InputVars>
|
||||||
|
<VarDeclaration Name="IN1" Type="BOOL" Comment="Input event qualifier" />
|
||||||
|
<VarDeclaration Name="IN2" Type="BOOL" />
|
||||||
|
</InputVars>
|
||||||
|
<OutputVars>
|
||||||
|
<VarDeclaration Name="OUT" Type="BOOL" Comment="Output event qualifier" />
|
||||||
|
</OutputVars>
|
||||||
|
</InterfaceList>
|
||||||
|
<BasicFB>
|
||||||
|
<Attribute Name="FBType.Basic.Algorithm.Order" Value="REQ" />
|
||||||
|
<InternalVars>
|
||||||
|
<VarDeclaration Name="X" Type="BOOL" />
|
||||||
|
</InternalVars>
|
||||||
|
<ECC>
|
||||||
|
<ECState Name="START" Comment="Initial State" x="552.9412" y="429.4117" />
|
||||||
|
<ECState Name="REQ" Comment="Normal execution" x="217.647" y="752.9412">
|
||||||
|
<ECAction Algorithm="REQ" Output="CNF" />
|
||||||
|
</ECState>
|
||||||
|
<ECTransition Source="START" Destination="REQ" Condition="REQ" x="447.8488" y="648.3352" />
|
||||||
|
<ECTransition Source="REQ" Destination="START" Condition="1" x="372.8767" y="512.7991" />
|
||||||
|
</ECC>
|
||||||
|
<Algorithm Name="REQ" Comment="Normally executed algorithm">
|
||||||
|
<ST><![CDATA[;
|
||||||
|
X:=IN1 AND IN2;
|
||||||
|
OUT:=NOT X;]]></ST>
|
||||||
|
</Algorithm>
|
||||||
|
</BasicFB>
|
||||||
|
</FBType>
|
45
data/basic_blocks_eae/nor.fbt
Normal file
45
data/basic_blocks_eae/nor.fbt
Normal file
|
@ -0,0 +1,45 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!DOCTYPE FBType SYSTEM "../LibraryElement.dtd">
|
||||||
|
<FBType GUID="945521f3-88d7-454c-9455-48efeb51e5e0" Name="nor" Comment="Basic Function Block Type" Namespace="Main">
|
||||||
|
<Identification Standard="61499-2" />
|
||||||
|
<VersionInfo Organization="Schneider Electric" Version="0.0" Author="Schneider" Date="4/28/2025" Remarks="Template" />
|
||||||
|
<InterfaceList>
|
||||||
|
<EventInputs>
|
||||||
|
<Event Name="REQ" Comment="Normal Execution Request">
|
||||||
|
<With Var="IN1" />
|
||||||
|
<With Var="IN2" />
|
||||||
|
</Event>
|
||||||
|
</EventInputs>
|
||||||
|
<EventOutputs>
|
||||||
|
<Event Name="CNF" Comment="Execution Confirmation">
|
||||||
|
<With Var="OUT" />
|
||||||
|
</Event>
|
||||||
|
</EventOutputs>
|
||||||
|
<InputVars>
|
||||||
|
<VarDeclaration Name="IN1" Type="BOOL" Comment="Input event qualifier" />
|
||||||
|
<VarDeclaration Name="IN2" Type="BOOL" />
|
||||||
|
</InputVars>
|
||||||
|
<OutputVars>
|
||||||
|
<VarDeclaration Name="OUT" Type="BOOL" Comment="Output event qualifier" />
|
||||||
|
</OutputVars>
|
||||||
|
</InterfaceList>
|
||||||
|
<BasicFB>
|
||||||
|
<Attribute Name="FBType.Basic.Algorithm.Order" Value="REQ" />
|
||||||
|
<InternalVars>
|
||||||
|
<VarDeclaration Name="X" Type="BOOL" />
|
||||||
|
</InternalVars>
|
||||||
|
<ECC>
|
||||||
|
<ECState Name="START" Comment="Initial State" x="552.9412" y="429.4117" />
|
||||||
|
<ECState Name="REQ" Comment="Normal execution" x="217.647" y="752.9412">
|
||||||
|
<ECAction Algorithm="REQ" Output="CNF" />
|
||||||
|
</ECState>
|
||||||
|
<ECTransition Source="START" Destination="REQ" Condition="REQ" x="447.8488" y="648.3352" />
|
||||||
|
<ECTransition Source="REQ" Destination="START" Condition="1" x="372.8767" y="512.7991" />
|
||||||
|
</ECC>
|
||||||
|
<Algorithm Name="REQ" Comment="Normally executed algorithm">
|
||||||
|
<ST><![CDATA[;
|
||||||
|
X:=IN1 OR IN2;
|
||||||
|
OUT:=NOT X;]]></ST>
|
||||||
|
</Algorithm>
|
||||||
|
</BasicFB>
|
||||||
|
</FBType>
|
41
data/basic_blocks_eae/orr.fbt
Normal file
41
data/basic_blocks_eae/orr.fbt
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!DOCTYPE FBType SYSTEM "../LibraryElement.dtd">
|
||||||
|
<FBType GUID="ec0b063e-6cf7-429e-a173-96cfca213c93" Name="orr" Comment="Basic Function Block Type" Namespace="Main">
|
||||||
|
<Identification Standard="61499-2" />
|
||||||
|
<VersionInfo Organization="Schneider Electric" Version="0.0" Author="Schneider" Date="4/28/2025" Remarks="Template" />
|
||||||
|
<InterfaceList>
|
||||||
|
<EventInputs>
|
||||||
|
<Event Name="REQ" Comment="Normal Execution Request">
|
||||||
|
<With Var="IN1" />
|
||||||
|
<With Var="IN2" />
|
||||||
|
</Event>
|
||||||
|
</EventInputs>
|
||||||
|
<EventOutputs>
|
||||||
|
<Event Name="CNF" Comment="Execution Confirmation">
|
||||||
|
<With Var="OUT" />
|
||||||
|
</Event>
|
||||||
|
</EventOutputs>
|
||||||
|
<InputVars>
|
||||||
|
<VarDeclaration Name="IN1" Type="BOOL" Comment="Input event qualifier" />
|
||||||
|
<VarDeclaration Name="IN2" Type="BOOL" />
|
||||||
|
</InputVars>
|
||||||
|
<OutputVars>
|
||||||
|
<VarDeclaration Name="OUT" Type="BOOL" Comment="Output event qualifier" />
|
||||||
|
</OutputVars>
|
||||||
|
</InterfaceList>
|
||||||
|
<BasicFB>
|
||||||
|
<Attribute Name="FBType.Basic.Algorithm.Order" Value="REQ" />
|
||||||
|
<ECC>
|
||||||
|
<ECState Name="START" Comment="Initial State" x="552.9412" y="429.4117" />
|
||||||
|
<ECState Name="REQ" Comment="Normal execution" x="217.647" y="752.9412">
|
||||||
|
<ECAction Algorithm="REQ" Output="CNF" />
|
||||||
|
</ECState>
|
||||||
|
<ECTransition Source="START" Destination="REQ" Condition="REQ" x="447.8488" y="648.3352" />
|
||||||
|
<ECTransition Source="REQ" Destination="START" Condition="1" x="372.8767" y="512.7991" />
|
||||||
|
</ECC>
|
||||||
|
<Algorithm Name="REQ" Comment="Normally executed algorithm">
|
||||||
|
<ST><![CDATA[;
|
||||||
|
OUT:=IN1 OR IN2;]]></ST>
|
||||||
|
</Algorithm>
|
||||||
|
</BasicFB>
|
||||||
|
</FBType>
|
41
data/basic_blocks_eae/power.fbt
Normal file
41
data/basic_blocks_eae/power.fbt
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!DOCTYPE FBType SYSTEM "../LibraryElement.dtd">
|
||||||
|
<FBType GUID="4d3edac2-7784-4e7b-a0e4-97870a2107a2" Name="power" Comment="Basic Function Block Type" Namespace="Main">
|
||||||
|
<Identification Standard="61499-2" />
|
||||||
|
<VersionInfo Organization="Schneider Electric" Version="0.0" Author="Schneider" Date="4/28/2025" Remarks="Template" />
|
||||||
|
<InterfaceList>
|
||||||
|
<EventInputs>
|
||||||
|
<Event Name="REQ" Comment="Normal Execution Request">
|
||||||
|
<With Var="IN1" />
|
||||||
|
<With Var="IN2" />
|
||||||
|
</Event>
|
||||||
|
</EventInputs>
|
||||||
|
<EventOutputs>
|
||||||
|
<Event Name="CNF" Comment="Execution Confirmation">
|
||||||
|
<With Var="OUT" />
|
||||||
|
</Event>
|
||||||
|
</EventOutputs>
|
||||||
|
<InputVars>
|
||||||
|
<VarDeclaration Name="IN1" Type="REAL" Comment="Input event qualifier" />
|
||||||
|
<VarDeclaration Name="IN2" Type="INT" />
|
||||||
|
</InputVars>
|
||||||
|
<OutputVars>
|
||||||
|
<VarDeclaration Name="OUT" Type="REAL" Comment="Output event qualifier" />
|
||||||
|
</OutputVars>
|
||||||
|
</InterfaceList>
|
||||||
|
<BasicFB>
|
||||||
|
<Attribute Name="FBType.Basic.Algorithm.Order" Value="REQ" />
|
||||||
|
<ECC>
|
||||||
|
<ECState Name="START" Comment="Initial State" x="552.9412" y="429.4117" />
|
||||||
|
<ECState Name="REQ" Comment="Normal execution" x="217.647" y="752.9412">
|
||||||
|
<ECAction Algorithm="REQ" Output="CNF" />
|
||||||
|
</ECState>
|
||||||
|
<ECTransition Source="START" Destination="REQ" Condition="REQ" x="447.8488" y="648.3352" />
|
||||||
|
<ECTransition Source="REQ" Destination="START" Condition="1" x="372.8767" y="512.7991" />
|
||||||
|
</ECC>
|
||||||
|
<Algorithm Name="REQ" Comment="Normally executed algorithm">
|
||||||
|
<ST><![CDATA[;
|
||||||
|
OUT:=IN1**IN2;]]></ST>
|
||||||
|
</Algorithm>
|
||||||
|
</BasicFB>
|
||||||
|
</FBType>
|
41
data/basic_blocks_eae/sum.fbt
Normal file
41
data/basic_blocks_eae/sum.fbt
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!DOCTYPE FBType SYSTEM "../LibraryElement.dtd">
|
||||||
|
<FBType GUID="81515593-ce86-43eb-9db9-4b1c0cf47dd5" Name="sum" Comment="Basic Function Block Type" Namespace="Main">
|
||||||
|
<Identification Standard="61499-2" />
|
||||||
|
<VersionInfo Organization="Schneider Electric" Version="0.0" Author="Schneider" Date="4/28/2025" Remarks="Template" />
|
||||||
|
<InterfaceList>
|
||||||
|
<EventInputs>
|
||||||
|
<Event Name="REQ" Comment="Normal Execution Request">
|
||||||
|
<With Var="IN1" />
|
||||||
|
<With Var="IN2" />
|
||||||
|
</Event>
|
||||||
|
</EventInputs>
|
||||||
|
<EventOutputs>
|
||||||
|
<Event Name="CNF" Comment="Execution Confirmation">
|
||||||
|
<With Var="OUT" />
|
||||||
|
</Event>
|
||||||
|
</EventOutputs>
|
||||||
|
<InputVars>
|
||||||
|
<VarDeclaration Name="IN1" Type="REAL" Comment="Input event qualifier" />
|
||||||
|
<VarDeclaration Name="IN2" Type="REAL" />
|
||||||
|
</InputVars>
|
||||||
|
<OutputVars>
|
||||||
|
<VarDeclaration Name="OUT" Type="REAL" Comment="Output event qualifier" />
|
||||||
|
</OutputVars>
|
||||||
|
</InterfaceList>
|
||||||
|
<BasicFB>
|
||||||
|
<Attribute Name="FBType.Basic.Algorithm.Order" Value="REQ" />
|
||||||
|
<ECC>
|
||||||
|
<ECState Name="START" Comment="Initial State" x="552.9412" y="429.4117" />
|
||||||
|
<ECState Name="REQ" Comment="Normal execution" x="217.647" y="752.9412">
|
||||||
|
<ECAction Algorithm="REQ" Output="CNF" />
|
||||||
|
</ECState>
|
||||||
|
<ECTransition Source="START" Destination="REQ" Condition="REQ" x="447.8488" y="648.3352" />
|
||||||
|
<ECTransition Source="REQ" Destination="START" Condition="1" x="372.8767" y="512.7991" />
|
||||||
|
</ECC>
|
||||||
|
<Algorithm Name="REQ" Comment="Normally executed algorithm">
|
||||||
|
<ST><![CDATA[;
|
||||||
|
OUT:=IN1+IN2;]]></ST>
|
||||||
|
</Algorithm>
|
||||||
|
</BasicFB>
|
||||||
|
</FBType>
|
48
data/basic_blocks_ece/AAND.xml
Normal file
48
data/basic_blocks_ece/AAND.xml
Normal file
|
@ -0,0 +1,48 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
|
<FBDExchangeFile>
|
||||||
|
<fileHeader company="Schneider Automation" product="Control Expert V15.3 - 230214C" dateTime="date_and_time#2025-5-9-17:21:2" content="Derived Function Block source file" DTDVersion="41"></fileHeader>
|
||||||
|
<contentHeader name="Project" version="0.0.5" dateTime="date_and_time#2025-3-18-15:21:30"></contentHeader>
|
||||||
|
<program>
|
||||||
|
<identProgram name="ud3" type="section" task="MAST" SectionOrder="18"></identProgram>
|
||||||
|
<FBDSource nbRows="24" nbColumns="36">
|
||||||
|
<networkFBD>
|
||||||
|
<FFBBlock instanceName="AAND_3" typeName="AAND" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="35" posY="17"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
</networkFBD>
|
||||||
|
</FBDSource>
|
||||||
|
</program>
|
||||||
|
<dataBlock>
|
||||||
|
<variables name="AAND_3" typeName="AAND"></variables>
|
||||||
|
</dataBlock>
|
||||||
|
<FBSource nameOfFBType="AAND" version="0.01" dateTime="dt#2025-05-09-17:19:52">
|
||||||
|
<attribute name="TypeCodeCheckSumString" value="BCDD"></attribute>
|
||||||
|
<attribute name="TypeSignatureCheckSumString" value="C70B"></attribute>
|
||||||
|
<attribute name="UseNewTplSignAlgo" value="TRUE"></attribute>
|
||||||
|
<inputParameters>
|
||||||
|
<variables name="IN1" typeName="BOOL">
|
||||||
|
<attribute name="PositionPin" value="1"></attribute>
|
||||||
|
</variables>
|
||||||
|
<variables name="IN2" typeName="BOOL">
|
||||||
|
<attribute name="PositionPin" value="2"></attribute>
|
||||||
|
</variables>
|
||||||
|
</inputParameters>
|
||||||
|
<outputParameters>
|
||||||
|
<variables name="OUT" typeName="BOOL">
|
||||||
|
<attribute name="PositionPin" value="1"></attribute>
|
||||||
|
</variables>
|
||||||
|
</outputParameters>
|
||||||
|
<FBProgram name="AAND">
|
||||||
|
<STSource>OUT:=IN1 AND IN2;
|
||||||
|
|
||||||
|
</STSource>
|
||||||
|
</FBProgram>
|
||||||
|
</FBSource>
|
||||||
|
</FBDExchangeFile>
|
48
data/basic_blocks_ece/DIV1.XBD
Normal file
48
data/basic_blocks_ece/DIV1.XBD
Normal file
|
@ -0,0 +1,48 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
|
<FBDExchangeFile>
|
||||||
|
<fileHeader company="Schneider Automation" product="Control Expert V15.3 - 230214C" dateTime="date_and_time#2025-5-9-16:13:3" content="Derived Function Block source file" DTDVersion="41"></fileHeader>
|
||||||
|
<contentHeader name="Project" version="0.0.5" dateTime="date_and_time#2025-3-18-15:21:30"></contentHeader>
|
||||||
|
<program>
|
||||||
|
<identProgram name="ud1" type="section" task="MAST" SectionOrder="16"></identProgram>
|
||||||
|
<FBDSource nbRows="24" nbColumns="36">
|
||||||
|
<networkFBD>
|
||||||
|
<FFBBlock instanceName="DI_0" typeName="DIV" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="18" posY="19"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
</networkFBD>
|
||||||
|
</FBDSource>
|
||||||
|
</program>
|
||||||
|
<dataBlock>
|
||||||
|
<variables name="DI_0" typeName="DI"></variables>
|
||||||
|
</dataBlock>
|
||||||
|
<FBSource nameOfFBType="DI" version="0.01" dateTime="dt#2025-04-28-15:43:34">
|
||||||
|
<attribute name="TypeCodeCheckSumString" value="D0EE"></attribute>
|
||||||
|
<attribute name="TypeSignatureCheckSumString" value="BF7F"></attribute>
|
||||||
|
<attribute name="UseNewTplSignAlgo" value="TRUE"></attribute>
|
||||||
|
<inputParameters>
|
||||||
|
<variables name="IN1" typeName="REAL">
|
||||||
|
<attribute name="PositionPin" value="1"></attribute>
|
||||||
|
</variables>
|
||||||
|
<variables name="IN2" typeName="REAL">
|
||||||
|
<attribute name="PositionPin" value="2"></attribute>
|
||||||
|
</variables>
|
||||||
|
</inputParameters>
|
||||||
|
<outputParameters>
|
||||||
|
<variables name="OUT" typeName="REAL">
|
||||||
|
<attribute name="PositionPin" value="1"></attribute>
|
||||||
|
</variables>
|
||||||
|
</outputParameters>
|
||||||
|
<FBProgram name="DI">
|
||||||
|
<STSource>OUT:=IN1/IN2;
|
||||||
|
|
||||||
|
</STSource>
|
||||||
|
</FBProgram>
|
||||||
|
</FBSource>
|
||||||
|
</FBDExchangeFile>
|
48
data/basic_blocks_ece/MUL1.XBD
Normal file
48
data/basic_blocks_ece/MUL1.XBD
Normal file
|
@ -0,0 +1,48 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
|
<FBDExchangeFile>
|
||||||
|
<fileHeader company="Schneider Automation" product="Control Expert V15.3 - 230214C" dateTime="date_and_time#2025-5-9-16:31:32" content="Derived Function Block source file" DTDVersion="41"></fileHeader>
|
||||||
|
<contentHeader name="Project" version="0.0.5" dateTime="date_and_time#2025-3-18-15:21:30"></contentHeader>
|
||||||
|
<program>
|
||||||
|
<identProgram name="ud4" type="section" task="MAST" SectionOrder="19"></identProgram>
|
||||||
|
<FBDSource nbRows="24" nbColumns="36">
|
||||||
|
<networkFBD>
|
||||||
|
<FFBBlock instanceName="MUL1_1" typeName="MUL1" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="25" posY="19"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
</networkFBD>
|
||||||
|
</FBDSource>
|
||||||
|
</program>
|
||||||
|
<dataBlock>
|
||||||
|
<variables name="MUL1_1" typeName="MUL1"></variables>
|
||||||
|
</dataBlock>
|
||||||
|
<FBSource nameOfFBType="MUL1" version="0.01" dateTime="dt#2025-04-28-15:43:34">
|
||||||
|
<attribute name="TypeCodeCheckSumString" value="4F66"></attribute>
|
||||||
|
<attribute name="TypeSignatureCheckSumString" value="BF7F"></attribute>
|
||||||
|
<attribute name="UseNewTplSignAlgo" value="TRUE"></attribute>
|
||||||
|
<inputParameters>
|
||||||
|
<variables name="IN1" typeName="REAL">
|
||||||
|
<attribute name="PositionPin" value="1"></attribute>
|
||||||
|
</variables>
|
||||||
|
<variables name="IN2" typeName="REAL">
|
||||||
|
<attribute name="PositionPin" value="2"></attribute>
|
||||||
|
</variables>
|
||||||
|
</inputParameters>
|
||||||
|
<outputParameters>
|
||||||
|
<variables name="OUT" typeName="REAL">
|
||||||
|
<attribute name="PositionPin" value="1"></attribute>
|
||||||
|
</variables>
|
||||||
|
</outputParameters>
|
||||||
|
<FBProgram name="MUL1">
|
||||||
|
<STSource>OUT:=IN1*IN2;
|
||||||
|
|
||||||
|
</STSource>
|
||||||
|
</FBProgram>
|
||||||
|
</FBSource>
|
||||||
|
</FBDExchangeFile>
|
44
data/basic_blocks_ece/inv.XBD
Normal file
44
data/basic_blocks_ece/inv.XBD
Normal file
|
@ -0,0 +1,44 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
|
<FBDExchangeFile>
|
||||||
|
<fileHeader company="Schneider Automation" product="Control Expert V15.3 - 230214C" dateTime="date_and_time#2025-5-9-17:22:7" content="Derived Function Block source file" DTDVersion="41"></fileHeader>
|
||||||
|
<contentHeader name="Project" version="0.0.5" dateTime="date_and_time#2025-3-18-15:21:30"></contentHeader>
|
||||||
|
<program>
|
||||||
|
<identProgram name="ud14" type="section" task="MAST" SectionOrder="23"></identProgram>
|
||||||
|
<FBDSource nbRows="24" nbColumns="36">
|
||||||
|
<networkFBD>
|
||||||
|
<FFBBlock instanceName="inv_1" typeName="inv" additionnalPinNumber="0" enEnO="false" width="7" height="5">
|
||||||
|
<objPosition posX="36" posY="27"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
</networkFBD>
|
||||||
|
</FBDSource>
|
||||||
|
</program>
|
||||||
|
<dataBlock>
|
||||||
|
<variables name="inv_1" typeName="inv"></variables>
|
||||||
|
</dataBlock>
|
||||||
|
<FBSource nameOfFBType="inv" version="0.01" dateTime="dt#2025-05-09-17:19:48">
|
||||||
|
<attribute name="TypeCodeCheckSumString" value="2AB9"></attribute>
|
||||||
|
<attribute name="TypeSignatureCheckSumString" value="65F9"></attribute>
|
||||||
|
<attribute name="UseNewTplSignAlgo" value="TRUE"></attribute>
|
||||||
|
<inputParameters>
|
||||||
|
<variables name="IN" typeName="BOOL">
|
||||||
|
<attribute name="PositionPin" value="1"></attribute>
|
||||||
|
</variables>
|
||||||
|
</inputParameters>
|
||||||
|
<outputParameters>
|
||||||
|
<variables name="OUT" typeName="BOOL">
|
||||||
|
<attribute name="PositionPin" value="1"></attribute>
|
||||||
|
</variables>
|
||||||
|
</outputParameters>
|
||||||
|
<FBProgram name="nott">
|
||||||
|
<STSource>OUT:=NOT IN;
|
||||||
|
|
||||||
|
</STSource>
|
||||||
|
</FBProgram>
|
||||||
|
</FBSource>
|
||||||
|
</FBDExchangeFile>
|
52
data/basic_blocks_ece/nand.XBD
Normal file
52
data/basic_blocks_ece/nand.XBD
Normal file
|
@ -0,0 +1,52 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
|
<FBDExchangeFile>
|
||||||
|
<fileHeader company="Schneider Automation" product="Control Expert V15.3 - 230214C" dateTime="date_and_time#2025-5-9-17:0:29" content="Derived Function Block source file" DTDVersion="41"></fileHeader>
|
||||||
|
<contentHeader name="Project" version="0.0.000"></contentHeader>
|
||||||
|
<program>
|
||||||
|
<identProgram name="ud8" type="section" task="MAST" SectionOrder="2"></identProgram>
|
||||||
|
<FBDSource nbRows="24" nbColumns="36">
|
||||||
|
<networkFBD>
|
||||||
|
<FFBBlock instanceName="nand_1" typeName="nand" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="42" posY="18"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
</networkFBD>
|
||||||
|
</FBDSource>
|
||||||
|
</program>
|
||||||
|
<dataBlock>
|
||||||
|
<variables name="nand_1" typeName="nand"></variables>
|
||||||
|
</dataBlock>
|
||||||
|
<FBSource nameOfFBType="nand" version="0.01" dateTime="dt#2025-05-09-16:55:42">
|
||||||
|
<attribute name="TypeCodeCheckSumString" value="21A9"></attribute>
|
||||||
|
<attribute name="TypeSignatureCheckSumString" value="C70B"></attribute>
|
||||||
|
<attribute name="UseNewTplSignAlgo" value="TRUE"></attribute>
|
||||||
|
<inputParameters>
|
||||||
|
<variables name="IN1" typeName="BOOL">
|
||||||
|
<attribute name="PositionPin" value="1"></attribute>
|
||||||
|
</variables>
|
||||||
|
<variables name="IN2" typeName="BOOL">
|
||||||
|
<attribute name="PositionPin" value="2"></attribute>
|
||||||
|
</variables>
|
||||||
|
</inputParameters>
|
||||||
|
<outputParameters>
|
||||||
|
<variables name="OUT" typeName="BOOL">
|
||||||
|
<attribute name="PositionPin" value="1"></attribute>
|
||||||
|
</variables>
|
||||||
|
</outputParameters>
|
||||||
|
<privateLocalVariables>
|
||||||
|
<variables name="X" typeName="BOOL"></variables>
|
||||||
|
</privateLocalVariables>
|
||||||
|
<FBProgram name="nand">
|
||||||
|
<STSource>X:=IN1 And IN2;
|
||||||
|
OUT:= NOT X;
|
||||||
|
|
||||||
|
</STSource>
|
||||||
|
</FBProgram>
|
||||||
|
</FBSource>
|
||||||
|
</FBDExchangeFile>
|
52
data/basic_blocks_ece/nor.XBD
Normal file
52
data/basic_blocks_ece/nor.XBD
Normal file
|
@ -0,0 +1,52 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
|
<FBDExchangeFile>
|
||||||
|
<fileHeader company="Schneider Automation" product="Control Expert V15.3 - 230214C" dateTime="date_and_time#2025-5-10-15:31:56" content="Derived Function Block source file" DTDVersion="41"></fileHeader>
|
||||||
|
<contentHeader name="Project" version="0.0.5" dateTime="date_and_time#2025-3-18-15:21:30"></contentHeader>
|
||||||
|
<program>
|
||||||
|
<identProgram name="NOR" type="section" task="MAST" SectionOrder="26"></identProgram>
|
||||||
|
<FBDSource nbRows="24" nbColumns="36">
|
||||||
|
<networkFBD>
|
||||||
|
<FFBBlock instanceName="nor_1" typeName="nor" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="17" posY="18"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
</networkFBD>
|
||||||
|
</FBDSource>
|
||||||
|
</program>
|
||||||
|
<dataBlock>
|
||||||
|
<variables name="nor_1" typeName="nor"></variables>
|
||||||
|
</dataBlock>
|
||||||
|
<FBSource nameOfFBType="nor" version="0.01" dateTime="dt#2025-05-10-15:31:33">
|
||||||
|
<attribute name="TypeCodeCheckSumString" value="7224"></attribute>
|
||||||
|
<attribute name="TypeSignatureCheckSumString" value="C70B"></attribute>
|
||||||
|
<attribute name="UseNewTplSignAlgo" value="TRUE"></attribute>
|
||||||
|
<inputParameters>
|
||||||
|
<variables name="IN1" typeName="BOOL">
|
||||||
|
<attribute name="PositionPin" value="1"></attribute>
|
||||||
|
</variables>
|
||||||
|
<variables name="IN2" typeName="BOOL">
|
||||||
|
<attribute name="PositionPin" value="2"></attribute>
|
||||||
|
</variables>
|
||||||
|
</inputParameters>
|
||||||
|
<outputParameters>
|
||||||
|
<variables name="OUT" typeName="BOOL">
|
||||||
|
<attribute name="PositionPin" value="1"></attribute>
|
||||||
|
</variables>
|
||||||
|
</outputParameters>
|
||||||
|
<privateLocalVariables>
|
||||||
|
<variables name="X" typeName="BOOL"></variables>
|
||||||
|
</privateLocalVariables>
|
||||||
|
<FBProgram name="nor">
|
||||||
|
<STSource>X:=IN1 OR IN2;
|
||||||
|
OUT:= NOT X;
|
||||||
|
|
||||||
|
</STSource>
|
||||||
|
</FBProgram>
|
||||||
|
</FBSource>
|
||||||
|
</FBDExchangeFile>
|
47
data/basic_blocks_ece/orr.XBD
Normal file
47
data/basic_blocks_ece/orr.XBD
Normal file
|
@ -0,0 +1,47 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
|
<FBDExchangeFile>
|
||||||
|
<fileHeader company="Schneider Automation" product="Control Expert V15.3 - 230214C" dateTime="date_and_time#2025-5-9-17:21:41" content="Derived Function Block source file" DTDVersion="41"></fileHeader>
|
||||||
|
<contentHeader name="Project" version="0.0.5" dateTime="date_and_time#2025-3-18-15:21:30"></contentHeader>
|
||||||
|
<program>
|
||||||
|
<identProgram name="ud13" type="section" task="MAST" SectionOrder="22"></identProgram>
|
||||||
|
<FBDSource nbRows="24" nbColumns="36">
|
||||||
|
<networkFBD>
|
||||||
|
<FFBBlock instanceName="orr_1" typeName="orr" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="30" posY="22"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
</networkFBD>
|
||||||
|
</FBDSource>
|
||||||
|
</program>
|
||||||
|
<dataBlock>
|
||||||
|
<variables name="orr_1" typeName="orr"></variables>
|
||||||
|
</dataBlock>
|
||||||
|
<FBSource nameOfFBType="orr" version="0.01" dateTime="dt#2025-05-09-17:19:38">
|
||||||
|
<attribute name="TypeCodeCheckSumString" value="ED9A"></attribute>
|
||||||
|
<attribute name="TypeSignatureCheckSumString" value="C70B"></attribute>
|
||||||
|
<attribute name="UseNewTplSignAlgo" value="TRUE"></attribute>
|
||||||
|
<inputParameters>
|
||||||
|
<variables name="IN1" typeName="BOOL">
|
||||||
|
<attribute name="PositionPin" value="1"></attribute>
|
||||||
|
</variables>
|
||||||
|
<variables name="IN2" typeName="BOOL">
|
||||||
|
<attribute name="PositionPin" value="2"></attribute>
|
||||||
|
</variables>
|
||||||
|
</inputParameters>
|
||||||
|
<outputParameters>
|
||||||
|
<variables name="OUT" typeName="BOOL">
|
||||||
|
<attribute name="PositionPin" value="1"></attribute>
|
||||||
|
</variables>
|
||||||
|
</outputParameters>
|
||||||
|
<FBProgram name="ORR">
|
||||||
|
<STSource>OUT:=IN1 OR IN2;
|
||||||
|
</STSource>
|
||||||
|
</FBProgram>
|
||||||
|
</FBSource>
|
||||||
|
</FBDExchangeFile>
|
48
data/basic_blocks_ece/power.XBD
Normal file
48
data/basic_blocks_ece/power.XBD
Normal file
|
@ -0,0 +1,48 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
|
<FBDExchangeFile>
|
||||||
|
<fileHeader company="Schneider Automation" product="Control Expert V15.3 - 230214C" dateTime="date_and_time#2025-5-9-16:51:2" content="Derived Function Block source file" DTDVersion="41"></fileHeader>
|
||||||
|
<contentHeader name="Project" version="0.0.000"></contentHeader>
|
||||||
|
<program>
|
||||||
|
<identProgram name="ud7" type="section" task="MAST" SectionOrder="1"></identProgram>
|
||||||
|
<FBDSource nbRows="24" nbColumns="36">
|
||||||
|
<networkFBD>
|
||||||
|
<FFBBlock instanceName="power_1" typeName="power" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="30" posY="14"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="P"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
</networkFBD>
|
||||||
|
</FBDSource>
|
||||||
|
</program>
|
||||||
|
<dataBlock>
|
||||||
|
<variables name="power_1" typeName="power"></variables>
|
||||||
|
</dataBlock>
|
||||||
|
<FBSource nameOfFBType="power" version="0.02" dateTime="dt#2025-05-09-16:50:27">
|
||||||
|
<attribute name="TypeCodeCheckSumString" value="8AA9"></attribute>
|
||||||
|
<attribute name="TypeSignatureCheckSumString" value="6D59"></attribute>
|
||||||
|
<attribute name="UseNewTplSignAlgo" value="TRUE"></attribute>
|
||||||
|
<inputParameters>
|
||||||
|
<variables name="IN1" typeName="REAL">
|
||||||
|
<attribute name="PositionPin" value="1"></attribute>
|
||||||
|
</variables>
|
||||||
|
<variables name="P" typeName="INT">
|
||||||
|
<attribute name="PositionPin" value="2"></attribute>
|
||||||
|
</variables>
|
||||||
|
</inputParameters>
|
||||||
|
<outputParameters>
|
||||||
|
<variables name="OUT" typeName="REAL">
|
||||||
|
<attribute name="PositionPin" value="1"></attribute>
|
||||||
|
</variables>
|
||||||
|
</outputParameters>
|
||||||
|
<FBProgram name="power">
|
||||||
|
<STSource>OUT:=IN1**P;
|
||||||
|
|
||||||
|
</STSource>
|
||||||
|
</FBProgram>
|
||||||
|
</FBSource>
|
||||||
|
</FBDExchangeFile>
|
47
data/basic_blocks_ece/sub1.XBD
Normal file
47
data/basic_blocks_ece/sub1.XBD
Normal file
|
@ -0,0 +1,47 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
|
<FBDExchangeFile>
|
||||||
|
<fileHeader company="Schneider Automation" product="Control Expert V15.3 - 230214C" dateTime="date_and_time#2025-5-9-16:32:37" content="Derived Function Block source file" DTDVersion="41"></fileHeader>
|
||||||
|
<contentHeader name="Project" version="0.0.5" dateTime="date_and_time#2025-3-18-15:21:30"></contentHeader>
|
||||||
|
<program>
|
||||||
|
<identProgram name="ud5" type="section" task="MAST" SectionOrder="20"></identProgram>
|
||||||
|
<FBDSource nbRows="24" nbColumns="36">
|
||||||
|
<networkFBD>
|
||||||
|
<FFBBlock instanceName="SUB1_1" typeName="SUB1" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="49" posY="14"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
</networkFBD>
|
||||||
|
</FBDSource>
|
||||||
|
</program>
|
||||||
|
<dataBlock>
|
||||||
|
<variables name="SUB1_1" typeName="SUB1"></variables>
|
||||||
|
</dataBlock>
|
||||||
|
<FBSource nameOfFBType="SUB1" version="0.01" dateTime="dt#2025-04-28-15:43:34">
|
||||||
|
<attribute name="TypeCodeCheckSumString"></attribute>
|
||||||
|
<attribute name="TypeSignatureCheckSumString" value="BF7F"></attribute>
|
||||||
|
<attribute name="UseNewTplSignAlgo" value="TRUE"></attribute>
|
||||||
|
<inputParameters>
|
||||||
|
<variables name="IN1" typeName="REAL">
|
||||||
|
<attribute name="PositionPin" value="1"></attribute>
|
||||||
|
</variables>
|
||||||
|
<variables name="IN2" typeName="REAL">
|
||||||
|
<attribute name="PositionPin" value="2"></attribute>
|
||||||
|
</variables>
|
||||||
|
</inputParameters>
|
||||||
|
<outputParameters>
|
||||||
|
<variables name="OUT" typeName="REAL">
|
||||||
|
<attribute name="PositionPin" value="1"></attribute>
|
||||||
|
</variables>
|
||||||
|
</outputParameters>
|
||||||
|
<FBProgram name="SUB1">
|
||||||
|
<STSource>OUT:=IN1-IN2;
|
||||||
|
</STSource>
|
||||||
|
</FBProgram>
|
||||||
|
</FBSource>
|
||||||
|
</FBDExchangeFile>
|
47
data/basic_blocks_ece/sum.XBD
Normal file
47
data/basic_blocks_ece/sum.XBD
Normal file
|
@ -0,0 +1,47 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
|
<FBDExchangeFile>
|
||||||
|
<fileHeader company="Schneider Automation" product="Control Expert V15.3 - 230214C" dateTime="date_and_time#2025-5-10-15:27:55" content="Derived Function Block source file" DTDVersion="41"></fileHeader>
|
||||||
|
<contentHeader name="Project" version="0.0.5" dateTime="date_and_time#2025-3-18-15:21:30"></contentHeader>
|
||||||
|
<program>
|
||||||
|
<identProgram name="sum" type="section" task="MAST" SectionOrder="25"></identProgram>
|
||||||
|
<FBDSource nbRows="24" nbColumns="36">
|
||||||
|
<networkFBD>
|
||||||
|
<FFBBlock instanceName="sum_4" typeName="sum" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="22" posY="15"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
</networkFBD>
|
||||||
|
</FBDSource>
|
||||||
|
</program>
|
||||||
|
<dataBlock>
|
||||||
|
<variables name="sum_4" typeName="sum"></variables>
|
||||||
|
</dataBlock>
|
||||||
|
<FBSource nameOfFBType="sum" version="0.01" dateTime="dt#2025-04-28-15:43:34">
|
||||||
|
<attribute name="TypeCodeCheckSumString" value="060A"></attribute>
|
||||||
|
<attribute name="TypeSignatureCheckSumString" value="BF7F"></attribute>
|
||||||
|
<attribute name="UseNewTplSignAlgo" value="TRUE"></attribute>
|
||||||
|
<inputParameters>
|
||||||
|
<variables name="IN1" typeName="REAL">
|
||||||
|
<attribute name="PositionPin" value="1"></attribute>
|
||||||
|
</variables>
|
||||||
|
<variables name="IN2" typeName="REAL">
|
||||||
|
<attribute name="PositionPin" value="2"></attribute>
|
||||||
|
</variables>
|
||||||
|
</inputParameters>
|
||||||
|
<outputParameters>
|
||||||
|
<variables name="OUT" typeName="REAL">
|
||||||
|
<attribute name="PositionPin" value="1"></attribute>
|
||||||
|
</variables>
|
||||||
|
</outputParameters>
|
||||||
|
<FBProgram name="sum">
|
||||||
|
<STSource>OUT:=IN1+IN2;
|
||||||
|
</STSource>
|
||||||
|
</FBProgram>
|
||||||
|
</FBSource>
|
||||||
|
</FBDExchangeFile>
|
68
data/basic_blocks_ece/u10.XBD
Normal file
68
data/basic_blocks_ece/u10.XBD
Normal file
|
@ -0,0 +1,68 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
|
<FBDExchangeFile>
|
||||||
|
<fileHeader company="Schneider Automation" product="Control Expert V15.3 - 230214C" dateTime="date_and_time#2025-5-9-17:3:17" content="Derived Function Block source file" DTDVersion="41"></fileHeader>
|
||||||
|
<contentHeader name="Project" version="0.0.000"></contentHeader>
|
||||||
|
<program>
|
||||||
|
<identProgram name="u10" type="section" task="MAST" SectionOrder="4"></identProgram>
|
||||||
|
<FBDSource nbRows="24" nbColumns="36">
|
||||||
|
<networkFBD>
|
||||||
|
<FFBBlock instanceName=".1" typeName="ADD" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="29" posY="16"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1" effectiveParameter="a"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2" effectiveParameter="b"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName="power_2" typeName="power" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="56" posY="16"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="P" effectiveParameter="2"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".1" pinName="OUT">
|
||||||
|
<objPosition posX="35" posY="20"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName="power_2" pinName="IN1">
|
||||||
|
<objPosition posX="56" posY="20"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
</linkFB>
|
||||||
|
</networkFBD>
|
||||||
|
</FBDSource>
|
||||||
|
</program>
|
||||||
|
<dataBlock>
|
||||||
|
<variables name="power_2" typeName="power"></variables>
|
||||||
|
<variables name="a" typeName="DINT"></variables>
|
||||||
|
<variables name="b" typeName="DINT"></variables>
|
||||||
|
</dataBlock>
|
||||||
|
<FBSource nameOfFBType="power" version="0.02" dateTime="dt#2025-05-09-16:50:27">
|
||||||
|
<attribute name="TypeCodeCheckSumString" value="8AA9"></attribute>
|
||||||
|
<attribute name="TypeSignatureCheckSumString" value="6D59"></attribute>
|
||||||
|
<attribute name="UseNewTplSignAlgo" value="TRUE"></attribute>
|
||||||
|
<inputParameters>
|
||||||
|
<variables name="IN1" typeName="REAL">
|
||||||
|
<attribute name="PositionPin" value="1"></attribute>
|
||||||
|
</variables>
|
||||||
|
<variables name="P" typeName="INT">
|
||||||
|
<attribute name="PositionPin" value="2"></attribute>
|
||||||
|
</variables>
|
||||||
|
</inputParameters>
|
||||||
|
<outputParameters>
|
||||||
|
<variables name="OUT" typeName="REAL">
|
||||||
|
<attribute name="PositionPin" value="1"></attribute>
|
||||||
|
</variables>
|
||||||
|
</outputParameters>
|
||||||
|
<FBProgram name="POWER">
|
||||||
|
<STSource>OUT:=IN1**P;
|
||||||
|
|
||||||
|
</STSource>
|
||||||
|
</FBProgram>
|
||||||
|
</FBSource>
|
||||||
|
</FBDExchangeFile>
|
74
data/basic_blocks_ece/ud12.XBD
Normal file
74
data/basic_blocks_ece/ud12.XBD
Normal file
|
@ -0,0 +1,74 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
|
<FBDExchangeFile>
|
||||||
|
<fileHeader company="Schneider Automation" product="Control Expert V15.3 - 230214C" dateTime="date_and_time#2025-5-9-17:19:0" content="Derived Function Block source file" DTDVersion="41"></fileHeader>
|
||||||
|
<contentHeader name="Project" version="0.0.000"></contentHeader>
|
||||||
|
<program>
|
||||||
|
<identProgram name="ud12" type="section" task="MAST" SectionOrder="6"></identProgram>
|
||||||
|
<FBDSource nbRows="24" nbColumns="36">
|
||||||
|
<networkFBD>
|
||||||
|
<FFBBlock instanceName="xor_2" typeName="xor" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="56" posY="18"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1" effectiveParameter="VAR2"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName=".1" typeName="NOT" additionnalPinNumber="0" enEnO="false" width="7" height="5">
|
||||||
|
<objPosition posX="40" posY="20"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN" effectiveParameter="VAR1"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".1" pinName="OUT">
|
||||||
|
<objPosition posX="46" posY="24"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName="xor_2" pinName="IN2">
|
||||||
|
<objPosition posX="56" posY="23"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="48" posY="24"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="48" posY="23"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
</networkFBD>
|
||||||
|
</FBDSource>
|
||||||
|
</program>
|
||||||
|
<dataBlock>
|
||||||
|
<variables name="var2" typeName="BOOL"></variables>
|
||||||
|
<variables name="var1" typeName="BOOL"></variables>
|
||||||
|
<variables name="xor_2" typeName="xor"></variables>
|
||||||
|
</dataBlock>
|
||||||
|
<FBSource nameOfFBType="xor" version="0.01" dateTime="dt#2025-05-09-17:16:53">
|
||||||
|
<attribute name="TypeCodeCheckSumString" value="0555"></attribute>
|
||||||
|
<attribute name="TypeSignatureCheckSumString" value="C70B"></attribute>
|
||||||
|
<attribute name="UseNewTplSignAlgo" value="TRUE"></attribute>
|
||||||
|
<inputParameters>
|
||||||
|
<variables name="IN1" typeName="BOOL">
|
||||||
|
<attribute name="PositionPin" value="1"></attribute>
|
||||||
|
</variables>
|
||||||
|
<variables name="IN2" typeName="BOOL">
|
||||||
|
<attribute name="PositionPin" value="2"></attribute>
|
||||||
|
</variables>
|
||||||
|
</inputParameters>
|
||||||
|
<outputParameters>
|
||||||
|
<variables name="OUT" typeName="BOOL">
|
||||||
|
<attribute name="PositionPin" value="1"></attribute>
|
||||||
|
</variables>
|
||||||
|
</outputParameters>
|
||||||
|
<privateLocalVariables>
|
||||||
|
<variables name="X" typeName="BOOL"></variables>
|
||||||
|
<variables name="Y" typeName="BOOL"></variables>
|
||||||
|
</privateLocalVariables>
|
||||||
|
<FBProgram name="xxor">
|
||||||
|
<STSource>X:=IN1 AND (NOT IN2);
|
||||||
|
Y:=(NOT IN1) AND IN2;
|
||||||
|
OUT:= X OR Y;
|
||||||
|
</STSource>
|
||||||
|
</FBProgram>
|
||||||
|
</FBSource>
|
||||||
|
</FBDExchangeFile>
|
107
data/basic_blocks_ece/ud15.XBD
Normal file
107
data/basic_blocks_ece/ud15.XBD
Normal file
|
@ -0,0 +1,107 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
|
<FBDExchangeFile>
|
||||||
|
<fileHeader company="Schneider Automation" product="Control Expert V15.3 - 230214C" dateTime="date_and_time#2025-5-9-17:24:37" content="Derived Function Block source file" DTDVersion="41"></fileHeader>
|
||||||
|
<contentHeader name="Project" version="0.0.5" dateTime="date_and_time#2025-3-18-15:21:30"></contentHeader>
|
||||||
|
<program>
|
||||||
|
<identProgram name="ud15" type="section" task="MAST" SectionOrder="24"></identProgram>
|
||||||
|
<FBDSource nbRows="24" nbColumns="36">
|
||||||
|
<networkFBD>
|
||||||
|
<FFBBlock instanceName="inv_2" typeName="inv" additionnalPinNumber="0" enEnO="false" width="7" height="5">
|
||||||
|
<objPosition posX="9" posY="28"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName=".1" typeName="AND" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="18" posY="17"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName="orr_2" typeName="orr" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="34" posY="7"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName="inv_2" pinName="OUT">
|
||||||
|
<objPosition posX="15" posY="32"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName=".1" pinName="IN2">
|
||||||
|
<objPosition posX="18" posY="22"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="17" posY="32"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="17" posY="22"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".1" pinName="OUT">
|
||||||
|
<objPosition posX="24" posY="21"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName="orr_2" pinName="IN2">
|
||||||
|
<objPosition posX="34" posY="12"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="26" posY="21"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="26" posY="12"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
</networkFBD>
|
||||||
|
</FBDSource>
|
||||||
|
</program>
|
||||||
|
<dataBlock>
|
||||||
|
<variables name="orr_2" typeName="orr"></variables>
|
||||||
|
<variables name="inv_2" typeName="inv"></variables>
|
||||||
|
</dataBlock>
|
||||||
|
<FBSource nameOfFBType="orr" version="0.01" dateTime="dt#2025-05-09-17:19:38">
|
||||||
|
<attribute name="TypeCodeCheckSumString" value="ED9A"></attribute>
|
||||||
|
<attribute name="TypeSignatureCheckSumString" value="C70B"></attribute>
|
||||||
|
<attribute name="UseNewTplSignAlgo" value="TRUE"></attribute>
|
||||||
|
<inputParameters>
|
||||||
|
<variables name="IN1" typeName="BOOL">
|
||||||
|
<attribute name="PositionPin" value="1"></attribute>
|
||||||
|
</variables>
|
||||||
|
<variables name="IN2" typeName="BOOL">
|
||||||
|
<attribute name="PositionPin" value="2"></attribute>
|
||||||
|
</variables>
|
||||||
|
</inputParameters>
|
||||||
|
<outputParameters>
|
||||||
|
<variables name="OUT" typeName="BOOL">
|
||||||
|
<attribute name="PositionPin" value="1"></attribute>
|
||||||
|
</variables>
|
||||||
|
</outputParameters>
|
||||||
|
<FBProgram name="ORR">
|
||||||
|
<STSource>OUT:=IN1 OR IN2;
|
||||||
|
</STSource>
|
||||||
|
</FBProgram>
|
||||||
|
</FBSource>
|
||||||
|
<FBSource nameOfFBType="inv" version="0.01" dateTime="dt#2025-05-09-17:19:48">
|
||||||
|
<attribute name="TypeCodeCheckSumString" value="2AB9"></attribute>
|
||||||
|
<attribute name="TypeSignatureCheckSumString" value="65F9"></attribute>
|
||||||
|
<attribute name="UseNewTplSignAlgo" value="TRUE"></attribute>
|
||||||
|
<inputParameters>
|
||||||
|
<variables name="IN" typeName="BOOL">
|
||||||
|
<attribute name="PositionPin" value="1"></attribute>
|
||||||
|
</variables>
|
||||||
|
</inputParameters>
|
||||||
|
<outputParameters>
|
||||||
|
<variables name="OUT" typeName="BOOL">
|
||||||
|
<attribute name="PositionPin" value="1"></attribute>
|
||||||
|
</variables>
|
||||||
|
</outputParameters>
|
||||||
|
<FBProgram name="nott">
|
||||||
|
<STSource>OUT:=NOT IN;
|
||||||
|
|
||||||
|
</STSource>
|
||||||
|
</FBProgram>
|
||||||
|
</FBSource>
|
||||||
|
</FBDExchangeFile>
|
93
data/basic_blocks_ece/ud2.XBD
Normal file
93
data/basic_blocks_ece/ud2.XBD
Normal file
|
@ -0,0 +1,93 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
|
<FBDExchangeFile>
|
||||||
|
<fileHeader company="Schneider Automation" product="Control Expert V15.3 - 230214C" dateTime="date_and_time#2025-5-9-16:29:36" content="Derived Function Block source file" DTDVersion="41"></fileHeader>
|
||||||
|
<contentHeader name="Project" version="0.0.5" dateTime="date_and_time#2025-3-18-15:21:30"></contentHeader>
|
||||||
|
<program>
|
||||||
|
<identProgram name="ud2" type="section" task="MAST" SectionOrder="17"></identProgram>
|
||||||
|
<FBDSource nbRows="24" nbColumns="36">
|
||||||
|
<networkFBD>
|
||||||
|
<FFBBlock instanceName="sum_1" typeName="sum" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="40" posY="16"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1" effectiveParameter="v1"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2" effectiveParameter="v2"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName="Mul_1" typeName="Mul" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="53" posY="21"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2" effectiveParameter="2.0"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName="sum_1" pinName="OUT">
|
||||||
|
<objPosition posX="46" posY="20"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName="Mul_1" pinName="IN1">
|
||||||
|
<objPosition posX="53" posY="25"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="48" posY="20"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="48" posY="25"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
</networkFBD>
|
||||||
|
</FBDSource>
|
||||||
|
</program>
|
||||||
|
<dataBlock>
|
||||||
|
<variables name="sum_1" typeName="sum"></variables>
|
||||||
|
<variables name="v2" typeName="REAL"></variables>
|
||||||
|
<variables name="v1" typeName="REAL"></variables>
|
||||||
|
<variables name="Mul_1" typeName="Mul"></variables>
|
||||||
|
</dataBlock>
|
||||||
|
<FBSource nameOfFBType="sum" version="0.01" dateTime="dt#2025-04-28-15:43:34">
|
||||||
|
<attribute name="TypeCodeCheckSumString" value="060A"></attribute>
|
||||||
|
<attribute name="TypeSignatureCheckSumString" value="BF7F"></attribute>
|
||||||
|
<attribute name="UseNewTplSignAlgo" value="TRUE"></attribute>
|
||||||
|
<inputParameters>
|
||||||
|
<variables name="IN1" typeName="REAL">
|
||||||
|
<attribute name="PositionPin" value="1"></attribute>
|
||||||
|
</variables>
|
||||||
|
<variables name="IN2" typeName="REAL">
|
||||||
|
<attribute name="PositionPin" value="2"></attribute>
|
||||||
|
</variables>
|
||||||
|
</inputParameters>
|
||||||
|
<outputParameters>
|
||||||
|
<variables name="OUT" typeName="REAL">
|
||||||
|
<attribute name="PositionPin" value="1"></attribute>
|
||||||
|
</variables>
|
||||||
|
</outputParameters>
|
||||||
|
<FBProgram name="sum">
|
||||||
|
<STSource>OUT:=IN1+IN2;
|
||||||
|
</STSource>
|
||||||
|
</FBProgram>
|
||||||
|
</FBSource>
|
||||||
|
<FBSource nameOfFBType="Mul" version="0.01" dateTime="dt#2025-04-28-15:43:34">
|
||||||
|
<attribute name="TypeCodeCheckSumString" value="4F66"></attribute>
|
||||||
|
<attribute name="TypeSignatureCheckSumString" value="BF7F"></attribute>
|
||||||
|
<attribute name="UseNewTplSignAlgo" value="TRUE"></attribute>
|
||||||
|
<inputParameters>
|
||||||
|
<variables name="IN1" typeName="REAL">
|
||||||
|
<attribute name="PositionPin" value="1"></attribute>
|
||||||
|
</variables>
|
||||||
|
<variables name="IN2" typeName="REAL">
|
||||||
|
<attribute name="PositionPin" value="2"></attribute>
|
||||||
|
</variables>
|
||||||
|
</inputParameters>
|
||||||
|
<outputParameters>
|
||||||
|
<variables name="OUT" typeName="REAL">
|
||||||
|
<attribute name="PositionPin" value="1"></attribute>
|
||||||
|
</variables>
|
||||||
|
</outputParameters>
|
||||||
|
<FBProgram name="ul">
|
||||||
|
<STSource>OUT:=IN1*IN2;
|
||||||
|
|
||||||
|
</STSource>
|
||||||
|
</FBProgram>
|
||||||
|
</FBSource>
|
||||||
|
</FBDExchangeFile>
|
136
data/basic_blocks_ece/ud6.XBD
Normal file
136
data/basic_blocks_ece/ud6.XBD
Normal file
|
@ -0,0 +1,136 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
|
<FBDExchangeFile>
|
||||||
|
<fileHeader company="Schneider Automation" product="Control Expert V15.3 - 230214C" dateTime="date_and_time#2025-5-9-16:34:54" content="Derived Function Block source file" DTDVersion="41"></fileHeader>
|
||||||
|
<contentHeader name="Project" version="0.0.5" dateTime="date_and_time#2025-3-18-15:21:30"></contentHeader>
|
||||||
|
<program>
|
||||||
|
<identProgram name="ud6" type="section" task="MAST" SectionOrder="21"></identProgram>
|
||||||
|
<FBDSource nbRows="24" nbColumns="36">
|
||||||
|
<networkFBD>
|
||||||
|
<FFBBlock instanceName="subb_2" typeName="subb" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="44" posY="20"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1" effectiveParameter="var1"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2" effectiveParameter="var2"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName="sum_3" typeName="sum" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="62" posY="22"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName="Mul_3" typeName="Mul" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="44" posY="31"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1" effectiveParameter="var1"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2" effectiveParameter="var2"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName="Mul_3" pinName="OUT">
|
||||||
|
<objPosition posX="50" posY="35"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName="sum_3" pinName="IN2">
|
||||||
|
<objPosition posX="62" posY="27"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="52" posY="35"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="52" posY="27"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName="subb_2" pinName="OUT">
|
||||||
|
<objPosition posX="50" posY="24"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName="sum_3" pinName="IN1">
|
||||||
|
<objPosition posX="62" posY="26"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="52" posY="24"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="52" posY="26"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
</networkFBD>
|
||||||
|
</FBDSource>
|
||||||
|
</program>
|
||||||
|
<dataBlock>
|
||||||
|
<variables name="sum_3" typeName="sum"></variables>
|
||||||
|
<variables name="subb_2" typeName="subb"></variables>
|
||||||
|
<variables name="var2" typeName="REAL"></variables>
|
||||||
|
<variables name="Mul_3" typeName="Mul"></variables>
|
||||||
|
<variables name="var1" typeName="REAL"></variables>
|
||||||
|
</dataBlock>
|
||||||
|
<FBSource nameOfFBType="sum" version="0.01" dateTime="dt#2025-04-28-15:43:34">
|
||||||
|
<attribute name="TypeCodeCheckSumString" value="060A"></attribute>
|
||||||
|
<attribute name="TypeSignatureCheckSumString" value="BF7F"></attribute>
|
||||||
|
<attribute name="UseNewTplSignAlgo" value="TRUE"></attribute>
|
||||||
|
<inputParameters>
|
||||||
|
<variables name="IN1" typeName="REAL">
|
||||||
|
<attribute name="PositionPin" value="1"></attribute>
|
||||||
|
</variables>
|
||||||
|
<variables name="IN2" typeName="REAL">
|
||||||
|
<attribute name="PositionPin" value="2"></attribute>
|
||||||
|
</variables>
|
||||||
|
</inputParameters>
|
||||||
|
<outputParameters>
|
||||||
|
<variables name="OUT" typeName="REAL">
|
||||||
|
<attribute name="PositionPin" value="1"></attribute>
|
||||||
|
</variables>
|
||||||
|
</outputParameters>
|
||||||
|
<FBProgram name="sum">
|
||||||
|
<STSource>OUT:=IN1+IN2;
|
||||||
|
</STSource>
|
||||||
|
</FBProgram>
|
||||||
|
</FBSource>
|
||||||
|
<FBSource nameOfFBType="subb" version="0.01" dateTime="dt#2025-04-28-15:43:34">
|
||||||
|
<attribute name="TypeCodeCheckSumString"></attribute>
|
||||||
|
<attribute name="TypeSignatureCheckSumString" value="BF7F"></attribute>
|
||||||
|
<attribute name="UseNewTplSignAlgo" value="TRUE"></attribute>
|
||||||
|
<inputParameters>
|
||||||
|
<variables name="IN1" typeName="REAL">
|
||||||
|
<attribute name="PositionPin" value="1"></attribute>
|
||||||
|
</variables>
|
||||||
|
<variables name="IN2" typeName="REAL">
|
||||||
|
<attribute name="PositionPin" value="2"></attribute>
|
||||||
|
</variables>
|
||||||
|
</inputParameters>
|
||||||
|
<outputParameters>
|
||||||
|
<variables name="OUT" typeName="REAL">
|
||||||
|
<attribute name="PositionPin" value="1"></attribute>
|
||||||
|
</variables>
|
||||||
|
</outputParameters>
|
||||||
|
<FBProgram name="sub1">
|
||||||
|
<STSource>OUT:=IN1-IN2;
|
||||||
|
</STSource>
|
||||||
|
</FBProgram>
|
||||||
|
</FBSource>
|
||||||
|
<FBSource nameOfFBType="Mul" version="0.01" dateTime="dt#2025-04-28-15:43:34">
|
||||||
|
<attribute name="TypeCodeCheckSumString" value="4F66"></attribute>
|
||||||
|
<attribute name="TypeSignatureCheckSumString" value="BF7F"></attribute>
|
||||||
|
<attribute name="UseNewTplSignAlgo" value="TRUE"></attribute>
|
||||||
|
<inputParameters>
|
||||||
|
<variables name="IN1" typeName="REAL">
|
||||||
|
<attribute name="PositionPin" value="1"></attribute>
|
||||||
|
</variables>
|
||||||
|
<variables name="IN2" typeName="REAL">
|
||||||
|
<attribute name="PositionPin" value="2"></attribute>
|
||||||
|
</variables>
|
||||||
|
</inputParameters>
|
||||||
|
<outputParameters>
|
||||||
|
<variables name="OUT" typeName="REAL">
|
||||||
|
<attribute name="PositionPin" value="1"></attribute>
|
||||||
|
</variables>
|
||||||
|
</outputParameters>
|
||||||
|
<FBProgram name="ul">
|
||||||
|
<STSource>OUT:=IN1*IN2;
|
||||||
|
|
||||||
|
</STSource>
|
||||||
|
</FBProgram>
|
||||||
|
</FBSource>
|
||||||
|
</FBDExchangeFile>
|
95
data/basic_blocks_ece/ud9.XBD
Normal file
95
data/basic_blocks_ece/ud9.XBD
Normal file
|
@ -0,0 +1,95 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
|
<FBDExchangeFile>
|
||||||
|
<fileHeader company="Schneider Automation" product="Control Expert V15.3 - 230214C" dateTime="date_and_time#2025-5-9-17:2:2" content="Derived Function Block source file" DTDVersion="41"></fileHeader>
|
||||||
|
<contentHeader name="Project" version="0.0.000"></contentHeader>
|
||||||
|
<program>
|
||||||
|
<identProgram name="ud9" type="section" task="MAST" SectionOrder="3"></identProgram>
|
||||||
|
<FBDSource nbRows="24" nbColumns="36">
|
||||||
|
<networkFBD>
|
||||||
|
<FFBBlock instanceName=".1" typeName="AND" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="23" posY="11"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1" effectiveParameter="var1"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2" effectiveParameter="var2"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName=".2" typeName="OR" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="23" posY="22"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1" effectiveParameter="var1"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2" effectiveParameter="var2"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName="nand_2" typeName="nand" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="42" posY="16"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT" effectiveParameter="light"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".2" pinName="OUT">
|
||||||
|
<objPosition posX="29" posY="26"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName="nand_2" pinName="IN2">
|
||||||
|
<objPosition posX="42" posY="21"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="31" posY="26"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="31" posY="21"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".1" pinName="OUT">
|
||||||
|
<objPosition posX="29" posY="15"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName="nand_2" pinName="IN1">
|
||||||
|
<objPosition posX="42" posY="20"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="31" posY="15"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="31" posY="20"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
</networkFBD>
|
||||||
|
</FBDSource>
|
||||||
|
</program>
|
||||||
|
<dataBlock>
|
||||||
|
<variables name="light" typeName="BOOL"></variables>
|
||||||
|
<variables name="var1" typeName="BOOL"></variables>
|
||||||
|
<variables name="var2" typeName="BOOL"></variables>
|
||||||
|
<variables name="nand_2" typeName="nand"></variables>
|
||||||
|
</dataBlock>
|
||||||
|
<FBSource nameOfFBType="nand" version="0.01" dateTime="dt#2025-05-09-16:55:42">
|
||||||
|
<attribute name="TypeCodeCheckSumString" value="21A9"></attribute>
|
||||||
|
<attribute name="TypeSignatureCheckSumString" value="C70B"></attribute>
|
||||||
|
<attribute name="UseNewTplSignAlgo" value="TRUE"></attribute>
|
||||||
|
<inputParameters>
|
||||||
|
<variables name="IN1" typeName="BOOL">
|
||||||
|
<attribute name="PositionPin" value="1"></attribute>
|
||||||
|
</variables>
|
||||||
|
<variables name="IN2" typeName="BOOL">
|
||||||
|
<attribute name="PositionPin" value="2"></attribute>
|
||||||
|
</variables>
|
||||||
|
</inputParameters>
|
||||||
|
<outputParameters>
|
||||||
|
<variables name="OUT" typeName="BOOL">
|
||||||
|
<attribute name="PositionPin" value="1"></attribute>
|
||||||
|
</variables>
|
||||||
|
</outputParameters>
|
||||||
|
<privateLocalVariables>
|
||||||
|
<variables name="X" typeName="BOOL"></variables>
|
||||||
|
</privateLocalVariables>
|
||||||
|
<FBProgram name="nand">
|
||||||
|
<STSource>X:=IN1 And IN2;
|
||||||
|
OUT:= NOT X;
|
||||||
|
|
||||||
|
</STSource>
|
||||||
|
</FBProgram>
|
||||||
|
</FBSource>
|
||||||
|
</FBDExchangeFile>
|
53
data/basic_blocks_ece/xor.XBD
Normal file
53
data/basic_blocks_ece/xor.XBD
Normal file
|
@ -0,0 +1,53 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
|
<FBDExchangeFile>
|
||||||
|
<fileHeader company="Schneider Automation" product="Control Expert V15.3 - 230214C" dateTime="date_and_time#2025-5-9-17:17:21" content="Derived Function Block source file" DTDVersion="41"></fileHeader>
|
||||||
|
<contentHeader name="Project" version="0.0.000"></contentHeader>
|
||||||
|
<program>
|
||||||
|
<identProgram name="ud11" type="section" task="MAST" SectionOrder="5"></identProgram>
|
||||||
|
<FBDSource nbRows="24" nbColumns="36">
|
||||||
|
<networkFBD>
|
||||||
|
<FFBBlock instanceName="xor_1" typeName="xor" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="12" posY="13"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
</networkFBD>
|
||||||
|
</FBDSource>
|
||||||
|
</program>
|
||||||
|
<dataBlock>
|
||||||
|
<variables name="xor_1" typeName="xor"></variables>
|
||||||
|
</dataBlock>
|
||||||
|
<FBSource nameOfFBType="xor" version="0.01" dateTime="dt#2025-05-09-17:16:53">
|
||||||
|
<attribute name="TypeCodeCheckSumString" value="0555"></attribute>
|
||||||
|
<attribute name="TypeSignatureCheckSumString" value="C70B"></attribute>
|
||||||
|
<attribute name="UseNewTplSignAlgo" value="TRUE"></attribute>
|
||||||
|
<inputParameters>
|
||||||
|
<variables name="IN1" typeName="BOOL">
|
||||||
|
<attribute name="PositionPin" value="1"></attribute>
|
||||||
|
</variables>
|
||||||
|
<variables name="IN2" typeName="BOOL">
|
||||||
|
<attribute name="PositionPin" value="2"></attribute>
|
||||||
|
</variables>
|
||||||
|
</inputParameters>
|
||||||
|
<outputParameters>
|
||||||
|
<variables name="OUT" typeName="BOOL">
|
||||||
|
<attribute name="PositionPin" value="1"></attribute>
|
||||||
|
</variables>
|
||||||
|
</outputParameters>
|
||||||
|
<privateLocalVariables>
|
||||||
|
<variables name="X" typeName="BOOL"></variables>
|
||||||
|
<variables name="Y" typeName="BOOL"></variables>
|
||||||
|
</privateLocalVariables>
|
||||||
|
<FBProgram name="xxor">
|
||||||
|
<STSource>X:=IN1 AND (NOT IN2);
|
||||||
|
Y:=(NOT IN1) AND IN2;
|
||||||
|
OUT:= X OR Y;
|
||||||
|
</STSource>
|
||||||
|
</FBProgram>
|
||||||
|
</FBSource>
|
||||||
|
</FBDExchangeFile>
|
1
data/embeddings/embeddings_cache.json
Normal file
1
data/embeddings/embeddings_cache.json
Normal file
File diff suppressed because one or more lines are too long
BIN
data/feedback/feedback.db
Normal file
BIN
data/feedback/feedback.db
Normal file
Binary file not shown.
BIN
data/index/rag_docs.pkl
Normal file
BIN
data/index/rag_docs.pkl
Normal file
Binary file not shown.
BIN
data/index/rag_index.faiss
Normal file
BIN
data/index/rag_index.faiss
Normal file
Binary file not shown.
1477
data/mappings/block_io_info.json
Normal file
1477
data/mappings/block_io_info.json
Normal file
File diff suppressed because it is too large
Load diff
1027
data/mappings/block_mappings.json
Normal file
1027
data/mappings/block_mappings.json
Normal file
File diff suppressed because it is too large
Load diff
393
data/mappings/block_mappings1.json
Normal file
393
data/mappings/block_mappings1.json
Normal file
|
@ -0,0 +1,393 @@
|
||||||
|
{
|
||||||
|
"AND": [
|
||||||
|
{"input_count": 2, "eae_id": "AND_88A3DD8EC65DD11C"},
|
||||||
|
{"input_count": 3, "eae_id": "AND_550FE6D62F509EB3"},
|
||||||
|
{"input_count": 4, "eae_id": "AND_169B00D031196E7C4"},
|
||||||
|
{"input_count": 5, "eae_id": "AND_150A6959DE81880FD"},
|
||||||
|
{"input_count": 6, "eae_id": "AND_65BD917F4F2EC165"},
|
||||||
|
{"input_count": 7, "eae_id": "AND_1147623A96AA66A8"},
|
||||||
|
{"input_count": 8, "eae_id": "AND_8036BCB1C7C04BD2"},
|
||||||
|
{"input_count": 9, "eae_id": "AND_201A0B5C94C9C72F7"},
|
||||||
|
{"input_count": 10, "eae_id": "AND_7813B6A00C1743DE"},
|
||||||
|
{"input_count": 11, "eae_id": "AND_1420351CA42D5E884"},
|
||||||
|
{"input_count": 12, "eae_id": "AND_226E0EBA92231062C"},
|
||||||
|
{"input_count": 13, "eae_id": "AND_168D03239E8351708"},
|
||||||
|
{"input_count": 14, "eae_id": "AND_86F02BDA4F15A6B4"},
|
||||||
|
{"input_count": 15, "eae_id": "AND_52B502641A390814"},
|
||||||
|
{"input_count": 16, "eae_id": "AND_173860434676319F4"}
|
||||||
|
],
|
||||||
|
"OR": [
|
||||||
|
{"input_count": 2, "eae_id": "OR_88A3DD8EC65DD11C"},
|
||||||
|
{"input_count": 3, "eae_id": "OR_550FE6D62F509EB3"},
|
||||||
|
{"input_count": 4, "eae_id": "OR_169B00D031196E7C4"},
|
||||||
|
{"input_count": 5, "eae_id": "OR_150A6959DE81880FD"},
|
||||||
|
{"input_count": 6, "eae_id": "OR_65BD917F4F2EC165"},
|
||||||
|
{"input_count": 7, "eae_id": "OR_1147623A96AA66A8"},
|
||||||
|
{"input_count": 8, "eae_id": "OR_8036BCB1C7C04BD2"},
|
||||||
|
{"input_count": 9, "eae_id": "OR_201A0B5C94C9C72F7"},
|
||||||
|
{"input_count": 10, "eae_id": "OR_7813B6A00C1743DE"},
|
||||||
|
{"input_count": 11, "eae_id": "OR_1420351CA42D5E884"},
|
||||||
|
{"input_count": 12, "eae_id": "OR_226E0EBA92231062C"},
|
||||||
|
{"input_count": 13, "eae_id": "OR_168D03239E8351708"},
|
||||||
|
{"input_count": 14, "eae_id": "OR_86F02BDA4F15A6B4"},
|
||||||
|
{"input_count": 15, "eae_id": "OR_52B502641A390814"},
|
||||||
|
{"input_count": 16, "eae_id": "OR_173860434676319F4"}
|
||||||
|
],
|
||||||
|
"XOR": [
|
||||||
|
{"input_count": 2, "eae_id": "XOR_88A3DD8EC65DD11C"},
|
||||||
|
{"input_count": 3, "eae_id": "XOR_550FE6D62F509EB3"},
|
||||||
|
{"input_count": 4, "eae_id": "XOR_169B00D031196E7C4"},
|
||||||
|
{"input_count": 5, "eae_id": "XOR_150A6959DE81880FD"},
|
||||||
|
{"input_count": 6, "eae_id": "XOR_65BD917F4F2EC165"},
|
||||||
|
{"input_count": 7, "eae_id": "XOR_1147623A96AA66A8"},
|
||||||
|
{"input_count": 8, "eae_id": "XOR_8036BCB1C7C04BD2"},
|
||||||
|
{"input_count": 9, "eae_id": "XOR_201A0B5C94C9C72F7"},
|
||||||
|
{"input_count": 10, "eae_id": "XOR_7813B6A00C1743DE"},
|
||||||
|
{"input_count": 11, "eae_id": "XOR_1420351CA42D5E884"},
|
||||||
|
{"input_count": 12, "eae_id": "XOR_226E0EBA92231062C"},
|
||||||
|
{"input_count": 13, "eae_id": "XOR_168D03239E8351708"},
|
||||||
|
{"input_count": 14, "eae_id": "XOR_86F02BDA4F15A6B4"},
|
||||||
|
{"input_count": 15, "eae_id": "XOR_52B502641A390814"},
|
||||||
|
{"input_count": 16, "eae_id": "XOR_173860434676319F4"}
|
||||||
|
],
|
||||||
|
"NOT": [
|
||||||
|
{"input_count": 1, "eae_id": "NOT_42C76073DCEB1A7A"},
|
||||||
|
{"input_count": 2, "eae_id": "NOT_425622A9A4AC6C60"},
|
||||||
|
{"input_count": 3, "eae_id": "NOT_704CB98696D9F02D"},
|
||||||
|
{"input_count": 4, "eae_id": "NOT_714ACF396465B24D"},
|
||||||
|
{"input_count": 5, "eae_id": "NOT_1807F3A82F2A74405"},
|
||||||
|
{"input_count": 6, "eae_id": "NOT_2140D4CB83A057D8C"},
|
||||||
|
{"input_count": 7, "eae_id": "NOT_404295D96CE356FE"},
|
||||||
|
{"input_count": 8, "eae_id": "NOT_923CFCC1C9E94AE3"},
|
||||||
|
{"input_count": 9, "eae_id": "NOT_9774CD2F6CC983DA"},
|
||||||
|
{"input_count": 10, "eae_id": "NOT_17874E663E1705139"},
|
||||||
|
{"input_count": 11, "eae_id": "NOT_1298226BA89451774"},
|
||||||
|
{"input_count": 12, "eae_id": "NOT_44EC3E7E32262D25"},
|
||||||
|
{"input_count": 13, "eae_id": "NOT_720A37AB0A4196C6"},
|
||||||
|
{"input_count": 14, "eae_id": "NOT_32897252FFC80120"},
|
||||||
|
{"input_count": 15, "eae_id": "NOT_125C22C2657AEC2C2"},
|
||||||
|
{"input_count": 16, "eae_id": "NOT_21661D42DA8232174"}
|
||||||
|
],
|
||||||
|
"ADD": [
|
||||||
|
{"input_count": 2, "eae_id": "ADD_1990CFD1468AAE4A6"},
|
||||||
|
{"input_count": 3, "eae_id": "ADD_969F3D13CACE16D5"},
|
||||||
|
{"input_count": 4, "eae_id": "ADD_154DF64C529317611"},
|
||||||
|
{"input_count": 5, "eae_id": "ADD_57664B394B94716"},
|
||||||
|
{"input_count": 6, "eae_id": "ADD_196CF02D1C6422644"},
|
||||||
|
{"input_count": 7, "eae_id": "ADD_136D1892928087BC1"},
|
||||||
|
{"input_count": 8, "eae_id": "ADD_5471280BACAB71CD"},
|
||||||
|
{"input_count": 9, "eae_id": "ADD_2026AA6A07730AF5F"},
|
||||||
|
{"input_count": 10, "eae_id": "ADD_1895AA7A42DD999C2"},
|
||||||
|
{"input_count": 11, "eae_id": "ADD_8674BC6437C5A9B0"},
|
||||||
|
{"input_count": 12, "eae_id": "ADD_222BC971900A93C39"},
|
||||||
|
{"input_count": 13, "eae_id": "ADD_181442F004F988D85"},
|
||||||
|
{"input_count": 14, "eae_id": "ADD_231F361F8A086D20F"},
|
||||||
|
{"input_count": 15, "eae_id": "ADD_216B65DE7B90BD26A"},
|
||||||
|
{"input_count": 16, "eae_id": "ADD_254BEA10D499C3794"}
|
||||||
|
],
|
||||||
|
"SUB": [
|
||||||
|
{"input_count": 2, "eae_id": "SUB_1990CFD1468AAE4A6"},
|
||||||
|
{"input_count": 3, "eae_id": "SUB_969F3D13CACE16D5"},
|
||||||
|
{"input_count": 4, "eae_id": "SUB_154DF64C529317611"},
|
||||||
|
{"input_count": 5, "eae_id": "SUB_57664B394B94716"},
|
||||||
|
{"input_count": 6, "eae_id": "SUB_196CF02D1C6422644"},
|
||||||
|
{"input_count": 7, "eae_id": "SUB_136D1892928087BC1"},
|
||||||
|
{"input_count": 8, "eae_id": "SUB_5471280BACAB71CD"},
|
||||||
|
{"input_count": 9, "eae_id": "SUB_2026AA6A07730AF5F"},
|
||||||
|
{"input_count": 10, "eae_id": "SUB_1895AA7A42DD999C2"},
|
||||||
|
{"input_count": 11, "eae_id": "SUB_8674BC6437C5A9B0"},
|
||||||
|
{"input_count": 12, "eae_id": "SUB_222BC971900A93C39"},
|
||||||
|
{"input_count": 13, "eae_id": "SUB_181442F004F988D85"},
|
||||||
|
{"input_count": 14, "eae_id": "SUB_231F361F8A086D20F"},
|
||||||
|
{"input_count": 15, "eae_id": "SUB_216B65DE7B90BD26A"},
|
||||||
|
{"input_count": 16, "eae_id": "SUB_254BEA10D499C3794"}
|
||||||
|
],
|
||||||
|
"MUL": [
|
||||||
|
{"input_count": 2, "eae_id": "MUL_1990CFD1468AAE4A6"},
|
||||||
|
{"input_count": 3, "eae_id": "MUL_969F3D13CACE16D5"},
|
||||||
|
{"input_count": 4, "eae_id": "MUL_154DF64C529317611"},
|
||||||
|
{"input_count": 5, "eae_id": "MUL_57664B394B94716"},
|
||||||
|
{"input_count": 6, "eae_id": "MUL_196CF02D1C6422644"},
|
||||||
|
{"input_count": 7, "eae_id": "MUL_136D1892928087BC1"},
|
||||||
|
{"input_count": 8, "eae_id": "MUL_5471280BACAB71CD"},
|
||||||
|
{"input_count": 9, "eae_id": "MUL_2026AA6A07730AF5F"},
|
||||||
|
{"input_count": 10, "eae_id": "MUL_1895AA7A42DD999C2"},
|
||||||
|
{"input_count": 11, "eae_id": "MUL_8674BC6437C5A9B0"},
|
||||||
|
{"input_count": 12, "eae_id": "MUL_222BC971900A93C39"},
|
||||||
|
{"input_count": 13, "eae_id": "MUL_181442F004F988D85"},
|
||||||
|
{"input_count": 14, "eae_id": "MUL_231F361F8A086D20F"},
|
||||||
|
{"input_count": 15, "eae_id": "MUL_216B65DE7B90BD26A"},
|
||||||
|
{"input_count": 16, "eae_id": "MUL_254BEA10D499C3794"}
|
||||||
|
],
|
||||||
|
"DIV": [
|
||||||
|
{"input_count": 2, "eae_id": "DIV_182E0F9E1B4E93726"}
|
||||||
|
],
|
||||||
|
"COMPARE": [
|
||||||
|
{"input_count": 2, "eae_id": "COMPARE_130FA41CE9F1C32EF"}
|
||||||
|
],
|
||||||
|
"ROR": [
|
||||||
|
{"input_count": 2, "eae_id": "ROR_2075F4538DD0D94C3"}
|
||||||
|
],
|
||||||
|
"ROL": [
|
||||||
|
{"input_count": 2, "eae_id": "ROL_2075F4538DD0D94C3"}
|
||||||
|
],
|
||||||
|
"SHR": [
|
||||||
|
{"input_count": 2, "eae_id": "SHR_2075F4538DD0D94C3"}
|
||||||
|
],
|
||||||
|
"SHL": [
|
||||||
|
{"input_count": 2, "eae_id": "SHL_2075F4538DD0D94C3"}
|
||||||
|
],
|
||||||
|
"TP": [
|
||||||
|
{"input_count": 2, "eae_id": "TP"}
|
||||||
|
],
|
||||||
|
"AND_BOOL": [
|
||||||
|
{"input_count": 2, "eae_id": "AND_BOOL"}
|
||||||
|
],
|
||||||
|
"OR_BOOL": [
|
||||||
|
{"input_count": 2, "eae_id": "OR_BOOL"}
|
||||||
|
],
|
||||||
|
"E_F_TRIG": [
|
||||||
|
{"input_count": 2, "eae_id": "E_F_TRIG"}
|
||||||
|
],
|
||||||
|
"E_R_TRIG": [
|
||||||
|
{"input_count": 2, "eae_id": "E_R_TRIG"}
|
||||||
|
],
|
||||||
|
"SR": [
|
||||||
|
{"input_count": 2, "eae_id":"E_SR"}
|
||||||
|
],
|
||||||
|
"E_RS": [
|
||||||
|
{"input_count": 2, "eae_id": "E_RS"}
|
||||||
|
],
|
||||||
|
"CTU": [
|
||||||
|
{"input_count": 2, "eae_id": "E_CTU"}
|
||||||
|
],
|
||||||
|
"MOTOR": [
|
||||||
|
{"input_count": 2, "eae_id": "MOTOR"}
|
||||||
|
],
|
||||||
|
"VALVE": [
|
||||||
|
{"input_count": 2, "eae_id": "VALVE"}
|
||||||
|
],
|
||||||
|
"ValveHand": [
|
||||||
|
{"input_count": 2, "eae_id": "ValveHand"}
|
||||||
|
],
|
||||||
|
"dInput": [
|
||||||
|
{"input_count": 2, "eae_id": "dInput"}
|
||||||
|
],
|
||||||
|
"DISignalCond": [
|
||||||
|
{"input_count": 2, "eae_id": "DISignalCond"}
|
||||||
|
],
|
||||||
|
"MOTORVSGP": [
|
||||||
|
{"input_count": 27, "eae_id": "MotorVs"}
|
||||||
|
],
|
||||||
|
"SET": [
|
||||||
|
{"input_count":0, "eae_id": "SETQ"}
|
||||||
|
],
|
||||||
|
"RESETQ": [
|
||||||
|
{"input_count": 2, "eae_id": "RESETQ"}
|
||||||
|
],
|
||||||
|
"MOVEQ": [
|
||||||
|
{"input_count": 2, "eae_id": "MOVEQ"}
|
||||||
|
],
|
||||||
|
"BOOL_TO_BYTE_Q": [
|
||||||
|
{"input_count": 2, "eae_id": "BOOL_TO_BYTE_Q"}
|
||||||
|
],
|
||||||
|
"BOOL_TO_DINT_Q": [
|
||||||
|
{"input_count": 2, "eae_id": "BOOL_TO_DINT_Q"}
|
||||||
|
],
|
||||||
|
"BOOL_TO_INT_Q": [
|
||||||
|
{"input_count": 2, "eae_id": "BOOL_TO_INT_Q"}
|
||||||
|
],
|
||||||
|
"BOOL_TO_REAL_Q": [
|
||||||
|
{"input_count": 2, "eae_id": "BOOL_TO_REAL_Q"}
|
||||||
|
],
|
||||||
|
"BOOL_TO_TIME_Q": [
|
||||||
|
{"input_count": 2, "eae_id": "BOOL_TO_TIME_Q"}
|
||||||
|
],
|
||||||
|
"BOOL_TO_UDINT_Q": [
|
||||||
|
{"input_count": 2, "eae_id": "BOOL_TO_UDINT_Q"}
|
||||||
|
],
|
||||||
|
"BOOL_TO_UINT_Q": [
|
||||||
|
{"input_count": 2, "eae_id": "BOOL_TO_UINT_Q"}
|
||||||
|
],
|
||||||
|
"BOOL_TO_WORD_Q": [
|
||||||
|
{"input_count": 2, "eae_id": "BOOL_TO_WORD_Q"}
|
||||||
|
],
|
||||||
|
"BOOL_TO_DWORD_Q": [
|
||||||
|
{"input_count": 2, "eae_id": "BOOL_TO_DWORD_Q"}
|
||||||
|
],
|
||||||
|
"BYTE_TO_BOOL_Q": [
|
||||||
|
{"input_count": 2, "eae_id": "BYTE_TO_BOOL_Q"}
|
||||||
|
],
|
||||||
|
"BYTE_TO_DINT_Q": [
|
||||||
|
{"input_count": 2, "eae_id": "BYTE_TO_DINT_Q"}
|
||||||
|
],
|
||||||
|
"BYTE_TO_INT_Q": [
|
||||||
|
{"input_count": 2, "eae_id": "BYTE_TO_INT_Q"}
|
||||||
|
],
|
||||||
|
"BYTE_TO_REAL_Q": [
|
||||||
|
{"input_count": 2, "eae_id": "BYTE_TO_REAL_Q"}
|
||||||
|
],
|
||||||
|
"BYTE_TO_TIME_Q": [
|
||||||
|
{"input_count": 2, "eae_id": "BYTE_TO_TIME_Q"}
|
||||||
|
],
|
||||||
|
"BYTE_TO_UDINT_Q": [
|
||||||
|
{"input_count": 2, "eae_id": "BYTE_TO_UDINT_Q"}
|
||||||
|
],
|
||||||
|
"BYTE_TO_UINT_Q": [
|
||||||
|
{"input_count": 2, "eae_id": "BYTE_TO_UINT_Q"}
|
||||||
|
],
|
||||||
|
"BYTE_TO_WORD_Q": [
|
||||||
|
{"input_count": 2, "eae_id": "BYTE_TO_WORD_Q"}
|
||||||
|
],
|
||||||
|
"BYTE_TO_DWORD_Q": [
|
||||||
|
{"input_count": 2, "eae_id": "BYTE_TO_DWORD_Q"}
|
||||||
|
],
|
||||||
|
"DINT_TO_BOOL_Q": [
|
||||||
|
{"input_count": 2, "eae_id": "DINT_TO_BOOL_Q"}
|
||||||
|
],
|
||||||
|
"DINT_TO_BYTE_Q": [
|
||||||
|
{"input_count": 2, "eae_id": "DINT_TO_BYTE_Q"}
|
||||||
|
],
|
||||||
|
"DINT_TO_WORD_Q": [
|
||||||
|
{"input_count": 2, "eae_id": "DINT_TO_WORD_Q"}
|
||||||
|
],
|
||||||
|
"DINT2DWORD": [
|
||||||
|
{"input_count": 2, "eae_id": "DINT2DWORD"}
|
||||||
|
],
|
||||||
|
"DINT_TO_INT_Q": [
|
||||||
|
{"input_count": 2, "eae_id": "DINT_TO_INT_Q"}
|
||||||
|
],
|
||||||
|
"DINT_TO_UINT_Q": [
|
||||||
|
{"input_count": 2, "eae_id": "DINT_TO_UINT_Q"}
|
||||||
|
],
|
||||||
|
"DINT_TO_UDINT_Q": [
|
||||||
|
{"input_count": 2, "eae_id": "DINT_TO_UDINT_Q"}
|
||||||
|
],
|
||||||
|
"dintToTime": [
|
||||||
|
{"input_count": 2, "eae_id": "dintToTime"}
|
||||||
|
],
|
||||||
|
"DINT_TO_REAL_Q": [
|
||||||
|
{"input_count": 2, "eae_id": "DINT_TO_REAL_Q"}
|
||||||
|
],
|
||||||
|
"INT_TO_BOOL_Q": [
|
||||||
|
{"input_count": 2, "eae_id": "INT_TO_BOOL_Q"}
|
||||||
|
],
|
||||||
|
"INT_TO_BYTE_Q": [
|
||||||
|
{"input_count": 2, "eae_id": "INT_TO_BYTE_Q"}
|
||||||
|
],
|
||||||
|
"INT2WORD": [
|
||||||
|
{"input_count": 2, "eae_id": "INT2WORD"}
|
||||||
|
],
|
||||||
|
"INT_TO_DWORD_Q": [
|
||||||
|
{"input_count": 2, "eae_id": "INT_TO_DWORD_Q"}
|
||||||
|
],
|
||||||
|
"INT_TO_DINT_Q": [
|
||||||
|
{"input_count": 2, "eae_id": "INT_TO_DINT_Q"}
|
||||||
|
],
|
||||||
|
"INT_TO_UINT_Q": [
|
||||||
|
{"input_count": 2, "eae_id": "INT_TO_UINT_Q"}
|
||||||
|
],
|
||||||
|
"INT_TO_UDINT_Q": [
|
||||||
|
{"input_count": 2, "eae_id": "INT_TO_UDINT_Q"}
|
||||||
|
],
|
||||||
|
"INT_TO_REAL_Q": [
|
||||||
|
{"input_count": 2, "eae_id": "INT_TO_REAL_Q"}
|
||||||
|
],
|
||||||
|
"INT_TO_TIME_Q": [
|
||||||
|
{"input_count": 2, "eae_id": "INT_TO_TIME_Q"}
|
||||||
|
],
|
||||||
|
"REAL_TO_BOOL_Q": [
|
||||||
|
{"input_count": 2, "eae_id": "REAL_TO_BOOL_Q"}
|
||||||
|
],
|
||||||
|
"REAL_TO_BYTE_Q": [
|
||||||
|
{"input_count": 2, "eae_id": "REAL_TO_BYTE_Q"}
|
||||||
|
],
|
||||||
|
"REAL_TO_WORD_Q": [
|
||||||
|
{"input_count": 2, "eae_id": "REAL_TO_WORD_Q"}
|
||||||
|
],
|
||||||
|
"REAL2DWORD": [
|
||||||
|
{"input_count": 2, "eae_id": "REAL2DWORD"}
|
||||||
|
],
|
||||||
|
"REAL_TO_INT_Q": [
|
||||||
|
{"input_count": 2, "eae_id": "REAL_TO_INT_Q"}
|
||||||
|
],
|
||||||
|
"REAL_TO_DINT_Q": [
|
||||||
|
{"input_count": 2, "eae_id": "REAL_TO_DINT_Q"}
|
||||||
|
],
|
||||||
|
"REAL_TO_UINT_Q": [
|
||||||
|
{"input_count": 2, "eae_id": "REAL_TO_UINT_Q"}
|
||||||
|
],
|
||||||
|
"REAL_TO_UDINT_Q": [
|
||||||
|
{"input_count": 2, "eae_id": "REAL_TO_UDINT_Q"}
|
||||||
|
],
|
||||||
|
"REAL_TO_TIME_Q": [
|
||||||
|
{"input_count": 2, "eae_id": "REAL_TO_TIME_Q"}
|
||||||
|
],
|
||||||
|
"UDINT_TO_BOOL_Q": [
|
||||||
|
{"input_count": 2, "eae_id": "UDINT_TO_BOOL_Q"}
|
||||||
|
],
|
||||||
|
"UDINT_TO_BYTE_Q": [
|
||||||
|
{"input_count": 2, "eae_id": "UDINT_TO_BYTE_Q"}
|
||||||
|
],
|
||||||
|
"UDINT_TO_DINT_Q": [
|
||||||
|
{"input_count": 2, "eae_id": "UDINT_TO_DINT_Q"}
|
||||||
|
],
|
||||||
|
"UDINT_TO_UINT_Q": [
|
||||||
|
{"input_count": 2, "eae_id": "UDINT_TO_UINT_Q"}
|
||||||
|
],
|
||||||
|
"UDINT_TO_WORD_Q": [
|
||||||
|
{"input_count": 2, "eae_id": "UDINT_TO_WORD_Q"}
|
||||||
|
],
|
||||||
|
"UDINT2DWORD": [
|
||||||
|
{"input_count": 2, "eae_id": "UDINT2DWORD"}
|
||||||
|
],
|
||||||
|
"UDINT_TO_INT_Q": [
|
||||||
|
{"input_count": 2, "eae_id": "UDINT_TO_INT_Q"}
|
||||||
|
],
|
||||||
|
"UDINT_TO_REAL_Q": [
|
||||||
|
{"input_count": 2, "eae_id": "UDINT_TO_REAL_Q"}
|
||||||
|
],
|
||||||
|
"UDINT_TO_TIME_Q": [
|
||||||
|
{"input_count": 2, "eae_id": "UDINT_TO_TIME_Q"}
|
||||||
|
],
|
||||||
|
"UINT_TO_BOOL_Q": [
|
||||||
|
{"input_count": 2, "eae_id": "UINT_TO_BOOL_Q"}
|
||||||
|
],
|
||||||
|
"UINT_TO_INT_Q": [
|
||||||
|
{"input_count": 2, "eae_id": "UINT_TO_INT_Q"}
|
||||||
|
],
|
||||||
|
"UINT_TO_BYTE_Q": [
|
||||||
|
{"input_count": 2, "eae_id": "UINT_TO_BYTE_Q"}
|
||||||
|
],
|
||||||
|
"UINT2WORD": [
|
||||||
|
{"input_count": 2, "eae_id": "UINT2WORD"}
|
||||||
|
],
|
||||||
|
"UINT_TO_DWORD_Q": [
|
||||||
|
{"input_count": 2, "eae_id": "UINT_TO_DWORD_Q"}
|
||||||
|
],
|
||||||
|
"UINT_TO_DINT_Q": [
|
||||||
|
{"input_count": 2, "eae_id": "UINT_TO_DINT_Q"}
|
||||||
|
],
|
||||||
|
"UINT_TO_UDINT_Q": [
|
||||||
|
{"input_count": 2, "eae_id": "UINT_TO_UDINT_Q"}
|
||||||
|
],
|
||||||
|
"UINT_TO_REAL_Q": [
|
||||||
|
{"input_count": 2, "eae_id": "UINT_TO_REAL_Q"}
|
||||||
|
],
|
||||||
|
"UINT_TO_TIME_Q": [
|
||||||
|
{"input_count": 2, "eae_id": "UINT_TO_TIME_Q"}
|
||||||
|
],
|
||||||
|
"TON": [
|
||||||
|
{"input_count": 2, "eae_id": "TON"}
|
||||||
|
],
|
||||||
|
"GE":[
|
||||||
|
{"input_count":2, "eae_id":"COMPARE_130FA41CE9F1C32EF"}
|
||||||
|
],
|
||||||
|
"PIDCTLGP": [
|
||||||
|
{"input_count": 15, "eae_id": "PID"}
|
||||||
|
],
|
||||||
|
"AINPUTGP": [
|
||||||
|
{"input_count": 9, "eae_id": "AnalogInput"}
|
||||||
|
]
|
||||||
|
|
||||||
|
}
|
98
data/mappings/block_namespaces.json
Normal file
98
data/mappings/block_namespaces.json
Normal file
|
@ -0,0 +1,98 @@
|
||||||
|
{
|
||||||
|
"AND": "Main",
|
||||||
|
"OR": "Main",
|
||||||
|
"XOR": "Main",
|
||||||
|
"NOT": "Main",
|
||||||
|
"ADD": "Main",
|
||||||
|
"SUB": "Main",
|
||||||
|
"MUL": "Main",
|
||||||
|
"DIV": "Main",
|
||||||
|
"COMPARE": "Main",
|
||||||
|
"ROR": "Main",
|
||||||
|
"ROL": "Main",
|
||||||
|
"SHR": "Main",
|
||||||
|
"SHL": "Main",
|
||||||
|
"TP": "SE.AppBase",
|
||||||
|
"AND_BOOL": "Main",
|
||||||
|
"OR_BOOL": "Main",
|
||||||
|
"R_TRIG": "IEC61499.Standard",
|
||||||
|
"SR": "IEC61499.Standard",
|
||||||
|
"F_TRIG": "IEC61499.Standard",
|
||||||
|
"CTU": "IEC61499.Standard",
|
||||||
|
"RS": "IEC61499.Standard",
|
||||||
|
"MOTORGP": "SE.AppCommonProcess",
|
||||||
|
"VALVEGP": "SE.AppCommonProcess",
|
||||||
|
"DINPUTGP": "SE.AppCommonProcess",
|
||||||
|
"DISignalCond": "SE.AppBase",
|
||||||
|
"HVALVEGP": "SE.AppCommonProcess",
|
||||||
|
"DISignalCond1": "SE.AppBase",
|
||||||
|
"SET": "MIT.MITSchneider",
|
||||||
|
"RESET": "MIT.MITSchneider",
|
||||||
|
"MOVE": "MIT.MITSchneider",
|
||||||
|
"MOTORVSGP": "SE.AppCommonProcess",
|
||||||
|
"BOOL_TO_BYTE": "MIT.MITSchneider",
|
||||||
|
"BOOL_TO_DINT": "MIT.MITSchneider",
|
||||||
|
"BOOL_TO_INT": "MIT.MITSchneider",
|
||||||
|
"BOOL_TO_REAL": "MIT.MITSchneider",
|
||||||
|
"BOOL_TO_TIME": "MIT.MITSchneider",
|
||||||
|
"BOOL_TO_UDINT": "MIT.MITSchneider",
|
||||||
|
"BOOL_TO_UINT": "MIT.MITSchneider",
|
||||||
|
"BOOL_TO_WORD": "MIT.MITSchneider",
|
||||||
|
"BOOL_TO_DWORD": "MIT.MITSchneider",
|
||||||
|
"BYTE_TO_BOOL": "MIT.MITSchneider",
|
||||||
|
"BYTE_TO_DINT": "MIT.MITSchneider",
|
||||||
|
"BYTE_TO_INT": "MIT.MITSchneider",
|
||||||
|
"BYTE_TO_REAL": "MIT.MITSchneider",
|
||||||
|
"BYTE_TO_TIME": "MIT.MITSchneider",
|
||||||
|
"BYTE_TO_UDINT": "MIT.MITSchneider",
|
||||||
|
"BYTE_TO_UINT": "MIT.MITSchneider",
|
||||||
|
"BYTE_TO_WORD": "MIT.MITSchneider",
|
||||||
|
"BYTE_TO_DWORD": "MIT.MITSchneider",
|
||||||
|
"DINT_TO_BOOL": "MIT.MITSchneider",
|
||||||
|
"DINT_TO_BYTE": "MIT.MITSchneider",
|
||||||
|
"DINT_TO_WORD": "MIT.MITSchneider",
|
||||||
|
"DINT_TO_DWORD": "MIT.MITSchneider",
|
||||||
|
"DINT_TO_INT": "MIT.MITSchneider",
|
||||||
|
"DINT_TO_UINT": "MIT.MITSchneider",
|
||||||
|
"DINT_TO_UDINT": "MIT.MITSchneider",
|
||||||
|
"DINT_TO_REAL": "MIT.MITSchneider",
|
||||||
|
"DINT_TO_TIME": "MIT.MITSchneider",
|
||||||
|
"INT_TO_BOOL": "MIT.MITSchneider",
|
||||||
|
"INT_TO_BYTE": "MIT.MITSchneider",
|
||||||
|
"INT_TO_WORD": "MIT.MITSchneider",
|
||||||
|
"INT_TO_DWORD": "MIT.MITSchneider",
|
||||||
|
"INT_TO_DINT": "MIT.MITSchneider",
|
||||||
|
"INT_TO_UINT": "MIT.MITSchneider",
|
||||||
|
"INT_TO_UDINT": "MIT.MITSchneider",
|
||||||
|
"INT_TO_REAL": "MIT.MITSchneider",
|
||||||
|
"INT_TO_TIME": "SE.AppBase",
|
||||||
|
"REAL_TO_BOOL": "MIT.MITSchneider",
|
||||||
|
"REAL_TO_BYTE": "MIT.MITSchneider",
|
||||||
|
"REAL_TO_WORD": "MIT.MITSchneider",
|
||||||
|
"REAL_TO_DWORD": "MIT.MITSchneider",
|
||||||
|
"REAL_TO_INT": "MIT.MITSchneider",
|
||||||
|
"REAL_TO_DINT": "MIT.MITSchneider",
|
||||||
|
"REAL_TO_UINT": "MIT.MITSchneider",
|
||||||
|
"REAL_TO_UDINT": "MIT.MITSchneider",
|
||||||
|
"REAL_TO_TIME": "MIT.MITSchneider",
|
||||||
|
"UDINT_TO_BOOL": "MIT.MITSchneider",
|
||||||
|
"UDINT_TO_BYTE": "MIT.MITSchneider",
|
||||||
|
"UDINT_TO_DINT": "MIT.MITSchneider",
|
||||||
|
"UDINT_TO_UINT": "MIT.MITSchneider",
|
||||||
|
"UDINT_TO_WORD": "MIT.MITSchneider",
|
||||||
|
"UDINT_TO_DWORD": "MIT.MITSchneider",
|
||||||
|
"UDINT_TO_INT": "MIT.MITSchneider",
|
||||||
|
"UDINT_TO_REAL": "MIT.MITSchneider",
|
||||||
|
"UDINT_TO_TIME": "MIT.MITSchneider",
|
||||||
|
"UINT_TO_BOOL": "MIT.MITSchneider",
|
||||||
|
"UINT_TO_INT": "MIT.MITSchneider",
|
||||||
|
"UINT_TO_BYTE": "MIT.MITSchneider",
|
||||||
|
"UINT_TO_WORD": "MIT.MITSchneider",
|
||||||
|
"UINT_TO_DWORD": "MIT.MITSchneider",
|
||||||
|
"UINT_TO_DINT": "MIT.MITSchneider",
|
||||||
|
"UINT_TO_UDINT": "MIT.MITSchneider",
|
||||||
|
"UINT_TO_REAL": "MIT.MITSchneider",
|
||||||
|
"UINT_TO_TIME": "MIT.MITSchneider",
|
||||||
|
"TON": "MIT.MITSchneider",
|
||||||
|
"EQ": "Main"
|
||||||
|
}
|
99
data/mappings/block_namespaces1.json
Normal file
99
data/mappings/block_namespaces1.json
Normal file
|
@ -0,0 +1,99 @@
|
||||||
|
{
|
||||||
|
"AND": "Main",
|
||||||
|
"OR": "Main",
|
||||||
|
"XOR": "Main",
|
||||||
|
"NOT": "Main",
|
||||||
|
"ADD": "Main",
|
||||||
|
"SUB": "Main",
|
||||||
|
"MUL": "Main",
|
||||||
|
"DIV": "Main",
|
||||||
|
"COMPARE": "Main",
|
||||||
|
"ROR": "Main",
|
||||||
|
"ROL": "Main",
|
||||||
|
"SHR": "Main",
|
||||||
|
"SHL": "Main",
|
||||||
|
"TP": "Main",
|
||||||
|
"AND_BOOL": "SE.AppBase",
|
||||||
|
"OR_BOOL": "Main",
|
||||||
|
"R_TRIG": "IEC61499.Standard",
|
||||||
|
"F_TRIG": "IEC61499.Standard",
|
||||||
|
"SR": "IEC61499.Standard",
|
||||||
|
"RS": "IEC61499.Standard",
|
||||||
|
"CTU": "IEC61499.Standard",
|
||||||
|
"MOTORVSGP": "SE.AppCommonProcess",
|
||||||
|
"VALVEGP": "SE.AppCommonProcess",
|
||||||
|
"ValveHand": "SE.AppCommonProcess",
|
||||||
|
"DINPUTGP": "SE.AppCommonProcess",
|
||||||
|
"DISignalCond": "SE.AppBase",
|
||||||
|
"MotorVs": "SE.AppCommonProcess",
|
||||||
|
"SET": "MIT.MITSchneider",
|
||||||
|
"RESET": "MIT.MITSchneider",
|
||||||
|
"MOVEQ": "MIT.MITSchneider",
|
||||||
|
"BOOL_TO_BYTE": "MIT.MITSchneider",
|
||||||
|
"BOOL_TO_DINT": "MIT.MITSchneider",
|
||||||
|
"BOOL_TO_INT": "MIT.MITSchneider",
|
||||||
|
"BOOL_TO_REAL": "MIT.MITSchneider",
|
||||||
|
"BOOL_TO_TIME": "MIT.MITSchneider",
|
||||||
|
"BOOL_TO_UDINT": "MIT.MITSchneider",
|
||||||
|
"BOOL_TO_UINT": "MIT.MITSchneider",
|
||||||
|
"BOOL_TO_WORD": "MIT.MITSchneider",
|
||||||
|
"BOOL_TO_DWORD": "MIT.MITSchneider",
|
||||||
|
"BYTE_TO_BOOL": "MIT.MITSchneider",
|
||||||
|
"BYTE_TO_DINT": "MIT.MITSchneider",
|
||||||
|
"BYTE_TO_INT": "MIT.MITSchneider",
|
||||||
|
"BYTE_TO_REAL": "MIT.MITSchneider",
|
||||||
|
"BYTE_TO_TIME": "MIT.MITSchneider",
|
||||||
|
"BYTE_TO_UDINT": "MIT.MITSchneider",
|
||||||
|
"BYTE_TO_UINT_Q": "MIT.MITSchneider",
|
||||||
|
"BYTE_TO_WORD_Q": "MIT.MITSchneider",
|
||||||
|
"BYTE_TO_DWORD_Q": "MIT.MITSchneider",
|
||||||
|
"DINT_TO_BOOL_Q": "MIT.MITSchneider",
|
||||||
|
"DINT_TO_BYTE_Q": "MIT.MITSchneider",
|
||||||
|
"DINT_TO_WORD_Q": "MIT.MITSchneider",
|
||||||
|
"DINT2DWORD": "MIT.MITSchneider",
|
||||||
|
"DINT_TO_INT_Q": "MIT.MITSchneider",
|
||||||
|
"DINT_TO_UINT_Q": "MIT.MITSchneider",
|
||||||
|
"DINT_TO_UDINT_Q": "MIT.MITSchneider",
|
||||||
|
"dintToTime": "MIT.MITSchneider",
|
||||||
|
"DINT_TO_REAL_Q": "MIT.MITSchneider",
|
||||||
|
"INT_TO_BOOL_Q": "MIT.MITSchneider",
|
||||||
|
"INT_TO_BYTE_Q": "MIT.MITSchneider",
|
||||||
|
"INT2WORD": "MIT.MITSchneider",
|
||||||
|
"INT_TO_DWORD_Q": "MIT.MITSchneider",
|
||||||
|
"INT_TO_DINT_Q": "MIT.MITSchneider",
|
||||||
|
"INT_TO_UINT_Q": "MIT.MITSchneider",
|
||||||
|
"INT_TO_UDINT_Q": "MIT.MITSchneider",
|
||||||
|
"INT_TO_REAL_Q": "MIT.MITSchneider",
|
||||||
|
"INT_TO_TIME_Q": "MIT.MITSchneider",
|
||||||
|
"REAL_TO_BOOL_Q": "MIT.MITSchneider",
|
||||||
|
"REAL_TO_BYTE_Q": "MIT.MITSchneider",
|
||||||
|
"REAL_TO_WORD_Q": "MIT.MITSchneider",
|
||||||
|
"REAL2DWORD": "MIT.MITSchneider",
|
||||||
|
"REAL_TO_INT_Q": "MIT.MITSchneider",
|
||||||
|
"REAL_TO_DINT_Q": "MIT.MITSchneider",
|
||||||
|
"REAL_TO_UINT_Q": "MIT.MITSchneider",
|
||||||
|
"REAL_TO_UDINT_Q": "MIT.MITSchneider",
|
||||||
|
"REAL_TO_TIME_Q": "MIT.MITSchneider",
|
||||||
|
"UDINT_TO_BOOL_Q": "MIT.MITSchneider",
|
||||||
|
"UDINT_TO_BYTE_Q": "MIT.MITSchneider",
|
||||||
|
"UDINT_TO_DINT_Q": "MIT.MITSchneider",
|
||||||
|
"UDINT_TO_UINT_Q": "MIT.MITSchneider",
|
||||||
|
"UDINT_TO_WORD_Q": "MIT.MITSchneider",
|
||||||
|
"UDINT2DWORD": "MIT.MITSchneider",
|
||||||
|
"UDINT_TO_INT_Q": "MIT.MITSchneider",
|
||||||
|
"UDINT_TO_REAL_Q": "MIT.MITSchneider",
|
||||||
|
"UDINT_TO_TIME_Q": "MIT.MITSchneider",
|
||||||
|
"UINT_TO_BOOL_Q": "MIT.MITSchneider",
|
||||||
|
"UINT_TO_INT_Q": "MIT.MITSchneider",
|
||||||
|
"UINT_TO_BYTE_Q": "MIT.MITSchneider",
|
||||||
|
"UINT2WORD": "MIT.MITSchneider",
|
||||||
|
"UINT_TO_DWORD_Q": "MIT.MITSchneider",
|
||||||
|
"UINT_TO_DINT_Q": "MIT.MITSchneider",
|
||||||
|
"UINT_TO_UDINT_Q": "MIT.MITSchneider",
|
||||||
|
"UINT_TO_REAL_Q": "MIT.MITSchneider",
|
||||||
|
"UINT_TO_TIME_Q": "MIT.MITSchneider",
|
||||||
|
"TON": "MIT.MITSchneider",
|
||||||
|
"GE":"Main",
|
||||||
|
"PIDCTLGP":"SE.AppCommonProcess",
|
||||||
|
"AINPUTGP":"SE.AppCommonProcess"
|
||||||
|
}
|
2537
data/mappings/block_pin_mapping.json
Normal file
2537
data/mappings/block_pin_mapping.json
Normal file
File diff suppressed because it is too large
Load diff
2609
data/mappings/block_pin_mapping1.json
Normal file
2609
data/mappings/block_pin_mapping1.json
Normal file
File diff suppressed because it is too large
Load diff
56
data/mappings/custom_block_io_info.json
Normal file
56
data/mappings/custom_block_io_info.json
Normal file
|
@ -0,0 +1,56 @@
|
||||||
|
{
|
||||||
|
"AAND": {
|
||||||
|
"inputs": ["IN1", "IN2"],
|
||||||
|
"outputs": ["OUT"],
|
||||||
|
"events_in": ["REQ"],
|
||||||
|
"events_out": ["CNF"]
|
||||||
|
},
|
||||||
|
"DI": {
|
||||||
|
"inputs": ["IN1", "IN2"],
|
||||||
|
"outputs": ["OUT"],
|
||||||
|
"events_in": ["REQ"],
|
||||||
|
"events_out": ["CNF"]
|
||||||
|
},
|
||||||
|
"inv": {
|
||||||
|
"inputs": ["IN"],
|
||||||
|
"outputs": ["OUT"],
|
||||||
|
"events_in": ["REQ"],
|
||||||
|
"events_out": ["CNF"]
|
||||||
|
},
|
||||||
|
"MUL1": {
|
||||||
|
"inputs": ["IN1", "IN2"],
|
||||||
|
"outputs": ["OUT"],
|
||||||
|
"events_in": ["REQ"],
|
||||||
|
"events_out": ["CNF"]
|
||||||
|
},
|
||||||
|
"nand": {
|
||||||
|
"inputs": ["IN1", "IN2"],
|
||||||
|
"outputs": ["OUT"],
|
||||||
|
"events_in": ["REQ"],
|
||||||
|
"events_out": ["CNF"]
|
||||||
|
},
|
||||||
|
"nor": {
|
||||||
|
"inputs": ["IN1", "IN2"],
|
||||||
|
"outputs": ["OUT"],
|
||||||
|
"events_in": ["REQ"],
|
||||||
|
"events_out": ["CNF"]
|
||||||
|
},
|
||||||
|
"orr": {
|
||||||
|
"inputs": ["IN1", "IN2"],
|
||||||
|
"outputs": ["OUT"],
|
||||||
|
"events_in": ["REQ"],
|
||||||
|
"events_out": ["CNF"]
|
||||||
|
},
|
||||||
|
"SUB1": {
|
||||||
|
"inputs": ["IN1", "IN2"],
|
||||||
|
"outputs": ["OUT"],
|
||||||
|
"events_in": ["REQ"],
|
||||||
|
"events_out": ["CNF"]
|
||||||
|
},
|
||||||
|
"sum": {
|
||||||
|
"inputs": ["IN1", "IN2"],
|
||||||
|
"outputs": ["OUT"],
|
||||||
|
"events_in": ["REQ"],
|
||||||
|
"events_out": ["CNF"]
|
||||||
|
}
|
||||||
|
}
|
65
data/mappings/custom_block_mappings.json
Normal file
65
data/mappings/custom_block_mappings.json
Normal file
|
@ -0,0 +1,65 @@
|
||||||
|
{
|
||||||
|
"AAND": [
|
||||||
|
{
|
||||||
|
"input_count": 2,
|
||||||
|
"eae_id": "AAND",
|
||||||
|
"eae_namespace": "Main"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"DI": [
|
||||||
|
{
|
||||||
|
"input_count": 2,
|
||||||
|
"eae_id": "DIV1",
|
||||||
|
"eae_namespace": "Main"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"inv": [
|
||||||
|
{
|
||||||
|
"input_count": 1,
|
||||||
|
"eae_id": "inv",
|
||||||
|
"eae_namespace": "Main"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"MUL1": [
|
||||||
|
{
|
||||||
|
"input_count": 2,
|
||||||
|
"eae_id": "MUL1",
|
||||||
|
"eae_namespace": "Main"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"nand": [
|
||||||
|
{
|
||||||
|
"input_count": 2,
|
||||||
|
"eae_id": "nand",
|
||||||
|
"eae_namespace": "Main"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"nor": [
|
||||||
|
{
|
||||||
|
"input_count": 2,
|
||||||
|
"eae_id": "nor",
|
||||||
|
"eae_namespace": "Main"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"orr": [
|
||||||
|
{
|
||||||
|
"input_count": 2,
|
||||||
|
"eae_id": "orr",
|
||||||
|
"eae_namespace": "Main"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"SUB1": [
|
||||||
|
{
|
||||||
|
"input_count": 2,
|
||||||
|
"eae_id": "SUB1",
|
||||||
|
"eae_namespace": "Main"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"sum": [
|
||||||
|
{
|
||||||
|
"input_count": 2,
|
||||||
|
"eae_id": "sum",
|
||||||
|
"eae_namespace": "Main"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
11
data/mappings/custom_block_namespaces.json
Normal file
11
data/mappings/custom_block_namespaces.json
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
{
|
||||||
|
"AAND": "Main",
|
||||||
|
"DI": "Main",
|
||||||
|
"inv": "Main",
|
||||||
|
"MUL1": "Main",
|
||||||
|
"nand": "Main",
|
||||||
|
"nor": "Main",
|
||||||
|
"orr": "Main",
|
||||||
|
"SUB1": "Main",
|
||||||
|
"sum": "Main"
|
||||||
|
}
|
36
data/preprocessed/rag_dataset.jsonl
Normal file
36
data/preprocessed/rag_dataset.jsonl
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
{"block_type": "ADD", "ece_block": "<FFBBlock instanceName=\".1\" typeName=\"ADD\" additionnalPinNumber=\"0\" enEnO=\"false\" width=\"7\" height=\"6\">\n\t\t\t\t\t<objPosition posX=\"26\" posY=\"11\" />\n\t\t\t\t\t<descriptionFFB execAfter=\"\">\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"EN\" />\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"IN1\" effectiveParameter=\"C\" />\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"IN2\" effectiveParameter=\"D\" />\n\t\t\t\t\t\t<outputVariable invertedPin=\"false\" formalParameter=\"ENO\" />\n\t\t\t\t\t\t<outputVariable invertedPin=\"false\" formalParameter=\"OUT\" />\n\t\t\t\t\t</descriptionFFB>\n\t\t\t\t</FFBBlock>", "eae_block": "<FB ID=\"989F6347559566C5\" Name=\"FB1\" Type=\"ADD_1990CFD1468AAE4A6\" x=\"520\" y=\"340\" Namespace=\"Main\">\n <Attribute Name=\"Configuration.GenericFBType.InterfaceParams\" Value=\"Runtime.Standard#CNT:=2;IN${CNT}:LREAL\" />\n </FB>"}
|
||||||
|
{"block_type": "SUB", "ece_block": "<FFBBlock instanceName=\".2\" typeName=\"SUB\" additionnalPinNumber=\"0\" enEnO=\"false\" width=\"7\" height=\"6\">\n\t\t\t\t\t<objPosition posX=\"47\" posY=\"17\" />\n\t\t\t\t\t<descriptionFFB execAfter=\"\">\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"EN\" />\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"IN1\" />\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"IN2\" effectiveParameter=\"F\" />\n\t\t\t\t\t\t<outputVariable invertedPin=\"false\" formalParameter=\"ENO\" />\n\t\t\t\t\t\t<outputVariable invertedPin=\"false\" formalParameter=\"OUT\" effectiveParameter=\"G\" />\n\t\t\t\t\t</descriptionFFB>\n\t\t\t\t</FFBBlock>", "eae_block": "<FB ID=\"5B9B2F73666DE776\" Name=\"FB2\" Type=\"SUB_1990CFD1468AAE4A6\" x=\"1400\" y=\"560\" Namespace=\"Main\">\n <Attribute Name=\"Configuration.GenericFBType.InterfaceParams\" Value=\"Runtime.Standard#CNT:=2;IN${CNT}:LREAL\" />\n </FB>"}
|
||||||
|
{"block_type": "ADD", "ece_block": "<FFBBlock instanceName=\".1\" typeName=\"ADD\" additionnalPinNumber=\"0\" enEnO=\"false\" width=\"7\" height=\"6\">\n\t\t\t\t\t<objPosition posX=\"19\" posY=\"10\" />\n\t\t\t\t\t<descriptionFFB execAfter=\"\">\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"EN\" />\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"IN1\" effectiveParameter=\"A\" />\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"IN2\" effectiveParameter=\"B\" />\n\t\t\t\t\t\t<outputVariable invertedPin=\"false\" formalParameter=\"ENO\" />\n\t\t\t\t\t\t<outputVariable invertedPin=\"false\" formalParameter=\"OUT\" />\n\t\t\t\t\t</descriptionFFB>\n\t\t\t\t</FFBBlock>", "eae_block": "<FB ID=\"E12399C02C6BC84C\" Name=\"FB1\" Type=\"ADD_1990CFD1468AAE4A6\" x=\"900\" y=\"580\" Namespace=\"Main\">\n <Attribute Name=\"Configuration.GenericFBType.InterfaceParams\" Value=\"Runtime.Standard#CNT:=2;IN${CNT}:LREAL\" />\n </FB>"}
|
||||||
|
{"block_type": "SUB", "ece_block": "<FFBBlock instanceName=\".2\" typeName=\"SUB\" additionnalPinNumber=\"0\" enEnO=\"false\" width=\"7\" height=\"6\">\n\t\t\t\t\t<objPosition posX=\"18\" posY=\"23\" />\n\t\t\t\t\t<descriptionFFB execAfter=\"\">\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"EN\" />\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"IN1\" effectiveParameter=\"C\" />\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"IN2\" effectiveParameter=\"D\" />\n\t\t\t\t\t\t<outputVariable invertedPin=\"false\" formalParameter=\"ENO\" />\n\t\t\t\t\t\t<outputVariable invertedPin=\"false\" formalParameter=\"OUT\" />\n\t\t\t\t\t</descriptionFFB>\n\t\t\t\t</FFBBlock>", "eae_block": "<FB ID=\"B45A17FDAAD7AEF5\" Name=\"FB2\" Type=\"SUB_1990CFD1468AAE4A6\" x=\"840\" y=\"1260\" Namespace=\"Main\">\n <Attribute Name=\"Configuration.GenericFBType.InterfaceParams\" Value=\"Runtime.Standard#CNT:=2;IN${CNT}:LREAL\" />\n </FB>"}
|
||||||
|
{"block_type": "MUL", "ece_block": "<FFBBlock instanceName=\".3\" typeName=\"MUL\" additionnalPinNumber=\"0\" enEnO=\"false\" width=\"7\" height=\"6\">\n\t\t\t\t\t<objPosition posX=\"39\" posY=\"13\" />\n\t\t\t\t\t<descriptionFFB execAfter=\"\">\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"EN\" />\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"IN1\" />\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"IN2\" />\n\t\t\t\t\t\t<outputVariable invertedPin=\"false\" formalParameter=\"ENO\" />\n\t\t\t\t\t\t<outputVariable invertedPin=\"false\" formalParameter=\"OUT\" />\n\t\t\t\t\t</descriptionFFB>\n\t\t\t\t</FFBBlock>", "eae_block": "<FB ID=\"42290855AF6BBBBC\" Name=\"FB3\" Type=\"MUL_1990CFD1468AAE4A6\" x=\"2220\" y=\"800\" Namespace=\"Main\">\n <Attribute Name=\"Configuration.GenericFBType.InterfaceParams\" Value=\"Runtime.Standard#CNT:=2;IN${CNT}:LREAL\" />\n </FB>"}
|
||||||
|
{"block_type": "DIV", "ece_block": "<FFBBlock instanceName=\".4\" typeName=\"DIV\" additionnalPinNumber=\"0\" enEnO=\"false\" width=\"7\" height=\"6\">\n\t\t\t\t\t<objPosition posX=\"53\" posY=\"19\" />\n\t\t\t\t\t<descriptionFFB execAfter=\"\">\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"EN\" />\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"IN1\" />\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"IN2\" effectiveParameter=\"E\" />\n\t\t\t\t\t\t<outputVariable invertedPin=\"false\" formalParameter=\"ENO\" />\n\t\t\t\t\t\t<outputVariable invertedPin=\"false\" formalParameter=\"OUT\" effectiveParameter=\"F\" />\n\t\t\t\t\t</descriptionFFB>\n\t\t\t\t</FFBBlock>", "eae_block": "<FB ID=\"BEECFD94F0BD255E\" Name=\"FB4\" Type=\"DIV_182E0F9E1B4E93726\" x=\"3300\" y=\"1120\" Namespace=\"Main\">\n <Attribute Name=\"Configuration.GenericFBType.InterfaceParams\" Value=\"Runtime.Standard#CNT:=1;IN${CNT}1:LREAL\" />\n </FB>"}
|
||||||
|
{"block_type": "NOT", "ece_block": "<FFBBlock instanceName=\".1\" typeName=\"NOT\" additionnalPinNumber=\"0\" enEnO=\"false\" width=\"7\" height=\"5\">\n\t\t\t\t\t<objPosition posX=\"19\" posY=\"14\" />\n\t\t\t\t\t<descriptionFFB execAfter=\"\">\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"EN\" />\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"IN\" effectiveParameter=\"Fault\" />\n\t\t\t\t\t\t<outputVariable invertedPin=\"false\" formalParameter=\"ENO\" />\n\t\t\t\t\t\t<outputVariable invertedPin=\"false\" formalParameter=\"OUT\" />\n\t\t\t\t\t</descriptionFFB>\n\t\t\t\t</FFBBlock>", "eae_block": "<FB ID=\"8D8984A7343A6104\" Name=\"FB1\" Type=\"NOT_42C76073DCEB1A7A\" x=\"600\" y=\"160\" Namespace=\"Main\">\n <Attribute Name=\"Configuration.GenericFBType.InterfaceParams\" Value=\"Runtime.Standard#CNT:=1;OUT${CNT}:BOOL\" />\n </FB>"}
|
||||||
|
{"block_type": "AND", "ece_block": "<FFBBlock instanceName=\".2\" typeName=\"AND\" additionnalPinNumber=\"0\" enEnO=\"false\" width=\"7\" height=\"6\">\n\t\t\t\t\t<objPosition posX=\"34\" posY=\"17\" />\n\t\t\t\t\t<descriptionFFB execAfter=\"\">\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"EN\" />\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"IN1\" />\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"IN2\" effectiveParameter=\"start_PB\" />\n\t\t\t\t\t\t<outputVariable invertedPin=\"false\" formalParameter=\"ENO\" />\n\t\t\t\t\t\t<outputVariable invertedPin=\"false\" formalParameter=\"OUT\" />\n\t\t\t\t\t</descriptionFFB>\n\t\t\t\t</FFBBlock>", "eae_block": "<FB ID=\"3797BFC43DD39E1A\" Name=\"FB2\" Type=\"AND_88A3DD8EC65DD11C\" x=\"1180\" y=\"180\" Namespace=\"Main\">\n <Attribute Name=\"Configuration.GenericFBType.InterfaceParams\" Value=\"Runtime.Standard#CNT:=2;OUT:BOOL\" />\n </FB>"}
|
||||||
|
{"block_type": "SR", "ece_block": "<FFBBlock instanceName=\"SR_1\" typeName=\"SR\" additionnalPinNumber=\"0\" enEnO=\"false\" width=\"7\" height=\"6\">\n\t\t\t\t\t<objPosition posX=\"53\" posY=\"21\" />\n\t\t\t\t\t<descriptionFFB execAfter=\"\">\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"EN\" />\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"S1\" />\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"R\" effectiveParameter=\"stop_PB\" />\n\t\t\t\t\t\t<outputVariable invertedPin=\"false\" formalParameter=\"ENO\" />\n\t\t\t\t\t\t<outputVariable invertedPin=\"false\" formalParameter=\"Q1\" effectiveParameter=\"Motor\" />\n\t\t\t\t\t</descriptionFFB>\n\t\t\t\t</FFBBlock>", "eae_block": "<FB ID=\"BBC421F8D32F4CC1\" Name=\"FB3\" Type=\"E_SR\" x=\"2300\" y=\"420\" Namespace=\"IEC61499.Standard\" />"}
|
||||||
|
{"block_type": "AND", "ece_block": "<FFBBlock instanceName=\".1\" typeName=\"AND\" additionnalPinNumber=\"0\" enEnO=\"false\" width=\"7\" height=\"6\">\n\t\t\t\t\t<objPosition posX=\"25\" posY=\"17\" />\n\t\t\t\t\t<descriptionFFB execAfter=\"\">\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"EN\" />\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"IN1\" effectiveParameter=\"MD\" />\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"IN2\" effectiveParameter=\"LS\" />\n\t\t\t\t\t\t<outputVariable invertedPin=\"false\" formalParameter=\"ENO\" />\n\t\t\t\t\t\t<outputVariable invertedPin=\"false\" formalParameter=\"OUT\" />\n\t\t\t\t\t</descriptionFFB>\n\t\t\t\t</FFBBlock>", "eae_block": "<FB ID=\"4A6F920808C2F8AE\" Name=\"FB1\" Type=\"AND_88A3DD8EC65DD11C\" x=\"480\" y=\"560\" Namespace=\"Main\">\n <Attribute Name=\"Configuration.GenericFBType.InterfaceParams\" Value=\"Runtime.Standard#CNT:=2;OUT:BOOL\" />\n </FB>"}
|
||||||
|
{"block_type": "TON", "ece_block": "<FFBBlock instanceName=\"TON_2\" typeName=\"TON\" additionnalPinNumber=\"0\" enEnO=\"false\" width=\"7\" height=\"6\">\n\t\t\t\t\t<objPosition posX=\"39\" posY=\"22\" />\n\t\t\t\t\t<descriptionFFB execAfter=\"\">\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"EN\" />\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"IN\" />\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"PT\" effectiveParameter=\"T#10s\" />\n\t\t\t\t\t\t<outputVariable invertedPin=\"false\" formalParameter=\"ENO\" />\n\t\t\t\t\t\t<outputVariable invertedPin=\"false\" formalParameter=\"Q\" effectiveParameter=\"light\" />\n\t\t\t\t\t\t<outputVariable invertedPin=\"false\" formalParameter=\"ET\" />\n\t\t\t\t\t</descriptionFFB>\n\t\t\t\t</FFBBlock>", "eae_block": "<FB ID=\"5FDF18F99A57B826\" Name=\"FB2\" Type=\"TON\" x=\"1820\" y=\"640\" Namespace=\"MIT.MITSchneider\">\n <Parameter Name=\"PT\" Value=\"T#2000ms\" />\n </FB>"}
|
||||||
|
{"block_type": "AND", "ece_block": "<FFBBlock instanceName=\".1\" typeName=\"AND\" additionnalPinNumber=\"0\" enEnO=\"false\" width=\"7\" height=\"6\">\n\t\t\t\t\t<objPosition posX=\"28\" posY=\"11\" />\n\t\t\t\t\t<descriptionFFB execAfter=\"\">\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"EN\" />\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"IN1\" effectiveParameter=\"s1\" />\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"IN2\" effectiveParameter=\"s2\" />\n\t\t\t\t\t\t<outputVariable invertedPin=\"false\" formalParameter=\"ENO\" />\n\t\t\t\t\t\t<outputVariable invertedPin=\"false\" formalParameter=\"OUT\" />\n\t\t\t\t\t</descriptionFFB>\n\t\t\t\t</FFBBlock>", "eae_block": "<FB ID=\"8446E4205BD747C3\" Name=\"FB1\" Type=\"AND_88A3DD8EC65DD11C\" x=\"700\" y=\"80\" Namespace=\"Main\">\n <Attribute Name=\"Configuration.GenericFBType.InterfaceParams\" Value=\"Runtime.Standard#CNT:=2;OUT:BOOL\" />\n </FB>"}
|
||||||
|
{"block_type": "AND", "ece_block": "<FFBBlock instanceName=\".2\" typeName=\"AND\" additionnalPinNumber=\"0\" enEnO=\"false\" width=\"7\" height=\"6\">\n\t\t\t\t\t<objPosition posX=\"28\" posY=\"20\" />\n\t\t\t\t\t<descriptionFFB execAfter=\"\">\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"EN\" />\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"IN1\" effectiveParameter=\"s2\" />\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"IN2\" effectiveParameter=\"s3\" />\n\t\t\t\t\t\t<outputVariable invertedPin=\"false\" formalParameter=\"ENO\" />\n\t\t\t\t\t\t<outputVariable invertedPin=\"false\" formalParameter=\"OUT\" />\n\t\t\t\t\t</descriptionFFB>\n\t\t\t\t</FFBBlock>", "eae_block": "<FB ID=\"8446E4205BD747C3\" Name=\"FB1\" Type=\"AND_88A3DD8EC65DD11C\" x=\"700\" y=\"80\" Namespace=\"Main\">\n <Attribute Name=\"Configuration.GenericFBType.InterfaceParams\" Value=\"Runtime.Standard#CNT:=2;OUT:BOOL\" />\n </FB>"}
|
||||||
|
{"block_type": "AND", "ece_block": "<FFBBlock instanceName=\".3\" typeName=\"AND\" additionnalPinNumber=\"0\" enEnO=\"false\" width=\"7\" height=\"6\">\n\t\t\t\t\t<objPosition posX=\"28\" posY=\"29\" />\n\t\t\t\t\t<descriptionFFB execAfter=\"\">\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"EN\" />\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"IN1\" effectiveParameter=\"s1\" />\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"IN2\" effectiveParameter=\"s3\" />\n\t\t\t\t\t\t<outputVariable invertedPin=\"false\" formalParameter=\"ENO\" />\n\t\t\t\t\t\t<outputVariable invertedPin=\"false\" formalParameter=\"OUT\" />\n\t\t\t\t\t</descriptionFFB>\n\t\t\t\t</FFBBlock>", "eae_block": "<FB ID=\"8446E4205BD747C3\" Name=\"FB1\" Type=\"AND_88A3DD8EC65DD11C\" x=\"700\" y=\"80\" Namespace=\"Main\">\n <Attribute Name=\"Configuration.GenericFBType.InterfaceParams\" Value=\"Runtime.Standard#CNT:=2;OUT:BOOL\" />\n </FB>"}
|
||||||
|
{"block_type": "OR", "ece_block": "<FFBBlock instanceName=\".4\" typeName=\"OR\" additionnalPinNumber=\"1\" enEnO=\"false\" width=\"7\" height=\"7\">\n\t\t\t\t\t<objPosition posX=\"47\" posY=\"18\" />\n\t\t\t\t\t<descriptionFFB execAfter=\"\">\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"EN\" />\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"IN1\" />\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"IN2\" />\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"IN3\" />\n\t\t\t\t\t\t<outputVariable invertedPin=\"false\" formalParameter=\"ENO\" />\n\t\t\t\t\t\t<outputVariable invertedPin=\"false\" formalParameter=\"OUT\" effectiveParameter=\"final_out\" />\n\t\t\t\t\t</descriptionFFB>\n\t\t\t\t</FFBBlock>", "eae_block": "<FB ID=\"5A5DCE8244DDBFDE\" UID=\"66E5FAB6DAADD2C\" Name=\"FB4\" Type=\"OR_550FE6D62F509EB3\" x=\"2060\" y=\"520\" Namespace=\"Main\">\n <Attribute Name=\"Configuration.GenericFBType.InterfaceParams\" Value=\"Runtime.Standard#CNT:=3;OUT:BOOL\" />\n </FB>"}
|
||||||
|
{"block_type": "SR", "ece_block": "<FFBBlock instanceName=\"SR_7\" typeName=\"SR\" additionnalPinNumber=\"0\" enEnO=\"false\" width=\"7\" height=\"6\">\n\t\t\t\t\t<objPosition posX=\"25\" posY=\"14\" />\n\t\t\t\t\t<descriptionFFB execAfter=\"\">\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"EN\" />\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"S1\" effectiveParameter=\"Start\" />\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"R\" effectiveParameter=\"stop\" />\n\t\t\t\t\t\t<outputVariable invertedPin=\"false\" formalParameter=\"ENO\" />\n\t\t\t\t\t\t<outputVariable invertedPin=\"false\" formalParameter=\"Q1\" />\n\t\t\t\t\t</descriptionFFB>\n\t\t\t\t</FFBBlock>", "eae_block": "<FB ID=\"BE94FAE6096BFCB1\" Name=\"FB3\" Type=\"E_SR\" x=\"240\" y=\"160\" Namespace=\"IEC61499.Standard\" />"}
|
||||||
|
{"block_type": "AND", "ece_block": "<FFBBlock instanceName=\".1\" typeName=\"AND\" additionnalPinNumber=\"0\" enEnO=\"false\" width=\"7\" height=\"6\">\n\t\t\t\t\t<objPosition posX=\"40\" posY=\"24\" />\n\t\t\t\t\t<descriptionFFB execAfter=\"\">\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"EN\" />\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"IN1\" />\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"IN2\" />\n\t\t\t\t\t\t<outputVariable invertedPin=\"false\" formalParameter=\"ENO\" />\n\t\t\t\t\t\t<outputVariable invertedPin=\"false\" formalParameter=\"OUT\" effectiveParameter=\"Move\" />\n\t\t\t\t\t</descriptionFFB>\n\t\t\t\t</FFBBlock>", "eae_block": "<FB ID=\"A8D5F2816408587E\" Name=\"FB4\" Type=\"AND_88A3DD8EC65DD11C\" x=\"2140\" y=\"560\" Namespace=\"Main\">\n <Attribute Name=\"Configuration.GenericFBType.InterfaceParams\" Value=\"Runtime.Standard#CNT:=2;OUT:BOOL\" />\n </FB>"}
|
||||||
|
{"block_type": "OR", "ece_block": "<FFBBlock instanceName=\".2\" typeName=\"OR\" additionnalPinNumber=\"0\" enEnO=\"false\" width=\"7\" height=\"6\">\n\t\t\t\t\t<objPosition posX=\"14\" posY=\"29\" />\n\t\t\t\t\t<descriptionFFB execAfter=\"\">\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"EN\" />\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"IN1\" effectiveParameter=\"overload\" />\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"IN2\" effectiveParameter=\"door_open\" />\n\t\t\t\t\t\t<outputVariable invertedPin=\"false\" formalParameter=\"ENO\" />\n\t\t\t\t\t\t<outputVariable invertedPin=\"false\" formalParameter=\"OUT\" />\n\t\t\t\t\t</descriptionFFB>\n\t\t\t\t</FFBBlock>", "eae_block": "<FB ID=\"E5BAE00B8693927E\" Name=\"FB1\" Type=\"OR_88A3DD8EC65DD11C\" x=\"380\" y=\"860\" Namespace=\"Main\">\n <Attribute Name=\"Configuration.GenericFBType.InterfaceParams\" Value=\"Runtime.Standard#CNT:=2;OUT:BOOL\" />\n </FB>"}
|
||||||
|
{"block_type": "NOT", "ece_block": "<FFBBlock instanceName=\".3\" typeName=\"NOT\" additionnalPinNumber=\"0\" enEnO=\"false\" width=\"7\" height=\"5\">\n\t\t\t\t\t<objPosition posX=\"27\" posY=\"29\" />\n\t\t\t\t\t<descriptionFFB execAfter=\"\">\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"EN\" />\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"IN\" />\n\t\t\t\t\t\t<outputVariable invertedPin=\"false\" formalParameter=\"ENO\" />\n\t\t\t\t\t\t<outputVariable invertedPin=\"false\" formalParameter=\"OUT\" />\n\t\t\t\t\t</descriptionFFB>\n\t\t\t\t</FFBBlock>", "eae_block": "<FB ID=\"92CB2B3F50CF87CD\" Name=\"FB2\" Type=\"NOT_42C76073DCEB1A7A\" x=\"1220\" y=\"860\" Namespace=\"Main\">\n <Attribute Name=\"Configuration.GenericFBType.InterfaceParams\" Value=\"Runtime.Standard#CNT:=1;OUT${CNT}:BOOL\" />\n </FB>"}
|
||||||
|
{"block_type": "CTU", "ece_block": "<FFBBlock instanceName=\"CTU_2\" typeName=\"CTU\" additionnalPinNumber=\"0\" enEnO=\"false\" width=\"7\" height=\"7\">\n\t\t\t\t\t<objPosition posX=\"30\" posY=\"20\" />\n\t\t\t\t\t<descriptionFFB execAfter=\"\">\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"EN\" />\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"CU\" effectiveParameter=\"s1\" />\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"R\" />\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"PV\" effectiveParameter=\"5\" />\n\t\t\t\t\t\t<outputVariable invertedPin=\"false\" formalParameter=\"ENO\" />\n\t\t\t\t\t\t<outputVariable invertedPin=\"false\" formalParameter=\"Q\" />\n\t\t\t\t\t\t<outputVariable invertedPin=\"false\" formalParameter=\"CV\" />\n\t\t\t\t\t</descriptionFFB>\n\t\t\t\t</FFBBlock>", "eae_block": "<FB ID=\"E6DCC2E341F3476B\" Name=\"FB1\" Type=\"E_CTU\" x=\"1120\" y=\"100\" Namespace=\"IEC61499.Standard\">\n <Parameter Name=\"PV\" Value=\"5\" />\n </FB>"}
|
||||||
|
{"block_type": "TON", "ece_block": "<FFBBlock instanceName=\"TON_3\" typeName=\"TON\" additionnalPinNumber=\"0\" enEnO=\"false\" width=\"7\" height=\"6\">\n\t\t\t\t\t<objPosition posX=\"56\" posY=\"23\" />\n\t\t\t\t\t<descriptionFFB execAfter=\"\">\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"EN\" />\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"IN\" />\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"PT\" effectiveParameter=\"t#5s\" />\n\t\t\t\t\t\t<outputVariable invertedPin=\"false\" formalParameter=\"ENO\" />\n\t\t\t\t\t\t<outputVariable invertedPin=\"false\" formalParameter=\"Q\" />\n\t\t\t\t\t\t<outputVariable invertedPin=\"false\" formalParameter=\"ET\" />\n\t\t\t\t\t</descriptionFFB>\n\t\t\t\t</FFBBlock>", "eae_block": "<FB ID=\"17CFEBEABFC2C32A\" Name=\"FB2\" Type=\"TON\" x=\"2040\" y=\"700\" Namespace=\"MIT.MITSchneider\">\n <Parameter Name=\"PT\" Value=\"T#5000ms\" />\n </FB>"}
|
||||||
|
{"block_type": "SR", "ece_block": "<FFBBlock instanceName=\"SR_12\" typeName=\"SR\" additionnalPinNumber=\"0\" enEnO=\"false\" width=\"7\" height=\"6\">\n\t\t\t\t\t<objPosition posX=\"51\" posY=\"13\" />\n\t\t\t\t\t<descriptionFFB execAfter=\"\">\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"EN\" />\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"S1\" effectiveParameter=\"start\" />\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"R\" />\n\t\t\t\t\t\t<outputVariable invertedPin=\"false\" formalParameter=\"ENO\" />\n\t\t\t\t\t\t<outputVariable invertedPin=\"false\" formalParameter=\"Q1\" effectiveParameter=\"motor\" />\n\t\t\t\t\t</descriptionFFB>\n\t\t\t\t</FFBBlock>", "eae_block": "<FB ID=\"7429FC5FA47473FB\" Name=\"FB3\" Type=\"E_SR\" x=\"2420\" y=\"380\" Namespace=\"IEC61499.Standard\" />"}
|
||||||
|
{"block_type": "CTU", "ece_block": "<FFBBlock instanceName=\"CTU_3\" typeName=\"CTU\" additionnalPinNumber=\"0\" enEnO=\"false\" width=\"7\" height=\"7\">\n\t\t\t\t\t<objPosition posX=\"32\" posY=\"14\" />\n\t\t\t\t\t<descriptionFFB execAfter=\"\">\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"EN\" />\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"CU\" effectiveParameter=\"enter\" />\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"R\" />\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"PV\" effectiveParameter=\"100\" />\n\t\t\t\t\t\t<outputVariable invertedPin=\"false\" formalParameter=\"ENO\" />\n\t\t\t\t\t\t<outputVariable invertedPin=\"false\" formalParameter=\"Q\" />\n\t\t\t\t\t\t<outputVariable invertedPin=\"false\" formalParameter=\"CV\" />\n\t\t\t\t\t</descriptionFFB>\n\t\t\t\t</FFBBlock>", "eae_block": "<FB ID=\"42F092F25D3553C0\" Name=\"FB1\" Type=\"E_CTU\" x=\"660\" y=\"400\" Namespace=\"IEC61499.Standard\" />"}
|
||||||
|
{"block_type": "CTU", "ece_block": "<FFBBlock instanceName=\"CTU_4\" typeName=\"CTU\" additionnalPinNumber=\"0\" enEnO=\"false\" width=\"7\" height=\"7\">\n\t\t\t\t\t<objPosition posX=\"32\" posY=\"27\" />\n\t\t\t\t\t<descriptionFFB execAfter=\"\">\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"EN\" />\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"CU\" effectiveParameter=\"exist\" />\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"R\" />\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"PV\" effectiveParameter=\"100\" />\n\t\t\t\t\t\t<outputVariable invertedPin=\"false\" formalParameter=\"ENO\" />\n\t\t\t\t\t\t<outputVariable invertedPin=\"false\" formalParameter=\"Q\" />\n\t\t\t\t\t\t<outputVariable invertedPin=\"false\" formalParameter=\"CV\" />\n\t\t\t\t\t</descriptionFFB>\n\t\t\t\t</FFBBlock>", "eae_block": "<FB ID=\"42F092F25D3553C0\" Name=\"FB1\" Type=\"E_CTU\" x=\"660\" y=\"400\" Namespace=\"IEC61499.Standard\" />"}
|
||||||
|
{"block_type": "SUB", "ece_block": "<FFBBlock instanceName=\".1\" typeName=\"SUB\" additionnalPinNumber=\"0\" enEnO=\"false\" width=\"7\" height=\"6\">\n\t\t\t\t\t<objPosition posX=\"46\" posY=\"20\" />\n\t\t\t\t\t<descriptionFFB execAfter=\"\">\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"EN\" />\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"IN1\" />\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"IN2\" />\n\t\t\t\t\t\t<outputVariable invertedPin=\"false\" formalParameter=\"ENO\" />\n\t\t\t\t\t\t<outputVariable invertedPin=\"false\" formalParameter=\"OUT\" />\n\t\t\t\t\t</descriptionFFB>\n\t\t\t\t</FFBBlock>", "eae_block": "<FB ID=\"245796B319D8B030\" Name=\"FB4\" Type=\"SUB_1990CFD1468AAE4A6\" x=\"1740\" y=\"780\" Namespace=\"Main\">\n <Attribute Name=\"Configuration.GenericFBType.InterfaceParams\" Value=\"Runtime.Standard#CNT:=2;IN${CNT}:LREAL\" />\n </FB>"}
|
||||||
|
{"block_type": "CTU", "ece_block": "<FFBBlock instanceName=\"CTU_5\" typeName=\"CTU\" additionnalPinNumber=\"0\" enEnO=\"false\" width=\"7\" height=\"7\">\n\t\t\t\t\t<objPosition posX=\"60\" posY=\"20\" />\n\t\t\t\t\t<descriptionFFB execAfter=\"\">\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"EN\" />\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"CU\" />\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"R\" />\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"PV\" />\n\t\t\t\t\t\t<outputVariable invertedPin=\"false\" formalParameter=\"ENO\" />\n\t\t\t\t\t\t<outputVariable invertedPin=\"false\" formalParameter=\"Q\" />\n\t\t\t\t\t\t<outputVariable invertedPin=\"false\" formalParameter=\"CV\" />\n\t\t\t\t\t</descriptionFFB>\n\t\t\t\t</FFBBlock>", "eae_block": "<FB ID=\"B878CF5E5C04F0B5\" Name=\"FB6\" Type=\"E_CTU\" x=\"1940\" y=\"260\" Namespace=\"IEC61499.Standard\">\n <Parameter Name=\"PV\" Value=\"5\" />\n </FB>"}
|
||||||
|
{"block_type": "SR", "ece_block": "<FFBBlock instanceName=\"SR_13\" typeName=\"SR\" additionnalPinNumber=\"0\" enEnO=\"false\" width=\"7\" height=\"6\">\n\t\t\t\t\t<objPosition posX=\"90\" posY=\"17\" />\n\t\t\t\t\t<descriptionFFB execAfter=\"\">\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"EN\" />\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"S1\" />\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"R\" effectiveParameter=\"reset\" />\n\t\t\t\t\t\t<outputVariable invertedPin=\"false\" formalParameter=\"ENO\" />\n\t\t\t\t\t\t<outputVariable invertedPin=\"false\" formalParameter=\"Q1\" effectiveParameter=\"load1\" />\n\t\t\t\t\t</descriptionFFB>\n\t\t\t\t</FFBBlock>", "eae_block": "<FB ID=\"99565D2B923CE30C\" Name=\"FB3\" Type=\"E_SR\" x=\"3720\" y=\"660\" Namespace=\"IEC61499.Standard\" />"}
|
||||||
|
{"block_type": "SR", "ece_block": "<FFBBlock instanceName=\"SR_14\" typeName=\"SR\" additionnalPinNumber=\"0\" enEnO=\"false\" width=\"7\" height=\"6\">\n\t\t\t\t\t<objPosition posX=\"90\" posY=\"25\" />\n\t\t\t\t\t<descriptionFFB execAfter=\"\">\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"EN\" />\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"S1\" />\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"R\" effectiveParameter=\"reset\" />\n\t\t\t\t\t\t<outputVariable invertedPin=\"false\" formalParameter=\"ENO\" />\n\t\t\t\t\t\t<outputVariable invertedPin=\"false\" formalParameter=\"Q1\" effectiveParameter=\"load2\" />\n\t\t\t\t\t</descriptionFFB>\n\t\t\t\t</FFBBlock>", "eae_block": "<FB ID=\"99565D2B923CE30C\" Name=\"FB3\" Type=\"E_SR\" x=\"3720\" y=\"660\" Namespace=\"IEC61499.Standard\" />"}
|
||||||
|
{"block_type": "SR", "ece_block": "<FFBBlock instanceName=\"SR_15\" typeName=\"SR\" additionnalPinNumber=\"0\" enEnO=\"false\" width=\"7\" height=\"6\">\n\t\t\t\t\t<objPosition posX=\"92\" posY=\"34\" />\n\t\t\t\t\t<descriptionFFB execAfter=\"\">\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"EN\" />\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"S1\" />\n\t\t\t\t\t\t<inputVariable invertedPin=\"false\" formalParameter=\"R\" effectiveParameter=\"reset\" />\n\t\t\t\t\t\t<outputVariable invertedPin=\"false\" formalParameter=\"ENO\" />\n\t\t\t\t\t\t<outputVariable invertedPin=\"false\" formalParameter=\"Q1\" effectiveParameter=\"load3\" />\n\t\t\t\t\t</descriptionFFB>\n\t\t\t\t</FFBBlock>", "eae_block": "<FB ID=\"99565D2B923CE30C\" Name=\"FB3\" Type=\"E_SR\" x=\"3720\" y=\"660\" Namespace=\"IEC61499.Standard\" />"}
|
||||||
|
{"block_type": "SET", "ece_block": "<FFBBlock instanceName=\".1\" typeName=\"SET\" additionnalPinNumber=\"0\" enEnO=\"false\" width=\"7\" height=\"5\">\n <objPosition posX=\"10\" posY=\"10\" />\n <descriptionFFB execAfter=\"\">\n <inputVariable invertedPin=\"false\" formalParameter=\"EN\" />\n <outputVariable invertedPin=\"false\" formalParameter=\"ENO\" />\n <outputVariable invertedPin=\"false\" formalParameter=\"OUT\" />\n </descriptionFFB>\n <comment>lowlevel</comment>\n </FFBBlock>", "eae_block": "<FB ID=\"68E6801B4DEF7199\" Name=\"FB1\" Type=\"SETQ\" x=\"900\" y=\"580\" Namespace=\"Main\" />"}
|
||||||
|
{"block_type": "SR", "ece_block": "<FFBBlock instanceName=\"FB2\" typeName=\"SR\" additionnalPinNumber=\"0\" enEnO=\"false\" width=\"7\" height=\"6\">\n <objPosition posX=\"33\" posY=\"12\" />\n <descriptionFFB execAfter=\"\">\n <inputVariable invertedPin=\"false\" formalParameter=\"EN\" />\n <inputVariable invertedPin=\"false\" formalParameter=\"S1\" />\n <inputVariable invertedPin=\"false\" formalParameter=\"R\" />\n <outputVariable invertedPin=\"false\" formalParameter=\"ENO\" />\n <outputVariable invertedPin=\"false\" formalParameter=\"Q1\" effectiveParameter=\"pump\" />\n </descriptionFFB>\n </FFBBlock>", "eae_block": "<FB ID=\"5EE9BA6E24DC645F\" Name=\"FB2\" Type=\"E_SR\" x=\"840\" y=\"1260\" Namespace=\"IEC61499.Standard\" />"}
|
||||||
|
{"block_type": "SET", "ece_block": "<FFBBlock instanceName=\".2\" typeName=\"SET\" additionnalPinNumber=\"0\" enEnO=\"false\" width=\"7\" height=\"5\">\n <objPosition posX=\"10\" posY=\"20\" />\n <descriptionFFB execAfter=\"\">\n <inputVariable invertedPin=\"false\" formalParameter=\"EN\" />\n <outputVariable invertedPin=\"false\" formalParameter=\"ENO\" />\n <outputVariable invertedPin=\"false\" formalParameter=\"OUT\" />\n </descriptionFFB>\n <comment>Highlevel</comment>\n </FFBBlock>", "eae_block": "<FB ID=\"68E6801B4DEF7199\" Name=\"FB1\" Type=\"SETQ\" x=\"900\" y=\"580\" Namespace=\"Main\" />"}
|
||||||
|
{"block_type": "NOT", "ece_block": "<FFBBlock instanceName=\".3\" typeName=\"NOT\" additionnalPinNumber=\"0\" enEnO=\"false\" width=\"7\" height=\"5\">\n <objPosition posX=\"21\" posY=\"20\" />\n <descriptionFFB execAfter=\"\">\n <inputVariable invertedPin=\"false\" formalParameter=\"EN\" />\n <inputVariable invertedPin=\"false\" formalParameter=\"IN\" />\n <outputVariable invertedPin=\"false\" formalParameter=\"ENO\" />\n <outputVariable invertedPin=\"false\" formalParameter=\"OUT\" />\n </descriptionFFB>\n </FFBBlock>", "eae_block": "<FB ID=\"5D05D66BECAD84FD\" Name=\"FB4\" Type=\"NOT_42C76073DCEB1A7A\" x=\"3300\" y=\"1120\" Namespace=\"Main\">\n <Attribute Name=\"Configuration.GenericFBType.InterfaceParams\" Value=\"Runtime.Standard#CNT:=1;OUT:BOOL\" />\n </FB>"}
|
||||||
|
{"block_type": "AND", "ece_block": "<FFBBlock instanceName=\".4\" typeName=\"AND\" additionnalPinNumber=\"0\" enEnO=\"false\" width=\"7\" height=\"6\">\n <objPosition posX=\"35\" posY=\"27\" />\n <descriptionFFB execAfter=\"\">\n <inputVariable invertedPin=\"false\" formalParameter=\"EN\" />\n <inputVariable invertedPin=\"false\" formalParameter=\"IN1\" />\n <inputVariable invertedPin=\"false\" formalParameter=\"IN2\" />\n <outputVariable invertedPin=\"false\" formalParameter=\"ENO\" />\n <outputVariable invertedPin=\"false\" formalParameter=\"OUT\" effectiveParameter=\"low_alarm\" />\n </descriptionFFB>\n </FFBBlock>", "eae_block": "<FB ID=\"3DD259825962ABB2\" Name=\"FB5\" Type=\"AND_88A3DD8EC65DD11C\" x=\"1200\" y=\"840\" Namespace=\"Main\">\n <Attribute Name=\"Configuration.GenericFBType.InterfaceParams\" Value=\"Runtime.Standard#CNT:=2;OUT:BOOL\" />\n </FB>"}
|
||||||
|
{"block_type": "AND", "ece_block": "<FFBBlock instanceName=\".5\" typeName=\"AND\" additionnalPinNumber=\"0\" enEnO=\"false\" width=\"7\" height=\"6\">\n <objPosition posX=\"35\" posY=\"37\" />\n <descriptionFFB execAfter=\"\">\n <inputVariable invertedPin=\"false\" formalParameter=\"EN\" />\n <inputVariable invertedPin=\"false\" formalParameter=\"IN1\" />\n <inputVariable invertedPin=\"false\" formalParameter=\"IN2\" />\n <outputVariable invertedPin=\"false\" formalParameter=\"ENO\" />\n <outputVariable invertedPin=\"false\" formalParameter=\"OUT\" effectiveParameter=\"high_alarm\" />\n </descriptionFFB>\n </FFBBlock>", "eae_block": "<FB ID=\"3DD259825962ABB2\" Name=\"FB5\" Type=\"AND_88A3DD8EC65DD11C\" x=\"1200\" y=\"840\" Namespace=\"Main\">\n <Attribute Name=\"Configuration.GenericFBType.InterfaceParams\" Value=\"Runtime.Standard#CNT:=2;OUT:BOOL\" />\n </FB>"}
|
||||||
|
{"block_type": "NOT", "ece_block": "<FFBBlock instanceName=\".6\" typeName=\"NOT\" additionnalPinNumber=\"0\" enEnO=\"false\" width=\"7\" height=\"5\">\n <objPosition posX=\"12\" posY=\"39\" />\n <descriptionFFB execAfter=\"\">\n <inputVariable invertedPin=\"false\" formalParameter=\"EN\" />\n <inputVariable invertedPin=\"false\" formalParameter=\"IN\" />\n <outputVariable invertedPin=\"false\" formalParameter=\"ENO\" />\n <outputVariable invertedPin=\"false\" formalParameter=\"OUT\" />\n </descriptionFFB>\n </FFBBlock>", "eae_block": "<FB ID=\"5D05D66BECAD84FD\" Name=\"FB4\" Type=\"NOT_42C76073DCEB1A7A\" x=\"3300\" y=\"1120\" Namespace=\"Main\">\n <Attribute Name=\"Configuration.GenericFBType.InterfaceParams\" Value=\"Runtime.Standard#CNT:=1;OUT:BOOL\" />\n </FB>"}
|
35
data/training/eae/Connection_3.sys
Normal file
35
data/training/eae/Connection_3.sys
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!DOCTYPE System SYSTEM "../LibraryElement.dtd">
|
||||||
|
<System Name="System" Comment="System Configuration">
|
||||||
|
<Attribute Name="System.Device.FolderPath" Value="EcoRT_0" />
|
||||||
|
<Identification Standard="61499-1" />
|
||||||
|
<VersionInfo Organization="Schneider Electric" Version="0.0" Author="Schneider" Date="4/9/2025" />
|
||||||
|
<Application ID="3AC46A7306E69081" Name="APP1">
|
||||||
|
<SubAppNetwork>
|
||||||
|
<FB ID="6CCCDA05669BEF53" Name="FB1" Type="AND_88A3DD8EC65DD11C" x="520" y="360" Namespace="Main">
|
||||||
|
<Attribute Name="Configuration.GenericFBType.InterfaceParams" Value="Runtime.Standard#CNT:=2;OUT:BOOL" />
|
||||||
|
</FB>
|
||||||
|
<FB ID="336115E45848C6B4" Name="FB2" Type="AND_88A3DD8EC65DD11C" x="540" y="1060" Namespace="Main">
|
||||||
|
<Attribute Name="Configuration.GenericFBType.InterfaceParams" Value="Runtime.Standard#CNT:=2;OUT:BOOL" />
|
||||||
|
</FB>
|
||||||
|
<FB ID="CF00285B1FB5D458" Name="FB3" Type="OR_88A3DD8EC65DD11C" x="1480" y="640" Namespace="Main">
|
||||||
|
<Attribute Name="Configuration.GenericFBType.InterfaceParams" Value="Runtime.Standard#CNT:=2;OUT:BOOL" />
|
||||||
|
</FB>
|
||||||
|
<EventConnections>
|
||||||
|
<Connection Source="FB1.CNF" Destination="FB3.REQ" dx1="217.4792">
|
||||||
|
<AvoidsNodes>false</AvoidsNodes>
|
||||||
|
</Connection>
|
||||||
|
</EventConnections>
|
||||||
|
<DataConnections>
|
||||||
|
<Connection Source="FB1.OUT" Destination="FB3.IN1" dx1="47.47919" />
|
||||||
|
<Connection Source="FB2.OUT" Destination="FB3.IN2" dx1="47.47919" />
|
||||||
|
</DataConnections>
|
||||||
|
</SubAppNetwork>
|
||||||
|
</Application>
|
||||||
|
<Device ID="5BFDD33A-F1D3-4284-AF5F-95C0E979DB00" Name="EcoRT_0" Type="Soft_dPAC" x="700" y="700" Namespace="SE.DPAC">
|
||||||
|
<Resource ID="BAD2608EB2742024" Name="RES0" Type="EMB_RES_ECO" x="800" y="800" Namespace="Runtime.Management">
|
||||||
|
<FBNetwork />
|
||||||
|
</Resource>
|
||||||
|
<FBNetwork />
|
||||||
|
</Device>
|
||||||
|
</System>
|
31
data/training/eae/connection_2.sys
Normal file
31
data/training/eae/connection_2.sys
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!DOCTYPE System SYSTEM "../LibraryElement.dtd">
|
||||||
|
<System Name="System" Comment="System Configuration">
|
||||||
|
<Attribute Name="System.Device.FolderPath" Value="EcoRT_0" />
|
||||||
|
<Identification Standard="61499-1" />
|
||||||
|
<VersionInfo Organization="Schneider Electric" Version="0.0" Author="Schneider" Date="4/9/2025" />
|
||||||
|
<Application ID="F379D07B421C1131" Name="APP1">
|
||||||
|
<SubAppNetwork>
|
||||||
|
<FB ID="989F6347559566C5" Name="FB1" Type="ADD_1990CFD1468AAE4A6" x="520" y="340" Namespace="Main">
|
||||||
|
<Attribute Name="Configuration.GenericFBType.InterfaceParams" Value="Runtime.Standard#CNT:=2;IN${CNT}:LREAL" />
|
||||||
|
</FB>
|
||||||
|
<FB ID="5B9B2F73666DE776" Name="FB2" Type="SUB_1990CFD1468AAE4A6" x="1400" y="560" Namespace="Main">
|
||||||
|
<Attribute Name="Configuration.GenericFBType.InterfaceParams" Value="Runtime.Standard#CNT:=2;IN${CNT}:LREAL" />
|
||||||
|
</FB>
|
||||||
|
<EventConnections>
|
||||||
|
<Connection Source="FB1.CNF" Destination="FB2.REQ" dx1="257.4791">
|
||||||
|
<AvoidsNodes>false</AvoidsNodes>
|
||||||
|
</Connection>
|
||||||
|
</EventConnections>
|
||||||
|
<DataConnections>
|
||||||
|
<Connection Source="FB1.OUT" Destination="FB2.IN1" dx1="47.47913" />
|
||||||
|
</DataConnections>
|
||||||
|
</SubAppNetwork>
|
||||||
|
</Application>
|
||||||
|
<Device ID="FC9D219C-A375-404D-B9EE-BD8AC1FCA7AC" Name="EcoRT_0" Type="Soft_dPAC" x="700" y="700.0001" Namespace="SE.DPAC">
|
||||||
|
<Resource ID="4A2A379764B73F07" Name="RES0" Type="EMB_RES_ECO" x="800" y="800" Namespace="Runtime.Management">
|
||||||
|
<FBNetwork />
|
||||||
|
</Resource>
|
||||||
|
<FBNetwork />
|
||||||
|
</Device>
|
||||||
|
</System>
|
42
data/training/eae/connection_4.sys
Normal file
42
data/training/eae/connection_4.sys
Normal file
|
@ -0,0 +1,42 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!DOCTYPE System SYSTEM "../LibraryElement.dtd">
|
||||||
|
<System Name="System" Comment="System Configuration">
|
||||||
|
<Attribute Name="System.Device.FolderPath" Value="EcoRT_0" />
|
||||||
|
<Identification Standard="61499-1" />
|
||||||
|
<VersionInfo Organization="Schneider Electric" Version="0.0" Author="Schneider" Date="4/9/2025" />
|
||||||
|
<Application ID="98762EAFFE914EAF" Name="APP1">
|
||||||
|
<SubAppNetwork>
|
||||||
|
<FB ID="E12399C02C6BC84C" Name="FB1" Type="ADD_1990CFD1468AAE4A6" x="900" y="580" Namespace="Main">
|
||||||
|
<Attribute Name="Configuration.GenericFBType.InterfaceParams" Value="Runtime.Standard#CNT:=2;IN${CNT}:LREAL" />
|
||||||
|
</FB>
|
||||||
|
<FB ID="B45A17FDAAD7AEF5" Name="FB2" Type="SUB_1990CFD1468AAE4A6" x="840" y="1260" Namespace="Main">
|
||||||
|
<Attribute Name="Configuration.GenericFBType.InterfaceParams" Value="Runtime.Standard#CNT:=2;IN${CNT}:LREAL" />
|
||||||
|
</FB>
|
||||||
|
<FB ID="42290855AF6BBBBC" Name="FB3" Type="MUL_1990CFD1468AAE4A6" x="2220" y="800" Namespace="Main">
|
||||||
|
<Attribute Name="Configuration.GenericFBType.InterfaceParams" Value="Runtime.Standard#CNT:=2;IN${CNT}:LREAL" />
|
||||||
|
</FB>
|
||||||
|
<FB ID="BEECFD94F0BD255E" Name="FB4" Type="DIV_182E0F9E1B4E93726" x="3300" y="1120" Namespace="Main">
|
||||||
|
<Attribute Name="Configuration.GenericFBType.InterfaceParams" Value="Runtime.Standard#CNT:=1;IN${CNT}1:LREAL" />
|
||||||
|
</FB>
|
||||||
|
<EventConnections>
|
||||||
|
<Connection Source="FB1.CNF" Destination="FB3.REQ" dx1="517.4792">
|
||||||
|
<AvoidsNodes>false</AvoidsNodes>
|
||||||
|
</Connection>
|
||||||
|
<Connection Source="FB2.CNF" Destination="FB3.REQ" dx1="577.4792">
|
||||||
|
<AvoidsNodes>false</AvoidsNodes>
|
||||||
|
</Connection>
|
||||||
|
<Connection Source="FB3.CNF" Destination="FB4.REQ" dx1="47.47925" />
|
||||||
|
</EventConnections>
|
||||||
|
<DataConnections>
|
||||||
|
<Connection Source="FB1.OUT" Destination="FB3.IN1" dx1="47.47925" />
|
||||||
|
<Connection Source="FB2.OUT" Destination="FB3.IN2" dx1="70" />
|
||||||
|
</DataConnections>
|
||||||
|
</SubAppNetwork>
|
||||||
|
</Application>
|
||||||
|
<Device ID="278FA7F3-7305-4554-90F5-86266DA767DB" Name="EcoRT_0" Type="Soft_dPAC" x="700" y="700" Namespace="SE.DPAC">
|
||||||
|
<Resource ID="FD2A2484E35386FF" Name="RES0" Type="EMB_RES_ECO" x="800" y="800" Namespace="Runtime.Management">
|
||||||
|
<FBNetwork />
|
||||||
|
</Resource>
|
||||||
|
<FBNetwork />
|
||||||
|
</Device>
|
||||||
|
</System>
|
46
data/training/eae/ds1.sys
Normal file
46
data/training/eae/ds1.sys
Normal file
|
@ -0,0 +1,46 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!DOCTYPE System SYSTEM "../LibraryElement.dtd">
|
||||||
|
<System Name="System" Comment="System Configuration">
|
||||||
|
<Attribute Name="System.Device.FolderPath" Value="EcoRT_0" />
|
||||||
|
<Identification Standard="61499-1" />
|
||||||
|
<VersionInfo Organization="Schneider Electric" Version="0.0" Author="Schneider" Date="5/3/2025" />
|
||||||
|
<Application ID="146060ED81EF92E9" Name="APP1">
|
||||||
|
<SubAppNetwork>
|
||||||
|
<FB ID="8D8984A7343A6104" Name="FB1" Type="NOT_42C76073DCEB1A7A" x="600" y="160" Namespace="Main">
|
||||||
|
<Attribute Name="Configuration.GenericFBType.InterfaceParams" Value="Runtime.Standard#CNT:=1;OUT${CNT}:BOOL" />
|
||||||
|
</FB>
|
||||||
|
<FB ID="3797BFC43DD39E1A" Name="FB2" Type="AND_88A3DD8EC65DD11C" x="1180" y="180" Namespace="Main">
|
||||||
|
<Attribute Name="Configuration.GenericFBType.InterfaceParams" Value="Runtime.Standard#CNT:=2;OUT:BOOL" />
|
||||||
|
</FB>
|
||||||
|
<FB ID="BBC421F8D32F4CC1" Name="FB3" Type="E_SR" x="2300" y="420" Namespace="IEC61499.Standard" />
|
||||||
|
<FB ID="92EC75AF3752770C" Name="Fault" Type="SetBool" x="40" y="440" Namespace="SE.AppBase" />
|
||||||
|
<FB ID="75C843A26D3E1869" Name="start_PB" Type="SetBool" x="360" y="1000" Namespace="SE.AppBase" />
|
||||||
|
<FB ID="4DF499B8F2F004AD" Name="stop_PB" Type="SetBool" x="1500" y="980" Namespace="SE.AppBase" />
|
||||||
|
<FB ID="31BBFBF4223E2AC8" Name="FB5" Type="E_PERMIT" x="1760" y="160" Namespace="IEC61499.Standard" />
|
||||||
|
<EventConnections>
|
||||||
|
<Connection Source="FB1.CNF" Destination="FB2.REQ" dx1="63.75" />
|
||||||
|
<Connection Source="Fault.IND" Destination="FB1.REQ" dx1="50" />
|
||||||
|
<Connection Source="start_PB.IND" Destination="FB2.REQ" dx1="287.6666" />
|
||||||
|
<Connection Source="stop_PB.IND" Destination="FB3.R" dx1="47.66663" />
|
||||||
|
<Connection Source="FB2.CNF" Destination="FB5.EI" dx1="50" />
|
||||||
|
<Connection Source="FB5.EO" Destination="FB3.S" dx1="47.16675" />
|
||||||
|
</EventConnections>
|
||||||
|
<DataConnections>
|
||||||
|
<Connection Source="FB1.OUT1" Destination="FB2.IN1" dx1="43.75" />
|
||||||
|
<Connection Source="Fault.Out" Destination="FB1.IN1" dx1="137.6666">
|
||||||
|
<AvoidsNodes>false</AvoidsNodes>
|
||||||
|
</Connection>
|
||||||
|
<Connection Source="start_PB.Out" Destination="FB2.IN2" dx1="377.6666">
|
||||||
|
<AvoidsNodes>false</AvoidsNodes>
|
||||||
|
</Connection>
|
||||||
|
<Connection Source="FB2.OUT" Destination="FB5.PERMIT" dx1="47.47913" />
|
||||||
|
</DataConnections>
|
||||||
|
</SubAppNetwork>
|
||||||
|
</Application>
|
||||||
|
<Device ID="A257F6F9-7626-470E-9AAE-86CD6A5755B3" Name="EcoRT_0" Type="Soft_dPAC" x="700" y="700.0001" Namespace="SE.DPAC">
|
||||||
|
<Resource ID="44C110127AB4754A" Name="RES0" Type="EMB_RES_ECO" x="800" y="800" Namespace="Runtime.Management">
|
||||||
|
<FBNetwork />
|
||||||
|
</Resource>
|
||||||
|
<FBNetwork />
|
||||||
|
</Device>
|
||||||
|
</System>
|
31
data/training/eae/ds2.sys
Normal file
31
data/training/eae/ds2.sys
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!DOCTYPE System SYSTEM "../LibraryElement.dtd">
|
||||||
|
<System Name="System" Comment="System Configuration">
|
||||||
|
<Attribute Name="System.Device.FolderPath" Value="EcoRT_0" />
|
||||||
|
<Identification Standard="61499-1" />
|
||||||
|
<VersionInfo Organization="Schneider Electric" Version="0.0" Author="Schneider" Date="5/3/2025" />
|
||||||
|
<Application ID="EC6B84DB759AD1D" Name="APP1">
|
||||||
|
<SubAppNetwork>
|
||||||
|
<FB ID="4A6F920808C2F8AE" Name="FB1" Type="AND_88A3DD8EC65DD11C" x="480" y="560" Namespace="Main">
|
||||||
|
<Attribute Name="Configuration.GenericFBType.InterfaceParams" Value="Runtime.Standard#CNT:=2;OUT:BOOL" />
|
||||||
|
</FB>
|
||||||
|
<FB ID="5FDF18F99A57B826" Name="FB2" Type="TON" x="1820" y="640" Namespace="MIT.MITSchneider">
|
||||||
|
<Parameter Name="PT" Value="T#2000ms" />
|
||||||
|
</FB>
|
||||||
|
<FB ID="CB330A3BF160A2AB" Name="FB4" Type="E_PERMIT" x="1160" y="520" Namespace="IEC61499.Standard" />
|
||||||
|
<EventConnections>
|
||||||
|
<Connection Source="FB1.CNF" Destination="FB4.EI" dx1="50" />
|
||||||
|
<Connection Source="FB4.EO" Destination="FB2.I" dx1="47.1665" />
|
||||||
|
</EventConnections>
|
||||||
|
<DataConnections>
|
||||||
|
<Connection Source="FB1.OUT" Destination="FB4.PERMIT" dx1="47.47913" />
|
||||||
|
</DataConnections>
|
||||||
|
</SubAppNetwork>
|
||||||
|
</Application>
|
||||||
|
<Device ID="3AA16C28-1802-4317-A0AB-CD0F0BE9F207" Name="EcoRT_0" Type="Soft_dPAC" x="700" y="700.0002" Namespace="SE.DPAC">
|
||||||
|
<Resource ID="7D0D65D04621E248" Name="RES0" Type="EMB_RES_ECO" x="800" y="800" Namespace="Runtime.Management">
|
||||||
|
<FBNetwork />
|
||||||
|
</Resource>
|
||||||
|
<FBNetwork />
|
||||||
|
</Device>
|
||||||
|
</System>
|
43
data/training/eae/ds4.sys
Normal file
43
data/training/eae/ds4.sys
Normal file
|
@ -0,0 +1,43 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!DOCTYPE System SYSTEM "../LibraryElement.dtd">
|
||||||
|
<System Name="System" Comment="System Configuration">
|
||||||
|
<Attribute Name="System.Device.FolderPath" Value="EcoRT_0" />
|
||||||
|
<Identification Standard="61499-1" />
|
||||||
|
<VersionInfo Organization="Schneider Electric" Version="0.0" Author="Schneider" Date="5/3/2025" />
|
||||||
|
<Application ID="A1E1ABC9A0FC77E9" Name="APP1">
|
||||||
|
<SubAppNetwork>
|
||||||
|
<FB ID="8446E4205BD747C3" Name="FB1" Type="AND_88A3DD8EC65DD11C" x="700" y="80" Namespace="Main">
|
||||||
|
<Attribute Name="Configuration.GenericFBType.InterfaceParams" Value="Runtime.Standard#CNT:=2;OUT:BOOL" />
|
||||||
|
</FB>
|
||||||
|
<FB ID="9A9AC81678877902" Name="FB2" Type="AND_88A3DD8EC65DD11C" x="680" y="540" Namespace="Main">
|
||||||
|
<Attribute Name="Configuration.GenericFBType.InterfaceParams" Value="Runtime.Standard#CNT:=2;OUT:BOOL" />
|
||||||
|
</FB>
|
||||||
|
<FB ID="2F865BE94A5F5E5C" Name="FB3" Type="AND_88A3DD8EC65DD11C" x="720" y="1100" Namespace="Main">
|
||||||
|
<Attribute Name="Configuration.GenericFBType.InterfaceParams" Value="Runtime.Standard#CNT:=2;OUT:BOOL" />
|
||||||
|
</FB>
|
||||||
|
<FB ID="5A5DCE8244DDBFDE" UID="66E5FAB6DAADD2C" Name="FB4" Type="OR_550FE6D62F509EB3" x="2060" y="520" Namespace="Main">
|
||||||
|
<Attribute Name="Configuration.GenericFBType.InterfaceParams" Value="Runtime.Standard#CNT:=3;OUT:BOOL" />
|
||||||
|
</FB>
|
||||||
|
<EventConnections>
|
||||||
|
<Connection Source="FB1.CNF" Destination="FB4.REQ" dx1="637.4791">
|
||||||
|
<AvoidsNodes>false</AvoidsNodes>
|
||||||
|
</Connection>
|
||||||
|
<Connection Source="FB2.CNF" Destination="FB4.REQ" dx1="47.47913" />
|
||||||
|
<Connection Source="FB3.CNF" Destination="FB4.REQ" dx1="597.4791">
|
||||||
|
<AvoidsNodes>false</AvoidsNodes>
|
||||||
|
</Connection>
|
||||||
|
</EventConnections>
|
||||||
|
<DataConnections>
|
||||||
|
<Connection Source="FB1.OUT" Destination="FB4.IN1" dx1="47.47913" />
|
||||||
|
<Connection Source="FB2.OUT" Destination="FB4.IN2" dx1="47.47913" />
|
||||||
|
<Connection Source="FB3.OUT" Destination="FB4.IN3" dx1="70" />
|
||||||
|
</DataConnections>
|
||||||
|
</SubAppNetwork>
|
||||||
|
</Application>
|
||||||
|
<Device ID="918C0E8F-68A0-45C5-BC4C-6B01AB314895" Name="EcoRT_0" Type="Soft_dPAC" x="700" y="700.0001" Namespace="SE.DPAC">
|
||||||
|
<Resource ID="E22E3DFCFF324CD7" Name="RES0" Type="EMB_RES_ECO" x="800" y="800" Namespace="Runtime.Management">
|
||||||
|
<FBNetwork />
|
||||||
|
</Resource>
|
||||||
|
<FBNetwork />
|
||||||
|
</Device>
|
||||||
|
</System>
|
41
data/training/eae/ds5.sys
Normal file
41
data/training/eae/ds5.sys
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!DOCTYPE System SYSTEM "../LibraryElement.dtd">
|
||||||
|
<System Name="System" Comment="System Configuration">
|
||||||
|
<Attribute Name="System.Device.FolderPath" Value="EcoRT_0" />
|
||||||
|
<Identification Standard="61499-1" />
|
||||||
|
<VersionInfo Organization="Schneider Electric" Version="0.0" Author="Schneider" Date="5/5/2025" />
|
||||||
|
<Application ID="4DADC31F410F6DCF" Name="APP1">
|
||||||
|
<SubAppNetwork>
|
||||||
|
<FB ID="E5BAE00B8693927E" Name="FB1" Type="OR_88A3DD8EC65DD11C" x="380" y="860" Namespace="Main">
|
||||||
|
<Attribute Name="Configuration.GenericFBType.InterfaceParams" Value="Runtime.Standard#CNT:=2;OUT:BOOL" />
|
||||||
|
</FB>
|
||||||
|
<FB ID="92CB2B3F50CF87CD" Name="FB2" Type="NOT_42C76073DCEB1A7A" x="1220" y="860" Namespace="Main">
|
||||||
|
<Attribute Name="Configuration.GenericFBType.InterfaceParams" Value="Runtime.Standard#CNT:=1;OUT${CNT}:BOOL" />
|
||||||
|
</FB>
|
||||||
|
<FB ID="BE94FAE6096BFCB1" Name="FB3" Type="E_SR" x="240" y="160" Namespace="IEC61499.Standard" />
|
||||||
|
<FB ID="A8D5F2816408587E" Name="FB4" Type="AND_88A3DD8EC65DD11C" x="2140" y="560" Namespace="Main">
|
||||||
|
<Attribute Name="Configuration.GenericFBType.InterfaceParams" Value="Runtime.Standard#CNT:=2;OUT:BOOL" />
|
||||||
|
</FB>
|
||||||
|
<EventConnections>
|
||||||
|
<Connection Source="FB1.CNF" Destination="FB2.REQ" />
|
||||||
|
<Connection Source="FB3.EO" Destination="FB4.REQ" dx1="1518.354">
|
||||||
|
<AvoidsNodes>false</AvoidsNodes>
|
||||||
|
</Connection>
|
||||||
|
<Connection Source="FB2.CNF" Destination="FB4.REQ" dx1="50" />
|
||||||
|
</EventConnections>
|
||||||
|
<DataConnections>
|
||||||
|
<Connection Source="FB1.OUT" Destination="FB2.IN1" />
|
||||||
|
<Connection Source="FB2.OUT1" Destination="FB4.IN2" dx1="233.75">
|
||||||
|
<AvoidsNodes>false</AvoidsNodes>
|
||||||
|
</Connection>
|
||||||
|
<Connection Source="FB3.Q" Destination="FB4.IN1" dx1="1288.354" />
|
||||||
|
</DataConnections>
|
||||||
|
</SubAppNetwork>
|
||||||
|
</Application>
|
||||||
|
<Device ID="D8305DC2-4472-4794-ADB5-4B3F0F3DE5F5" Name="EcoRT_0" Type="Soft_dPAC" x="700" y="700.0001" Namespace="SE.DPAC">
|
||||||
|
<Resource ID="EB8430069A65F1E6" Name="RES0" Type="EMB_RES_ECO" x="800" y="800" Namespace="Runtime.Management">
|
||||||
|
<FBNetwork />
|
||||||
|
</Resource>
|
||||||
|
<FBNetwork />
|
||||||
|
</Device>
|
||||||
|
</System>
|
34
data/training/eae/ds7.sys
Normal file
34
data/training/eae/ds7.sys
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!DOCTYPE System SYSTEM "../LibraryElement.dtd">
|
||||||
|
<System Name="System" Comment="System Configuration">
|
||||||
|
<Attribute Name="System.Device.FolderPath" Value="EcoRT_0" />
|
||||||
|
<Identification Standard="61499-1" />
|
||||||
|
<VersionInfo Organization="Schneider Electric" Version="0.0" Author="Schneider" Date="5/5/2025" />
|
||||||
|
<Application ID="DC2BFB16916A07AB" Name="APP1">
|
||||||
|
<SubAppNetwork>
|
||||||
|
<FB ID="E6DCC2E341F3476B" Name="FB1" Type="E_CTU" x="1120" y="100" Namespace="IEC61499.Standard">
|
||||||
|
<Parameter Name="PV" Value="5" />
|
||||||
|
</FB>
|
||||||
|
<FB ID="17CFEBEABFC2C32A" Name="FB2" Type="TON" x="2040" y="700" Namespace="MIT.MITSchneider">
|
||||||
|
<Parameter Name="PT" Value="T#5000ms" />
|
||||||
|
</FB>
|
||||||
|
<FB ID="7429FC5FA47473FB" Name="FB3" Type="E_SR" x="2420" y="380" Namespace="IEC61499.Standard" />
|
||||||
|
<FB ID="B20685B14EEE0734" Name="FB5" Type="E_PERMIT" x="1580" y="140" Namespace="IEC61499.Standard" />
|
||||||
|
<EventConnections>
|
||||||
|
<Connection Source="FB2.Q" Destination="FB1.R" dx1="40.95825" dx2="50" dy="-110" />
|
||||||
|
<Connection Source="FB5.EO" Destination="FB3.R" dx1="47.16675" />
|
||||||
|
<Connection Source="FB5.EO" Destination="FB2.I" dx1="47.16675" dx2="50" dy="290" />
|
||||||
|
<Connection Source="FB1.CUO" Destination="FB5.EI" dx1="60" />
|
||||||
|
</EventConnections>
|
||||||
|
<DataConnections>
|
||||||
|
<Connection Source="FB1.Q" Destination="FB5.PERMIT" dx1="73.5625" />
|
||||||
|
</DataConnections>
|
||||||
|
</SubAppNetwork>
|
||||||
|
</Application>
|
||||||
|
<Device ID="9CB508C9-15B8-4B20-B5CE-DAC002E9C125" Name="EcoRT_0" Type="Soft_dPAC" x="700" y="700.0002" Namespace="SE.DPAC">
|
||||||
|
<Resource ID="A0205FCF4D0C1E6E" Name="RES0" Type="EMB_RES_ECO" x="800" y="800" Namespace="Runtime.Management">
|
||||||
|
<FBNetwork />
|
||||||
|
</Resource>
|
||||||
|
<FBNetwork />
|
||||||
|
</Device>
|
||||||
|
</System>
|
44
data/training/eae/ds8.sys
Normal file
44
data/training/eae/ds8.sys
Normal file
|
@ -0,0 +1,44 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!DOCTYPE System SYSTEM "../LibraryElement.dtd">
|
||||||
|
<System Name="System" Comment="System Configuration">
|
||||||
|
<Attribute Name="System.Device.FolderPath" Value="EcoRT_0" />
|
||||||
|
<Identification Standard="61499-1" />
|
||||||
|
<VersionInfo Organization="Schneider Electric" Version="0.0" Author="Schneider" Date="5/5/2025" />
|
||||||
|
<Application ID="2EE4C921F3117966" Name="APP1">
|
||||||
|
<SubAppNetwork>
|
||||||
|
<FB ID="42F092F25D3553C0" Name="FB1" Type="E_CTU" x="660" y="400" Namespace="IEC61499.Standard" />
|
||||||
|
<FB ID="5925011CA275292B" Name="FB2" Type="E_CTU" x="700" y="1260" Namespace="IEC61499.Standard" />
|
||||||
|
<FB ID="671B99A84A69956B" UID="FB1D5E49B03ED868" Name="FB3" Type="COMPARE_1990CFD1468AAE4A6" x="2560" y="680" Namespace="Main">
|
||||||
|
<Attribute Name="Configuration.GenericFBType.InterfaceParams" Value="Runtime.Standard#CNT:=2;IN${CNT}:LREAL" />
|
||||||
|
<Parameter Name="IN2" Value="10" />
|
||||||
|
</FB>
|
||||||
|
<FB ID="245796B319D8B030" Name="FB4" Type="SUB_1990CFD1468AAE4A6" x="1740" y="780" Namespace="Main">
|
||||||
|
<Attribute Name="Configuration.GenericFBType.InterfaceParams" Value="Runtime.Standard#CNT:=2;IN${CNT}:LREAL" />
|
||||||
|
</FB>
|
||||||
|
<EventConnections>
|
||||||
|
<Connection Source="FB2.CUO" Destination="FB4.REQ" dx1="283.5625">
|
||||||
|
<AvoidsNodes>false</AvoidsNodes>
|
||||||
|
</Connection>
|
||||||
|
<Connection Source="FB1.CUO" Destination="FB4.REQ" dx1="323.5625">
|
||||||
|
<AvoidsNodes>false</AvoidsNodes>
|
||||||
|
</Connection>
|
||||||
|
<Connection Source="FB4.CNF" Destination="FB3.REQ" dx1="50" />
|
||||||
|
</EventConnections>
|
||||||
|
<DataConnections>
|
||||||
|
<Connection Source="FB1.CV" Destination="FB4.IN1" dx1="543.5625">
|
||||||
|
<AvoidsNodes>false</AvoidsNodes>
|
||||||
|
</Connection>
|
||||||
|
<Connection Source="FB2.CV" Destination="FB4.IN2" dx1="483.5625">
|
||||||
|
<AvoidsNodes>false</AvoidsNodes>
|
||||||
|
</Connection>
|
||||||
|
<Connection Source="FB4.OUT" Destination="FB3.IN1" dx1="70" />
|
||||||
|
</DataConnections>
|
||||||
|
</SubAppNetwork>
|
||||||
|
</Application>
|
||||||
|
<Device ID="632B2661-3857-462E-AEC5-4D23AE1DE0CB" Name="EcoRT_0" Type="Soft_dPAC" x="700" y="700" Namespace="SE.DPAC">
|
||||||
|
<Resource ID="CA36C98B15246195" Name="RES0" Type="EMB_RES_ECO" x="800" y="800" Namespace="Runtime.Management">
|
||||||
|
<FBNetwork />
|
||||||
|
</Resource>
|
||||||
|
<FBNetwork />
|
||||||
|
</Device>
|
||||||
|
</System>
|
158
data/training/eae/ds9.sys
Normal file
158
data/training/eae/ds9.sys
Normal file
|
@ -0,0 +1,158 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!DOCTYPE System SYSTEM "../LibraryElement.dtd">
|
||||||
|
<System Name="System" Comment="System Configuration">
|
||||||
|
<Attribute Name="System.Device.FolderPath" Value="EcoRT_0" />
|
||||||
|
<Identification Standard="61499-1" />
|
||||||
|
<VersionInfo Organization="Schneider Electric" Version="0.0" Author="Schneider" Date="5/5/2025" />
|
||||||
|
<Application ID="83CA70B307D13CC1" Name="APP1">
|
||||||
|
<SubAppNetwork>
|
||||||
|
<FB ID="2F73BEAEA18A9F62" Name="FB1" Type="pulse" x="1140" y="240" Namespace="SE.AppBase">
|
||||||
|
<Parameter Name="PulseTime" Value="T#5000ms" />
|
||||||
|
</FB>
|
||||||
|
<FB ID="B2D540E829962CB2" UID="3A5513FE02815032" Name="FB2" Type="COMPARE_1329C2AB45109BAAB" x="160" y="240" Namespace="Main">
|
||||||
|
<Attribute Name="Configuration.GenericFBType.InterfaceParams" Value="Runtime.Standard#CNT:=2;IN${CNT}:REAL" />
|
||||||
|
<Parameter Name="IN2" Value="300" />
|
||||||
|
<Parameter Name="IN1" Value="350" />
|
||||||
|
</FB>
|
||||||
|
<FB ID="99565D2B923CE30C" Name="FB3" Type="E_SR" x="3720" y="660" Namespace="IEC61499.Standard" />
|
||||||
|
<FB ID="E59EFABD5B6F4F93" Name="FB4" Type="E_SR" x="3780" y="1980" Namespace="IEC61499.Standard" />
|
||||||
|
<FB ID="C2A98A51CFCA4758" Name="FB5" Type="E_SR" x="3780" y="1380" Namespace="IEC61499.Standard" />
|
||||||
|
<FB ID="B878CF5E5C04F0B5" Name="FB6" Type="E_CTU" x="1940" y="260" Namespace="IEC61499.Standard">
|
||||||
|
<Parameter Name="PV" Value="5" />
|
||||||
|
</FB>
|
||||||
|
<FB ID="1BF211AC156444F7" UID="539C5D1886704A56" Name="FB7" Type="COMPARE_176240CABF78064B2" x="2580" y="1140" Namespace="Main">
|
||||||
|
<Attribute Name="Configuration.GenericFBType.InterfaceParams" Value="Runtime.Standard#CNT:=2;IN${CNT}:UINT" />
|
||||||
|
<Parameter Name="IN2" Value="2" />
|
||||||
|
</FB>
|
||||||
|
<FB ID="3B0C1681812A7F0B" UID="AC267A83DF02EAC5" Name="FB8" Type="COMPARE_176240CABF78064B2" x="2580" y="1880" Namespace="Main">
|
||||||
|
<Attribute Name="Configuration.GenericFBType.InterfaceParams" Value="Runtime.Standard#CNT:=2;IN${CNT}:UINT" />
|
||||||
|
<Parameter Name="IN2" Value="3" />
|
||||||
|
</FB>
|
||||||
|
<FB ID="75BC4E5D4E28D082" UID="C429D66CE6D44549" Name="FB9" Type="COMPARE_176240CABF78064B2" x="2600" y="460" Namespace="Main">
|
||||||
|
<Attribute Name="Configuration.GenericFBType.InterfaceParams" Value="Runtime.Standard#CNT:=2;IN${CNT}:UINT" />
|
||||||
|
<Parameter Name="IN2" Value="1" />
|
||||||
|
</FB>
|
||||||
|
<FB ID="4605D4D7723B36E6" Name="FB10" Type="E_PERMIT" x="660" y="280" Namespace="IEC61499.Standard" />
|
||||||
|
<FB ID="8A66F07A6A8DA712" Name="FB14" Type="E_PERMIT" x="1000" y="1020" Namespace="IEC61499.Standard" />
|
||||||
|
<FB ID="5BFB52D29CCBBC34" Name="FB15" Type="E_PERMIT" x="3160" y="560" Namespace="IEC61499.Standard" />
|
||||||
|
<FB ID="574B57EA559BEFE9" Name="FB16" Type="E_PERMIT" x="3220" y="1260" Namespace="IEC61499.Standard" />
|
||||||
|
<FB ID="224B4455F6AEDD3A" Name="FB17" Type="E_PERMIT" x="3160" y="1900" Namespace="IEC61499.Standard" />
|
||||||
|
<EventConnections>
|
||||||
|
<Connection Source="FB1.CNF_START" Destination="FB6.CU" dx1="40" />
|
||||||
|
<Connection Source="FB6.CUO" Destination="FB9.REQ" dx1="163.5625">
|
||||||
|
<AvoidsNodes>false</AvoidsNodes>
|
||||||
|
</Connection>
|
||||||
|
<Connection Source="FB6.CUO" Destination="FB7.REQ" dx1="163.5625">
|
||||||
|
<AvoidsNodes>false</AvoidsNodes>
|
||||||
|
</Connection>
|
||||||
|
<Connection Source="FB6.CUO" Destination="FB8.REQ" dx1="60" />
|
||||||
|
<Connection Source="FB2.CNF" Destination="FB10.EI" dx1="69.85416" />
|
||||||
|
<Connection Source="FB10.EO" Destination="FB1.START" dx1="47.16663" />
|
||||||
|
<Connection Source="FB1.CNF_DONE" Destination="FB14.EI" dx1="40" dx2="30" dy="350" />
|
||||||
|
<Connection Source="FB14.EO" Destination="FB2.REQ" dx1="47.16663" dx2="50" dy="380">
|
||||||
|
<AvoidsNodes>false</AvoidsNodes>
|
||||||
|
</Connection>
|
||||||
|
<Connection Source="FB8.CNF" Destination="FB17.EI" dx1="49.85425" />
|
||||||
|
<Connection Source="FB17.EO" Destination="FB4.S" dx1="47.1665" />
|
||||||
|
<Connection Source="FB9.CNF" Destination="FB15.EI" dx1="49.854" />
|
||||||
|
<Connection Source="FB15.EO" Destination="FB3.S" dx1="47.1665" />
|
||||||
|
<Connection Source="FB7.CNF" Destination="FB16.EI" dx1="69.85425" />
|
||||||
|
<Connection Source="FB16.EO" Destination="FB5.S" dx1="47.1665" />
|
||||||
|
</EventConnections>
|
||||||
|
<DataConnections>
|
||||||
|
<Connection Source="FB6.CV" Destination="FB9.IN1" dx1="40" />
|
||||||
|
<Connection Source="FB6.CV" Destination="FB7.IN1" dx1="40" />
|
||||||
|
<Connection Source="FB6.CV" Destination="FB8.IN1" dx1="40" />
|
||||||
|
<Connection Source="FB2.GT" Destination="FB10.PERMIT" dx1="70.00003" />
|
||||||
|
<Connection Source="FB1.PulseActive" Destination="FB14.PERMIT" dx1="40" dx2="70" dy="90" />
|
||||||
|
<Connection Source="FB8.EQ" Destination="FB17.PERMIT" dx1="70" />
|
||||||
|
<Connection Source="FB9.EQ" Destination="FB15.PERMIT" dx1="70" />
|
||||||
|
<Connection Source="FB7.EQ" Destination="FB16.PERMIT" />
|
||||||
|
</DataConnections>
|
||||||
|
</SubAppNetwork>
|
||||||
|
</Application>
|
||||||
|
<Device ID="5AB2FC74-245F-4293-B606-A64D87B252B8" Name="EcoRT_0" Type="Soft_dPAC" x="700" y="700.0001" Namespace="SE.DPAC">
|
||||||
|
<Resource ID="BB5AE2C7F906447E" Name="RES0" Type="EMB_RES_ECO" x="800" y="800" Namespace="Runtime.Management">
|
||||||
|
<FBNetwork>
|
||||||
|
<FB ID="2E58E74C422C2ECA" Name="FB1" Type="pulse" x="1140" y="240" Namespace="SE.AppBase">
|
||||||
|
<Parameter Name="PulseTime" Value="T#5000ms" />
|
||||||
|
</FB>
|
||||||
|
<FB ID="A7A616F7E53420EE" Name="FB2" Type="COMPARE_1329C2AB45109BAAB" x="180" y="240" Namespace="Main">
|
||||||
|
<Attribute Name="Configuration.GenericFBType.InterfaceParams" Value="Runtime.Standard#CNT:=2;IN${CNT}:REAL" />
|
||||||
|
<Parameter Name="IN2" Value="300" />
|
||||||
|
<Parameter Name="IN1" Value="350" />
|
||||||
|
</FB>
|
||||||
|
<FB ID="6591831AF517E0D1" Name="FB3" Type="E_SR" x="3720" y="660" Namespace="IEC61499.Standard" />
|
||||||
|
<FB ID="843D165D205B26B" Name="FB4" Type="E_SR" x="3780" y="1980" Namespace="IEC61499.Standard" />
|
||||||
|
<FB ID="A17B095D85AD3125" Name="FB5" Type="E_SR" x="3780" y="1380" Namespace="IEC61499.Standard" />
|
||||||
|
<FB ID="A0EE6D57AAD837D7" Name="FB6" Type="E_CTU" x="1940" y="260" Namespace="IEC61499.Standard">
|
||||||
|
<Parameter Name="PV" Value="5" />
|
||||||
|
</FB>
|
||||||
|
<FB ID="DE7A0601EA8DDEE" Name="FB7" Type="COMPARE_176240CABF78064B2" x="2580" y="1140" Namespace="Main">
|
||||||
|
<Attribute Name="Configuration.GenericFBType.InterfaceParams" Value="Runtime.Standard#CNT:=2;IN${CNT}:UINT" />
|
||||||
|
<Parameter Name="IN2" Value="2" />
|
||||||
|
</FB>
|
||||||
|
<FB ID="BCCFAC70F889E5C6" Name="FB8" Type="COMPARE_176240CABF78064B2" x="2580" y="1880" Namespace="Main">
|
||||||
|
<Attribute Name="Configuration.GenericFBType.InterfaceParams" Value="Runtime.Standard#CNT:=2;IN${CNT}:UINT" />
|
||||||
|
<Parameter Name="IN2" Value="3" />
|
||||||
|
</FB>
|
||||||
|
<FB ID="CC7073F6520B77C1" Name="FB9" Type="COMPARE_176240CABF78064B2" x="2600" y="460" Namespace="Main">
|
||||||
|
<Attribute Name="Configuration.GenericFBType.InterfaceParams" Value="Runtime.Standard#CNT:=2;IN${CNT}:UINT" />
|
||||||
|
<Parameter Name="IN2" Value="1" />
|
||||||
|
</FB>
|
||||||
|
<FB ID="D8C83B2F27FF6D80" Name="FB10" Type="E_PERMIT" x="660" y="240" Namespace="IEC61499.Standard" />
|
||||||
|
<FB ID="4537476DCC2D7EAF" Name="FB14" Type="E_PERMIT" x="1260" y="880" Namespace="IEC61499.Standard" />
|
||||||
|
<FB ID="25A07D16289B853C" Name="FB15" Type="E_PERMIT" x="3160" y="560" Namespace="IEC61499.Standard" />
|
||||||
|
<FB ID="6359792A01E81AAB" Name="FB16" Type="E_PERMIT" x="3220" y="1260" Namespace="IEC61499.Standard" />
|
||||||
|
<FB ID="E93C7B5582BFA3FB" Name="FB17" Type="E_PERMIT" x="3160" y="1900" Namespace="IEC61499.Standard" />
|
||||||
|
<EventConnections>
|
||||||
|
<Connection Source="FB1.CNF_START" Destination="FB6.CU" dx1="40" />
|
||||||
|
<Connection Source="FB6.CUO" Destination="FB9.REQ" dx1="163.5625">
|
||||||
|
<AvoidsNodes>false</AvoidsNodes>
|
||||||
|
</Connection>
|
||||||
|
<Connection Source="FB6.CUO" Destination="FB7.REQ" dx1="163.5625">
|
||||||
|
<AvoidsNodes>false</AvoidsNodes>
|
||||||
|
</Connection>
|
||||||
|
<Connection Source="FB6.CUO" Destination="FB8.REQ" dx1="60" />
|
||||||
|
<Connection Source="FB2.CNF" Destination="FB10.EI" />
|
||||||
|
<Connection Source="FB10.EO" Destination="FB1.START" />
|
||||||
|
<Connection Source="FB1.CNF_DONE" Destination="FB14.EI" dx1="40" dx2="30" dy="350" />
|
||||||
|
<Connection Source="FB14.EO" Destination="FB2.REQ" dx1="47.16663" dx2="70" dy="380">
|
||||||
|
<AvoidsNodes>false</AvoidsNodes>
|
||||||
|
</Connection>
|
||||||
|
<Connection Source="FB8.CNF" Destination="FB17.EI" dx1="49.85425" />
|
||||||
|
<Connection Source="FB17.EO" Destination="FB4.S" dx1="47.1665" />
|
||||||
|
<Connection Source="FB9.CNF" Destination="FB15.EI" dx1="49.854" />
|
||||||
|
<Connection Source="FB15.EO" Destination="FB3.S" dx1="47.1665" />
|
||||||
|
<Connection Source="FB7.CNF" Destination="FB16.EI" dx1="69.85425" />
|
||||||
|
<Connection Source="FB16.EO" Destination="FB5.S" dx1="47.1665" />
|
||||||
|
</EventConnections>
|
||||||
|
<DataConnections>
|
||||||
|
<Connection Source="FB6.CV" Destination="FB9.IN1" dx1="40" />
|
||||||
|
<Connection Source="FB6.CV" Destination="FB7.IN1" dx1="40" />
|
||||||
|
<Connection Source="FB6.CV" Destination="FB8.IN1" dx1="40" />
|
||||||
|
<Connection Source="FB2.GT" Destination="FB10.PERMIT" dx1="70.00003" />
|
||||||
|
<Connection Source="FB1.PulseActive" Destination="FB14.PERMIT" dx1="40" dx2="70" dy="90" />
|
||||||
|
<Connection Source="FB8.EQ" Destination="FB17.PERMIT" dx1="70" />
|
||||||
|
<Connection Source="FB9.EQ" Destination="FB15.PERMIT" dx1="70" />
|
||||||
|
<Connection Source="FB7.EQ" Destination="FB16.PERMIT" />
|
||||||
|
</DataConnections>
|
||||||
|
</FBNetwork>
|
||||||
|
</Resource>
|
||||||
|
<FBNetwork />
|
||||||
|
</Device>
|
||||||
|
<Mapping From="APP1.FB1" To="EcoRT_0.RES0" />
|
||||||
|
<Mapping From="APP1.FB2" To="EcoRT_0.RES0" />
|
||||||
|
<Mapping From="APP1.FB3" To="EcoRT_0.RES0" />
|
||||||
|
<Mapping From="APP1.FB4" To="EcoRT_0.RES0" />
|
||||||
|
<Mapping From="APP1.FB5" To="EcoRT_0.RES0" />
|
||||||
|
<Mapping From="APP1.FB6" To="EcoRT_0.RES0" />
|
||||||
|
<Mapping From="APP1.FB7" To="EcoRT_0.RES0" />
|
||||||
|
<Mapping From="APP1.FB8" To="EcoRT_0.RES0" />
|
||||||
|
<Mapping From="APP1.FB9" To="EcoRT_0.RES0" />
|
||||||
|
<Mapping From="APP1.FB10" To="EcoRT_0.RES0" />
|
||||||
|
<Mapping From="APP1.FB14" To="EcoRT_0.RES0" />
|
||||||
|
<Mapping From="APP1.FB15" To="EcoRT_0.RES0" />
|
||||||
|
<Mapping From="APP1.FB16" To="EcoRT_0.RES0" />
|
||||||
|
<Mapping From="APP1.FB17" To="EcoRT_0.RES0" />
|
||||||
|
</System>
|
67
data/training/eae/tank.sys
Normal file
67
data/training/eae/tank.sys
Normal file
|
@ -0,0 +1,67 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!DOCTYPE System SYSTEM "../LibraryElement.dtd">
|
||||||
|
<System Name="System" Comment="System Configuration">
|
||||||
|
<Attribute Name="System.Device.FolderPath" Value="EcoRT_0"/>
|
||||||
|
<Identification Standard="61499-1"/>
|
||||||
|
<VersionInfo Organization="Schneider Electric" Version="0.0" Author="Schneider" Date="04/22/2025"/>
|
||||||
|
<Application ID="3AC46A7306E69081" Name="APP1">
|
||||||
|
<SubAppNetwork>
|
||||||
|
<FB ID="68E6801B4DEF7199" Name="FB1" Type="SETQ" x="900" y="580" Namespace="Main"/>
|
||||||
|
<FB ID="5EE9BA6E24DC645F" Name="FB2" Type="E_SR" x="840" y="1260" Namespace="IEC61499.Standard"/>
|
||||||
|
<FB ID="1A354B6451DD04E8" Name="FB3" Type="SETQ" x="2220" y="800" Namespace="Main"/>
|
||||||
|
<FB ID="5D05D66BECAD84FD" Name="FB4" Type="NOT_42C76073DCEB1A7A" x="3300" y="1120" Namespace="Main">
|
||||||
|
<Attribute Name="Configuration.GenericFBType.InterfaceParams" Value="Runtime.Standard#CNT:=1;OUT:BOOL"/>
|
||||||
|
</FB>
|
||||||
|
<FB ID="3DD259825962ABB2" Name="FB5" Type="AND_88A3DD8EC65DD11C" x="1200" y="840" Namespace="Main">
|
||||||
|
<Attribute Name="Configuration.GenericFBType.InterfaceParams" Value="Runtime.Standard#CNT:=2;OUT:BOOL"/>
|
||||||
|
</FB>
|
||||||
|
<FB ID="16FAC2869B9003E4" Name="FB6" Type="AND_88A3DD8EC65DD11C" x="1200" y="1040" Namespace="Main">
|
||||||
|
<Attribute Name="Configuration.GenericFBType.InterfaceParams" Value="Runtime.Standard#CNT:=2;OUT:BOOL"/>
|
||||||
|
</FB>
|
||||||
|
<FB ID="328D5C424342693B" Name="FB7" Type="NOT_42C76073DCEB1A7A" x="740" y="1080" Namespace="Main">
|
||||||
|
<Attribute Name="Configuration.GenericFBType.InterfaceParams" Value="Runtime.Standard#CNT:=1;OUT:BOOL"/>
|
||||||
|
</FB>
|
||||||
|
<EventConnections>
|
||||||
|
<Connection Source="FB1.CNF" Destination="FB7.REQ" dx1="47.47919">
|
||||||
|
<AvoidsNodes>false</AvoidsNodes>
|
||||||
|
</Connection>
|
||||||
|
<Connection Source="FB1.CNF" Destination="FB2.REQ" dx1="47.47919">
|
||||||
|
<AvoidsNodes>false</AvoidsNodes>
|
||||||
|
</Connection>
|
||||||
|
<Connection Source="FB1.CNF" Destination="FB5.REQ" dx1="47.47919">
|
||||||
|
<AvoidsNodes>false</AvoidsNodes>
|
||||||
|
</Connection>
|
||||||
|
<Connection Source="FB4.CNF" Destination="FB5.REQ" dx1="47.47919">
|
||||||
|
<AvoidsNodes>false</AvoidsNodes>
|
||||||
|
</Connection>
|
||||||
|
<Connection Source="FB7.CNF" Destination="FB6.REQ" dx1="47.47919">
|
||||||
|
<AvoidsNodes>false</AvoidsNodes>
|
||||||
|
</Connection>
|
||||||
|
<Connection Source="FB3.CNF" Destination="FB4.REQ" dx1="47.47919">
|
||||||
|
<AvoidsNodes>false</AvoidsNodes>
|
||||||
|
</Connection>
|
||||||
|
<Connection Source="FB3.CNF" Destination="FB2.REQ" dx1="47.47919">
|
||||||
|
<AvoidsNodes>false</AvoidsNodes>
|
||||||
|
</Connection>
|
||||||
|
<Connection Source="FB3.CNF" Destination="FB6.REQ" dx1="47.47919">
|
||||||
|
<AvoidsNodes>false</AvoidsNodes>
|
||||||
|
</Connection>
|
||||||
|
</EventConnections>
|
||||||
|
<DataConnections>
|
||||||
|
<Connection Source="FB1.Q" Destination="FB2.S" dx1="155.0"/>
|
||||||
|
<Connection Source="FB4.Q" Destination="FB5.IN2" dx1="145.0"/>
|
||||||
|
<Connection Source="FB7.Q" Destination="FB6.IN2" dx1="135.0"/>
|
||||||
|
<Connection Source="FB1.Q" Destination="FB5.IN1" dx1="155.0"/>
|
||||||
|
<Connection Source="FB3.Q" Destination="FB4.IN" dx1="47.47919"/>
|
||||||
|
<Connection Source="FB3.Q" Destination="FB6.IN1" dx1="100.0"/>
|
||||||
|
<Connection Source="FB1.Q" Destination="FB7.IN" dx1="90.0"/>
|
||||||
|
</DataConnections>
|
||||||
|
</SubAppNetwork>
|
||||||
|
</Application>
|
||||||
|
<Device ID="5BFDD33A-F1D3-4284-AF5F-95C0E979DB00" Name="EcoRT_0" Type="Soft_dPAC" x="700" y="700" Namespace="SE.DPAC">
|
||||||
|
<Resource ID="BAD2608EB2742024" Name="RES0" Type="EMB_RES_ECO" x="800" y="800" Namespace="Runtime.Management">
|
||||||
|
<FBNetwork/>
|
||||||
|
</Resource>
|
||||||
|
<FBNetwork/>
|
||||||
|
</Device>
|
||||||
|
</System>
|
55
data/training/ece/connection_2.xml
Normal file
55
data/training/ece/connection_2.xml
Normal file
|
@ -0,0 +1,55 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
|
<PGMExchangeFile>
|
||||||
|
<fileHeader company="Schneider Automation" product="Control Expert V15.3 - 230214C" dateTime="date_and_time#2025-4-9-15:33:38" content="Multi Program source file" DTDVersion="41"></fileHeader>
|
||||||
|
<contentHeader name="Project" version="0.0.000"></contentHeader>
|
||||||
|
<logicConf>
|
||||||
|
<resource resName="M580" resIdent="BME P58 3020 04.10">
|
||||||
|
<taskDesc task="MAST" taskType="cyclic" valueType="0" maxExecTime="250">
|
||||||
|
<sectionDesc name="connect" SectionOrder="1"></sectionDesc>
|
||||||
|
</taskDesc>
|
||||||
|
</resource>
|
||||||
|
</logicConf>
|
||||||
|
<program>
|
||||||
|
<identProgram name="connect" type="section" task="MAST" SectionOrder="1"></identProgram>
|
||||||
|
<FBDSource nbRows="24" nbColumns="36">
|
||||||
|
<networkFBD>
|
||||||
|
<FFBBlock instanceName=".1" typeName="ADD" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="26" posY="11"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1" effectiveParameter="C"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2" effectiveParameter="D"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName=".2" typeName="SUB" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="47" posY="17"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2" effectiveParameter="F"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT" effectiveParameter="G"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".1" pinName="OUT">
|
||||||
|
<objPosition posX="32" posY="15"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName=".2" pinName="IN1">
|
||||||
|
<objPosition posX="47" posY="21"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="34" posY="15"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="34" posY="21"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
</networkFBD>
|
||||||
|
</FBDSource>
|
||||||
|
</program>
|
||||||
|
<dataBlock>
|
||||||
|
<variables name="F" typeName="INT"></variables>
|
||||||
|
<variables name="C" typeName="INT"></variables>
|
||||||
|
<variables name="D" typeName="INT"></variables>
|
||||||
|
<variables name="G" typeName="INT"></variables>
|
||||||
|
</dataBlock>
|
||||||
|
</PGMExchangeFile>
|
76
data/training/ece/connection_3.xml
Normal file
76
data/training/ece/connection_3.xml
Normal file
|
@ -0,0 +1,76 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
|
<PGMExchangeFile>
|
||||||
|
<fileHeader company="Schneider Automation" product="Control Expert V15.3 - 230214C" dateTime="date_and_time#2025-4-9-15:37:41" content="Multi Program source file" DTDVersion="41"></fileHeader>
|
||||||
|
<contentHeader name="Project" version="0.0.000"></contentHeader>
|
||||||
|
<logicConf>
|
||||||
|
<resource resName="M580" resIdent="BME P58 3020 04.10">
|
||||||
|
<taskDesc task="MAST" taskType="cyclic" valueType="0" maxExecTime="250">
|
||||||
|
<sectionDesc name="connect" SectionOrder="1"></sectionDesc>
|
||||||
|
</taskDesc>
|
||||||
|
</resource>
|
||||||
|
</logicConf>
|
||||||
|
<program>
|
||||||
|
<identProgram name="connect" type="section" task="MAST" SectionOrder="1"></identProgram>
|
||||||
|
<FBDSource nbRows="24" nbColumns="36">
|
||||||
|
<networkFBD>
|
||||||
|
<FFBBlock instanceName=".1" typeName="AND" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="19" posY="12"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1" effectiveParameter="A"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2" effectiveParameter="B"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName=".2" typeName="OR" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="39" posY="17"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT" effectiveParameter="R"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName=".3" typeName="AND" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="20" posY="25"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1" effectiveParameter="P"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2" effectiveParameter="Q"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".3" pinName="OUT">
|
||||||
|
<objPosition posX="26" posY="29"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName=".2" pinName="IN2">
|
||||||
|
<objPosition posX="39" posY="22"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="28" posY="29"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="28" posY="22"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".1" pinName="OUT">
|
||||||
|
<objPosition posX="25" posY="16"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName=".2" pinName="IN1">
|
||||||
|
<objPosition posX="39" posY="21"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="27" posY="16"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="27" posY="21"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
</networkFBD>
|
||||||
|
</FBDSource>
|
||||||
|
</program>
|
||||||
|
<dataBlock>
|
||||||
|
<variables name="R" typeName="BOOL"></variables>
|
||||||
|
<variables name="Q" typeName="BOOL"></variables>
|
||||||
|
<variables name="A" typeName="BOOL"></variables>
|
||||||
|
<variables name="B" typeName="BOOL"></variables>
|
||||||
|
<variables name="P" typeName="BOOL"></variables>
|
||||||
|
</dataBlock>
|
||||||
|
</PGMExchangeFile>
|
90
data/training/ece/connection_4.xml
Normal file
90
data/training/ece/connection_4.xml
Normal file
|
@ -0,0 +1,90 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
|
<FBDExchangeFile>
|
||||||
|
<fileHeader company="Schneider Automation" product="Control Expert V15.3 - 230214C" dateTime="date_and_time#2025-4-9-15:42:53" content="Derived Function Block source file" DTDVersion="41"></fileHeader>
|
||||||
|
<contentHeader name="Project" version="0.0.000"></contentHeader>
|
||||||
|
<program>
|
||||||
|
<identProgram name="test" type="section" task="MAST" SectionOrder="1"></identProgram>
|
||||||
|
<FBDSource nbRows="24" nbColumns="36">
|
||||||
|
<networkFBD>
|
||||||
|
<FFBBlock instanceName=".1" typeName="ADD" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="19" posY="10"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1" effectiveParameter="A"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2" effectiveParameter="B"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName=".2" typeName="SUB" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="18" posY="23"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1" effectiveParameter="C"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2" effectiveParameter="D"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName=".3" typeName="MUL" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="39" posY="13"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName=".4" typeName="DIV" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="53" posY="19"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2" effectiveParameter="E"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT" effectiveParameter="F"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".3" pinName="OUT">
|
||||||
|
<objPosition posX="45" posY="17"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName=".4" pinName="IN1">
|
||||||
|
<objPosition posX="53" posY="23"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="47" posY="17"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="47" posY="23"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".1" pinName="OUT">
|
||||||
|
<objPosition posX="25" posY="14"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName=".3" pinName="IN1">
|
||||||
|
<objPosition posX="39" posY="17"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="27" posY="14"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="27" posY="17"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".2" pinName="OUT">
|
||||||
|
<objPosition posX="24" posY="27"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName=".3" pinName="IN2">
|
||||||
|
<objPosition posX="39" posY="18"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="26" posY="27"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="26" posY="18"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
</networkFBD>
|
||||||
|
</FBDSource>
|
||||||
|
</program>
|
||||||
|
<dataBlock>
|
||||||
|
<variables name="E" typeName="REAL"></variables>
|
||||||
|
<variables name="C" typeName="REAL"></variables>
|
||||||
|
<variables name="D" typeName="REAL"></variables>
|
||||||
|
<variables name="F" typeName="REAL"></variables>
|
||||||
|
<variables name="B" typeName="REAL"></variables>
|
||||||
|
<variables name="A" typeName="REAL"></variables>
|
||||||
|
</dataBlock>
|
||||||
|
</FBDExchangeFile>
|
68
data/training/ece/ds1.xml
Normal file
68
data/training/ece/ds1.xml
Normal file
|
@ -0,0 +1,68 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
|
<FBDExchangeFile>
|
||||||
|
<fileHeader company="Schneider Automation" product="Control Expert V15.3 - 230214C" dateTime="date_and_time#2025-5-2-16:14:56" content="Derived Function Block source file" DTDVersion="41"></fileHeader>
|
||||||
|
<contentHeader name="Project" version="0.0.5" dateTime="date_and_time#2025-3-18-15:21:30"></contentHeader>
|
||||||
|
<program>
|
||||||
|
<identProgram name="ds1" type="section" task="MAST" SectionOrder="5"></identProgram>
|
||||||
|
<FBDSource nbRows="24" nbColumns="36">
|
||||||
|
<networkFBD>
|
||||||
|
<FFBBlock instanceName=".1" typeName="NOT" additionnalPinNumber="0" enEnO="false" width="7" height="5">
|
||||||
|
<objPosition posX="19" posY="14"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN" effectiveParameter="Fault"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName=".2" typeName="AND" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="34" posY="17"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2" effectiveParameter="start_PB"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName="SR_1" typeName="SR" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="53" posY="21"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="S1"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="R" effectiveParameter="stop_PB"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="Q1" effectiveParameter="Motor"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".1" pinName="OUT">
|
||||||
|
<objPosition posX="25" posY="18"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName=".2" pinName="IN1">
|
||||||
|
<objPosition posX="34" posY="21"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="27" posY="18"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="27" posY="21"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".2" pinName="OUT">
|
||||||
|
<objPosition posX="40" posY="21"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName="SR_1" pinName="S1">
|
||||||
|
<objPosition posX="53" posY="25"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="42" posY="21"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="42" posY="25"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
</networkFBD>
|
||||||
|
</FBDSource>
|
||||||
|
</program>
|
||||||
|
<dataBlock>
|
||||||
|
<variables name="Motor" typeName="BOOL"></variables>
|
||||||
|
<variables name="Start_PB" typeName="BOOL"></variables>
|
||||||
|
<variables name="Fault" typeName="BOOL"></variables>
|
||||||
|
<variables name="SR_1" typeName="SR"></variables>
|
||||||
|
<variables name="stop_PB" typeName="BOOL"></variables>
|
||||||
|
</dataBlock>
|
||||||
|
</FBDExchangeFile>
|
49
data/training/ece/ds2.xml
Normal file
49
data/training/ece/ds2.xml
Normal file
|
@ -0,0 +1,49 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
|
<FBDExchangeFile>
|
||||||
|
<fileHeader company="Schneider Automation" product="Control Expert V15.3 - 230214C" dateTime="date_and_time#2025-5-2-16:15:14" content="Derived Function Block source file" DTDVersion="41"></fileHeader>
|
||||||
|
<contentHeader name="Project" version="0.0.5" dateTime="date_and_time#2025-3-18-15:21:30"></contentHeader>
|
||||||
|
<program>
|
||||||
|
<identProgram name="ds2" type="section" task="MAST" SectionOrder="6"></identProgram>
|
||||||
|
<FBDSource nbRows="24" nbColumns="36">
|
||||||
|
<networkFBD>
|
||||||
|
<FFBBlock instanceName=".1" typeName="AND" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="25" posY="17"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1" effectiveParameter="MD"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2" effectiveParameter="LS"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName="TON_2" typeName="TON" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="39" posY="22"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="PT" effectiveParameter="T#10s"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="Q" effectiveParameter="light"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ET"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".1" pinName="OUT">
|
||||||
|
<objPosition posX="31" posY="21"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName="TON_2" pinName="IN">
|
||||||
|
<objPosition posX="39" posY="26"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="33" posY="21"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="33" posY="26"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
</networkFBD>
|
||||||
|
</FBDSource>
|
||||||
|
</program>
|
||||||
|
<dataBlock>
|
||||||
|
<variables name="LS" typeName="BOOL"></variables>
|
||||||
|
<variables name="MD" typeName="BOOL"></variables>
|
||||||
|
<variables name="light" typeName="BOOL"></variables>
|
||||||
|
<variables name="TON_2" typeName="TON"></variables>
|
||||||
|
</dataBlock>
|
||||||
|
</FBDExchangeFile>
|
89
data/training/ece/ds4.xml
Normal file
89
data/training/ece/ds4.xml
Normal file
|
@ -0,0 +1,89 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
|
<FBDExchangeFile>
|
||||||
|
<fileHeader company="Schneider Automation" product="Control Expert V15.3 - 230214C" dateTime="date_and_time#2025-5-2-16:15:31" content="Derived Function Block source file" DTDVersion="41"></fileHeader>
|
||||||
|
<contentHeader name="Project" version="0.0.5" dateTime="date_and_time#2025-3-18-15:21:30"></contentHeader>
|
||||||
|
<program>
|
||||||
|
<identProgram name="ds4" type="section" task="MAST" SectionOrder="8"></identProgram>
|
||||||
|
<FBDSource nbRows="24" nbColumns="36">
|
||||||
|
<networkFBD>
|
||||||
|
<FFBBlock instanceName=".1" typeName="AND" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="28" posY="11"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1" effectiveParameter="s1"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2" effectiveParameter="s2"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName=".2" typeName="AND" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="28" posY="20"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1" effectiveParameter="s2"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2" effectiveParameter="s3"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName=".3" typeName="AND" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="28" posY="29"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1" effectiveParameter="s1"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2" effectiveParameter="s3"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName=".4" typeName="OR" additionnalPinNumber="1" enEnO="false" width="7" height="7">
|
||||||
|
<objPosition posX="47" posY="18"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN3"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT" effectiveParameter="final_out"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".2" pinName="OUT">
|
||||||
|
<objPosition posX="34" posY="24"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName=".4" pinName="IN2">
|
||||||
|
<objPosition posX="47" posY="23"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="36" posY="24"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="36" posY="23"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".3" pinName="OUT">
|
||||||
|
<objPosition posX="34" posY="33"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName=".4" pinName="IN3">
|
||||||
|
<objPosition posX="47" posY="24"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="37" posY="33"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="37" posY="24"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".1" pinName="OUT">
|
||||||
|
<objPosition posX="34" posY="15"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName=".4" pinName="IN1">
|
||||||
|
<objPosition posX="47" posY="22"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="36" posY="15"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="36" posY="22"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
</networkFBD>
|
||||||
|
</FBDSource>
|
||||||
|
</program>
|
||||||
|
<dataBlock>
|
||||||
|
<variables name="final_out" typeName="BOOL"></variables>
|
||||||
|
<variables name="s2" typeName="BOOL"></variables>
|
||||||
|
<variables name="s3" typeName="BOOL"></variables>
|
||||||
|
<variables name="s1" typeName="BOOL"></variables>
|
||||||
|
</dataBlock>
|
||||||
|
</FBDExchangeFile>
|
87
data/training/ece/ds5.xml
Normal file
87
data/training/ece/ds5.xml
Normal file
|
@ -0,0 +1,87 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
|
<FBDExchangeFile>
|
||||||
|
<fileHeader company="Schneider Automation" product="Control Expert V15.3 - 230214C" dateTime="date_and_time#2025-5-2-16:15:38" content="Derived Function Block source file" DTDVersion="41"></fileHeader>
|
||||||
|
<contentHeader name="Project" version="0.0.5" dateTime="date_and_time#2025-3-18-15:21:30"></contentHeader>
|
||||||
|
<program>
|
||||||
|
<identProgram name="ds5" type="section" task="MAST" SectionOrder="9"></identProgram>
|
||||||
|
<FBDSource nbRows="24" nbColumns="36">
|
||||||
|
<networkFBD>
|
||||||
|
<FFBBlock instanceName="SR_7" typeName="SR" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="25" posY="14"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="S1" effectiveParameter="Start"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="R" effectiveParameter="stop"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="Q1"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName=".1" typeName="AND" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="40" posY="24"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT" effectiveParameter="Move"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName=".2" typeName="OR" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="14" posY="29"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1" effectiveParameter="overload"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2" effectiveParameter="door_open"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName=".3" typeName="NOT" additionnalPinNumber="0" enEnO="false" width="7" height="5">
|
||||||
|
<objPosition posX="27" posY="29"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".2" pinName="OUT">
|
||||||
|
<objPosition posX="20" posY="33"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName=".3" pinName="IN">
|
||||||
|
<objPosition posX="27" posY="33"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
</linkFB>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".3" pinName="OUT">
|
||||||
|
<objPosition posX="33" posY="33"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName=".1" pinName="IN2">
|
||||||
|
<objPosition posX="40" posY="29"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="35" posY="33"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="35" posY="29"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName="SR_7" pinName="Q1">
|
||||||
|
<objPosition posX="31" posY="18"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName=".1" pinName="IN1">
|
||||||
|
<objPosition posX="40" posY="28"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="39" posY="18"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="39" posY="28"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
</networkFBD>
|
||||||
|
</FBDSource>
|
||||||
|
</program>
|
||||||
|
<dataBlock>
|
||||||
|
<variables name="Move" typeName="BOOL"></variables>
|
||||||
|
<variables name="stop" typeName="BOOL"></variables>
|
||||||
|
<variables name="SR_7" typeName="SR"></variables>
|
||||||
|
<variables name="door_open" typeName="BOOL"></variables>
|
||||||
|
<variables name="Start" typeName="BOOL"></variables>
|
||||||
|
<variables name="overload" typeName="BOOL"></variables>
|
||||||
|
</dataBlock>
|
||||||
|
</FBDExchangeFile>
|
85
data/training/ece/ds7.xml
Normal file
85
data/training/ece/ds7.xml
Normal file
|
@ -0,0 +1,85 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
|
<FBDExchangeFile>
|
||||||
|
<fileHeader company="Schneider Automation" product="Control Expert V15.3 - 230214C" dateTime="date_and_time#2025-5-2-16:15:50" content="Derived Function Block source file" DTDVersion="41"></fileHeader>
|
||||||
|
<contentHeader name="Project" version="0.0.5" dateTime="date_and_time#2025-3-18-15:21:30"></contentHeader>
|
||||||
|
<program>
|
||||||
|
<identProgram name="ds7" type="section" task="MAST" SectionOrder="11"></identProgram>
|
||||||
|
<FBDSource nbRows="24" nbColumns="36">
|
||||||
|
<networkFBD>
|
||||||
|
<FFBBlock instanceName="CTU_2" typeName="CTU" additionnalPinNumber="0" enEnO="false" width="7" height="7">
|
||||||
|
<objPosition posX="30" posY="20"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="CU" effectiveParameter="s1"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="R"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="PV" effectiveParameter="5"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="Q"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="CV"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName="TON_3" typeName="TON" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="56" posY="23"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="PT" effectiveParameter="t#5s"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="Q"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ET"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName="SR_12" typeName="SR" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="51" posY="13"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="S1" effectiveParameter="start"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="R"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="Q1" effectiveParameter="motor"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName="TON_3" pinName="Q">
|
||||||
|
<objPosition posX="62" posY="27"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName="CTU_2" pinName="R">
|
||||||
|
<objPosition posX="30" posY="25"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="64" posY="27"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="64" posY="32"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="29" posY="32"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="29" posY="25"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName="CTU_2" pinName="Q">
|
||||||
|
<objPosition posX="36" posY="24"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName="SR_12" pinName="R">
|
||||||
|
<objPosition posX="51" posY="18"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="38" posY="24"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="38" posY="18"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName="CTU_2" pinName="Q">
|
||||||
|
<objPosition posX="36" posY="24"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName="TON_3" pinName="IN">
|
||||||
|
<objPosition posX="56" posY="27"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="47" posY="24"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="47" posY="27"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
</networkFBD>
|
||||||
|
</FBDSource>
|
||||||
|
</program>
|
||||||
|
<dataBlock>
|
||||||
|
<variables name="SR_12" typeName="SR"></variables>
|
||||||
|
<variables name="Motor" typeName="BOOL"></variables>
|
||||||
|
<variables name="Start" typeName="BOOL"></variables>
|
||||||
|
<variables name="TON_3" typeName="TON"></variables>
|
||||||
|
<variables name="CTU_2" typeName="CTU"></variables>
|
||||||
|
<variables name="s1" typeName="BOOL"></variables>
|
||||||
|
</dataBlock>
|
||||||
|
</FBDExchangeFile>
|
93
data/training/ece/ds8.xml
Normal file
93
data/training/ece/ds8.xml
Normal file
|
@ -0,0 +1,93 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
|
<FBDExchangeFile>
|
||||||
|
<fileHeader company="Schneider Automation" product="Control Expert V15.3 - 230214C" dateTime="date_and_time#2025-5-2-16:16:8" content="Derived Function Block source file" DTDVersion="41"></fileHeader>
|
||||||
|
<contentHeader name="Project" version="0.0.5" dateTime="date_and_time#2025-3-18-15:21:30"></contentHeader>
|
||||||
|
<program>
|
||||||
|
<identProgram name="ds8" type="section" task="MAST" SectionOrder="12"></identProgram>
|
||||||
|
<FBDSource nbRows="24" nbColumns="36">
|
||||||
|
<networkFBD>
|
||||||
|
<FFBBlock instanceName="CTU_3" typeName="CTU" additionnalPinNumber="0" enEnO="false" width="7" height="7">
|
||||||
|
<objPosition posX="32" posY="14"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="CU" effectiveParameter="enter"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="R"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="PV" effectiveParameter="100"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="Q"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="CV"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName="CTU_4" typeName="CTU" additionnalPinNumber="0" enEnO="false" width="7" height="7">
|
||||||
|
<objPosition posX="32" posY="27"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="CU" effectiveParameter="exist"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="R"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="PV" effectiveParameter="100"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="Q"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="CV"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName=".1" typeName="SUB" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="46" posY="20"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName=".2" typeName="EQ" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="63" posY="26"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2" effectiveParameter="10"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT" effectiveParameter="full"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName="CTU_4" pinName="CV">
|
||||||
|
<objPosition posX="38" posY="33"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName=".1" pinName="IN2">
|
||||||
|
<objPosition posX="46" posY="25"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="45" posY="33"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="45" posY="25"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName="CTU_3" pinName="CV">
|
||||||
|
<objPosition posX="38" posY="20"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName=".1" pinName="IN1">
|
||||||
|
<objPosition posX="46" posY="24"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="40" posY="20"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="40" posY="24"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".1" pinName="OUT">
|
||||||
|
<objPosition posX="52" posY="24"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName=".2" pinName="IN1">
|
||||||
|
<objPosition posX="63" posY="30"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="54" posY="24"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="54" posY="30"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
</networkFBD>
|
||||||
|
</FBDSource>
|
||||||
|
</program>
|
||||||
|
<dataBlock>
|
||||||
|
<variables name="full" typeName="BOOL"></variables>
|
||||||
|
<variables name="exist" typeName="BOOL"></variables>
|
||||||
|
<variables name="CTU_4" typeName="CTU"></variables>
|
||||||
|
<variables name="enter" typeName="BOOL"></variables>
|
||||||
|
<variables name="CTU_3" typeName="CTU"></variables>
|
||||||
|
</dataBlock>
|
||||||
|
</FBDExchangeFile>
|
189
data/training/ece/ds9.xml
Normal file
189
data/training/ece/ds9.xml
Normal file
|
@ -0,0 +1,189 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
|
<FBDExchangeFile>
|
||||||
|
<fileHeader company="Schneider Automation" product="Control Expert V15.3 - 230214C" dateTime="date_and_time#2025-5-2-16:16:12" content="Derived Function Block source file" DTDVersion="41"></fileHeader>
|
||||||
|
<contentHeader name="Project" version="0.0.5" dateTime="date_and_time#2025-3-18-15:21:30"></contentHeader>
|
||||||
|
<program>
|
||||||
|
<identProgram name="ds9" type="section" task="MAST" SectionOrder="13"></identProgram>
|
||||||
|
<FBDSource nbRows="24" nbColumns="36">
|
||||||
|
<networkFBD>
|
||||||
|
<FFBBlock instanceName=".1" typeName="GT" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="22" posY="17"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1" effectiveParameter="power_usage"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2" effectiveParameter="300.0"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName="TP_0" typeName="TP" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="37" posY="17"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="PT" effectiveParameter="T#5s"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="Q"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ET"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName="CTU_5" typeName="CTU" additionnalPinNumber="0" enEnO="false" width="7" height="7">
|
||||||
|
<objPosition posX="60" posY="20"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="CU"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="R"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="PV"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="Q"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="CV"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName=".2" typeName="EQ" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="74" posY="17"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2" effectiveParameter="1"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName=".3" typeName="EQ" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="74" posY="25"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2" effectiveParameter="2"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName=".4" typeName="EQ" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="74" posY="34"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2" effectiveParameter="3"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName="SR_13" typeName="SR" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="90" posY="17"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="S1"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="R" effectiveParameter="reset"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="Q1" effectiveParameter="load1"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName="SR_14" typeName="SR" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="90" posY="25"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="S1"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="R" effectiveParameter="reset"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="Q1" effectiveParameter="load2"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName="SR_15" typeName="SR" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="92" posY="34"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="S1"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="R" effectiveParameter="reset"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="Q1" effectiveParameter="load3"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName="TP_0" pinName="Q">
|
||||||
|
<objPosition posX="43" posY="21"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName="CTU_5" pinName="CU">
|
||||||
|
<objPosition posX="60" posY="24"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="52" posY="21"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="52" posY="24"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".4" pinName="OUT">
|
||||||
|
<objPosition posX="80" posY="38"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName="SR_15" pinName="S1">
|
||||||
|
<objPosition posX="92" posY="38"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
</linkFB>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName="CTU_5" pinName="CV">
|
||||||
|
<objPosition posX="66" posY="26"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName=".3" pinName="IN1">
|
||||||
|
<objPosition posX="74" posY="29"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="71" posY="26"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="71" posY="29"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".2" pinName="OUT">
|
||||||
|
<objPosition posX="80" posY="21"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName="SR_13" pinName="S1">
|
||||||
|
<objPosition posX="90" posY="21"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
</linkFB>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName="CTU_5" pinName="CV">
|
||||||
|
<objPosition posX="66" posY="26"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName=".4" pinName="IN1">
|
||||||
|
<objPosition posX="74" posY="38"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="68" posY="26"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="68" posY="38"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName="CTU_5" pinName="CV">
|
||||||
|
<objPosition posX="66" posY="26"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName=".2" pinName="IN1">
|
||||||
|
<objPosition posX="74" posY="21"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="68" posY="26"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="68" posY="21"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".3" pinName="OUT">
|
||||||
|
<objPosition posX="80" posY="29"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName="SR_14" pinName="S1">
|
||||||
|
<objPosition posX="90" posY="29"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
</linkFB>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".1" pinName="OUT">
|
||||||
|
<objPosition posX="28" posY="21"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName="TP_0" pinName="IN">
|
||||||
|
<objPosition posX="37" posY="21"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
</linkFB>
|
||||||
|
</networkFBD>
|
||||||
|
</FBDSource>
|
||||||
|
</program>
|
||||||
|
<dataBlock>
|
||||||
|
<variables name="SR_15" typeName="SR"></variables>
|
||||||
|
<variables name="power_usage" typeName="REAL"></variables>
|
||||||
|
<variables name="SR_13" typeName="SR"></variables>
|
||||||
|
<variables name="CTU_5" typeName="CTU"></variables>
|
||||||
|
<variables name="reset" typeName="BOOL"></variables>
|
||||||
|
<variables name="load2" typeName="BOOL"></variables>
|
||||||
|
<variables name="Load1" typeName="BOOL"></variables>
|
||||||
|
<variables name="load3" typeName="BOOL"></variables>
|
||||||
|
<variables name="TP_0" typeName="TP"></variables>
|
||||||
|
<variables name="SR_14" typeName="SR"></variables>
|
||||||
|
</dataBlock>
|
||||||
|
</FBDExchangeFile>
|
206
data/training/ece/tank.xml
Normal file
206
data/training/ece/tank.xml
Normal file
|
@ -0,0 +1,206 @@
|
||||||
|
<FBDExchangeFile>
|
||||||
|
<fileHeader
|
||||||
|
company="Schneider Automation"
|
||||||
|
product="Control Expert V15.3 - 230214C"
|
||||||
|
dateTime="date_and_time#2025-4-22-16:3:6"
|
||||||
|
content="Derived Function Block source file"
|
||||||
|
DTDVersion="41"
|
||||||
|
/>
|
||||||
|
|
||||||
|
<contentHeader
|
||||||
|
name="Project"
|
||||||
|
version="0.0.5"
|
||||||
|
dateTime="date_and_time#2025-3-18-15:21:30"
|
||||||
|
/>
|
||||||
|
|
||||||
|
<program>
|
||||||
|
<identProgram
|
||||||
|
name="a1"
|
||||||
|
type="section"
|
||||||
|
task="MAST"
|
||||||
|
SectionOrder="4"
|
||||||
|
/>
|
||||||
|
|
||||||
|
<FBDSource nbRows="24" nbColumns="36">
|
||||||
|
<networkFBD>
|
||||||
|
|
||||||
|
<!-- SET Block - lowlevel -->
|
||||||
|
<FFBBlock instanceName=".1" typeName="SET" additionnalPinNumber="0" enEnO="false" width="7" height="5">
|
||||||
|
<objPosition posX="10" posY="10" />
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN" />
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO" />
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT" />
|
||||||
|
</descriptionFFB>
|
||||||
|
<comment>lowlevel</comment>
|
||||||
|
</FFBBlock>
|
||||||
|
|
||||||
|
<!-- SR Block -->
|
||||||
|
<FFBBlock instanceName="FB2" typeName="SR" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="33" posY="12" />
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN" />
|
||||||
|
<inputVariable invertedPin="false" formalParameter="S1" />
|
||||||
|
<inputVariable invertedPin="false" formalParameter="R" />
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO" />
|
||||||
|
<outputVariable invertedPin="false" formalParameter="Q1" effectiveParameter="pump" />
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
|
||||||
|
<!-- SET Block - Highlevel -->
|
||||||
|
<FFBBlock instanceName=".2" typeName="SET" additionnalPinNumber="0" enEnO="false" width="7" height="5">
|
||||||
|
<objPosition posX="10" posY="20" />
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN" />
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO" />
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT" />
|
||||||
|
</descriptionFFB>
|
||||||
|
<comment>Highlevel</comment>
|
||||||
|
</FFBBlock>
|
||||||
|
|
||||||
|
<!-- NOT Block -->
|
||||||
|
<FFBBlock instanceName=".3" typeName="NOT" additionnalPinNumber="0" enEnO="false" width="7" height="5">
|
||||||
|
<objPosition posX="21" posY="20" />
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN" />
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN" />
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO" />
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT" />
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
|
||||||
|
<!-- AND Block - low_alarm -->
|
||||||
|
<FFBBlock instanceName=".4" typeName="AND" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="35" posY="27" />
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN" />
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1" />
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2" />
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO" />
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT" effectiveParameter="low_alarm" />
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
|
||||||
|
<!-- AND Block - high_alarm -->
|
||||||
|
<FFBBlock instanceName=".5" typeName="AND" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="35" posY="37" />
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN" />
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1" />
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2" />
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO" />
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT" effectiveParameter="high_alarm" />
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
|
||||||
|
<!-- NOT Block -->
|
||||||
|
<FFBBlock instanceName=".6" typeName="NOT" additionnalPinNumber="0" enEnO="false" width="7" height="5">
|
||||||
|
<objPosition posX="12" posY="39" />
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN" />
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN" />
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO" />
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT" />
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
|
||||||
|
<!-- Links -->
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".1" pinName="OUT">
|
||||||
|
<objPosition posX="16" posY="14" />
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName="FB2" pinName="S1">
|
||||||
|
<objPosition posX="33" posY="16" />
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="31" posY="14" />
|
||||||
|
<gridObjPosition posX="31" posY="16" />
|
||||||
|
</linkFB>
|
||||||
|
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".3" pinName="OUT">
|
||||||
|
<objPosition posX="27" posY="24" />
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName=".4" pinName="IN2">
|
||||||
|
<objPosition posX="35" posY="32" />
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="29" posY="24" />
|
||||||
|
<gridObjPosition posX="29" posY="32" />
|
||||||
|
</linkFB>
|
||||||
|
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".6" pinName="OUT">
|
||||||
|
<objPosition posX="18" posY="43" />
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName=".5" pinName="IN2">
|
||||||
|
<objPosition posX="35" posY="42" />
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="27" posY="43" />
|
||||||
|
<gridObjPosition posX="27" posY="42" />
|
||||||
|
</linkFB>
|
||||||
|
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".1" pinName="OUT">
|
||||||
|
<objPosition posX="16" posY="14" />
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName=".4" pinName="IN1">
|
||||||
|
<objPosition posX="35" posY="31" />
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="31" posY="14" />
|
||||||
|
<gridObjPosition posX="31" posY="31" />
|
||||||
|
</linkFB>
|
||||||
|
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".2" pinName="OUT">
|
||||||
|
<objPosition posX="16" posY="24" />
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName="FB2" pinName="R">
|
||||||
|
<objPosition posX="33" posY="17" />
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="18" posY="24" />
|
||||||
|
<gridObjPosition posX="18" posY="17" />
|
||||||
|
</linkFB>
|
||||||
|
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".2" pinName="OUT">
|
||||||
|
<objPosition posX="16" posY="24" />
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName=".3" pinName="IN">
|
||||||
|
<objPosition posX="21" posY="24" />
|
||||||
|
</linkDestination>
|
||||||
|
</linkFB>
|
||||||
|
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".2" pinName="OUT">
|
||||||
|
<objPosition posX="16" posY="24" />
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName=".5" pinName="IN1">
|
||||||
|
<objPosition posX="35" posY="41" />
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="20" posY="24" />
|
||||||
|
<gridObjPosition posX="20" posY="41" />
|
||||||
|
</linkFB>
|
||||||
|
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".1" pinName="OUT">
|
||||||
|
<objPosition posX="16" posY="14" />
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName=".6" pinName="IN">
|
||||||
|
<objPosition posX="12" posY="43" />
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="18" posY="14" />
|
||||||
|
<gridObjPosition posX="18" posY="16" />
|
||||||
|
<gridObjPosition posX="8" posY="16" />
|
||||||
|
<gridObjPosition posX="8" posY="43" />
|
||||||
|
</linkFB>
|
||||||
|
|
||||||
|
</networkFBD>
|
||||||
|
</FBDSource>
|
||||||
|
</program>
|
||||||
|
|
||||||
|
<dataBlock>
|
||||||
|
<variables name="high_alarm" typeName="BOOL" />
|
||||||
|
<variables name="FB2" typeName="SR" />
|
||||||
|
<variables name="low_alarm" typeName="BOOL" />
|
||||||
|
<variables name="pump" typeName="BOOL" />
|
||||||
|
</dataBlock>
|
||||||
|
</FBDExchangeFile>
|
44
data/training_dataset/test/eae/ds8.sys
Normal file
44
data/training_dataset/test/eae/ds8.sys
Normal file
|
@ -0,0 +1,44 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!DOCTYPE System SYSTEM "../LibraryElement.dtd">
|
||||||
|
<System Name="System" Comment="System Configuration">
|
||||||
|
<Attribute Name="System.Device.FolderPath" Value="EcoRT_0" />
|
||||||
|
<Identification Standard="61499-1" />
|
||||||
|
<VersionInfo Organization="Schneider Electric" Version="0.0" Author="Schneider" Date="5/5/2025" />
|
||||||
|
<Application ID="2EE4C921F3117966" Name="APP1">
|
||||||
|
<SubAppNetwork>
|
||||||
|
<FB ID="42F092F25D3553C0" Name="FB1" Type="E_CTU" x="660" y="400" Namespace="IEC61499.Standard" />
|
||||||
|
<FB ID="5925011CA275292B" Name="FB2" Type="E_CTU" x="700" y="1260" Namespace="IEC61499.Standard" />
|
||||||
|
<FB ID="671B99A84A69956B" UID="FB1D5E49B03ED868" Name="FB3" Type="COMPARE_1990CFD1468AAE4A6" x="2560" y="680" Namespace="Main">
|
||||||
|
<Attribute Name="Configuration.GenericFBType.InterfaceParams" Value="Runtime.Standard#CNT:=2;IN${CNT}:LREAL" />
|
||||||
|
<Parameter Name="IN2" Value="10" />
|
||||||
|
</FB>
|
||||||
|
<FB ID="245796B319D8B030" Name="FB4" Type="SUB_1990CFD1468AAE4A6" x="1740" y="780" Namespace="Main">
|
||||||
|
<Attribute Name="Configuration.GenericFBType.InterfaceParams" Value="Runtime.Standard#CNT:=2;IN${CNT}:LREAL" />
|
||||||
|
</FB>
|
||||||
|
<EventConnections>
|
||||||
|
<Connection Source="FB2.CUO" Destination="FB4.REQ" dx1="283.5625">
|
||||||
|
<AvoidsNodes>false</AvoidsNodes>
|
||||||
|
</Connection>
|
||||||
|
<Connection Source="FB1.CUO" Destination="FB4.REQ" dx1="323.5625">
|
||||||
|
<AvoidsNodes>false</AvoidsNodes>
|
||||||
|
</Connection>
|
||||||
|
<Connection Source="FB4.CNF" Destination="FB3.REQ" dx1="50" />
|
||||||
|
</EventConnections>
|
||||||
|
<DataConnections>
|
||||||
|
<Connection Source="FB1.CV" Destination="FB4.IN1" dx1="543.5625">
|
||||||
|
<AvoidsNodes>false</AvoidsNodes>
|
||||||
|
</Connection>
|
||||||
|
<Connection Source="FB2.CV" Destination="FB4.IN2" dx1="483.5625">
|
||||||
|
<AvoidsNodes>false</AvoidsNodes>
|
||||||
|
</Connection>
|
||||||
|
<Connection Source="FB4.OUT" Destination="FB3.IN1" dx1="70" />
|
||||||
|
</DataConnections>
|
||||||
|
</SubAppNetwork>
|
||||||
|
</Application>
|
||||||
|
<Device ID="632B2661-3857-462E-AEC5-4D23AE1DE0CB" Name="EcoRT_0" Type="Soft_dPAC" x="700" y="700" Namespace="SE.DPAC">
|
||||||
|
<Resource ID="CA36C98B15246195" Name="RES0" Type="EMB_RES_ECO" x="800" y="800" Namespace="Runtime.Management">
|
||||||
|
<FBNetwork />
|
||||||
|
</Resource>
|
||||||
|
<FBNetwork />
|
||||||
|
</Device>
|
||||||
|
</System>
|
158
data/training_dataset/test/eae/ds9.sys
Normal file
158
data/training_dataset/test/eae/ds9.sys
Normal file
|
@ -0,0 +1,158 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!DOCTYPE System SYSTEM "../LibraryElement.dtd">
|
||||||
|
<System Name="System" Comment="System Configuration">
|
||||||
|
<Attribute Name="System.Device.FolderPath" Value="EcoRT_0" />
|
||||||
|
<Identification Standard="61499-1" />
|
||||||
|
<VersionInfo Organization="Schneider Electric" Version="0.0" Author="Schneider" Date="5/5/2025" />
|
||||||
|
<Application ID="83CA70B307D13CC1" Name="APP1">
|
||||||
|
<SubAppNetwork>
|
||||||
|
<FB ID="2F73BEAEA18A9F62" Name="FB1" Type="pulse" x="1140" y="240" Namespace="SE.AppBase">
|
||||||
|
<Parameter Name="PulseTime" Value="T#5000ms" />
|
||||||
|
</FB>
|
||||||
|
<FB ID="B2D540E829962CB2" UID="3A5513FE02815032" Name="FB2" Type="COMPARE_1329C2AB45109BAAB" x="160" y="240" Namespace="Main">
|
||||||
|
<Attribute Name="Configuration.GenericFBType.InterfaceParams" Value="Runtime.Standard#CNT:=2;IN${CNT}:REAL" />
|
||||||
|
<Parameter Name="IN2" Value="300" />
|
||||||
|
<Parameter Name="IN1" Value="350" />
|
||||||
|
</FB>
|
||||||
|
<FB ID="99565D2B923CE30C" Name="FB3" Type="E_SR" x="3720" y="660" Namespace="IEC61499.Standard" />
|
||||||
|
<FB ID="E59EFABD5B6F4F93" Name="FB4" Type="E_SR" x="3780" y="1980" Namespace="IEC61499.Standard" />
|
||||||
|
<FB ID="C2A98A51CFCA4758" Name="FB5" Type="E_SR" x="3780" y="1380" Namespace="IEC61499.Standard" />
|
||||||
|
<FB ID="B878CF5E5C04F0B5" Name="FB6" Type="E_CTU" x="1940" y="260" Namespace="IEC61499.Standard">
|
||||||
|
<Parameter Name="PV" Value="5" />
|
||||||
|
</FB>
|
||||||
|
<FB ID="1BF211AC156444F7" UID="539C5D1886704A56" Name="FB7" Type="COMPARE_176240CABF78064B2" x="2580" y="1140" Namespace="Main">
|
||||||
|
<Attribute Name="Configuration.GenericFBType.InterfaceParams" Value="Runtime.Standard#CNT:=2;IN${CNT}:UINT" />
|
||||||
|
<Parameter Name="IN2" Value="2" />
|
||||||
|
</FB>
|
||||||
|
<FB ID="3B0C1681812A7F0B" UID="AC267A83DF02EAC5" Name="FB8" Type="COMPARE_176240CABF78064B2" x="2580" y="1880" Namespace="Main">
|
||||||
|
<Attribute Name="Configuration.GenericFBType.InterfaceParams" Value="Runtime.Standard#CNT:=2;IN${CNT}:UINT" />
|
||||||
|
<Parameter Name="IN2" Value="3" />
|
||||||
|
</FB>
|
||||||
|
<FB ID="75BC4E5D4E28D082" UID="C429D66CE6D44549" Name="FB9" Type="COMPARE_176240CABF78064B2" x="2600" y="460" Namespace="Main">
|
||||||
|
<Attribute Name="Configuration.GenericFBType.InterfaceParams" Value="Runtime.Standard#CNT:=2;IN${CNT}:UINT" />
|
||||||
|
<Parameter Name="IN2" Value="1" />
|
||||||
|
</FB>
|
||||||
|
<FB ID="4605D4D7723B36E6" Name="FB10" Type="E_PERMIT" x="660" y="280" Namespace="IEC61499.Standard" />
|
||||||
|
<FB ID="8A66F07A6A8DA712" Name="FB14" Type="E_PERMIT" x="1000" y="1020" Namespace="IEC61499.Standard" />
|
||||||
|
<FB ID="5BFB52D29CCBBC34" Name="FB15" Type="E_PERMIT" x="3160" y="560" Namespace="IEC61499.Standard" />
|
||||||
|
<FB ID="574B57EA559BEFE9" Name="FB16" Type="E_PERMIT" x="3220" y="1260" Namespace="IEC61499.Standard" />
|
||||||
|
<FB ID="224B4455F6AEDD3A" Name="FB17" Type="E_PERMIT" x="3160" y="1900" Namespace="IEC61499.Standard" />
|
||||||
|
<EventConnections>
|
||||||
|
<Connection Source="FB1.CNF_START" Destination="FB6.CU" dx1="40" />
|
||||||
|
<Connection Source="FB6.CUO" Destination="FB9.REQ" dx1="163.5625">
|
||||||
|
<AvoidsNodes>false</AvoidsNodes>
|
||||||
|
</Connection>
|
||||||
|
<Connection Source="FB6.CUO" Destination="FB7.REQ" dx1="163.5625">
|
||||||
|
<AvoidsNodes>false</AvoidsNodes>
|
||||||
|
</Connection>
|
||||||
|
<Connection Source="FB6.CUO" Destination="FB8.REQ" dx1="60" />
|
||||||
|
<Connection Source="FB2.CNF" Destination="FB10.EI" dx1="69.85416" />
|
||||||
|
<Connection Source="FB10.EO" Destination="FB1.START" dx1="47.16663" />
|
||||||
|
<Connection Source="FB1.CNF_DONE" Destination="FB14.EI" dx1="40" dx2="30" dy="350" />
|
||||||
|
<Connection Source="FB14.EO" Destination="FB2.REQ" dx1="47.16663" dx2="50" dy="380">
|
||||||
|
<AvoidsNodes>false</AvoidsNodes>
|
||||||
|
</Connection>
|
||||||
|
<Connection Source="FB8.CNF" Destination="FB17.EI" dx1="49.85425" />
|
||||||
|
<Connection Source="FB17.EO" Destination="FB4.S" dx1="47.1665" />
|
||||||
|
<Connection Source="FB9.CNF" Destination="FB15.EI" dx1="49.854" />
|
||||||
|
<Connection Source="FB15.EO" Destination="FB3.S" dx1="47.1665" />
|
||||||
|
<Connection Source="FB7.CNF" Destination="FB16.EI" dx1="69.85425" />
|
||||||
|
<Connection Source="FB16.EO" Destination="FB5.S" dx1="47.1665" />
|
||||||
|
</EventConnections>
|
||||||
|
<DataConnections>
|
||||||
|
<Connection Source="FB6.CV" Destination="FB9.IN1" dx1="40" />
|
||||||
|
<Connection Source="FB6.CV" Destination="FB7.IN1" dx1="40" />
|
||||||
|
<Connection Source="FB6.CV" Destination="FB8.IN1" dx1="40" />
|
||||||
|
<Connection Source="FB2.GT" Destination="FB10.PERMIT" dx1="70.00003" />
|
||||||
|
<Connection Source="FB1.PulseActive" Destination="FB14.PERMIT" dx1="40" dx2="70" dy="90" />
|
||||||
|
<Connection Source="FB8.EQ" Destination="FB17.PERMIT" dx1="70" />
|
||||||
|
<Connection Source="FB9.EQ" Destination="FB15.PERMIT" dx1="70" />
|
||||||
|
<Connection Source="FB7.EQ" Destination="FB16.PERMIT" />
|
||||||
|
</DataConnections>
|
||||||
|
</SubAppNetwork>
|
||||||
|
</Application>
|
||||||
|
<Device ID="5AB2FC74-245F-4293-B606-A64D87B252B8" Name="EcoRT_0" Type="Soft_dPAC" x="700" y="700.0001" Namespace="SE.DPAC">
|
||||||
|
<Resource ID="BB5AE2C7F906447E" Name="RES0" Type="EMB_RES_ECO" x="800" y="800" Namespace="Runtime.Management">
|
||||||
|
<FBNetwork>
|
||||||
|
<FB ID="2E58E74C422C2ECA" Name="FB1" Type="pulse" x="1140" y="240" Namespace="SE.AppBase">
|
||||||
|
<Parameter Name="PulseTime" Value="T#5000ms" />
|
||||||
|
</FB>
|
||||||
|
<FB ID="A7A616F7E53420EE" Name="FB2" Type="COMPARE_1329C2AB45109BAAB" x="180" y="240" Namespace="Main">
|
||||||
|
<Attribute Name="Configuration.GenericFBType.InterfaceParams" Value="Runtime.Standard#CNT:=2;IN${CNT}:REAL" />
|
||||||
|
<Parameter Name="IN2" Value="300" />
|
||||||
|
<Parameter Name="IN1" Value="350" />
|
||||||
|
</FB>
|
||||||
|
<FB ID="6591831AF517E0D1" Name="FB3" Type="E_SR" x="3720" y="660" Namespace="IEC61499.Standard" />
|
||||||
|
<FB ID="843D165D205B26B" Name="FB4" Type="E_SR" x="3780" y="1980" Namespace="IEC61499.Standard" />
|
||||||
|
<FB ID="A17B095D85AD3125" Name="FB5" Type="E_SR" x="3780" y="1380" Namespace="IEC61499.Standard" />
|
||||||
|
<FB ID="A0EE6D57AAD837D7" Name="FB6" Type="E_CTU" x="1940" y="260" Namespace="IEC61499.Standard">
|
||||||
|
<Parameter Name="PV" Value="5" />
|
||||||
|
</FB>
|
||||||
|
<FB ID="DE7A0601EA8DDEE" Name="FB7" Type="COMPARE_176240CABF78064B2" x="2580" y="1140" Namespace="Main">
|
||||||
|
<Attribute Name="Configuration.GenericFBType.InterfaceParams" Value="Runtime.Standard#CNT:=2;IN${CNT}:UINT" />
|
||||||
|
<Parameter Name="IN2" Value="2" />
|
||||||
|
</FB>
|
||||||
|
<FB ID="BCCFAC70F889E5C6" Name="FB8" Type="COMPARE_176240CABF78064B2" x="2580" y="1880" Namespace="Main">
|
||||||
|
<Attribute Name="Configuration.GenericFBType.InterfaceParams" Value="Runtime.Standard#CNT:=2;IN${CNT}:UINT" />
|
||||||
|
<Parameter Name="IN2" Value="3" />
|
||||||
|
</FB>
|
||||||
|
<FB ID="CC7073F6520B77C1" Name="FB9" Type="COMPARE_176240CABF78064B2" x="2600" y="460" Namespace="Main">
|
||||||
|
<Attribute Name="Configuration.GenericFBType.InterfaceParams" Value="Runtime.Standard#CNT:=2;IN${CNT}:UINT" />
|
||||||
|
<Parameter Name="IN2" Value="1" />
|
||||||
|
</FB>
|
||||||
|
<FB ID="D8C83B2F27FF6D80" Name="FB10" Type="E_PERMIT" x="660" y="240" Namespace="IEC61499.Standard" />
|
||||||
|
<FB ID="4537476DCC2D7EAF" Name="FB14" Type="E_PERMIT" x="1260" y="880" Namespace="IEC61499.Standard" />
|
||||||
|
<FB ID="25A07D16289B853C" Name="FB15" Type="E_PERMIT" x="3160" y="560" Namespace="IEC61499.Standard" />
|
||||||
|
<FB ID="6359792A01E81AAB" Name="FB16" Type="E_PERMIT" x="3220" y="1260" Namespace="IEC61499.Standard" />
|
||||||
|
<FB ID="E93C7B5582BFA3FB" Name="FB17" Type="E_PERMIT" x="3160" y="1900" Namespace="IEC61499.Standard" />
|
||||||
|
<EventConnections>
|
||||||
|
<Connection Source="FB1.CNF_START" Destination="FB6.CU" dx1="40" />
|
||||||
|
<Connection Source="FB6.CUO" Destination="FB9.REQ" dx1="163.5625">
|
||||||
|
<AvoidsNodes>false</AvoidsNodes>
|
||||||
|
</Connection>
|
||||||
|
<Connection Source="FB6.CUO" Destination="FB7.REQ" dx1="163.5625">
|
||||||
|
<AvoidsNodes>false</AvoidsNodes>
|
||||||
|
</Connection>
|
||||||
|
<Connection Source="FB6.CUO" Destination="FB8.REQ" dx1="60" />
|
||||||
|
<Connection Source="FB2.CNF" Destination="FB10.EI" />
|
||||||
|
<Connection Source="FB10.EO" Destination="FB1.START" />
|
||||||
|
<Connection Source="FB1.CNF_DONE" Destination="FB14.EI" dx1="40" dx2="30" dy="350" />
|
||||||
|
<Connection Source="FB14.EO" Destination="FB2.REQ" dx1="47.16663" dx2="70" dy="380">
|
||||||
|
<AvoidsNodes>false</AvoidsNodes>
|
||||||
|
</Connection>
|
||||||
|
<Connection Source="FB8.CNF" Destination="FB17.EI" dx1="49.85425" />
|
||||||
|
<Connection Source="FB17.EO" Destination="FB4.S" dx1="47.1665" />
|
||||||
|
<Connection Source="FB9.CNF" Destination="FB15.EI" dx1="49.854" />
|
||||||
|
<Connection Source="FB15.EO" Destination="FB3.S" dx1="47.1665" />
|
||||||
|
<Connection Source="FB7.CNF" Destination="FB16.EI" dx1="69.85425" />
|
||||||
|
<Connection Source="FB16.EO" Destination="FB5.S" dx1="47.1665" />
|
||||||
|
</EventConnections>
|
||||||
|
<DataConnections>
|
||||||
|
<Connection Source="FB6.CV" Destination="FB9.IN1" dx1="40" />
|
||||||
|
<Connection Source="FB6.CV" Destination="FB7.IN1" dx1="40" />
|
||||||
|
<Connection Source="FB6.CV" Destination="FB8.IN1" dx1="40" />
|
||||||
|
<Connection Source="FB2.GT" Destination="FB10.PERMIT" dx1="70.00003" />
|
||||||
|
<Connection Source="FB1.PulseActive" Destination="FB14.PERMIT" dx1="40" dx2="70" dy="90" />
|
||||||
|
<Connection Source="FB8.EQ" Destination="FB17.PERMIT" dx1="70" />
|
||||||
|
<Connection Source="FB9.EQ" Destination="FB15.PERMIT" dx1="70" />
|
||||||
|
<Connection Source="FB7.EQ" Destination="FB16.PERMIT" />
|
||||||
|
</DataConnections>
|
||||||
|
</FBNetwork>
|
||||||
|
</Resource>
|
||||||
|
<FBNetwork />
|
||||||
|
</Device>
|
||||||
|
<Mapping From="APP1.FB1" To="EcoRT_0.RES0" />
|
||||||
|
<Mapping From="APP1.FB2" To="EcoRT_0.RES0" />
|
||||||
|
<Mapping From="APP1.FB3" To="EcoRT_0.RES0" />
|
||||||
|
<Mapping From="APP1.FB4" To="EcoRT_0.RES0" />
|
||||||
|
<Mapping From="APP1.FB5" To="EcoRT_0.RES0" />
|
||||||
|
<Mapping From="APP1.FB6" To="EcoRT_0.RES0" />
|
||||||
|
<Mapping From="APP1.FB7" To="EcoRT_0.RES0" />
|
||||||
|
<Mapping From="APP1.FB8" To="EcoRT_0.RES0" />
|
||||||
|
<Mapping From="APP1.FB9" To="EcoRT_0.RES0" />
|
||||||
|
<Mapping From="APP1.FB10" To="EcoRT_0.RES0" />
|
||||||
|
<Mapping From="APP1.FB14" To="EcoRT_0.RES0" />
|
||||||
|
<Mapping From="APP1.FB15" To="EcoRT_0.RES0" />
|
||||||
|
<Mapping From="APP1.FB16" To="EcoRT_0.RES0" />
|
||||||
|
<Mapping From="APP1.FB17" To="EcoRT_0.RES0" />
|
||||||
|
</System>
|
67
data/training_dataset/test/eae/tank.sys
Normal file
67
data/training_dataset/test/eae/tank.sys
Normal file
|
@ -0,0 +1,67 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!DOCTYPE System SYSTEM "../LibraryElement.dtd">
|
||||||
|
<System Name="System" Comment="System Configuration">
|
||||||
|
<Attribute Name="System.Device.FolderPath" Value="EcoRT_0"/>
|
||||||
|
<Identification Standard="61499-1"/>
|
||||||
|
<VersionInfo Organization="Schneider Electric" Version="0.0" Author="Schneider" Date="04/22/2025"/>
|
||||||
|
<Application ID="3AC46A7306E69081" Name="APP1">
|
||||||
|
<SubAppNetwork>
|
||||||
|
<FB ID="68E6801B4DEF7199" Name="FB1" Type="SETQ" x="900" y="580" Namespace="Main"/>
|
||||||
|
<FB ID="5EE9BA6E24DC645F" Name="FB2" Type="E_SR" x="840" y="1260" Namespace="IEC61499.Standard"/>
|
||||||
|
<FB ID="1A354B6451DD04E8" Name="FB3" Type="SETQ" x="2220" y="800" Namespace="Main"/>
|
||||||
|
<FB ID="5D05D66BECAD84FD" Name="FB4" Type="NOT_42C76073DCEB1A7A" x="3300" y="1120" Namespace="Main">
|
||||||
|
<Attribute Name="Configuration.GenericFBType.InterfaceParams" Value="Runtime.Standard#CNT:=1;OUT:BOOL"/>
|
||||||
|
</FB>
|
||||||
|
<FB ID="3DD259825962ABB2" Name="FB5" Type="AND_88A3DD8EC65DD11C" x="1200" y="840" Namespace="Main">
|
||||||
|
<Attribute Name="Configuration.GenericFBType.InterfaceParams" Value="Runtime.Standard#CNT:=2;OUT:BOOL"/>
|
||||||
|
</FB>
|
||||||
|
<FB ID="16FAC2869B9003E4" Name="FB6" Type="AND_88A3DD8EC65DD11C" x="1200" y="1040" Namespace="Main">
|
||||||
|
<Attribute Name="Configuration.GenericFBType.InterfaceParams" Value="Runtime.Standard#CNT:=2;OUT:BOOL"/>
|
||||||
|
</FB>
|
||||||
|
<FB ID="328D5C424342693B" Name="FB7" Type="NOT_42C76073DCEB1A7A" x="740" y="1080" Namespace="Main">
|
||||||
|
<Attribute Name="Configuration.GenericFBType.InterfaceParams" Value="Runtime.Standard#CNT:=1;OUT:BOOL"/>
|
||||||
|
</FB>
|
||||||
|
<EventConnections>
|
||||||
|
<Connection Source="FB1.CNF" Destination="FB7.REQ" dx1="47.47919">
|
||||||
|
<AvoidsNodes>false</AvoidsNodes>
|
||||||
|
</Connection>
|
||||||
|
<Connection Source="FB1.CNF" Destination="FB2.REQ" dx1="47.47919">
|
||||||
|
<AvoidsNodes>false</AvoidsNodes>
|
||||||
|
</Connection>
|
||||||
|
<Connection Source="FB1.CNF" Destination="FB5.REQ" dx1="47.47919">
|
||||||
|
<AvoidsNodes>false</AvoidsNodes>
|
||||||
|
</Connection>
|
||||||
|
<Connection Source="FB4.CNF" Destination="FB5.REQ" dx1="47.47919">
|
||||||
|
<AvoidsNodes>false</AvoidsNodes>
|
||||||
|
</Connection>
|
||||||
|
<Connection Source="FB7.CNF" Destination="FB6.REQ" dx1="47.47919">
|
||||||
|
<AvoidsNodes>false</AvoidsNodes>
|
||||||
|
</Connection>
|
||||||
|
<Connection Source="FB3.CNF" Destination="FB4.REQ" dx1="47.47919">
|
||||||
|
<AvoidsNodes>false</AvoidsNodes>
|
||||||
|
</Connection>
|
||||||
|
<Connection Source="FB3.CNF" Destination="FB2.REQ" dx1="47.47919">
|
||||||
|
<AvoidsNodes>false</AvoidsNodes>
|
||||||
|
</Connection>
|
||||||
|
<Connection Source="FB3.CNF" Destination="FB6.REQ" dx1="47.47919">
|
||||||
|
<AvoidsNodes>false</AvoidsNodes>
|
||||||
|
</Connection>
|
||||||
|
</EventConnections>
|
||||||
|
<DataConnections>
|
||||||
|
<Connection Source="FB1.Q" Destination="FB2.S" dx1="155.0"/>
|
||||||
|
<Connection Source="FB4.Q" Destination="FB5.IN2" dx1="145.0"/>
|
||||||
|
<Connection Source="FB7.Q" Destination="FB6.IN2" dx1="135.0"/>
|
||||||
|
<Connection Source="FB1.Q" Destination="FB5.IN1" dx1="155.0"/>
|
||||||
|
<Connection Source="FB3.Q" Destination="FB4.IN" dx1="47.47919"/>
|
||||||
|
<Connection Source="FB3.Q" Destination="FB6.IN1" dx1="100.0"/>
|
||||||
|
<Connection Source="FB1.Q" Destination="FB7.IN" dx1="90.0"/>
|
||||||
|
</DataConnections>
|
||||||
|
</SubAppNetwork>
|
||||||
|
</Application>
|
||||||
|
<Device ID="5BFDD33A-F1D3-4284-AF5F-95C0E979DB00" Name="EcoRT_0" Type="Soft_dPAC" x="700" y="700" Namespace="SE.DPAC">
|
||||||
|
<Resource ID="BAD2608EB2742024" Name="RES0" Type="EMB_RES_ECO" x="800" y="800" Namespace="Runtime.Management">
|
||||||
|
<FBNetwork/>
|
||||||
|
</Resource>
|
||||||
|
<FBNetwork/>
|
||||||
|
</Device>
|
||||||
|
</System>
|
93
data/training_dataset/test/ece/ds8.xml
Normal file
93
data/training_dataset/test/ece/ds8.xml
Normal file
|
@ -0,0 +1,93 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
|
<FBDExchangeFile>
|
||||||
|
<fileHeader company="Schneider Automation" product="Control Expert V15.3 - 230214C" dateTime="date_and_time#2025-5-2-16:16:8" content="Derived Function Block source file" DTDVersion="41"></fileHeader>
|
||||||
|
<contentHeader name="Project" version="0.0.5" dateTime="date_and_time#2025-3-18-15:21:30"></contentHeader>
|
||||||
|
<program>
|
||||||
|
<identProgram name="ds8" type="section" task="MAST" SectionOrder="12"></identProgram>
|
||||||
|
<FBDSource nbRows="24" nbColumns="36">
|
||||||
|
<networkFBD>
|
||||||
|
<FFBBlock instanceName="CTU_3" typeName="CTU" additionnalPinNumber="0" enEnO="false" width="7" height="7">
|
||||||
|
<objPosition posX="32" posY="14"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="CU" effectiveParameter="enter"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="R"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="PV" effectiveParameter="100"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="Q"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="CV"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName="CTU_4" typeName="CTU" additionnalPinNumber="0" enEnO="false" width="7" height="7">
|
||||||
|
<objPosition posX="32" posY="27"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="CU" effectiveParameter="exist"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="R"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="PV" effectiveParameter="100"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="Q"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="CV"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName=".1" typeName="SUB" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="46" posY="20"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName=".2" typeName="EQ" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="63" posY="26"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2" effectiveParameter="10"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT" effectiveParameter="full"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName="CTU_4" pinName="CV">
|
||||||
|
<objPosition posX="38" posY="33"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName=".1" pinName="IN2">
|
||||||
|
<objPosition posX="46" posY="25"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="45" posY="33"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="45" posY="25"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName="CTU_3" pinName="CV">
|
||||||
|
<objPosition posX="38" posY="20"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName=".1" pinName="IN1">
|
||||||
|
<objPosition posX="46" posY="24"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="40" posY="20"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="40" posY="24"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".1" pinName="OUT">
|
||||||
|
<objPosition posX="52" posY="24"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName=".2" pinName="IN1">
|
||||||
|
<objPosition posX="63" posY="30"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="54" posY="24"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="54" posY="30"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
</networkFBD>
|
||||||
|
</FBDSource>
|
||||||
|
</program>
|
||||||
|
<dataBlock>
|
||||||
|
<variables name="full" typeName="BOOL"></variables>
|
||||||
|
<variables name="exist" typeName="BOOL"></variables>
|
||||||
|
<variables name="CTU_4" typeName="CTU"></variables>
|
||||||
|
<variables name="enter" typeName="BOOL"></variables>
|
||||||
|
<variables name="CTU_3" typeName="CTU"></variables>
|
||||||
|
</dataBlock>
|
||||||
|
</FBDExchangeFile>
|
189
data/training_dataset/test/ece/ds9.xml
Normal file
189
data/training_dataset/test/ece/ds9.xml
Normal file
|
@ -0,0 +1,189 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
|
<FBDExchangeFile>
|
||||||
|
<fileHeader company="Schneider Automation" product="Control Expert V15.3 - 230214C" dateTime="date_and_time#2025-5-2-16:16:12" content="Derived Function Block source file" DTDVersion="41"></fileHeader>
|
||||||
|
<contentHeader name="Project" version="0.0.5" dateTime="date_and_time#2025-3-18-15:21:30"></contentHeader>
|
||||||
|
<program>
|
||||||
|
<identProgram name="ds9" type="section" task="MAST" SectionOrder="13"></identProgram>
|
||||||
|
<FBDSource nbRows="24" nbColumns="36">
|
||||||
|
<networkFBD>
|
||||||
|
<FFBBlock instanceName=".1" typeName="GT" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="22" posY="17"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1" effectiveParameter="power_usage"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2" effectiveParameter="300.0"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName="TP_0" typeName="TP" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="37" posY="17"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="PT" effectiveParameter="T#5s"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="Q"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ET"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName="CTU_5" typeName="CTU" additionnalPinNumber="0" enEnO="false" width="7" height="7">
|
||||||
|
<objPosition posX="60" posY="20"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="CU"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="R"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="PV"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="Q"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="CV"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName=".2" typeName="EQ" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="74" posY="17"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2" effectiveParameter="1"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName=".3" typeName="EQ" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="74" posY="25"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2" effectiveParameter="2"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName=".4" typeName="EQ" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="74" posY="34"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2" effectiveParameter="3"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName="SR_13" typeName="SR" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="90" posY="17"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="S1"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="R" effectiveParameter="reset"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="Q1" effectiveParameter="load1"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName="SR_14" typeName="SR" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="90" posY="25"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="S1"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="R" effectiveParameter="reset"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="Q1" effectiveParameter="load2"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName="SR_15" typeName="SR" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="92" posY="34"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="S1"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="R" effectiveParameter="reset"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="Q1" effectiveParameter="load3"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName="TP_0" pinName="Q">
|
||||||
|
<objPosition posX="43" posY="21"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName="CTU_5" pinName="CU">
|
||||||
|
<objPosition posX="60" posY="24"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="52" posY="21"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="52" posY="24"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".4" pinName="OUT">
|
||||||
|
<objPosition posX="80" posY="38"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName="SR_15" pinName="S1">
|
||||||
|
<objPosition posX="92" posY="38"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
</linkFB>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName="CTU_5" pinName="CV">
|
||||||
|
<objPosition posX="66" posY="26"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName=".3" pinName="IN1">
|
||||||
|
<objPosition posX="74" posY="29"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="71" posY="26"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="71" posY="29"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".2" pinName="OUT">
|
||||||
|
<objPosition posX="80" posY="21"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName="SR_13" pinName="S1">
|
||||||
|
<objPosition posX="90" posY="21"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
</linkFB>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName="CTU_5" pinName="CV">
|
||||||
|
<objPosition posX="66" posY="26"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName=".4" pinName="IN1">
|
||||||
|
<objPosition posX="74" posY="38"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="68" posY="26"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="68" posY="38"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName="CTU_5" pinName="CV">
|
||||||
|
<objPosition posX="66" posY="26"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName=".2" pinName="IN1">
|
||||||
|
<objPosition posX="74" posY="21"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="68" posY="26"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="68" posY="21"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".3" pinName="OUT">
|
||||||
|
<objPosition posX="80" posY="29"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName="SR_14" pinName="S1">
|
||||||
|
<objPosition posX="90" posY="29"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
</linkFB>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".1" pinName="OUT">
|
||||||
|
<objPosition posX="28" posY="21"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName="TP_0" pinName="IN">
|
||||||
|
<objPosition posX="37" posY="21"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
</linkFB>
|
||||||
|
</networkFBD>
|
||||||
|
</FBDSource>
|
||||||
|
</program>
|
||||||
|
<dataBlock>
|
||||||
|
<variables name="SR_15" typeName="SR"></variables>
|
||||||
|
<variables name="power_usage" typeName="REAL"></variables>
|
||||||
|
<variables name="SR_13" typeName="SR"></variables>
|
||||||
|
<variables name="CTU_5" typeName="CTU"></variables>
|
||||||
|
<variables name="reset" typeName="BOOL"></variables>
|
||||||
|
<variables name="load2" typeName="BOOL"></variables>
|
||||||
|
<variables name="Load1" typeName="BOOL"></variables>
|
||||||
|
<variables name="load3" typeName="BOOL"></variables>
|
||||||
|
<variables name="TP_0" typeName="TP"></variables>
|
||||||
|
<variables name="SR_14" typeName="SR"></variables>
|
||||||
|
</dataBlock>
|
||||||
|
</FBDExchangeFile>
|
206
data/training_dataset/test/ece/tank.xml
Normal file
206
data/training_dataset/test/ece/tank.xml
Normal file
|
@ -0,0 +1,206 @@
|
||||||
|
<FBDExchangeFile>
|
||||||
|
<fileHeader
|
||||||
|
company="Schneider Automation"
|
||||||
|
product="Control Expert V15.3 - 230214C"
|
||||||
|
dateTime="date_and_time#2025-4-22-16:3:6"
|
||||||
|
content="Derived Function Block source file"
|
||||||
|
DTDVersion="41"
|
||||||
|
/>
|
||||||
|
|
||||||
|
<contentHeader
|
||||||
|
name="Project"
|
||||||
|
version="0.0.5"
|
||||||
|
dateTime="date_and_time#2025-3-18-15:21:30"
|
||||||
|
/>
|
||||||
|
|
||||||
|
<program>
|
||||||
|
<identProgram
|
||||||
|
name="a1"
|
||||||
|
type="section"
|
||||||
|
task="MAST"
|
||||||
|
SectionOrder="4"
|
||||||
|
/>
|
||||||
|
|
||||||
|
<FBDSource nbRows="24" nbColumns="36">
|
||||||
|
<networkFBD>
|
||||||
|
|
||||||
|
<!-- SET Block - lowlevel -->
|
||||||
|
<FFBBlock instanceName=".1" typeName="SET" additionnalPinNumber="0" enEnO="false" width="7" height="5">
|
||||||
|
<objPosition posX="10" posY="10" />
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN" />
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO" />
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT" />
|
||||||
|
</descriptionFFB>
|
||||||
|
<comment>lowlevel</comment>
|
||||||
|
</FFBBlock>
|
||||||
|
|
||||||
|
<!-- SR Block -->
|
||||||
|
<FFBBlock instanceName="FB2" typeName="SR" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="33" posY="12" />
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN" />
|
||||||
|
<inputVariable invertedPin="false" formalParameter="S1" />
|
||||||
|
<inputVariable invertedPin="false" formalParameter="R" />
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO" />
|
||||||
|
<outputVariable invertedPin="false" formalParameter="Q1" effectiveParameter="pump" />
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
|
||||||
|
<!-- SET Block - Highlevel -->
|
||||||
|
<FFBBlock instanceName=".2" typeName="SET" additionnalPinNumber="0" enEnO="false" width="7" height="5">
|
||||||
|
<objPosition posX="10" posY="20" />
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN" />
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO" />
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT" />
|
||||||
|
</descriptionFFB>
|
||||||
|
<comment>Highlevel</comment>
|
||||||
|
</FFBBlock>
|
||||||
|
|
||||||
|
<!-- NOT Block -->
|
||||||
|
<FFBBlock instanceName=".3" typeName="NOT" additionnalPinNumber="0" enEnO="false" width="7" height="5">
|
||||||
|
<objPosition posX="21" posY="20" />
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN" />
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN" />
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO" />
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT" />
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
|
||||||
|
<!-- AND Block - low_alarm -->
|
||||||
|
<FFBBlock instanceName=".4" typeName="AND" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="35" posY="27" />
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN" />
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1" />
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2" />
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO" />
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT" effectiveParameter="low_alarm" />
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
|
||||||
|
<!-- AND Block - high_alarm -->
|
||||||
|
<FFBBlock instanceName=".5" typeName="AND" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="35" posY="37" />
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN" />
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1" />
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2" />
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO" />
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT" effectiveParameter="high_alarm" />
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
|
||||||
|
<!-- NOT Block -->
|
||||||
|
<FFBBlock instanceName=".6" typeName="NOT" additionnalPinNumber="0" enEnO="false" width="7" height="5">
|
||||||
|
<objPosition posX="12" posY="39" />
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN" />
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN" />
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO" />
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT" />
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
|
||||||
|
<!-- Links -->
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".1" pinName="OUT">
|
||||||
|
<objPosition posX="16" posY="14" />
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName="FB2" pinName="S1">
|
||||||
|
<objPosition posX="33" posY="16" />
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="31" posY="14" />
|
||||||
|
<gridObjPosition posX="31" posY="16" />
|
||||||
|
</linkFB>
|
||||||
|
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".3" pinName="OUT">
|
||||||
|
<objPosition posX="27" posY="24" />
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName=".4" pinName="IN2">
|
||||||
|
<objPosition posX="35" posY="32" />
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="29" posY="24" />
|
||||||
|
<gridObjPosition posX="29" posY="32" />
|
||||||
|
</linkFB>
|
||||||
|
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".6" pinName="OUT">
|
||||||
|
<objPosition posX="18" posY="43" />
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName=".5" pinName="IN2">
|
||||||
|
<objPosition posX="35" posY="42" />
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="27" posY="43" />
|
||||||
|
<gridObjPosition posX="27" posY="42" />
|
||||||
|
</linkFB>
|
||||||
|
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".1" pinName="OUT">
|
||||||
|
<objPosition posX="16" posY="14" />
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName=".4" pinName="IN1">
|
||||||
|
<objPosition posX="35" posY="31" />
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="31" posY="14" />
|
||||||
|
<gridObjPosition posX="31" posY="31" />
|
||||||
|
</linkFB>
|
||||||
|
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".2" pinName="OUT">
|
||||||
|
<objPosition posX="16" posY="24" />
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName="FB2" pinName="R">
|
||||||
|
<objPosition posX="33" posY="17" />
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="18" posY="24" />
|
||||||
|
<gridObjPosition posX="18" posY="17" />
|
||||||
|
</linkFB>
|
||||||
|
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".2" pinName="OUT">
|
||||||
|
<objPosition posX="16" posY="24" />
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName=".3" pinName="IN">
|
||||||
|
<objPosition posX="21" posY="24" />
|
||||||
|
</linkDestination>
|
||||||
|
</linkFB>
|
||||||
|
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".2" pinName="OUT">
|
||||||
|
<objPosition posX="16" posY="24" />
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName=".5" pinName="IN1">
|
||||||
|
<objPosition posX="35" posY="41" />
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="20" posY="24" />
|
||||||
|
<gridObjPosition posX="20" posY="41" />
|
||||||
|
</linkFB>
|
||||||
|
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".1" pinName="OUT">
|
||||||
|
<objPosition posX="16" posY="14" />
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName=".6" pinName="IN">
|
||||||
|
<objPosition posX="12" posY="43" />
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="18" posY="14" />
|
||||||
|
<gridObjPosition posX="18" posY="16" />
|
||||||
|
<gridObjPosition posX="8" posY="16" />
|
||||||
|
<gridObjPosition posX="8" posY="43" />
|
||||||
|
</linkFB>
|
||||||
|
|
||||||
|
</networkFBD>
|
||||||
|
</FBDSource>
|
||||||
|
</program>
|
||||||
|
|
||||||
|
<dataBlock>
|
||||||
|
<variables name="high_alarm" typeName="BOOL" />
|
||||||
|
<variables name="FB2" typeName="SR" />
|
||||||
|
<variables name="low_alarm" typeName="BOOL" />
|
||||||
|
<variables name="pump" typeName="BOOL" />
|
||||||
|
</dataBlock>
|
||||||
|
</FBDExchangeFile>
|
31
data/training_dataset/train/eae/connection_2.sys
Normal file
31
data/training_dataset/train/eae/connection_2.sys
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!DOCTYPE System SYSTEM "../LibraryElement.dtd">
|
||||||
|
<System Name="System" Comment="System Configuration">
|
||||||
|
<Attribute Name="System.Device.FolderPath" Value="EcoRT_0" />
|
||||||
|
<Identification Standard="61499-1" />
|
||||||
|
<VersionInfo Organization="Schneider Electric" Version="0.0" Author="Schneider" Date="4/9/2025" />
|
||||||
|
<Application ID="F379D07B421C1131" Name="APP1">
|
||||||
|
<SubAppNetwork>
|
||||||
|
<FB ID="989F6347559566C5" Name="FB1" Type="ADD_1990CFD1468AAE4A6" x="520" y="340" Namespace="Main">
|
||||||
|
<Attribute Name="Configuration.GenericFBType.InterfaceParams" Value="Runtime.Standard#CNT:=2;IN${CNT}:LREAL" />
|
||||||
|
</FB>
|
||||||
|
<FB ID="5B9B2F73666DE776" Name="FB2" Type="SUB_1990CFD1468AAE4A6" x="1400" y="560" Namespace="Main">
|
||||||
|
<Attribute Name="Configuration.GenericFBType.InterfaceParams" Value="Runtime.Standard#CNT:=2;IN${CNT}:LREAL" />
|
||||||
|
</FB>
|
||||||
|
<EventConnections>
|
||||||
|
<Connection Source="FB1.CNF" Destination="FB2.REQ" dx1="257.4791">
|
||||||
|
<AvoidsNodes>false</AvoidsNodes>
|
||||||
|
</Connection>
|
||||||
|
</EventConnections>
|
||||||
|
<DataConnections>
|
||||||
|
<Connection Source="FB1.OUT" Destination="FB2.IN1" dx1="47.47913" />
|
||||||
|
</DataConnections>
|
||||||
|
</SubAppNetwork>
|
||||||
|
</Application>
|
||||||
|
<Device ID="FC9D219C-A375-404D-B9EE-BD8AC1FCA7AC" Name="EcoRT_0" Type="Soft_dPAC" x="700" y="700.0001" Namespace="SE.DPAC">
|
||||||
|
<Resource ID="4A2A379764B73F07" Name="RES0" Type="EMB_RES_ECO" x="800" y="800" Namespace="Runtime.Management">
|
||||||
|
<FBNetwork />
|
||||||
|
</Resource>
|
||||||
|
<FBNetwork />
|
||||||
|
</Device>
|
||||||
|
</System>
|
35
data/training_dataset/train/eae/connection_3.sys
Normal file
35
data/training_dataset/train/eae/connection_3.sys
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!DOCTYPE System SYSTEM "../LibraryElement.dtd">
|
||||||
|
<System Name="System" Comment="System Configuration">
|
||||||
|
<Attribute Name="System.Device.FolderPath" Value="EcoRT_0" />
|
||||||
|
<Identification Standard="61499-1" />
|
||||||
|
<VersionInfo Organization="Schneider Electric" Version="0.0" Author="Schneider" Date="4/9/2025" />
|
||||||
|
<Application ID="3AC46A7306E69081" Name="APP1">
|
||||||
|
<SubAppNetwork>
|
||||||
|
<FB ID="6CCCDA05669BEF53" Name="FB1" Type="AND_88A3DD8EC65DD11C" x="520" y="360" Namespace="Main">
|
||||||
|
<Attribute Name="Configuration.GenericFBType.InterfaceParams" Value="Runtime.Standard#CNT:=2;OUT:BOOL" />
|
||||||
|
</FB>
|
||||||
|
<FB ID="336115E45848C6B4" Name="FB2" Type="AND_88A3DD8EC65DD11C" x="540" y="1060" Namespace="Main">
|
||||||
|
<Attribute Name="Configuration.GenericFBType.InterfaceParams" Value="Runtime.Standard#CNT:=2;OUT:BOOL" />
|
||||||
|
</FB>
|
||||||
|
<FB ID="CF00285B1FB5D458" Name="FB3" Type="OR_88A3DD8EC65DD11C" x="1480" y="640" Namespace="Main">
|
||||||
|
<Attribute Name="Configuration.GenericFBType.InterfaceParams" Value="Runtime.Standard#CNT:=2;OUT:BOOL" />
|
||||||
|
</FB>
|
||||||
|
<EventConnections>
|
||||||
|
<Connection Source="FB1.CNF" Destination="FB3.REQ" dx1="217.4792">
|
||||||
|
<AvoidsNodes>false</AvoidsNodes>
|
||||||
|
</Connection>
|
||||||
|
</EventConnections>
|
||||||
|
<DataConnections>
|
||||||
|
<Connection Source="FB1.OUT" Destination="FB3.IN1" dx1="47.47919" />
|
||||||
|
<Connection Source="FB2.OUT" Destination="FB3.IN2" dx1="47.47919" />
|
||||||
|
</DataConnections>
|
||||||
|
</SubAppNetwork>
|
||||||
|
</Application>
|
||||||
|
<Device ID="5BFDD33A-F1D3-4284-AF5F-95C0E979DB00" Name="EcoRT_0" Type="Soft_dPAC" x="700" y="700" Namespace="SE.DPAC">
|
||||||
|
<Resource ID="BAD2608EB2742024" Name="RES0" Type="EMB_RES_ECO" x="800" y="800" Namespace="Runtime.Management">
|
||||||
|
<FBNetwork />
|
||||||
|
</Resource>
|
||||||
|
<FBNetwork />
|
||||||
|
</Device>
|
||||||
|
</System>
|
42
data/training_dataset/train/eae/connection_4.sys
Normal file
42
data/training_dataset/train/eae/connection_4.sys
Normal file
|
@ -0,0 +1,42 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!DOCTYPE System SYSTEM "../LibraryElement.dtd">
|
||||||
|
<System Name="System" Comment="System Configuration">
|
||||||
|
<Attribute Name="System.Device.FolderPath" Value="EcoRT_0" />
|
||||||
|
<Identification Standard="61499-1" />
|
||||||
|
<VersionInfo Organization="Schneider Electric" Version="0.0" Author="Schneider" Date="4/9/2025" />
|
||||||
|
<Application ID="98762EAFFE914EAF" Name="APP1">
|
||||||
|
<SubAppNetwork>
|
||||||
|
<FB ID="E12399C02C6BC84C" Name="FB1" Type="ADD_1990CFD1468AAE4A6" x="900" y="580" Namespace="Main">
|
||||||
|
<Attribute Name="Configuration.GenericFBType.InterfaceParams" Value="Runtime.Standard#CNT:=2;IN${CNT}:LREAL" />
|
||||||
|
</FB>
|
||||||
|
<FB ID="B45A17FDAAD7AEF5" Name="FB2" Type="SUB_1990CFD1468AAE4A6" x="840" y="1260" Namespace="Main">
|
||||||
|
<Attribute Name="Configuration.GenericFBType.InterfaceParams" Value="Runtime.Standard#CNT:=2;IN${CNT}:LREAL" />
|
||||||
|
</FB>
|
||||||
|
<FB ID="42290855AF6BBBBC" Name="FB3" Type="MUL_1990CFD1468AAE4A6" x="2220" y="800" Namespace="Main">
|
||||||
|
<Attribute Name="Configuration.GenericFBType.InterfaceParams" Value="Runtime.Standard#CNT:=2;IN${CNT}:LREAL" />
|
||||||
|
</FB>
|
||||||
|
<FB ID="BEECFD94F0BD255E" Name="FB4" Type="DIV_182E0F9E1B4E93726" x="3300" y="1120" Namespace="Main">
|
||||||
|
<Attribute Name="Configuration.GenericFBType.InterfaceParams" Value="Runtime.Standard#CNT:=1;IN${CNT}1:LREAL" />
|
||||||
|
</FB>
|
||||||
|
<EventConnections>
|
||||||
|
<Connection Source="FB1.CNF" Destination="FB3.REQ" dx1="517.4792">
|
||||||
|
<AvoidsNodes>false</AvoidsNodes>
|
||||||
|
</Connection>
|
||||||
|
<Connection Source="FB2.CNF" Destination="FB3.REQ" dx1="577.4792">
|
||||||
|
<AvoidsNodes>false</AvoidsNodes>
|
||||||
|
</Connection>
|
||||||
|
<Connection Source="FB3.CNF" Destination="FB4.REQ" dx1="47.47925" />
|
||||||
|
</EventConnections>
|
||||||
|
<DataConnections>
|
||||||
|
<Connection Source="FB1.OUT" Destination="FB3.IN1" dx1="47.47925" />
|
||||||
|
<Connection Source="FB2.OUT" Destination="FB3.IN2" dx1="70" />
|
||||||
|
</DataConnections>
|
||||||
|
</SubAppNetwork>
|
||||||
|
</Application>
|
||||||
|
<Device ID="278FA7F3-7305-4554-90F5-86266DA767DB" Name="EcoRT_0" Type="Soft_dPAC" x="700" y="700" Namespace="SE.DPAC">
|
||||||
|
<Resource ID="FD2A2484E35386FF" Name="RES0" Type="EMB_RES_ECO" x="800" y="800" Namespace="Runtime.Management">
|
||||||
|
<FBNetwork />
|
||||||
|
</Resource>
|
||||||
|
<FBNetwork />
|
||||||
|
</Device>
|
||||||
|
</System>
|
46
data/training_dataset/train/eae/ds1.sys
Normal file
46
data/training_dataset/train/eae/ds1.sys
Normal file
|
@ -0,0 +1,46 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!DOCTYPE System SYSTEM "../LibraryElement.dtd">
|
||||||
|
<System Name="System" Comment="System Configuration">
|
||||||
|
<Attribute Name="System.Device.FolderPath" Value="EcoRT_0" />
|
||||||
|
<Identification Standard="61499-1" />
|
||||||
|
<VersionInfo Organization="Schneider Electric" Version="0.0" Author="Schneider" Date="5/3/2025" />
|
||||||
|
<Application ID="146060ED81EF92E9" Name="APP1">
|
||||||
|
<SubAppNetwork>
|
||||||
|
<FB ID="8D8984A7343A6104" Name="FB1" Type="NOT_42C76073DCEB1A7A" x="600" y="160" Namespace="Main">
|
||||||
|
<Attribute Name="Configuration.GenericFBType.InterfaceParams" Value="Runtime.Standard#CNT:=1;OUT${CNT}:BOOL" />
|
||||||
|
</FB>
|
||||||
|
<FB ID="3797BFC43DD39E1A" Name="FB2" Type="AND_88A3DD8EC65DD11C" x="1180" y="180" Namespace="Main">
|
||||||
|
<Attribute Name="Configuration.GenericFBType.InterfaceParams" Value="Runtime.Standard#CNT:=2;OUT:BOOL" />
|
||||||
|
</FB>
|
||||||
|
<FB ID="BBC421F8D32F4CC1" Name="FB3" Type="E_SR" x="2300" y="420" Namespace="IEC61499.Standard" />
|
||||||
|
<FB ID="92EC75AF3752770C" Name="Fault" Type="SetBool" x="40" y="440" Namespace="SE.AppBase" />
|
||||||
|
<FB ID="75C843A26D3E1869" Name="start_PB" Type="SetBool" x="360" y="1000" Namespace="SE.AppBase" />
|
||||||
|
<FB ID="4DF499B8F2F004AD" Name="stop_PB" Type="SetBool" x="1500" y="980" Namespace="SE.AppBase" />
|
||||||
|
<FB ID="31BBFBF4223E2AC8" Name="FB5" Type="E_PERMIT" x="1760" y="160" Namespace="IEC61499.Standard" />
|
||||||
|
<EventConnections>
|
||||||
|
<Connection Source="FB1.CNF" Destination="FB2.REQ" dx1="63.75" />
|
||||||
|
<Connection Source="Fault.IND" Destination="FB1.REQ" dx1="50" />
|
||||||
|
<Connection Source="start_PB.IND" Destination="FB2.REQ" dx1="287.6666" />
|
||||||
|
<Connection Source="stop_PB.IND" Destination="FB3.R" dx1="47.66663" />
|
||||||
|
<Connection Source="FB2.CNF" Destination="FB5.EI" dx1="50" />
|
||||||
|
<Connection Source="FB5.EO" Destination="FB3.S" dx1="47.16675" />
|
||||||
|
</EventConnections>
|
||||||
|
<DataConnections>
|
||||||
|
<Connection Source="FB1.OUT1" Destination="FB2.IN1" dx1="43.75" />
|
||||||
|
<Connection Source="Fault.Out" Destination="FB1.IN1" dx1="137.6666">
|
||||||
|
<AvoidsNodes>false</AvoidsNodes>
|
||||||
|
</Connection>
|
||||||
|
<Connection Source="start_PB.Out" Destination="FB2.IN2" dx1="377.6666">
|
||||||
|
<AvoidsNodes>false</AvoidsNodes>
|
||||||
|
</Connection>
|
||||||
|
<Connection Source="FB2.OUT" Destination="FB5.PERMIT" dx1="47.47913" />
|
||||||
|
</DataConnections>
|
||||||
|
</SubAppNetwork>
|
||||||
|
</Application>
|
||||||
|
<Device ID="A257F6F9-7626-470E-9AAE-86CD6A5755B3" Name="EcoRT_0" Type="Soft_dPAC" x="700" y="700.0001" Namespace="SE.DPAC">
|
||||||
|
<Resource ID="44C110127AB4754A" Name="RES0" Type="EMB_RES_ECO" x="800" y="800" Namespace="Runtime.Management">
|
||||||
|
<FBNetwork />
|
||||||
|
</Resource>
|
||||||
|
<FBNetwork />
|
||||||
|
</Device>
|
||||||
|
</System>
|
31
data/training_dataset/train/eae/ds2.sys
Normal file
31
data/training_dataset/train/eae/ds2.sys
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!DOCTYPE System SYSTEM "../LibraryElement.dtd">
|
||||||
|
<System Name="System" Comment="System Configuration">
|
||||||
|
<Attribute Name="System.Device.FolderPath" Value="EcoRT_0" />
|
||||||
|
<Identification Standard="61499-1" />
|
||||||
|
<VersionInfo Organization="Schneider Electric" Version="0.0" Author="Schneider" Date="5/3/2025" />
|
||||||
|
<Application ID="EC6B84DB759AD1D" Name="APP1">
|
||||||
|
<SubAppNetwork>
|
||||||
|
<FB ID="4A6F920808C2F8AE" Name="FB1" Type="AND_88A3DD8EC65DD11C" x="480" y="560" Namespace="Main">
|
||||||
|
<Attribute Name="Configuration.GenericFBType.InterfaceParams" Value="Runtime.Standard#CNT:=2;OUT:BOOL" />
|
||||||
|
</FB>
|
||||||
|
<FB ID="5FDF18F99A57B826" Name="FB2" Type="TON" x="1820" y="640" Namespace="MIT.MITSchneider">
|
||||||
|
<Parameter Name="PT" Value="T#2000ms" />
|
||||||
|
</FB>
|
||||||
|
<FB ID="CB330A3BF160A2AB" Name="FB4" Type="E_PERMIT" x="1160" y="520" Namespace="IEC61499.Standard" />
|
||||||
|
<EventConnections>
|
||||||
|
<Connection Source="FB1.CNF" Destination="FB4.EI" dx1="50" />
|
||||||
|
<Connection Source="FB4.EO" Destination="FB2.I" dx1="47.1665" />
|
||||||
|
</EventConnections>
|
||||||
|
<DataConnections>
|
||||||
|
<Connection Source="FB1.OUT" Destination="FB4.PERMIT" dx1="47.47913" />
|
||||||
|
</DataConnections>
|
||||||
|
</SubAppNetwork>
|
||||||
|
</Application>
|
||||||
|
<Device ID="3AA16C28-1802-4317-A0AB-CD0F0BE9F207" Name="EcoRT_0" Type="Soft_dPAC" x="700" y="700.0002" Namespace="SE.DPAC">
|
||||||
|
<Resource ID="7D0D65D04621E248" Name="RES0" Type="EMB_RES_ECO" x="800" y="800" Namespace="Runtime.Management">
|
||||||
|
<FBNetwork />
|
||||||
|
</Resource>
|
||||||
|
<FBNetwork />
|
||||||
|
</Device>
|
||||||
|
</System>
|
43
data/training_dataset/train/eae/ds4.sys
Normal file
43
data/training_dataset/train/eae/ds4.sys
Normal file
|
@ -0,0 +1,43 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!DOCTYPE System SYSTEM "../LibraryElement.dtd">
|
||||||
|
<System Name="System" Comment="System Configuration">
|
||||||
|
<Attribute Name="System.Device.FolderPath" Value="EcoRT_0" />
|
||||||
|
<Identification Standard="61499-1" />
|
||||||
|
<VersionInfo Organization="Schneider Electric" Version="0.0" Author="Schneider" Date="5/3/2025" />
|
||||||
|
<Application ID="A1E1ABC9A0FC77E9" Name="APP1">
|
||||||
|
<SubAppNetwork>
|
||||||
|
<FB ID="8446E4205BD747C3" Name="FB1" Type="AND_88A3DD8EC65DD11C" x="700" y="80" Namespace="Main">
|
||||||
|
<Attribute Name="Configuration.GenericFBType.InterfaceParams" Value="Runtime.Standard#CNT:=2;OUT:BOOL" />
|
||||||
|
</FB>
|
||||||
|
<FB ID="9A9AC81678877902" Name="FB2" Type="AND_88A3DD8EC65DD11C" x="680" y="540" Namespace="Main">
|
||||||
|
<Attribute Name="Configuration.GenericFBType.InterfaceParams" Value="Runtime.Standard#CNT:=2;OUT:BOOL" />
|
||||||
|
</FB>
|
||||||
|
<FB ID="2F865BE94A5F5E5C" Name="FB3" Type="AND_88A3DD8EC65DD11C" x="720" y="1100" Namespace="Main">
|
||||||
|
<Attribute Name="Configuration.GenericFBType.InterfaceParams" Value="Runtime.Standard#CNT:=2;OUT:BOOL" />
|
||||||
|
</FB>
|
||||||
|
<FB ID="5A5DCE8244DDBFDE" UID="66E5FAB6DAADD2C" Name="FB4" Type="OR_550FE6D62F509EB3" x="2060" y="520" Namespace="Main">
|
||||||
|
<Attribute Name="Configuration.GenericFBType.InterfaceParams" Value="Runtime.Standard#CNT:=3;OUT:BOOL" />
|
||||||
|
</FB>
|
||||||
|
<EventConnections>
|
||||||
|
<Connection Source="FB1.CNF" Destination="FB4.REQ" dx1="637.4791">
|
||||||
|
<AvoidsNodes>false</AvoidsNodes>
|
||||||
|
</Connection>
|
||||||
|
<Connection Source="FB2.CNF" Destination="FB4.REQ" dx1="47.47913" />
|
||||||
|
<Connection Source="FB3.CNF" Destination="FB4.REQ" dx1="597.4791">
|
||||||
|
<AvoidsNodes>false</AvoidsNodes>
|
||||||
|
</Connection>
|
||||||
|
</EventConnections>
|
||||||
|
<DataConnections>
|
||||||
|
<Connection Source="FB1.OUT" Destination="FB4.IN1" dx1="47.47913" />
|
||||||
|
<Connection Source="FB2.OUT" Destination="FB4.IN2" dx1="47.47913" />
|
||||||
|
<Connection Source="FB3.OUT" Destination="FB4.IN3" dx1="70" />
|
||||||
|
</DataConnections>
|
||||||
|
</SubAppNetwork>
|
||||||
|
</Application>
|
||||||
|
<Device ID="918C0E8F-68A0-45C5-BC4C-6B01AB314895" Name="EcoRT_0" Type="Soft_dPAC" x="700" y="700.0001" Namespace="SE.DPAC">
|
||||||
|
<Resource ID="E22E3DFCFF324CD7" Name="RES0" Type="EMB_RES_ECO" x="800" y="800" Namespace="Runtime.Management">
|
||||||
|
<FBNetwork />
|
||||||
|
</Resource>
|
||||||
|
<FBNetwork />
|
||||||
|
</Device>
|
||||||
|
</System>
|
41
data/training_dataset/train/eae/ds5.sys
Normal file
41
data/training_dataset/train/eae/ds5.sys
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!DOCTYPE System SYSTEM "../LibraryElement.dtd">
|
||||||
|
<System Name="System" Comment="System Configuration">
|
||||||
|
<Attribute Name="System.Device.FolderPath" Value="EcoRT_0" />
|
||||||
|
<Identification Standard="61499-1" />
|
||||||
|
<VersionInfo Organization="Schneider Electric" Version="0.0" Author="Schneider" Date="5/5/2025" />
|
||||||
|
<Application ID="4DADC31F410F6DCF" Name="APP1">
|
||||||
|
<SubAppNetwork>
|
||||||
|
<FB ID="E5BAE00B8693927E" Name="FB1" Type="OR_88A3DD8EC65DD11C" x="380" y="860" Namespace="Main">
|
||||||
|
<Attribute Name="Configuration.GenericFBType.InterfaceParams" Value="Runtime.Standard#CNT:=2;OUT:BOOL" />
|
||||||
|
</FB>
|
||||||
|
<FB ID="92CB2B3F50CF87CD" Name="FB2" Type="NOT_42C76073DCEB1A7A" x="1220" y="860" Namespace="Main">
|
||||||
|
<Attribute Name="Configuration.GenericFBType.InterfaceParams" Value="Runtime.Standard#CNT:=1;OUT${CNT}:BOOL" />
|
||||||
|
</FB>
|
||||||
|
<FB ID="BE94FAE6096BFCB1" Name="FB3" Type="E_SR" x="240" y="160" Namespace="IEC61499.Standard" />
|
||||||
|
<FB ID="A8D5F2816408587E" Name="FB4" Type="AND_88A3DD8EC65DD11C" x="2140" y="560" Namespace="Main">
|
||||||
|
<Attribute Name="Configuration.GenericFBType.InterfaceParams" Value="Runtime.Standard#CNT:=2;OUT:BOOL" />
|
||||||
|
</FB>
|
||||||
|
<EventConnections>
|
||||||
|
<Connection Source="FB1.CNF" Destination="FB2.REQ" />
|
||||||
|
<Connection Source="FB3.EO" Destination="FB4.REQ" dx1="1518.354">
|
||||||
|
<AvoidsNodes>false</AvoidsNodes>
|
||||||
|
</Connection>
|
||||||
|
<Connection Source="FB2.CNF" Destination="FB4.REQ" dx1="50" />
|
||||||
|
</EventConnections>
|
||||||
|
<DataConnections>
|
||||||
|
<Connection Source="FB1.OUT" Destination="FB2.IN1" />
|
||||||
|
<Connection Source="FB2.OUT1" Destination="FB4.IN2" dx1="233.75">
|
||||||
|
<AvoidsNodes>false</AvoidsNodes>
|
||||||
|
</Connection>
|
||||||
|
<Connection Source="FB3.Q" Destination="FB4.IN1" dx1="1288.354" />
|
||||||
|
</DataConnections>
|
||||||
|
</SubAppNetwork>
|
||||||
|
</Application>
|
||||||
|
<Device ID="D8305DC2-4472-4794-ADB5-4B3F0F3DE5F5" Name="EcoRT_0" Type="Soft_dPAC" x="700" y="700.0001" Namespace="SE.DPAC">
|
||||||
|
<Resource ID="EB8430069A65F1E6" Name="RES0" Type="EMB_RES_ECO" x="800" y="800" Namespace="Runtime.Management">
|
||||||
|
<FBNetwork />
|
||||||
|
</Resource>
|
||||||
|
<FBNetwork />
|
||||||
|
</Device>
|
||||||
|
</System>
|
34
data/training_dataset/train/eae/ds7.sys
Normal file
34
data/training_dataset/train/eae/ds7.sys
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!DOCTYPE System SYSTEM "../LibraryElement.dtd">
|
||||||
|
<System Name="System" Comment="System Configuration">
|
||||||
|
<Attribute Name="System.Device.FolderPath" Value="EcoRT_0" />
|
||||||
|
<Identification Standard="61499-1" />
|
||||||
|
<VersionInfo Organization="Schneider Electric" Version="0.0" Author="Schneider" Date="5/5/2025" />
|
||||||
|
<Application ID="DC2BFB16916A07AB" Name="APP1">
|
||||||
|
<SubAppNetwork>
|
||||||
|
<FB ID="E6DCC2E341F3476B" Name="FB1" Type="E_CTU" x="1120" y="100" Namespace="IEC61499.Standard">
|
||||||
|
<Parameter Name="PV" Value="5" />
|
||||||
|
</FB>
|
||||||
|
<FB ID="17CFEBEABFC2C32A" Name="FB2" Type="TON" x="2040" y="700" Namespace="MIT.MITSchneider">
|
||||||
|
<Parameter Name="PT" Value="T#5000ms" />
|
||||||
|
</FB>
|
||||||
|
<FB ID="7429FC5FA47473FB" Name="FB3" Type="E_SR" x="2420" y="380" Namespace="IEC61499.Standard" />
|
||||||
|
<FB ID="B20685B14EEE0734" Name="FB5" Type="E_PERMIT" x="1580" y="140" Namespace="IEC61499.Standard" />
|
||||||
|
<EventConnections>
|
||||||
|
<Connection Source="FB2.Q" Destination="FB1.R" dx1="40.95825" dx2="50" dy="-110" />
|
||||||
|
<Connection Source="FB5.EO" Destination="FB3.R" dx1="47.16675" />
|
||||||
|
<Connection Source="FB5.EO" Destination="FB2.I" dx1="47.16675" dx2="50" dy="290" />
|
||||||
|
<Connection Source="FB1.CUO" Destination="FB5.EI" dx1="60" />
|
||||||
|
</EventConnections>
|
||||||
|
<DataConnections>
|
||||||
|
<Connection Source="FB1.Q" Destination="FB5.PERMIT" dx1="73.5625" />
|
||||||
|
</DataConnections>
|
||||||
|
</SubAppNetwork>
|
||||||
|
</Application>
|
||||||
|
<Device ID="9CB508C9-15B8-4B20-B5CE-DAC002E9C125" Name="EcoRT_0" Type="Soft_dPAC" x="700" y="700.0002" Namespace="SE.DPAC">
|
||||||
|
<Resource ID="A0205FCF4D0C1E6E" Name="RES0" Type="EMB_RES_ECO" x="800" y="800" Namespace="Runtime.Management">
|
||||||
|
<FBNetwork />
|
||||||
|
</Resource>
|
||||||
|
<FBNetwork />
|
||||||
|
</Device>
|
||||||
|
</System>
|
55
data/training_dataset/train/ece/connection_2.xml
Normal file
55
data/training_dataset/train/ece/connection_2.xml
Normal file
|
@ -0,0 +1,55 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
|
<PGMExchangeFile>
|
||||||
|
<fileHeader company="Schneider Automation" product="Control Expert V15.3 - 230214C" dateTime="date_and_time#2025-4-9-15:33:38" content="Multi Program source file" DTDVersion="41"></fileHeader>
|
||||||
|
<contentHeader name="Project" version="0.0.000"></contentHeader>
|
||||||
|
<logicConf>
|
||||||
|
<resource resName="M580" resIdent="BME P58 3020 04.10">
|
||||||
|
<taskDesc task="MAST" taskType="cyclic" valueType="0" maxExecTime="250">
|
||||||
|
<sectionDesc name="connect" SectionOrder="1"></sectionDesc>
|
||||||
|
</taskDesc>
|
||||||
|
</resource>
|
||||||
|
</logicConf>
|
||||||
|
<program>
|
||||||
|
<identProgram name="connect" type="section" task="MAST" SectionOrder="1"></identProgram>
|
||||||
|
<FBDSource nbRows="24" nbColumns="36">
|
||||||
|
<networkFBD>
|
||||||
|
<FFBBlock instanceName=".1" typeName="ADD" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="26" posY="11"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1" effectiveParameter="C"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2" effectiveParameter="D"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName=".2" typeName="SUB" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="47" posY="17"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2" effectiveParameter="F"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT" effectiveParameter="G"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".1" pinName="OUT">
|
||||||
|
<objPosition posX="32" posY="15"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName=".2" pinName="IN1">
|
||||||
|
<objPosition posX="47" posY="21"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="34" posY="15"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="34" posY="21"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
</networkFBD>
|
||||||
|
</FBDSource>
|
||||||
|
</program>
|
||||||
|
<dataBlock>
|
||||||
|
<variables name="F" typeName="INT"></variables>
|
||||||
|
<variables name="C" typeName="INT"></variables>
|
||||||
|
<variables name="D" typeName="INT"></variables>
|
||||||
|
<variables name="G" typeName="INT"></variables>
|
||||||
|
</dataBlock>
|
||||||
|
</PGMExchangeFile>
|
76
data/training_dataset/train/ece/connection_3.xml
Normal file
76
data/training_dataset/train/ece/connection_3.xml
Normal file
|
@ -0,0 +1,76 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
|
<PGMExchangeFile>
|
||||||
|
<fileHeader company="Schneider Automation" product="Control Expert V15.3 - 230214C" dateTime="date_and_time#2025-4-9-15:37:41" content="Multi Program source file" DTDVersion="41"></fileHeader>
|
||||||
|
<contentHeader name="Project" version="0.0.000"></contentHeader>
|
||||||
|
<logicConf>
|
||||||
|
<resource resName="M580" resIdent="BME P58 3020 04.10">
|
||||||
|
<taskDesc task="MAST" taskType="cyclic" valueType="0" maxExecTime="250">
|
||||||
|
<sectionDesc name="connect" SectionOrder="1"></sectionDesc>
|
||||||
|
</taskDesc>
|
||||||
|
</resource>
|
||||||
|
</logicConf>
|
||||||
|
<program>
|
||||||
|
<identProgram name="connect" type="section" task="MAST" SectionOrder="1"></identProgram>
|
||||||
|
<FBDSource nbRows="24" nbColumns="36">
|
||||||
|
<networkFBD>
|
||||||
|
<FFBBlock instanceName=".1" typeName="AND" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="19" posY="12"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1" effectiveParameter="A"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2" effectiveParameter="B"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName=".2" typeName="OR" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="39" posY="17"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT" effectiveParameter="R"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName=".3" typeName="AND" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="20" posY="25"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1" effectiveParameter="P"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2" effectiveParameter="Q"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".3" pinName="OUT">
|
||||||
|
<objPosition posX="26" posY="29"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName=".2" pinName="IN2">
|
||||||
|
<objPosition posX="39" posY="22"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="28" posY="29"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="28" posY="22"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".1" pinName="OUT">
|
||||||
|
<objPosition posX="25" posY="16"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName=".2" pinName="IN1">
|
||||||
|
<objPosition posX="39" posY="21"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="27" posY="16"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="27" posY="21"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
</networkFBD>
|
||||||
|
</FBDSource>
|
||||||
|
</program>
|
||||||
|
<dataBlock>
|
||||||
|
<variables name="R" typeName="BOOL"></variables>
|
||||||
|
<variables name="Q" typeName="BOOL"></variables>
|
||||||
|
<variables name="A" typeName="BOOL"></variables>
|
||||||
|
<variables name="B" typeName="BOOL"></variables>
|
||||||
|
<variables name="P" typeName="BOOL"></variables>
|
||||||
|
</dataBlock>
|
||||||
|
</PGMExchangeFile>
|
90
data/training_dataset/train/ece/connection_4.xml
Normal file
90
data/training_dataset/train/ece/connection_4.xml
Normal file
|
@ -0,0 +1,90 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
|
<FBDExchangeFile>
|
||||||
|
<fileHeader company="Schneider Automation" product="Control Expert V15.3 - 230214C" dateTime="date_and_time#2025-4-9-15:42:53" content="Derived Function Block source file" DTDVersion="41"></fileHeader>
|
||||||
|
<contentHeader name="Project" version="0.0.000"></contentHeader>
|
||||||
|
<program>
|
||||||
|
<identProgram name="test" type="section" task="MAST" SectionOrder="1"></identProgram>
|
||||||
|
<FBDSource nbRows="24" nbColumns="36">
|
||||||
|
<networkFBD>
|
||||||
|
<FFBBlock instanceName=".1" typeName="ADD" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="19" posY="10"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1" effectiveParameter="A"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2" effectiveParameter="B"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName=".2" typeName="SUB" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="18" posY="23"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1" effectiveParameter="C"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2" effectiveParameter="D"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName=".3" typeName="MUL" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="39" posY="13"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName=".4" typeName="DIV" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="53" posY="19"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2" effectiveParameter="E"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT" effectiveParameter="F"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".3" pinName="OUT">
|
||||||
|
<objPosition posX="45" posY="17"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName=".4" pinName="IN1">
|
||||||
|
<objPosition posX="53" posY="23"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="47" posY="17"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="47" posY="23"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".1" pinName="OUT">
|
||||||
|
<objPosition posX="25" posY="14"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName=".3" pinName="IN1">
|
||||||
|
<objPosition posX="39" posY="17"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="27" posY="14"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="27" posY="17"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".2" pinName="OUT">
|
||||||
|
<objPosition posX="24" posY="27"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName=".3" pinName="IN2">
|
||||||
|
<objPosition posX="39" posY="18"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="26" posY="27"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="26" posY="18"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
</networkFBD>
|
||||||
|
</FBDSource>
|
||||||
|
</program>
|
||||||
|
<dataBlock>
|
||||||
|
<variables name="E" typeName="REAL"></variables>
|
||||||
|
<variables name="C" typeName="REAL"></variables>
|
||||||
|
<variables name="D" typeName="REAL"></variables>
|
||||||
|
<variables name="F" typeName="REAL"></variables>
|
||||||
|
<variables name="B" typeName="REAL"></variables>
|
||||||
|
<variables name="A" typeName="REAL"></variables>
|
||||||
|
</dataBlock>
|
||||||
|
</FBDExchangeFile>
|
68
data/training_dataset/train/ece/ds1.xml
Normal file
68
data/training_dataset/train/ece/ds1.xml
Normal file
|
@ -0,0 +1,68 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
|
<FBDExchangeFile>
|
||||||
|
<fileHeader company="Schneider Automation" product="Control Expert V15.3 - 230214C" dateTime="date_and_time#2025-5-2-16:14:56" content="Derived Function Block source file" DTDVersion="41"></fileHeader>
|
||||||
|
<contentHeader name="Project" version="0.0.5" dateTime="date_and_time#2025-3-18-15:21:30"></contentHeader>
|
||||||
|
<program>
|
||||||
|
<identProgram name="ds1" type="section" task="MAST" SectionOrder="5"></identProgram>
|
||||||
|
<FBDSource nbRows="24" nbColumns="36">
|
||||||
|
<networkFBD>
|
||||||
|
<FFBBlock instanceName=".1" typeName="NOT" additionnalPinNumber="0" enEnO="false" width="7" height="5">
|
||||||
|
<objPosition posX="19" posY="14"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN" effectiveParameter="Fault"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName=".2" typeName="AND" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="34" posY="17"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2" effectiveParameter="start_PB"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName="SR_1" typeName="SR" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="53" posY="21"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="S1"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="R" effectiveParameter="stop_PB"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="Q1" effectiveParameter="Motor"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".1" pinName="OUT">
|
||||||
|
<objPosition posX="25" posY="18"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName=".2" pinName="IN1">
|
||||||
|
<objPosition posX="34" posY="21"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="27" posY="18"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="27" posY="21"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".2" pinName="OUT">
|
||||||
|
<objPosition posX="40" posY="21"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName="SR_1" pinName="S1">
|
||||||
|
<objPosition posX="53" posY="25"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="42" posY="21"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="42" posY="25"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
</networkFBD>
|
||||||
|
</FBDSource>
|
||||||
|
</program>
|
||||||
|
<dataBlock>
|
||||||
|
<variables name="Motor" typeName="BOOL"></variables>
|
||||||
|
<variables name="Start_PB" typeName="BOOL"></variables>
|
||||||
|
<variables name="Fault" typeName="BOOL"></variables>
|
||||||
|
<variables name="SR_1" typeName="SR"></variables>
|
||||||
|
<variables name="stop_PB" typeName="BOOL"></variables>
|
||||||
|
</dataBlock>
|
||||||
|
</FBDExchangeFile>
|
49
data/training_dataset/train/ece/ds2.xml
Normal file
49
data/training_dataset/train/ece/ds2.xml
Normal file
|
@ -0,0 +1,49 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
|
<FBDExchangeFile>
|
||||||
|
<fileHeader company="Schneider Automation" product="Control Expert V15.3 - 230214C" dateTime="date_and_time#2025-5-2-16:15:14" content="Derived Function Block source file" DTDVersion="41"></fileHeader>
|
||||||
|
<contentHeader name="Project" version="0.0.5" dateTime="date_and_time#2025-3-18-15:21:30"></contentHeader>
|
||||||
|
<program>
|
||||||
|
<identProgram name="ds2" type="section" task="MAST" SectionOrder="6"></identProgram>
|
||||||
|
<FBDSource nbRows="24" nbColumns="36">
|
||||||
|
<networkFBD>
|
||||||
|
<FFBBlock instanceName=".1" typeName="AND" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="25" posY="17"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1" effectiveParameter="MD"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2" effectiveParameter="LS"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName="TON_2" typeName="TON" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="39" posY="22"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="PT" effectiveParameter="T#10s"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="Q" effectiveParameter="light"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ET"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".1" pinName="OUT">
|
||||||
|
<objPosition posX="31" posY="21"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName="TON_2" pinName="IN">
|
||||||
|
<objPosition posX="39" posY="26"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="33" posY="21"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="33" posY="26"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
</networkFBD>
|
||||||
|
</FBDSource>
|
||||||
|
</program>
|
||||||
|
<dataBlock>
|
||||||
|
<variables name="LS" typeName="BOOL"></variables>
|
||||||
|
<variables name="MD" typeName="BOOL"></variables>
|
||||||
|
<variables name="light" typeName="BOOL"></variables>
|
||||||
|
<variables name="TON_2" typeName="TON"></variables>
|
||||||
|
</dataBlock>
|
||||||
|
</FBDExchangeFile>
|
89
data/training_dataset/train/ece/ds4.xml
Normal file
89
data/training_dataset/train/ece/ds4.xml
Normal file
|
@ -0,0 +1,89 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
|
<FBDExchangeFile>
|
||||||
|
<fileHeader company="Schneider Automation" product="Control Expert V15.3 - 230214C" dateTime="date_and_time#2025-5-2-16:15:31" content="Derived Function Block source file" DTDVersion="41"></fileHeader>
|
||||||
|
<contentHeader name="Project" version="0.0.5" dateTime="date_and_time#2025-3-18-15:21:30"></contentHeader>
|
||||||
|
<program>
|
||||||
|
<identProgram name="ds4" type="section" task="MAST" SectionOrder="8"></identProgram>
|
||||||
|
<FBDSource nbRows="24" nbColumns="36">
|
||||||
|
<networkFBD>
|
||||||
|
<FFBBlock instanceName=".1" typeName="AND" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="28" posY="11"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1" effectiveParameter="s1"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2" effectiveParameter="s2"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName=".2" typeName="AND" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="28" posY="20"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1" effectiveParameter="s2"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2" effectiveParameter="s3"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName=".3" typeName="AND" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="28" posY="29"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1" effectiveParameter="s1"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2" effectiveParameter="s3"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName=".4" typeName="OR" additionnalPinNumber="1" enEnO="false" width="7" height="7">
|
||||||
|
<objPosition posX="47" posY="18"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN3"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT" effectiveParameter="final_out"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".2" pinName="OUT">
|
||||||
|
<objPosition posX="34" posY="24"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName=".4" pinName="IN2">
|
||||||
|
<objPosition posX="47" posY="23"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="36" posY="24"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="36" posY="23"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".3" pinName="OUT">
|
||||||
|
<objPosition posX="34" posY="33"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName=".4" pinName="IN3">
|
||||||
|
<objPosition posX="47" posY="24"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="37" posY="33"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="37" posY="24"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".1" pinName="OUT">
|
||||||
|
<objPosition posX="34" posY="15"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName=".4" pinName="IN1">
|
||||||
|
<objPosition posX="47" posY="22"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="36" posY="15"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="36" posY="22"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
</networkFBD>
|
||||||
|
</FBDSource>
|
||||||
|
</program>
|
||||||
|
<dataBlock>
|
||||||
|
<variables name="final_out" typeName="BOOL"></variables>
|
||||||
|
<variables name="s2" typeName="BOOL"></variables>
|
||||||
|
<variables name="s3" typeName="BOOL"></variables>
|
||||||
|
<variables name="s1" typeName="BOOL"></variables>
|
||||||
|
</dataBlock>
|
||||||
|
</FBDExchangeFile>
|
87
data/training_dataset/train/ece/ds5.xml
Normal file
87
data/training_dataset/train/ece/ds5.xml
Normal file
|
@ -0,0 +1,87 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
|
<FBDExchangeFile>
|
||||||
|
<fileHeader company="Schneider Automation" product="Control Expert V15.3 - 230214C" dateTime="date_and_time#2025-5-2-16:15:38" content="Derived Function Block source file" DTDVersion="41"></fileHeader>
|
||||||
|
<contentHeader name="Project" version="0.0.5" dateTime="date_and_time#2025-3-18-15:21:30"></contentHeader>
|
||||||
|
<program>
|
||||||
|
<identProgram name="ds5" type="section" task="MAST" SectionOrder="9"></identProgram>
|
||||||
|
<FBDSource nbRows="24" nbColumns="36">
|
||||||
|
<networkFBD>
|
||||||
|
<FFBBlock instanceName="SR_7" typeName="SR" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="25" posY="14"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="S1" effectiveParameter="Start"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="R" effectiveParameter="stop"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="Q1"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName=".1" typeName="AND" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="40" posY="24"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT" effectiveParameter="Move"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName=".2" typeName="OR" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="14" posY="29"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1" effectiveParameter="overload"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2" effectiveParameter="door_open"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName=".3" typeName="NOT" additionnalPinNumber="0" enEnO="false" width="7" height="5">
|
||||||
|
<objPosition posX="27" posY="29"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".2" pinName="OUT">
|
||||||
|
<objPosition posX="20" posY="33"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName=".3" pinName="IN">
|
||||||
|
<objPosition posX="27" posY="33"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
</linkFB>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".3" pinName="OUT">
|
||||||
|
<objPosition posX="33" posY="33"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName=".1" pinName="IN2">
|
||||||
|
<objPosition posX="40" posY="29"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="35" posY="33"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="35" posY="29"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName="SR_7" pinName="Q1">
|
||||||
|
<objPosition posX="31" posY="18"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName=".1" pinName="IN1">
|
||||||
|
<objPosition posX="40" posY="28"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="39" posY="18"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="39" posY="28"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
</networkFBD>
|
||||||
|
</FBDSource>
|
||||||
|
</program>
|
||||||
|
<dataBlock>
|
||||||
|
<variables name="Move" typeName="BOOL"></variables>
|
||||||
|
<variables name="stop" typeName="BOOL"></variables>
|
||||||
|
<variables name="SR_7" typeName="SR"></variables>
|
||||||
|
<variables name="door_open" typeName="BOOL"></variables>
|
||||||
|
<variables name="Start" typeName="BOOL"></variables>
|
||||||
|
<variables name="overload" typeName="BOOL"></variables>
|
||||||
|
</dataBlock>
|
||||||
|
</FBDExchangeFile>
|
85
data/training_dataset/train/ece/ds7.xml
Normal file
85
data/training_dataset/train/ece/ds7.xml
Normal file
|
@ -0,0 +1,85 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
|
<FBDExchangeFile>
|
||||||
|
<fileHeader company="Schneider Automation" product="Control Expert V15.3 - 230214C" dateTime="date_and_time#2025-5-2-16:15:50" content="Derived Function Block source file" DTDVersion="41"></fileHeader>
|
||||||
|
<contentHeader name="Project" version="0.0.5" dateTime="date_and_time#2025-3-18-15:21:30"></contentHeader>
|
||||||
|
<program>
|
||||||
|
<identProgram name="ds7" type="section" task="MAST" SectionOrder="11"></identProgram>
|
||||||
|
<FBDSource nbRows="24" nbColumns="36">
|
||||||
|
<networkFBD>
|
||||||
|
<FFBBlock instanceName="CTU_2" typeName="CTU" additionnalPinNumber="0" enEnO="false" width="7" height="7">
|
||||||
|
<objPosition posX="30" posY="20"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="CU" effectiveParameter="s1"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="R"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="PV" effectiveParameter="5"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="Q"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="CV"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName="TON_3" typeName="TON" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="56" posY="23"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="PT" effectiveParameter="t#5s"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="Q"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ET"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName="SR_12" typeName="SR" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="51" posY="13"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="S1" effectiveParameter="start"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="R"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="Q1" effectiveParameter="motor"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName="TON_3" pinName="Q">
|
||||||
|
<objPosition posX="62" posY="27"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName="CTU_2" pinName="R">
|
||||||
|
<objPosition posX="30" posY="25"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="64" posY="27"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="64" posY="32"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="29" posY="32"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="29" posY="25"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName="CTU_2" pinName="Q">
|
||||||
|
<objPosition posX="36" posY="24"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName="SR_12" pinName="R">
|
||||||
|
<objPosition posX="51" posY="18"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="38" posY="24"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="38" posY="18"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName="CTU_2" pinName="Q">
|
||||||
|
<objPosition posX="36" posY="24"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName="TON_3" pinName="IN">
|
||||||
|
<objPosition posX="56" posY="27"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="47" posY="24"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="47" posY="27"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
</networkFBD>
|
||||||
|
</FBDSource>
|
||||||
|
</program>
|
||||||
|
<dataBlock>
|
||||||
|
<variables name="SR_12" typeName="SR"></variables>
|
||||||
|
<variables name="Motor" typeName="BOOL"></variables>
|
||||||
|
<variables name="Start" typeName="BOOL"></variables>
|
||||||
|
<variables name="TON_3" typeName="TON"></variables>
|
||||||
|
<variables name="CTU_2" typeName="CTU"></variables>
|
||||||
|
<variables name="s1" typeName="BOOL"></variables>
|
||||||
|
</dataBlock>
|
||||||
|
</FBDExchangeFile>
|
93
data/training_test/test/ece/ds8.xml
Normal file
93
data/training_test/test/ece/ds8.xml
Normal file
|
@ -0,0 +1,93 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
|
<FBDExchangeFile>
|
||||||
|
<fileHeader company="Schneider Automation" product="Control Expert V15.3 - 230214C" dateTime="date_and_time#2025-5-2-16:16:8" content="Derived Function Block source file" DTDVersion="41"></fileHeader>
|
||||||
|
<contentHeader name="Project" version="0.0.5" dateTime="date_and_time#2025-3-18-15:21:30"></contentHeader>
|
||||||
|
<program>
|
||||||
|
<identProgram name="ds8" type="section" task="MAST" SectionOrder="12"></identProgram>
|
||||||
|
<FBDSource nbRows="24" nbColumns="36">
|
||||||
|
<networkFBD>
|
||||||
|
<FFBBlock instanceName="CTU_3" typeName="CTU" additionnalPinNumber="0" enEnO="false" width="7" height="7">
|
||||||
|
<objPosition posX="32" posY="14"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="CU" effectiveParameter="enter"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="R"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="PV" effectiveParameter="100"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="Q"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="CV"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName="CTU_4" typeName="CTU" additionnalPinNumber="0" enEnO="false" width="7" height="7">
|
||||||
|
<objPosition posX="32" posY="27"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="CU" effectiveParameter="exist"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="R"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="PV" effectiveParameter="100"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="Q"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="CV"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName=".1" typeName="SUB" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="46" posY="20"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName=".2" typeName="EQ" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="63" posY="26"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2" effectiveParameter="10"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT" effectiveParameter="full"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName="CTU_4" pinName="CV">
|
||||||
|
<objPosition posX="38" posY="33"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName=".1" pinName="IN2">
|
||||||
|
<objPosition posX="46" posY="25"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="45" posY="33"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="45" posY="25"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName="CTU_3" pinName="CV">
|
||||||
|
<objPosition posX="38" posY="20"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName=".1" pinName="IN1">
|
||||||
|
<objPosition posX="46" posY="24"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="40" posY="20"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="40" posY="24"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".1" pinName="OUT">
|
||||||
|
<objPosition posX="52" posY="24"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName=".2" pinName="IN1">
|
||||||
|
<objPosition posX="63" posY="30"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="54" posY="24"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="54" posY="30"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
</networkFBD>
|
||||||
|
</FBDSource>
|
||||||
|
</program>
|
||||||
|
<dataBlock>
|
||||||
|
<variables name="full" typeName="BOOL"></variables>
|
||||||
|
<variables name="exist" typeName="BOOL"></variables>
|
||||||
|
<variables name="CTU_4" typeName="CTU"></variables>
|
||||||
|
<variables name="enter" typeName="BOOL"></variables>
|
||||||
|
<variables name="CTU_3" typeName="CTU"></variables>
|
||||||
|
</dataBlock>
|
||||||
|
</FBDExchangeFile>
|
189
data/training_test/test/ece/ds9.xml
Normal file
189
data/training_test/test/ece/ds9.xml
Normal file
|
@ -0,0 +1,189 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
|
<FBDExchangeFile>
|
||||||
|
<fileHeader company="Schneider Automation" product="Control Expert V15.3 - 230214C" dateTime="date_and_time#2025-5-2-16:16:12" content="Derived Function Block source file" DTDVersion="41"></fileHeader>
|
||||||
|
<contentHeader name="Project" version="0.0.5" dateTime="date_and_time#2025-3-18-15:21:30"></contentHeader>
|
||||||
|
<program>
|
||||||
|
<identProgram name="ds9" type="section" task="MAST" SectionOrder="13"></identProgram>
|
||||||
|
<FBDSource nbRows="24" nbColumns="36">
|
||||||
|
<networkFBD>
|
||||||
|
<FFBBlock instanceName=".1" typeName="GT" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="22" posY="17"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1" effectiveParameter="power_usage"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2" effectiveParameter="300.0"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName="TP_0" typeName="TP" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="37" posY="17"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="PT" effectiveParameter="T#5s"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="Q"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ET"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName="CTU_5" typeName="CTU" additionnalPinNumber="0" enEnO="false" width="7" height="7">
|
||||||
|
<objPosition posX="60" posY="20"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="CU"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="R"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="PV"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="Q"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="CV"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName=".2" typeName="EQ" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="74" posY="17"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2" effectiveParameter="1"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName=".3" typeName="EQ" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="74" posY="25"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2" effectiveParameter="2"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName=".4" typeName="EQ" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="74" posY="34"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2" effectiveParameter="3"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName="SR_13" typeName="SR" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="90" posY="17"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="S1"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="R" effectiveParameter="reset"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="Q1" effectiveParameter="load1"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName="SR_14" typeName="SR" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="90" posY="25"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="S1"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="R" effectiveParameter="reset"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="Q1" effectiveParameter="load2"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName="SR_15" typeName="SR" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="92" posY="34"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="S1"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="R" effectiveParameter="reset"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="Q1" effectiveParameter="load3"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName="TP_0" pinName="Q">
|
||||||
|
<objPosition posX="43" posY="21"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName="CTU_5" pinName="CU">
|
||||||
|
<objPosition posX="60" posY="24"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="52" posY="21"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="52" posY="24"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".4" pinName="OUT">
|
||||||
|
<objPosition posX="80" posY="38"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName="SR_15" pinName="S1">
|
||||||
|
<objPosition posX="92" posY="38"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
</linkFB>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName="CTU_5" pinName="CV">
|
||||||
|
<objPosition posX="66" posY="26"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName=".3" pinName="IN1">
|
||||||
|
<objPosition posX="74" posY="29"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="71" posY="26"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="71" posY="29"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".2" pinName="OUT">
|
||||||
|
<objPosition posX="80" posY="21"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName="SR_13" pinName="S1">
|
||||||
|
<objPosition posX="90" posY="21"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
</linkFB>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName="CTU_5" pinName="CV">
|
||||||
|
<objPosition posX="66" posY="26"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName=".4" pinName="IN1">
|
||||||
|
<objPosition posX="74" posY="38"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="68" posY="26"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="68" posY="38"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName="CTU_5" pinName="CV">
|
||||||
|
<objPosition posX="66" posY="26"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName=".2" pinName="IN1">
|
||||||
|
<objPosition posX="74" posY="21"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="68" posY="26"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="68" posY="21"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".3" pinName="OUT">
|
||||||
|
<objPosition posX="80" posY="29"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName="SR_14" pinName="S1">
|
||||||
|
<objPosition posX="90" posY="29"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
</linkFB>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".1" pinName="OUT">
|
||||||
|
<objPosition posX="28" posY="21"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName="TP_0" pinName="IN">
|
||||||
|
<objPosition posX="37" posY="21"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
</linkFB>
|
||||||
|
</networkFBD>
|
||||||
|
</FBDSource>
|
||||||
|
</program>
|
||||||
|
<dataBlock>
|
||||||
|
<variables name="SR_15" typeName="SR"></variables>
|
||||||
|
<variables name="power_usage" typeName="REAL"></variables>
|
||||||
|
<variables name="SR_13" typeName="SR"></variables>
|
||||||
|
<variables name="CTU_5" typeName="CTU"></variables>
|
||||||
|
<variables name="reset" typeName="BOOL"></variables>
|
||||||
|
<variables name="load2" typeName="BOOL"></variables>
|
||||||
|
<variables name="Load1" typeName="BOOL"></variables>
|
||||||
|
<variables name="load3" typeName="BOOL"></variables>
|
||||||
|
<variables name="TP_0" typeName="TP"></variables>
|
||||||
|
<variables name="SR_14" typeName="SR"></variables>
|
||||||
|
</dataBlock>
|
||||||
|
</FBDExchangeFile>
|
206
data/training_test/test/ece/tank.xml
Normal file
206
data/training_test/test/ece/tank.xml
Normal file
|
@ -0,0 +1,206 @@
|
||||||
|
<FBDExchangeFile>
|
||||||
|
<fileHeader
|
||||||
|
company="Schneider Automation"
|
||||||
|
product="Control Expert V15.3 - 230214C"
|
||||||
|
dateTime="date_and_time#2025-4-22-16:3:6"
|
||||||
|
content="Derived Function Block source file"
|
||||||
|
DTDVersion="41"
|
||||||
|
/>
|
||||||
|
|
||||||
|
<contentHeader
|
||||||
|
name="Project"
|
||||||
|
version="0.0.5"
|
||||||
|
dateTime="date_and_time#2025-3-18-15:21:30"
|
||||||
|
/>
|
||||||
|
|
||||||
|
<program>
|
||||||
|
<identProgram
|
||||||
|
name="a1"
|
||||||
|
type="section"
|
||||||
|
task="MAST"
|
||||||
|
SectionOrder="4"
|
||||||
|
/>
|
||||||
|
|
||||||
|
<FBDSource nbRows="24" nbColumns="36">
|
||||||
|
<networkFBD>
|
||||||
|
|
||||||
|
<!-- SET Block - lowlevel -->
|
||||||
|
<FFBBlock instanceName=".1" typeName="SET" additionnalPinNumber="0" enEnO="false" width="7" height="5">
|
||||||
|
<objPosition posX="10" posY="10" />
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN" />
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO" />
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT" />
|
||||||
|
</descriptionFFB>
|
||||||
|
<comment>lowlevel</comment>
|
||||||
|
</FFBBlock>
|
||||||
|
|
||||||
|
<!-- SR Block -->
|
||||||
|
<FFBBlock instanceName="FB2" typeName="SR" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="33" posY="12" />
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN" />
|
||||||
|
<inputVariable invertedPin="false" formalParameter="S1" />
|
||||||
|
<inputVariable invertedPin="false" formalParameter="R" />
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO" />
|
||||||
|
<outputVariable invertedPin="false" formalParameter="Q1" effectiveParameter="pump" />
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
|
||||||
|
<!-- SET Block - Highlevel -->
|
||||||
|
<FFBBlock instanceName=".2" typeName="SET" additionnalPinNumber="0" enEnO="false" width="7" height="5">
|
||||||
|
<objPosition posX="10" posY="20" />
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN" />
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO" />
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT" />
|
||||||
|
</descriptionFFB>
|
||||||
|
<comment>Highlevel</comment>
|
||||||
|
</FFBBlock>
|
||||||
|
|
||||||
|
<!-- NOT Block -->
|
||||||
|
<FFBBlock instanceName=".3" typeName="NOT" additionnalPinNumber="0" enEnO="false" width="7" height="5">
|
||||||
|
<objPosition posX="21" posY="20" />
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN" />
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN" />
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO" />
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT" />
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
|
||||||
|
<!-- AND Block - low_alarm -->
|
||||||
|
<FFBBlock instanceName=".4" typeName="AND" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="35" posY="27" />
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN" />
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1" />
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2" />
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO" />
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT" effectiveParameter="low_alarm" />
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
|
||||||
|
<!-- AND Block - high_alarm -->
|
||||||
|
<FFBBlock instanceName=".5" typeName="AND" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="35" posY="37" />
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN" />
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1" />
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2" />
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO" />
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT" effectiveParameter="high_alarm" />
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
|
||||||
|
<!-- NOT Block -->
|
||||||
|
<FFBBlock instanceName=".6" typeName="NOT" additionnalPinNumber="0" enEnO="false" width="7" height="5">
|
||||||
|
<objPosition posX="12" posY="39" />
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN" />
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN" />
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO" />
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT" />
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
|
||||||
|
<!-- Links -->
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".1" pinName="OUT">
|
||||||
|
<objPosition posX="16" posY="14" />
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName="FB2" pinName="S1">
|
||||||
|
<objPosition posX="33" posY="16" />
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="31" posY="14" />
|
||||||
|
<gridObjPosition posX="31" posY="16" />
|
||||||
|
</linkFB>
|
||||||
|
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".3" pinName="OUT">
|
||||||
|
<objPosition posX="27" posY="24" />
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName=".4" pinName="IN2">
|
||||||
|
<objPosition posX="35" posY="32" />
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="29" posY="24" />
|
||||||
|
<gridObjPosition posX="29" posY="32" />
|
||||||
|
</linkFB>
|
||||||
|
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".6" pinName="OUT">
|
||||||
|
<objPosition posX="18" posY="43" />
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName=".5" pinName="IN2">
|
||||||
|
<objPosition posX="35" posY="42" />
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="27" posY="43" />
|
||||||
|
<gridObjPosition posX="27" posY="42" />
|
||||||
|
</linkFB>
|
||||||
|
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".1" pinName="OUT">
|
||||||
|
<objPosition posX="16" posY="14" />
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName=".4" pinName="IN1">
|
||||||
|
<objPosition posX="35" posY="31" />
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="31" posY="14" />
|
||||||
|
<gridObjPosition posX="31" posY="31" />
|
||||||
|
</linkFB>
|
||||||
|
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".2" pinName="OUT">
|
||||||
|
<objPosition posX="16" posY="24" />
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName="FB2" pinName="R">
|
||||||
|
<objPosition posX="33" posY="17" />
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="18" posY="24" />
|
||||||
|
<gridObjPosition posX="18" posY="17" />
|
||||||
|
</linkFB>
|
||||||
|
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".2" pinName="OUT">
|
||||||
|
<objPosition posX="16" posY="24" />
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName=".3" pinName="IN">
|
||||||
|
<objPosition posX="21" posY="24" />
|
||||||
|
</linkDestination>
|
||||||
|
</linkFB>
|
||||||
|
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".2" pinName="OUT">
|
||||||
|
<objPosition posX="16" posY="24" />
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName=".5" pinName="IN1">
|
||||||
|
<objPosition posX="35" posY="41" />
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="20" posY="24" />
|
||||||
|
<gridObjPosition posX="20" posY="41" />
|
||||||
|
</linkFB>
|
||||||
|
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".1" pinName="OUT">
|
||||||
|
<objPosition posX="16" posY="14" />
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName=".6" pinName="IN">
|
||||||
|
<objPosition posX="12" posY="43" />
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="18" posY="14" />
|
||||||
|
<gridObjPosition posX="18" posY="16" />
|
||||||
|
<gridObjPosition posX="8" posY="16" />
|
||||||
|
<gridObjPosition posX="8" posY="43" />
|
||||||
|
</linkFB>
|
||||||
|
|
||||||
|
</networkFBD>
|
||||||
|
</FBDSource>
|
||||||
|
</program>
|
||||||
|
|
||||||
|
<dataBlock>
|
||||||
|
<variables name="high_alarm" typeName="BOOL" />
|
||||||
|
<variables name="FB2" typeName="SR" />
|
||||||
|
<variables name="low_alarm" typeName="BOOL" />
|
||||||
|
<variables name="pump" typeName="BOOL" />
|
||||||
|
</dataBlock>
|
||||||
|
</FBDExchangeFile>
|
55
data/training_test/train/ece/connection_2.xml
Normal file
55
data/training_test/train/ece/connection_2.xml
Normal file
|
@ -0,0 +1,55 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
|
<PGMExchangeFile>
|
||||||
|
<fileHeader company="Schneider Automation" product="Control Expert V15.3 - 230214C" dateTime="date_and_time#2025-4-9-15:33:38" content="Multi Program source file" DTDVersion="41"></fileHeader>
|
||||||
|
<contentHeader name="Project" version="0.0.000"></contentHeader>
|
||||||
|
<logicConf>
|
||||||
|
<resource resName="M580" resIdent="BME P58 3020 04.10">
|
||||||
|
<taskDesc task="MAST" taskType="cyclic" valueType="0" maxExecTime="250">
|
||||||
|
<sectionDesc name="connect" SectionOrder="1"></sectionDesc>
|
||||||
|
</taskDesc>
|
||||||
|
</resource>
|
||||||
|
</logicConf>
|
||||||
|
<program>
|
||||||
|
<identProgram name="connect" type="section" task="MAST" SectionOrder="1"></identProgram>
|
||||||
|
<FBDSource nbRows="24" nbColumns="36">
|
||||||
|
<networkFBD>
|
||||||
|
<FFBBlock instanceName=".1" typeName="ADD" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="26" posY="11"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1" effectiveParameter="C"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2" effectiveParameter="D"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName=".2" typeName="SUB" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="47" posY="17"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2" effectiveParameter="F"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT" effectiveParameter="G"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".1" pinName="OUT">
|
||||||
|
<objPosition posX="32" posY="15"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName=".2" pinName="IN1">
|
||||||
|
<objPosition posX="47" posY="21"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="34" posY="15"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="34" posY="21"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
</networkFBD>
|
||||||
|
</FBDSource>
|
||||||
|
</program>
|
||||||
|
<dataBlock>
|
||||||
|
<variables name="F" typeName="INT"></variables>
|
||||||
|
<variables name="C" typeName="INT"></variables>
|
||||||
|
<variables name="D" typeName="INT"></variables>
|
||||||
|
<variables name="G" typeName="INT"></variables>
|
||||||
|
</dataBlock>
|
||||||
|
</PGMExchangeFile>
|
76
data/training_test/train/ece/connection_3.xml
Normal file
76
data/training_test/train/ece/connection_3.xml
Normal file
|
@ -0,0 +1,76 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
|
<PGMExchangeFile>
|
||||||
|
<fileHeader company="Schneider Automation" product="Control Expert V15.3 - 230214C" dateTime="date_and_time#2025-4-9-15:37:41" content="Multi Program source file" DTDVersion="41"></fileHeader>
|
||||||
|
<contentHeader name="Project" version="0.0.000"></contentHeader>
|
||||||
|
<logicConf>
|
||||||
|
<resource resName="M580" resIdent="BME P58 3020 04.10">
|
||||||
|
<taskDesc task="MAST" taskType="cyclic" valueType="0" maxExecTime="250">
|
||||||
|
<sectionDesc name="connect" SectionOrder="1"></sectionDesc>
|
||||||
|
</taskDesc>
|
||||||
|
</resource>
|
||||||
|
</logicConf>
|
||||||
|
<program>
|
||||||
|
<identProgram name="connect" type="section" task="MAST" SectionOrder="1"></identProgram>
|
||||||
|
<FBDSource nbRows="24" nbColumns="36">
|
||||||
|
<networkFBD>
|
||||||
|
<FFBBlock instanceName=".1" typeName="AND" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="19" posY="12"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1" effectiveParameter="A"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2" effectiveParameter="B"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName=".2" typeName="OR" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="39" posY="17"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT" effectiveParameter="R"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName=".3" typeName="AND" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="20" posY="25"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1" effectiveParameter="P"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2" effectiveParameter="Q"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".3" pinName="OUT">
|
||||||
|
<objPosition posX="26" posY="29"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName=".2" pinName="IN2">
|
||||||
|
<objPosition posX="39" posY="22"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="28" posY="29"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="28" posY="22"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".1" pinName="OUT">
|
||||||
|
<objPosition posX="25" posY="16"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName=".2" pinName="IN1">
|
||||||
|
<objPosition posX="39" posY="21"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="27" posY="16"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="27" posY="21"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
</networkFBD>
|
||||||
|
</FBDSource>
|
||||||
|
</program>
|
||||||
|
<dataBlock>
|
||||||
|
<variables name="R" typeName="BOOL"></variables>
|
||||||
|
<variables name="Q" typeName="BOOL"></variables>
|
||||||
|
<variables name="A" typeName="BOOL"></variables>
|
||||||
|
<variables name="B" typeName="BOOL"></variables>
|
||||||
|
<variables name="P" typeName="BOOL"></variables>
|
||||||
|
</dataBlock>
|
||||||
|
</PGMExchangeFile>
|
90
data/training_test/train/ece/connection_4.xml
Normal file
90
data/training_test/train/ece/connection_4.xml
Normal file
|
@ -0,0 +1,90 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
|
<FBDExchangeFile>
|
||||||
|
<fileHeader company="Schneider Automation" product="Control Expert V15.3 - 230214C" dateTime="date_and_time#2025-4-9-15:42:53" content="Derived Function Block source file" DTDVersion="41"></fileHeader>
|
||||||
|
<contentHeader name="Project" version="0.0.000"></contentHeader>
|
||||||
|
<program>
|
||||||
|
<identProgram name="test" type="section" task="MAST" SectionOrder="1"></identProgram>
|
||||||
|
<FBDSource nbRows="24" nbColumns="36">
|
||||||
|
<networkFBD>
|
||||||
|
<FFBBlock instanceName=".1" typeName="ADD" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="19" posY="10"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1" effectiveParameter="A"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2" effectiveParameter="B"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName=".2" typeName="SUB" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="18" posY="23"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1" effectiveParameter="C"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2" effectiveParameter="D"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName=".3" typeName="MUL" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="39" posY="13"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName=".4" typeName="DIV" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="53" posY="19"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2" effectiveParameter="E"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT" effectiveParameter="F"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".3" pinName="OUT">
|
||||||
|
<objPosition posX="45" posY="17"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName=".4" pinName="IN1">
|
||||||
|
<objPosition posX="53" posY="23"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="47" posY="17"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="47" posY="23"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".1" pinName="OUT">
|
||||||
|
<objPosition posX="25" posY="14"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName=".3" pinName="IN1">
|
||||||
|
<objPosition posX="39" posY="17"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="27" posY="14"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="27" posY="17"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".2" pinName="OUT">
|
||||||
|
<objPosition posX="24" posY="27"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName=".3" pinName="IN2">
|
||||||
|
<objPosition posX="39" posY="18"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="26" posY="27"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="26" posY="18"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
</networkFBD>
|
||||||
|
</FBDSource>
|
||||||
|
</program>
|
||||||
|
<dataBlock>
|
||||||
|
<variables name="E" typeName="REAL"></variables>
|
||||||
|
<variables name="C" typeName="REAL"></variables>
|
||||||
|
<variables name="D" typeName="REAL"></variables>
|
||||||
|
<variables name="F" typeName="REAL"></variables>
|
||||||
|
<variables name="B" typeName="REAL"></variables>
|
||||||
|
<variables name="A" typeName="REAL"></variables>
|
||||||
|
</dataBlock>
|
||||||
|
</FBDExchangeFile>
|
68
data/training_test/train/ece/ds1.xml
Normal file
68
data/training_test/train/ece/ds1.xml
Normal file
|
@ -0,0 +1,68 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
|
<FBDExchangeFile>
|
||||||
|
<fileHeader company="Schneider Automation" product="Control Expert V15.3 - 230214C" dateTime="date_and_time#2025-5-2-16:14:56" content="Derived Function Block source file" DTDVersion="41"></fileHeader>
|
||||||
|
<contentHeader name="Project" version="0.0.5" dateTime="date_and_time#2025-3-18-15:21:30"></contentHeader>
|
||||||
|
<program>
|
||||||
|
<identProgram name="ds1" type="section" task="MAST" SectionOrder="5"></identProgram>
|
||||||
|
<FBDSource nbRows="24" nbColumns="36">
|
||||||
|
<networkFBD>
|
||||||
|
<FFBBlock instanceName=".1" typeName="NOT" additionnalPinNumber="0" enEnO="false" width="7" height="5">
|
||||||
|
<objPosition posX="19" posY="14"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN" effectiveParameter="Fault"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName=".2" typeName="AND" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="34" posY="17"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2" effectiveParameter="start_PB"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName="SR_1" typeName="SR" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="53" posY="21"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="S1"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="R" effectiveParameter="stop_PB"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="Q1" effectiveParameter="Motor"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".1" pinName="OUT">
|
||||||
|
<objPosition posX="25" posY="18"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName=".2" pinName="IN1">
|
||||||
|
<objPosition posX="34" posY="21"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="27" posY="18"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="27" posY="21"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".2" pinName="OUT">
|
||||||
|
<objPosition posX="40" posY="21"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName="SR_1" pinName="S1">
|
||||||
|
<objPosition posX="53" posY="25"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="42" posY="21"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="42" posY="25"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
</networkFBD>
|
||||||
|
</FBDSource>
|
||||||
|
</program>
|
||||||
|
<dataBlock>
|
||||||
|
<variables name="Motor" typeName="BOOL"></variables>
|
||||||
|
<variables name="Start_PB" typeName="BOOL"></variables>
|
||||||
|
<variables name="Fault" typeName="BOOL"></variables>
|
||||||
|
<variables name="SR_1" typeName="SR"></variables>
|
||||||
|
<variables name="stop_PB" typeName="BOOL"></variables>
|
||||||
|
</dataBlock>
|
||||||
|
</FBDExchangeFile>
|
49
data/training_test/train/ece/ds2.xml
Normal file
49
data/training_test/train/ece/ds2.xml
Normal file
|
@ -0,0 +1,49 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
|
<FBDExchangeFile>
|
||||||
|
<fileHeader company="Schneider Automation" product="Control Expert V15.3 - 230214C" dateTime="date_and_time#2025-5-2-16:15:14" content="Derived Function Block source file" DTDVersion="41"></fileHeader>
|
||||||
|
<contentHeader name="Project" version="0.0.5" dateTime="date_and_time#2025-3-18-15:21:30"></contentHeader>
|
||||||
|
<program>
|
||||||
|
<identProgram name="ds2" type="section" task="MAST" SectionOrder="6"></identProgram>
|
||||||
|
<FBDSource nbRows="24" nbColumns="36">
|
||||||
|
<networkFBD>
|
||||||
|
<FFBBlock instanceName=".1" typeName="AND" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="25" posY="17"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1" effectiveParameter="MD"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2" effectiveParameter="LS"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName="TON_2" typeName="TON" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="39" posY="22"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="PT" effectiveParameter="T#10s"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="Q" effectiveParameter="light"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ET"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".1" pinName="OUT">
|
||||||
|
<objPosition posX="31" posY="21"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName="TON_2" pinName="IN">
|
||||||
|
<objPosition posX="39" posY="26"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="33" posY="21"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="33" posY="26"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
</networkFBD>
|
||||||
|
</FBDSource>
|
||||||
|
</program>
|
||||||
|
<dataBlock>
|
||||||
|
<variables name="LS" typeName="BOOL"></variables>
|
||||||
|
<variables name="MD" typeName="BOOL"></variables>
|
||||||
|
<variables name="light" typeName="BOOL"></variables>
|
||||||
|
<variables name="TON_2" typeName="TON"></variables>
|
||||||
|
</dataBlock>
|
||||||
|
</FBDExchangeFile>
|
89
data/training_test/train/ece/ds4.xml
Normal file
89
data/training_test/train/ece/ds4.xml
Normal file
|
@ -0,0 +1,89 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
|
<FBDExchangeFile>
|
||||||
|
<fileHeader company="Schneider Automation" product="Control Expert V15.3 - 230214C" dateTime="date_and_time#2025-5-2-16:15:31" content="Derived Function Block source file" DTDVersion="41"></fileHeader>
|
||||||
|
<contentHeader name="Project" version="0.0.5" dateTime="date_and_time#2025-3-18-15:21:30"></contentHeader>
|
||||||
|
<program>
|
||||||
|
<identProgram name="ds4" type="section" task="MAST" SectionOrder="8"></identProgram>
|
||||||
|
<FBDSource nbRows="24" nbColumns="36">
|
||||||
|
<networkFBD>
|
||||||
|
<FFBBlock instanceName=".1" typeName="AND" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="28" posY="11"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1" effectiveParameter="s1"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2" effectiveParameter="s2"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName=".2" typeName="AND" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="28" posY="20"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1" effectiveParameter="s2"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2" effectiveParameter="s3"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName=".3" typeName="AND" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="28" posY="29"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1" effectiveParameter="s1"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2" effectiveParameter="s3"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName=".4" typeName="OR" additionnalPinNumber="1" enEnO="false" width="7" height="7">
|
||||||
|
<objPosition posX="47" posY="18"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN3"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT" effectiveParameter="final_out"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".2" pinName="OUT">
|
||||||
|
<objPosition posX="34" posY="24"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName=".4" pinName="IN2">
|
||||||
|
<objPosition posX="47" posY="23"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="36" posY="24"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="36" posY="23"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".3" pinName="OUT">
|
||||||
|
<objPosition posX="34" posY="33"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName=".4" pinName="IN3">
|
||||||
|
<objPosition posX="47" posY="24"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="37" posY="33"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="37" posY="24"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".1" pinName="OUT">
|
||||||
|
<objPosition posX="34" posY="15"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName=".4" pinName="IN1">
|
||||||
|
<objPosition posX="47" posY="22"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="36" posY="15"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="36" posY="22"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
</networkFBD>
|
||||||
|
</FBDSource>
|
||||||
|
</program>
|
||||||
|
<dataBlock>
|
||||||
|
<variables name="final_out" typeName="BOOL"></variables>
|
||||||
|
<variables name="s2" typeName="BOOL"></variables>
|
||||||
|
<variables name="s3" typeName="BOOL"></variables>
|
||||||
|
<variables name="s1" typeName="BOOL"></variables>
|
||||||
|
</dataBlock>
|
||||||
|
</FBDExchangeFile>
|
87
data/training_test/train/ece/ds5.xml
Normal file
87
data/training_test/train/ece/ds5.xml
Normal file
|
@ -0,0 +1,87 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
|
<FBDExchangeFile>
|
||||||
|
<fileHeader company="Schneider Automation" product="Control Expert V15.3 - 230214C" dateTime="date_and_time#2025-5-2-16:15:38" content="Derived Function Block source file" DTDVersion="41"></fileHeader>
|
||||||
|
<contentHeader name="Project" version="0.0.5" dateTime="date_and_time#2025-3-18-15:21:30"></contentHeader>
|
||||||
|
<program>
|
||||||
|
<identProgram name="ds5" type="section" task="MAST" SectionOrder="9"></identProgram>
|
||||||
|
<FBDSource nbRows="24" nbColumns="36">
|
||||||
|
<networkFBD>
|
||||||
|
<FFBBlock instanceName="SR_7" typeName="SR" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="25" posY="14"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="S1" effectiveParameter="Start"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="R" effectiveParameter="stop"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="Q1"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName=".1" typeName="AND" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="40" posY="24"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT" effectiveParameter="Move"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName=".2" typeName="OR" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="14" posY="29"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1" effectiveParameter="overload"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2" effectiveParameter="door_open"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName=".3" typeName="NOT" additionnalPinNumber="0" enEnO="false" width="7" height="5">
|
||||||
|
<objPosition posX="27" posY="29"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".2" pinName="OUT">
|
||||||
|
<objPosition posX="20" posY="33"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName=".3" pinName="IN">
|
||||||
|
<objPosition posX="27" posY="33"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
</linkFB>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".3" pinName="OUT">
|
||||||
|
<objPosition posX="33" posY="33"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName=".1" pinName="IN2">
|
||||||
|
<objPosition posX="40" posY="29"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="35" posY="33"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="35" posY="29"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName="SR_7" pinName="Q1">
|
||||||
|
<objPosition posX="31" posY="18"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName=".1" pinName="IN1">
|
||||||
|
<objPosition posX="40" posY="28"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="39" posY="18"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="39" posY="28"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
</networkFBD>
|
||||||
|
</FBDSource>
|
||||||
|
</program>
|
||||||
|
<dataBlock>
|
||||||
|
<variables name="Move" typeName="BOOL"></variables>
|
||||||
|
<variables name="stop" typeName="BOOL"></variables>
|
||||||
|
<variables name="SR_7" typeName="SR"></variables>
|
||||||
|
<variables name="door_open" typeName="BOOL"></variables>
|
||||||
|
<variables name="Start" typeName="BOOL"></variables>
|
||||||
|
<variables name="overload" typeName="BOOL"></variables>
|
||||||
|
</dataBlock>
|
||||||
|
</FBDExchangeFile>
|
85
data/training_test/train/ece/ds7.xml
Normal file
85
data/training_test/train/ece/ds7.xml
Normal file
|
@ -0,0 +1,85 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
|
<FBDExchangeFile>
|
||||||
|
<fileHeader company="Schneider Automation" product="Control Expert V15.3 - 230214C" dateTime="date_and_time#2025-5-2-16:15:50" content="Derived Function Block source file" DTDVersion="41"></fileHeader>
|
||||||
|
<contentHeader name="Project" version="0.0.5" dateTime="date_and_time#2025-3-18-15:21:30"></contentHeader>
|
||||||
|
<program>
|
||||||
|
<identProgram name="ds7" type="section" task="MAST" SectionOrder="11"></identProgram>
|
||||||
|
<FBDSource nbRows="24" nbColumns="36">
|
||||||
|
<networkFBD>
|
||||||
|
<FFBBlock instanceName="CTU_2" typeName="CTU" additionnalPinNumber="0" enEnO="false" width="7" height="7">
|
||||||
|
<objPosition posX="30" posY="20"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="CU" effectiveParameter="s1"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="R"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="PV" effectiveParameter="5"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="Q"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="CV"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName="TON_3" typeName="TON" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="56" posY="23"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="PT" effectiveParameter="t#5s"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="Q"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ET"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName="SR_12" typeName="SR" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="51" posY="13"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="S1" effectiveParameter="start"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="R"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="Q1" effectiveParameter="motor"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName="TON_3" pinName="Q">
|
||||||
|
<objPosition posX="62" posY="27"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName="CTU_2" pinName="R">
|
||||||
|
<objPosition posX="30" posY="25"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="64" posY="27"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="64" posY="32"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="29" posY="32"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="29" posY="25"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName="CTU_2" pinName="Q">
|
||||||
|
<objPosition posX="36" posY="24"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName="SR_12" pinName="R">
|
||||||
|
<objPosition posX="51" posY="18"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="38" posY="24"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="38" posY="18"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName="CTU_2" pinName="Q">
|
||||||
|
<objPosition posX="36" posY="24"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName="TON_3" pinName="IN">
|
||||||
|
<objPosition posX="56" posY="27"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
<gridObjPosition posX="47" posY="24"></gridObjPosition>
|
||||||
|
<gridObjPosition posX="47" posY="27"></gridObjPosition>
|
||||||
|
</linkFB>
|
||||||
|
</networkFBD>
|
||||||
|
</FBDSource>
|
||||||
|
</program>
|
||||||
|
<dataBlock>
|
||||||
|
<variables name="SR_12" typeName="SR"></variables>
|
||||||
|
<variables name="Motor" typeName="BOOL"></variables>
|
||||||
|
<variables name="Start" typeName="BOOL"></variables>
|
||||||
|
<variables name="TON_3" typeName="TON"></variables>
|
||||||
|
<variables name="CTU_2" typeName="CTU"></variables>
|
||||||
|
<variables name="s1" typeName="BOOL"></variables>
|
||||||
|
</dataBlock>
|
||||||
|
</FBDExchangeFile>
|
68
data/training_test/u10.xml
Normal file
68
data/training_test/u10.xml
Normal file
|
@ -0,0 +1,68 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
|
<FBDExchangeFile>
|
||||||
|
<fileHeader company="Schneider Automation" product="Control Expert V15.3 - 230214C" dateTime="date_and_time#2025-5-9-17:3:17" content="Derived Function Block source file" DTDVersion="41"></fileHeader>
|
||||||
|
<contentHeader name="Project" version="0.0.000"></contentHeader>
|
||||||
|
<program>
|
||||||
|
<identProgram name="u10" type="section" task="MAST" SectionOrder="4"></identProgram>
|
||||||
|
<FBDSource nbRows="24" nbColumns="36">
|
||||||
|
<networkFBD>
|
||||||
|
<FFBBlock instanceName=".1" typeName="ADD" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="29" posY="16"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1" effectiveParameter="a"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN2" effectiveParameter="b"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<FFBBlock instanceName="power_2" typeName="power" additionnalPinNumber="0" enEnO="false" width="7" height="6">
|
||||||
|
<objPosition posX="56" posY="16"></objPosition>
|
||||||
|
<descriptionFFB execAfter="">
|
||||||
|
<inputVariable invertedPin="false" formalParameter="EN"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="IN1"></inputVariable>
|
||||||
|
<inputVariable invertedPin="false" formalParameter="P" effectiveParameter="2"></inputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="ENO"></outputVariable>
|
||||||
|
<outputVariable invertedPin="false" formalParameter="OUT"></outputVariable>
|
||||||
|
</descriptionFFB>
|
||||||
|
</FFBBlock>
|
||||||
|
<linkFB>
|
||||||
|
<linkSource parentObjectName=".1" pinName="OUT">
|
||||||
|
<objPosition posX="35" posY="20"></objPosition>
|
||||||
|
</linkSource>
|
||||||
|
<linkDestination parentObjectName="power_2" pinName="IN1">
|
||||||
|
<objPosition posX="56" posY="20"></objPosition>
|
||||||
|
</linkDestination>
|
||||||
|
</linkFB>
|
||||||
|
</networkFBD>
|
||||||
|
</FBDSource>
|
||||||
|
</program>
|
||||||
|
<dataBlock>
|
||||||
|
<variables name="power_2" typeName="power"></variables>
|
||||||
|
<variables name="a" typeName="DINT"></variables>
|
||||||
|
<variables name="b" typeName="DINT"></variables>
|
||||||
|
</dataBlock>
|
||||||
|
<FBSource nameOfFBType="power" version="0.02" dateTime="dt#2025-05-09-16:50:27">
|
||||||
|
<attribute name="TypeCodeCheckSumString" value="8AA9"></attribute>
|
||||||
|
<attribute name="TypeSignatureCheckSumString" value="6D59"></attribute>
|
||||||
|
<attribute name="UseNewTplSignAlgo" value="TRUE"></attribute>
|
||||||
|
<inputParameters>
|
||||||
|
<variables name="IN1" typeName="REAL">
|
||||||
|
<attribute name="PositionPin" value="1"></attribute>
|
||||||
|
</variables>
|
||||||
|
<variables name="P" typeName="INT">
|
||||||
|
<attribute name="PositionPin" value="2"></attribute>
|
||||||
|
</variables>
|
||||||
|
</inputParameters>
|
||||||
|
<outputParameters>
|
||||||
|
<variables name="OUT" typeName="REAL">
|
||||||
|
<attribute name="PositionPin" value="1"></attribute>
|
||||||
|
</variables>
|
||||||
|
</outputParameters>
|
||||||
|
<FBProgram name="POWER">
|
||||||
|
<STSource>OUT:=IN1**P;
|
||||||
|
|
||||||
|
</STSource>
|
||||||
|
</FBProgram>
|
||||||
|
</FBSource>
|
||||||
|
</FBDExchangeFile>
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue