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
0
Merge Requests
0
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
Nikola Balog
osie
Commits
3b8131cb
Commit
3b8131cb
authored
Mar 06, 2023
by
Ivan Tyagov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adjust project to use new newtwork setup.
parent
b6f1c28c
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
22 additions
and
16 deletions
+22
-16
Beremiz/beremiz_network_test/plc.xml
Beremiz/beremiz_network_test/plc.xml
+2
-2
Beremiz/beremiz_network_test/stm32mp1-0@opcua/baseconfnode.xml
...iz/beremiz_network_test/stm32mp1-0@opcua/baseconfnode.xml
+1
-1
Beremiz/beremiz_network_test/stm32mp1-0@opcua/confnode.xml
Beremiz/beremiz_network_test/stm32mp1-0@opcua/confnode.xml
+3
-1
Beremiz/beremiz_network_test/stm32mp1-0@opcua/selected.csv
Beremiz/beremiz_network_test/stm32mp1-0@opcua/selected.csv
+0
-0
Beremiz/beremiz_network_test/stm32mp1-1@opcua/baseconfnode.xml
...iz/beremiz_network_test/stm32mp1-1@opcua/baseconfnode.xml
+1
-1
Beremiz/beremiz_network_test/stm32mp1-1@opcua/confnode.xml
Beremiz/beremiz_network_test/stm32mp1-1@opcua/confnode.xml
+3
-1
Beremiz/beremiz_network_test/stm32mp1-1@opcua/selected.csv
Beremiz/beremiz_network_test/stm32mp1-1@opcua/selected.csv
+0
-0
Beremiz/beremiz_tutorial_opc_ua/opcua_0@opcua/confnode.xml
Beremiz/beremiz_tutorial_opc_ua/opcua_0@opcua/confnode.xml
+3
-1
Beremiz/beremiz_tutorial_opc_ua/plc.xml
Beremiz/beremiz_tutorial_opc_ua/plc.xml
+9
-9
No files found.
Beremiz/beremiz_network_test/plc.xml
View file @
3b8131cb
<?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=
"202
2-09-21T13:22:23
"
>
<contentHeader
name=
"Counter (OSIE)"
modificationDateTime=
"202
3-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#
20
ms"
>
<task
name=
"task0"
priority=
"0"
interval=
"T#
0.01
ms"
>
<pouInstance
name=
"instance0"
typeName=
"plc_prg"
/>
<pouInstance
name=
"instance0"
typeName=
"plc_prg"
/>
</task>
</task>
</resource>
</resource>
...
...
Beremiz/beremiz_network_test/
a20_prod
@opcua/baseconfnode.xml
→
Beremiz/beremiz_network_test/
stm32mp1-0
@opcua/baseconfnode.xml
View file @
3b8131cb
<?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
"
/>
Beremiz/beremiz_network_test/
a20_prod
@opcua/confnode.xml
→
Beremiz/beremiz_network_test/
stm32mp1-0
@opcua/confnode.xml
View file @
3b8131cb
<?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>
Beremiz/beremiz_network_test/
a20_prod
@opcua/selected.csv
→
Beremiz/beremiz_network_test/
stm32mp1-0
@opcua/selected.csv
View file @
3b8131cb
File moved
Beremiz/beremiz_network_test/
a20_prod_
1@opcua/baseconfnode.xml
→
Beremiz/beremiz_network_test/
stm32mp1-
1@opcua/baseconfnode.xml
View file @
3b8131cb
<?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"
/>
Beremiz/beremiz_network_test/
a20_prod_
1@opcua/confnode.xml
→
Beremiz/beremiz_network_test/
stm32mp1-
1@opcua/confnode.xml
View file @
3b8131cb
<?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>
Beremiz/beremiz_network_test/
a20_prod_
1@opcua/selected.csv
→
Beremiz/beremiz_network_test/
stm32mp1-
1@opcua/selected.csv
View file @
3b8131cb
File moved
Beremiz/beremiz_tutorial_opc_ua/opcua_0@opcua/confnode.xml
View file @
3b8131cb
<?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>
Beremiz/beremiz_tutorial_opc_ua/plc.xml
View file @
3b8131cb
<?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=
"202
1-12-02T17:46:43
"
>
<contentHeader
name=
"Counter (OSIE)"
modificationDateTime=
"202
2-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=
"2
4
"
width=
"50"
negated=
"false"
>
<inVariable
localId=
"3"
executionOrderId=
"0"
height=
"2
5
"
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=
"2
4
"
width=
"42"
negated=
"false"
>
<outVariable
localId=
"4"
executionOrderId=
"0"
height=
"2
5
"
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=
"2
4
"
width=
"42"
negated=
"false"
>
<outVariable
localId=
"6"
executionOrderId=
"0"
height=
"2
5
"
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#2
0
ms"
>
<task
name=
"task0"
priority=
"0"
interval=
"T#2ms"
>
<pouInstance
name=
"instance0"
typeName=
"plc_prg"
/>
<pouInstance
name=
"instance0"
typeName=
"plc_prg"
/>
</task>
</task>
</resource>
</resource>
...
...
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