Addressing merge review comments

parent 8b91d7cc
......@@ -11,7 +11,3 @@
# ignore specific files
coupler/opc-ua-server/open62541.c
coupler/opc-ua-server/open62541.h
# ignore by directory
coupler/opc-ua-server/bin
\ No newline at end of file
<?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">
<fileHeader companyName="Unknown" productName="Unnamed" productVersion="1" creationDateTime="2021-05-14T14:33:11"/>
<contentHeader name="Counter (OSIE)" modificationDateTime="2021-10-28T19:14:23">
<contentHeader name="Counter (OSIE)" modificationDateTime="2021-10-22T15:02:46">
<coordinateInfo>
<fbd>
<scaling x="0" y="0"/>
......@@ -185,120 +185,20 @@
ELSE
Cnt0 := Cnt0 + 1;
Cnt1 := Cnt1 + 1;
IF Cnt1 = 0 THEN
Relay0 := 0;
Relay1 := 0;
Relay2 := 0;
Relay3 := 0;
END_IF;
IF Cnt1 = 50 THEN
Relay0 := 0;
Relay1 := 0;
Relay2 := 0;
Relay3 := 1;
END_IF;
IF Cnt1 = 100 THEN
Relay0 := 0;
Relay1 := 0;
Relay2 := 1;
Relay3 := 0;
END_IF;
IF Cnt1 = 150 THEN
Relay0 := 0;
Relay1 := 0;
Relay2 := 1;
Relay3 := 1;
END_IF;
IF Cnt1 = 150 THEN
Relay0 := 0;
Relay1 := 1;
Relay2 := 0;
Relay3 := 0;
END_IF;
IF Cnt1 = 200 THEN
Relay0 := 0;
Relay1 := 1;
Relay2 := 0;
Relay3 := 1;
END_IF;
IF Cnt1 = 250 THEN
Relay0 := 0;
Relay1 := 1;
Relay2 := 1;
Relay3 := 0;
END_IF;
IF Cnt1 = 300 THEN
Relay0 := 0;
Relay1 := 1;
Relay2 := 1;
Relay3 := 1;
END_IF;
IF Cnt1 = 350 THEN
Relay0 := 1;
Relay1 := 0;
Relay2 := 0;
Relay3 := 0;
END_IF;
IF Cnt1 = 400 THEN
Relay0 := 1;
Relay1 := 0;
Relay2 := 0;
Relay3 := 1;
END_IF;
IF Cnt1 = 450 THEN
Relay0 := 1;
Relay1 := 0;
Relay2 := 1;
Relay3 := 0;
END_IF;
IF Cnt1 = 500 THEN
Relay0 := 1;
Relay1 := 0;
Relay1 := 1;
Relay2 := 1;
Relay3 := 1;
END_IF;
IF Cnt1 = 550 THEN
Relay0 := 1;
Relay1 := 1;
IF Cnt1 = 100 THEN
Relay0 := 0;
Relay1 := 0;
Relay2 := 0;
Relay3 := 0;
END_IF;
IF Cnt1 = 600 THEN
Relay0 := 1;
Relay1 := 1;
Relay2 := 0;
Relay3 := 1;
END_IF;
IF Cnt1 = 650 THEN
Relay0 := 1;
Relay1 := 1;
Relay2 := 1;
Relay3 := 0;
END_IF;
IF Cnt1 = 700 THEN
Relay0 := 1;
Relay1 := 1;
Relay2 := 1;
Relay3 := 1;
Cnt1 := 0;
END_IF;
END_IF;
......
<?xml version='1.0' encoding='utf-8'?>
<BeremizRoot xmlns:xsd="http://www.w3.org/2001/XMLSchema" URI_location="LOCAL://">
<TargetType/>
</BeremizRoot>
<?xml version='1.0' encoding='utf-8'?>
<BaseParams xmlns:xsd="http://www.w3.org/2001/XMLSchema" IEC_Channel="1" Name="opcua_0"/>
<?xml version='1.0' encoding='utf-8'?>
<OPCUAClient xmlns:xsd="http://www.w3.org/2001/XMLSchema" Server_URI="opc.tcp://192.168.1.106:4840"/>
input,"LocalizedText(Encoding:3, Locale:en-US, Text:Relay 0)",1,str,relay0,Int32,0
input,"LocalizedText(Encoding:3, Locale:en-US, Text:Relay 1)",1,str,relay1,Int32,1
input,"LocalizedText(Encoding:3, Locale:en-US, Text:Relay 2)",1,str,relay2,Int32,2
input,"LocalizedText(Encoding:3, Locale:en-US, Text:Relay 3)",1,str,relay3,Int32,3
output,"LocalizedText(Encoding:3, Locale:en-US, Text:Relay 0)",1,str,relay0,Int32,0
output,"LocalizedText(Encoding:3, Locale:en-US, Text:Relay 1)",1,str,relay1,Int32,1
output,"LocalizedText(Encoding:3, Locale:en-US, Text:Relay 2)",1,str,relay2,Int32,2
output,"LocalizedText(Encoding:3, Locale:en-US, Text:Relay 3)",1,str,relay3,Int32,3
This diff is collapsed.
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