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
nexedi
osie
Commits
ef81fe23
Commit
ef81fe23
authored
Nov 13, 2020
by
Ivan Tyagov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Expose server at public interface.
parent
44a9cab7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
OPC-UA/opc-ua-server.py
OPC-UA/opc-ua-server.py
+2
-2
No files found.
OPC-UA/opc-ua-server.py
View file @
ef81fe23
"""
"""
Simple OPC
Ua
server with one paremeter (temp).
Simple OPC
UA
server with one paremeter (temp).
"""
"""
from
opcua
import
Server
from
opcua
import
Server
from
random
import
randint
from
random
import
randint
import
time
import
time
server
=
Server
()
server
=
Server
()
url
=
"opc.tcp://
localhost
:4840"
url
=
"opc.tcp://
0.0.0.0
:4840"
server
.
set_endpoint
(
url
)
server
.
set_endpoint
(
url
)
name
=
"OPCUA_SIMULATION_SERVER"
name
=
"OPCUA_SIMULATION_SERVER"
...
...
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