Commit 4b21b84c authored by Ivan Tyagov's avatar Ivan Tyagov

Change PLC program to simply increment values.

parent 88859691
<?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-01-18T16:41:30"> <contentHeader name="Counter (OSIE)" modificationDateTime="2022-01-25T16:13:36">
<coordinateInfo> <coordinateInfo>
<fbd> <fbd>
<scaling x="0" y="0"/> <scaling x="0" y="0"/>
...@@ -123,11 +123,8 @@ ...@@ -123,11 +123,8 @@
<body> <body>
<ST> <ST>
<xhtml:p><![CDATA[Cnt0 := Cnt0 + 1; <xhtml:p><![CDATA[Cnt0 := Cnt0 + 1;
IF Cnt0 = 100 THEN Coupler0_Relay0 := Coupler0_Relay0 + 1;
Coupler0_Relay0 := Coupler0_Relay0 + 1; Coupler1_Relay0 := Coupler0_Relay0;
Coupler1_Relay0 := Coupler0_Relay0;
Cnt0 := 0;
END_IF;
Out0 := Cnt0;]]></xhtml:p> Out0 := Cnt0;]]></xhtml:p>
</ST> </ST>
</body> </body>
......
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