OPC UA with Python

  Рет қаралды 21,172

APMonitor.com

APMonitor.com

Күн бұрын

Пікірлер: 20
@nrdesign1991
@nrdesign1991 Жыл бұрын
Used OPC UA in my Bachelor's thesis, albeit with the LabVIEW extension. The company insisted the software being done in LabVIEW, so they're the ones to pay the yearly subscription. It's a great way of accessing the entire memory space of the PLC.
@destroyo5457
@destroyo5457 Жыл бұрын
This video just saved my day at work 💯
@bhys570
@bhys570 7 ай бұрын
Very useful content, go on
@robertparenton7470
@robertparenton7470 2 ай бұрын
Thank You!
@darshmishra6475
@darshmishra6475 6 ай бұрын
How do we handle cases where we have a subscription based getting data and suppose there is a connection drop. So we still go with latest value assuming it has remained constant and not updated ?
@apm
@apm 6 ай бұрын
When working with OPC servers, identifying and managing stale or outdated data values is important in industrial applications where data integrity is vital for operation safety and efficiency. Here are strategies to detect stale values with OPC UA: 1. Timestamp Checking Each value read from an OPC UA server includes a timestamp that can be used to detect when data becomes stale if the timestamp remains unchanged over an extended period. 2. Subscription and Monitored Items Instead of polling data (repeatedly reading values), OPC UA supports subscriptions where the server notifies the client of changes. You can specify a publishing interval and a "deadband" to filter out unnecessary updates. Monitored items can be set to notify only on significant changes or after a certain time of inactivity. 3. Setting Data Quality Flags OPC UA servers can be configured to include data quality flags with each value. These flags can indicate issues such as communication errors, sensor malfunctions, or configuration errors. By checking these flags, you can determine if the data should be considered reliable. 4. Implement Heartbeat Signals For critical variables that must be updated regularly, implementing a "heartbeat" signal can be effective. This is a write operation performed by the data source at a regular interval to a specific variable, indicating that the source is still operational. The absence of recent updates to this heartbeat variable can signal an issue with the data source. 5. Analyzing Historical Data Patterns In some cases, analyzing the historical patterns of data updates can help identify anomalies in data freshness. If certain variables typically update at regular intervals, deviations from this pattern can be flagged for further investigation.
@tejaswinirajput1576
@tejaswinirajput1576 9 ай бұрын
Hello !! Actually at 9.21 minute of video time-stamp I am not able to connect due to error "Unexpected token 'T', "Traceback"... is not valid JSON. Can you please help me with it. Also I had followed all your steps as you guided and codes too still fcaing this error. Please look into it.
@apm
@apm 9 ай бұрын
It looks like this is a common issue that everyone is facing with the current version. I recommend contacting the developers or else use an earlier version of the library.
@tejaswinirajput1576
@tejaswinirajput1576 9 ай бұрын
@@apm okay!! can you please recommend the versions you have used in your video ?
@Wtf95
@Wtf95 5 ай бұрын
Nice video! Thanks! May be you can make video about OPC UA TSN? And IEC/IEEE 60802 TSN?
@apm
@apm 5 ай бұрын
Time-Sensitive Networking (TSN) is important in many applications. I typically use MODBUS when speed is important. It is an older standard, but specializes in high-speed numerical data.
@hannabelavus568
@hannabelavus568 11 ай бұрын
Great video, thanks! Although i struggle to connect to server from webclient interface. I'm getting "Unexpected token 'T', "Traceback "... is not valid JSON" when i click connect. Where can I fix JSON parsing in my server?
@pro_mechanical3360
@pro_mechanical3360 11 ай бұрын
I am facing the similar isssue while connecting a codesys softplc controller, Please reply to this thread if you find any solution, will be really greatful to your help.
@apm
@apm 9 ай бұрын
It looks like this is a common issue that everyone is facing with the current version. I recommend contacting the developers or else use an earlier version of the library.
@arifkarisman1016
@arifkarisman1016 Жыл бұрын
amazing
@SonchaiNukaeo-d7e
@SonchaiNukaeo-d7e 4 ай бұрын
you can show Ethernet IP protocol ? . Thank
@yorha2b278
@yorha2b278 6 ай бұрын
Code doesn't work for me. I got this error: "The requested operation has no match to return."(BadNoMatch)
@apm
@apm 5 ай бұрын
The error message "The requested operation has no match to return." (BadNoMatch) from the Python OPC UA package generally indicates that the operation you attempted to perform did not find a valid target or match in the server's address space or data structures.
@randybenedict3306
@randybenedict3306 Жыл бұрын
I can't get past using the base environment
@apm
@apm Жыл бұрын
Here is more on managing Python environments: apmonitor.com/dde/index.php/Main/InstallPythonPackages
Python MQTT for Data-Driven Engineering
14:51
APMonitor.com
Рет қаралды 6 М.
OPC UA in Python
37:51
Industrial IT and Automation
Рет қаралды 2,3 М.
Human vs Jet Engine
00:19
MrBeast
Рет қаралды 158 МЛН
Fake watermelon by Secret Vlog
00:16
Secret Vlog
Рет қаралды 31 МЛН
What I LOVE and HATE About MQTT and OPC UA
13:58
RealTimeAutomation
Рет қаралды 24 М.
Python Modbus
16:31
APMonitor.com
Рет қаралды 23 М.
The ABCs of OPC UA: Everything You Need to Understand
9:45
RealPars
Рет қаралды 34 М.
Protocols vs ABCs in Python - When to Use Which One?
15:31
ArjanCodes
Рет қаралды 39 М.
OPC UA Information Modeling - Detailed Overview
1:18:01
Beeond Channel
Рет қаралды 24 М.
Websockets in Python
17:52
APMonitor.com
Рет қаралды 36 М.
TIA Portal: S7-1500 OPC UA Methods Tutorial
22:30
System-Restored
Рет қаралды 9 М.
Human vs Jet Engine
00:19
MrBeast
Рет қаралды 158 МЛН