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
d594d094
Commit
d594d094
authored
Mar 10, 2023
by
Ivan Tyagov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a network setup of 3 couplers - one is a master one and rest two depend on it.
parent
08fdef1b
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
25 additions
and
3 deletions
+25
-3
Beremiz/beremiz_network_test/k3@opcua/baseconfnode.xml
Beremiz/beremiz_network_test/k3@opcua/baseconfnode.xml
+2
-0
Beremiz/beremiz_network_test/k3@opcua/confnode.xml
Beremiz/beremiz_network_test/k3@opcua/confnode.xml
+2
-0
Beremiz/beremiz_network_test/k3@opcua/selected.csv
Beremiz/beremiz_network_test/k3@opcua/selected.csv
+1
-0
Beremiz/beremiz_network_test/plc.xml
Beremiz/beremiz_network_test/plc.xml
+18
-1
Beremiz/beremiz_network_test/stm32mp1-0@opcua/confnode.xml
Beremiz/beremiz_network_test/stm32mp1-0@opcua/confnode.xml
+1
-1
Beremiz/beremiz_network_test/stm32mp1-1@opcua/confnode.xml
Beremiz/beremiz_network_test/stm32mp1-1@opcua/confnode.xml
+1
-1
No files found.
Beremiz/beremiz_network_test/k3@opcua/baseconfnode.xml
0 → 100644
View file @
d594d094
<?xml version='1.0' encoding='utf-8'?>
<BaseParams
xmlns:xsd=
"http://www.w3.org/2001/XMLSchema"
IEC_Channel=
"2"
Name=
"k3"
/>
Beremiz/beremiz_network_test/k3@opcua/confnode.xml
0 → 100644
View file @
d594d094
<?xml version='1.0' encoding='utf-8'?>
<OPCUAClient
xmlns:xsd=
"http://www.w3.org/2001/XMLSchema"
Server_URI=
"opc.tcp://192.168.0.54:4840"
/>
Beremiz/beremiz_network_test/k3@opcua/selected.csv
0 → 100644
View file @
d594d094
output,I2C0 / Relay 0,1,str,i2c0.relay0,Int32,0
Beremiz/beremiz_network_test/plc.xml
View file @
d594d094
<?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-03-
06T11:48:32
"
>
<contentHeader
name=
"Counter (OSIE)"
modificationDateTime=
"2023-03-
10T15:13:15
"
>
<coordinateInfo>
<fbd>
<scaling
x=
"0"
y=
"0"
/>
...
...
@@ -194,6 +194,11 @@
<DINT/>
</type>
</variable>
<variable
name=
"Coupler2_Relay0"
>
<type>
<DINT/>
</type>
</variable>
</externalVars>
</interface>
<body>
...
...
@@ -205,6 +210,7 @@
ELSE
Cnt0 := Cnt0 + 1;
Cnt1 := Cnt1 + 1;
Coupler2_Relay0 := Coupler2_Relay0 + 1;
IF Cnt1 = 50 THEN
Coupler0_Relay0 := 1;
Coupler0_Relay1 := 1;
...
...
@@ -342,6 +348,17 @@ Out0 := Cnt0;]]></xhtml:p>
<xhtml:p>
<![CDATA[OPC-UA relay 2]]>
</xhtml:p>
</documentation>
</variable>
<variable
name=
"Coupler2_Relay0"
address=
"%QD2.0"
>
<type>
<DINT/>
</type>
<initialValue>
<simpleValue
value=
"0"
/>
</initialValue>
<documentation>
<xhtml:p>
<![CDATA[OPC-UA relay 2]]>
</xhtml:p>
</documentation>
</variable>
</globalVars>
</configuration>
</configurations>
...
...
Beremiz/beremiz_network_test/stm32mp1-0@opcua/confnode.xml
View file @
d594d094
<?xml version='1.0' encoding='utf-8'?>
<OPCUAClient
xmlns:xsd=
"http://www.w3.org/2001/XMLSchema"
Server_URI=
"opc.tcp://192.168.0.
46
:4840"
>
<OPCUAClient
xmlns:xsd=
"http://www.w3.org/2001/XMLSchema"
Server_URI=
"opc.tcp://192.168.0.
61
:4840"
>
<AuthType/>
</OPCUAClient>
Beremiz/beremiz_network_test/stm32mp1-1@opcua/confnode.xml
View file @
d594d094
<?xml version='1.0' encoding='utf-8'?>
<OPCUAClient
xmlns:xsd=
"http://www.w3.org/2001/XMLSchema"
Server_URI=
"opc.tcp://192.168.0.
74
:4840"
>
<OPCUAClient
xmlns:xsd=
"http://www.w3.org/2001/XMLSchema"
Server_URI=
"opc.tcp://192.168.0.
66
:4840"
>
<AuthType/>
</OPCUAClient>
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