Comments (5)
plc type and vendor?
from opcua-asyncio.
It should be a Schneider M241
from opcua-asyncio.
try to create the datavalue without servertimestamp!? the servertimestamp is usually the point in time in which the server recv that datapoint!
you can pass the dv to the write_value method!
https://github.com/AndreasHeine/opcua-tutorial/blob/main/client/write.py#L35-L42
from opcua-asyncio.
Hello,
that solved the issue
dv = ua.DataValue(
ua.Variant(
100,
ua.VariantType.Int16
)
)
await h_tmax_m2.write_value(dv)
I have one more question, my PLC is roughly 3 mins behind in terms of time right now. It seems like it has a drift.
Given how powerful and useful this library is i was wondering whether i could fix that.
What is the proper method to fix it? I do see there is a Status/CurrentTime variable which is not writeable. Shall i ask for a permission change or is there a more adequate method?
from opcua-asyncio.
most plc dont have battery buffered RTC.... so configuring a NTP-Server is the best option
from opcua-asyncio.
Related Issues (20)
- Infinite Read Requests? HOT 10
- Issue with Migrating from opcua to asyncua.sync: AttributeError when accessing get_objects_node HOT 1
- Bulk reading node attributes causes disconnect
- Subscription tasks not closed properly on OPCUA server shutdown HOT 2
- `call_method` and `uamethod` unpack tuple type HOT 4
- How to properly handle connection issues and reconnecting? (request for comments) HOT 9
- How to use browsepath to get the value of node id. HOT 8
- Possible inconsisent handling of custom datatypes on multiple servers using load_data_type_definitions() HOT 2
- Relax some constraints on dependencies
- Is there a Client Discover Example?
- Received DataChangeNotification without Value has changed HOT 12
- Incorrect instantiation of ObjectType from an imported XML model
- Unable to load ExtensionObject (struct) BinaryIdBaseDataType from Machine Vision CS. HOT 2
- opcua-asyncio/freeopcua stack major interoperability bug with open62541 stack : error on handling node attributes (BadAttributeIdInvalid)
- Client.browse_nodes returns no references when a node has children HOT 9
- Error when loading custom data types from multiple server in single script HOT 1
- Using Docker with asyncua on arm!
- Receive BadEncoding error when subscribing to alarms HOT 5
- get_path created BrowsePath finds not match via tranlate_browsepaths HOT 12
- LDS returns wrong discovery url of registered opcua-asyncio server
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opcua-asyncio.