Commit 3b8131cb authored by Ivan Tyagov's avatar Ivan Tyagov

Adjust project to use new newtwork setup.

parent b6f1c28c
<?xml version='1.0' encoding='utf-8'?> <?xml version='1.0' encoding='utf-8'?>
<project xmlns:ns1="http://www.plcopen.org/xml/tc6_0201" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.plcopen.org/xml/tc6_0201"> <project xmlns:ns1="http://www.plcopen.org/xml/tc6_0201" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.plcopen.org/xml/tc6_0201">
<fileHeader companyName="Unknown" productName="Unnamed" productVersion="1" creationDateTime="2021-05-14T14:33:11"/> <fileHeader companyName="Unknown" productName="Unnamed" productVersion="1" creationDateTime="2021-05-14T14:33:11"/>
<contentHeader name="Counter (OSIE)" modificationDateTime="2022-09-21T13:22:23"> <contentHeader name="Counter (OSIE)" modificationDateTime="2023-03-06T11:48:32">
<coordinateInfo> <coordinateInfo>
<fbd> <fbd>
<scaling x="0" y="0"/> <scaling x="0" y="0"/>
...@@ -241,7 +241,7 @@ Out0 := Cnt0;]]></xhtml:p> ...@@ -241,7 +241,7 @@ Out0 := Cnt0;]]></xhtml:p>
<configurations> <configurations>
<configuration name="config"> <configuration name="config">
<resource name="resource1"> <resource name="resource1">
<task name="task0" priority="0" interval="T#20ms"> <task name="task0" priority="0" interval="T#0.01ms">
<pouInstance name="instance0" typeName="plc_prg"/> <pouInstance name="instance0" typeName="plc_prg"/>
</task> </task>
</resource> </resource>
......
<?xml version='1.0' encoding='utf-8'?> <?xml version='1.0' encoding='utf-8'?>
<BaseParams xmlns:xsd="http://www.w3.org/2001/XMLSchema" IEC_Channel="1" Name="a20_prod"/> <BaseParams xmlns:xsd="http://www.w3.org/2001/XMLSchema" IEC_Channel="1" Name="stm32mp1-0"/>
<?xml version='1.0' encoding='utf-8'?> <?xml version='1.0' encoding='utf-8'?>
<OPCUAClient xmlns:xsd="http://www.w3.org/2001/XMLSchema" Server_URI="opc.tcp://192.168.2.2:4840"/> <OPCUAClient xmlns:xsd="http://www.w3.org/2001/XMLSchema" Server_URI="opc.tcp://192.168.0.46:4840">
<AuthType/>
</OPCUAClient>
<?xml version='1.0' encoding='utf-8'?> <?xml version='1.0' encoding='utf-8'?>
<BaseParams xmlns:xsd="http://www.w3.org/2001/XMLSchema" IEC_Channel="0" Name="a20_prod_1"/> <BaseParams xmlns:xsd="http://www.w3.org/2001/XMLSchema" IEC_Channel="0" Name="stm32mp1-1"/>
<?xml version='1.0' encoding='utf-8'?> <?xml version='1.0' encoding='utf-8'?>
<OPCUAClient xmlns:xsd="http://www.w3.org/2001/XMLSchema" Server_URI="opc.tcp://192.168.3.2:4840"/> <OPCUAClient xmlns:xsd="http://www.w3.org/2001/XMLSchema" Server_URI="opc.tcp://192.168.0.74:4840">
<AuthType/>
</OPCUAClient>
<?xml version='1.0' encoding='utf-8'?> <?xml version='1.0' encoding='utf-8'?>
<OPCUAClient xmlns:xsd="http://www.w3.org/2001/XMLSchema" Server_URI="opc.tcp://k2-osie:4840"/> <OPCUAClient xmlns:xsd="http://www.w3.org/2001/XMLSchema" Server_URI="opc.tcp://192.168.3.2:4840">
<AuthType/>
</OPCUAClient>
<?xml version='1.0' encoding='utf-8'?> <?xml version='1.0' encoding='utf-8'?>
<project xmlns:ns1="http://www.plcopen.org/xml/tc6_0201" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.plcopen.org/xml/tc6_0201"> <project xmlns:ns1="http://www.plcopen.org/xml/tc6_0201" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.plcopen.org/xml/tc6_0201">
<fileHeader companyName="Unknown" productName="Unnamed" productVersion="1" creationDateTime="2021-05-14T14:33:11"/> <fileHeader companyName="Unknown" productName="Unnamed" productVersion="1" creationDateTime="2021-05-14T14:33:11"/>
<contentHeader name="Counter (OSIE)" modificationDateTime="2021-12-02T17:46:43"> <contentHeader name="Counter (OSIE)" modificationDateTime="2022-12-13T16:54:22">
<coordinateInfo> <coordinateInfo>
<fbd> <fbd>
<scaling x="0" y="0"/> <scaling x="0" y="0"/>
...@@ -83,14 +83,14 @@ ...@@ -83,14 +83,14 @@
</variable> </variable>
</outputVariables> </outputVariables>
</block> </block>
<inVariable localId="3" executionOrderId="0" height="24" width="50" negated="false"> <inVariable localId="3" executionOrderId="0" height="25" width="50" negated="false">
<position x="181" y="206"/> <position x="181" y="206"/>
<connectionPointOut> <connectionPointOut>
<relPosition x="50" y="12"/> <relPosition x="50" y="12"/>
</connectionPointOut> </connectionPointOut>
<expression>Reset</expression> <expression>Reset</expression>
</inVariable> </inVariable>
<outVariable localId="4" executionOrderId="0" height="24" width="42" negated="false"> <outVariable localId="4" executionOrderId="0" height="25" width="42" negated="false">
<position x="433" y="266"/> <position x="433" y="266"/>
<connectionPointIn> <connectionPointIn>
<relPosition x="0" y="12"/> <relPosition x="0" y="12"/>
...@@ -101,7 +101,7 @@ ...@@ -101,7 +101,7 @@
</connectionPointIn> </connectionPointIn>
<expression>Cnt0</expression> <expression>Cnt0</expression>
</outVariable> </outVariable>
<outVariable localId="6" executionOrderId="0" height="24" width="42" negated="false"> <outVariable localId="6" executionOrderId="0" height="25" width="42" negated="false">
<position x="435" y="222"/> <position x="435" y="222"/>
<connectionPointIn> <connectionPointIn>
<relPosition x="0" y="12"/> <relPosition x="0" y="12"/>
...@@ -186,16 +186,16 @@ ELSE ...@@ -186,16 +186,16 @@ ELSE
Cnt0 := Cnt0 + 1; Cnt0 := Cnt0 + 1;
Cnt1 := Cnt1 + 1; Cnt1 := Cnt1 + 1;
IF Cnt1 = 50 THEN IF Cnt1 = 50 THEN
Relay0 := 1; Relay0 := 0;
Relay1 := 1; Relay1 := 1;
Relay2 := 1; Relay2 := 0;
Relay3 := 1; Relay3 := 1;
END_IF; END_IF;
IF Cnt1 = 100 THEN IF Cnt1 = 100 THEN
Relay0 := 0; Relay0 := 1;
Relay1 := 0; Relay1 := 0;
Relay2 := 0; Relay2 := 1;
Relay3 := 0; Relay3 := 0;
Cnt1 := 0; Cnt1 := 0;
END_IF; END_IF;
...@@ -213,7 +213,7 @@ Out0 := Cnt0;]]></xhtml:p> ...@@ -213,7 +213,7 @@ Out0 := Cnt0;]]></xhtml:p>
<configurations> <configurations>
<configuration name="config"> <configuration name="config">
<resource name="resource1"> <resource name="resource1">
<task name="task0" priority="0" interval="T#20ms"> <task name="task0" priority="0" interval="T#2ms">
<pouInstance name="instance0" typeName="plc_prg"/> <pouInstance name="instance0" typeName="plc_prg"/>
</task> </task>
</resource> </resource>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment