Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
osie
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
osie
Commits
12bb1632
Commit
12bb1632
authored
May 22, 2024
by
Ivan Tyagov
Browse files
Options
Browse Files
Download
Plain Diff
Fix beremiz line
See merge request
!52
parents
99be09df
696bfd0a
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
3 additions
and
46 deletions
+3
-46
Beremiz/beremiz_oi_production_line/opcua_0_oi_sensor@opcua/confnode.xml
...z_oi_production_line/opcua_0_oi_sensor@opcua/confnode.xml
+1
-1
Beremiz/beremiz_oi_production_line/opcua_1_coupler@opcua/confnode.xml
...miz_oi_production_line/opcua_1_coupler@opcua/confnode.xml
+1
-1
Beremiz/beremiz_oi_production_line/opcua_2_mes5@opcua/baseconfnode.xml
...iz_oi_production_line/opcua_2_mes5@opcua/baseconfnode.xml
+0
-2
Beremiz/beremiz_oi_production_line/opcua_2_mes5@opcua/confnode.xml
...eremiz_oi_production_line/opcua_2_mes5@opcua/confnode.xml
+0
-2
Beremiz/beremiz_oi_production_line/opcua_2_mes5@opcua/selected.csv
...eremiz_oi_production_line/opcua_2_mes5@opcua/selected.csv
+0
-2
Beremiz/beremiz_oi_production_line/plc.xml
Beremiz/beremiz_oi_production_line/plc.xml
+1
-38
No files found.
Beremiz/beremiz_oi_production_line/opcua_0_oi_sensor@opcua/confnode.xml
View file @
12bb1632
<?xml version='1.0' encoding='utf-8'?>
<OPCUAClient
xmlns:xsd=
"http://www.w3.org/2001/XMLSchema"
Server_URI=
"opc.tcp://192.168.0.1
18
:4840"
>
<OPCUAClient
xmlns:xsd=
"http://www.w3.org/2001/XMLSchema"
Server_URI=
"opc.tcp://192.168.0.1
67
:4840"
>
<AuthType/>
</OPCUAClient>
Beremiz/beremiz_oi_production_line/opcua_1_coupler@opcua/confnode.xml
View file @
12bb1632
<?xml version='1.0' encoding='utf-8'?>
<OPCUAClient
xmlns:xsd=
"http://www.w3.org/2001/XMLSchema"
Server_URI=
"opc.tcp://192.168.0.1
35
:4840"
/>
<OPCUAClient
xmlns:xsd=
"http://www.w3.org/2001/XMLSchema"
Server_URI=
"opc.tcp://192.168.0.1
21
:4840"
/>
Beremiz/beremiz_oi_production_line/opcua_2_mes5@opcua/baseconfnode.xml
deleted
100644 → 0
View file @
99be09df
<?xml version='1.0' encoding='utf-8'?>
<BaseParams
xmlns:xsd=
"http://www.w3.org/2001/XMLSchema"
IEC_Channel=
"2"
Name=
"opcua_2_mes5"
/>
Beremiz/beremiz_oi_production_line/opcua_2_mes5@opcua/confnode.xml
deleted
100644 → 0
View file @
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:4841"
/>
Beremiz/beremiz_oi_production_line/opcua_2_mes5@opcua/selected.csv
deleted
100644 → 0
View file @
99be09df
input,erp5-variable-integer,2,int,2,Int64,2
output,erp5-variable-integer,2,int,2,Int64,2
Beremiz/beremiz_oi_production_line/plc.xml
View file @
12bb1632
<?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=
"202
3-09-12T16:34:4
8"
>
<contentHeader
name=
"Counter (OSIE)"
modificationDateTime=
"202
4-05-22T13:06:5
8"
>
<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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment