Commit 696bfd0a authored by Ivan Tyagov's avatar Ivan Tyagov

Fix beremiz line

parent 99be09df
<?xml version='1.0' encoding='utf-8'?>
<OPCUAClient xmlns:xsd="http://www.w3.org/2001/XMLSchema" Server_URI="opc.tcp://192.168.0.118:4840">
<OPCUAClient xmlns:xsd="http://www.w3.org/2001/XMLSchema" Server_URI="opc.tcp://192.168.0.167:4840">
<AuthType/>
</OPCUAClient>
<?xml version='1.0' encoding='utf-8'?>
<OPCUAClient xmlns:xsd="http://www.w3.org/2001/XMLSchema" Server_URI="opc.tcp://192.168.0.135:4840"/>
<OPCUAClient xmlns:xsd="http://www.w3.org/2001/XMLSchema" Server_URI="opc.tcp://192.168.0.121:4840"/>
<?xml version='1.0' encoding='utf-8'?>
<BaseParams xmlns:xsd="http://www.w3.org/2001/XMLSchema" IEC_Channel="2" Name="opcua_2_mes5"/>
<?xml version='1.0' encoding='utf-8'?>
<OPCUAClient xmlns:xsd="http://www.w3.org/2001/XMLSchema" Server_URI="opc.tcp://192.168.0.118:4841"/>
input,erp5-variable-integer,2,int,2,Int64,2
output,erp5-variable-integer,2,int,2,Int64,2
<?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="2023-09-12T16:34:48">
<contentHeader name="Counter (OSIE)" modificationDateTime="2024-05-22T13:06:58">
<coordinateInfo>
<fbd>
<scaling x="0" y="0"/>
......@@ -164,22 +164,6 @@
<DINT/>
</type>
</variable>
<variable name="MES5_int_counter_in">
<type>
<LINT/>
</type>
<documentation>
<xhtml:p><![CDATA[MES5 counter (read only)]]></xhtml:p>
</documentation>
</variable>
<variable name="MES5_int_counter_out">
<type>
<LINT/>
</type>
<documentation>
<xhtml:p><![CDATA[MES5 counter (write only)]]></xhtml:p>
</documentation>
</variable>
</externalVars>
</interface>
<body>
......@@ -190,11 +174,6 @@ VFD_relay0 := 1;
IF OI_sensor_counter=2.0 THEN
(* a rectangle was recognized thus switch ON air valve *)
Air_Valve_Relay0 := 1;
(* read from MES5 counter value so we continue from where we were. In this case
increment blow counter at MES5*)
MES5_int_counter_in := MES5_int_counter_in + 1;
(* set to MES5 the counter value so it is kept permanently *)
MES5_int_counter_out := MES5_int_counter_in;
END_IF;
IF OI_sensor_counter=0.0 OR OI_sensor_counter=1.0 OR OI_sensor_counter=3.0 THEN
......@@ -249,22 +228,6 @@ END_IF;
<xhtml:p><![CDATA[relay 0 (air valve)]]></xhtml:p>
</documentation>
</variable>
<variable name="MES5_int_counter_in" address="%IL2.2">
<type>
<LINT/>
</type>
<documentation>
<xhtml:p><![CDATA[MES5 integer (in)]]></xhtml:p>
</documentation>
</variable>
<variable name="MES5_int_counter_out" address="%QL2.2">
<type>
<LINT/>
</type>
<documentation>
<xhtml:p><![CDATA[MES5 integer (out)]]></xhtml:p>
</documentation>
</variable>
</globalVars>
</configuration>
</configurations>
......
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