Z-Drive and sequence handling
This commit is contained in:
@@ -9,9 +9,9 @@ HOST_NAME = socket.gethostname()
|
||||
CLIENT_APP_URI = f"urn:{HOST_NAME}:client:hmi"
|
||||
|
||||
# OPC UA settings
|
||||
OPC_UA_URL = "opc.tcp://192.168.0.148:4840"
|
||||
OPC_UA_URL = "opc.tcp://192.168.123.90:4840"
|
||||
OPC_UA_USER = "Administrator"
|
||||
OPC_UA_PW = "11sep8819"
|
||||
OPC_UA_PW = "1"
|
||||
NAMESPACE = "urn:BeckhoffAutomation:Ua:PLC1"
|
||||
|
||||
EVENT_LOGGER_NODE_ID = "ns=8;s=eventlogger"
|
||||
|
||||
@@ -1,12 +1,10 @@
|
||||
import os
|
||||
|
||||
from asyncua import Client, ua, Node
|
||||
from asyncua.crypto.security_policies import SecurityPolicyBasic256Sha256
|
||||
from asyncua.crypto.cert_gen import setup_self_signed_certificate
|
||||
from cryptography.x509.oid import ExtendedKeyUsageOID
|
||||
|
||||
import asyncio
|
||||
|
||||
import globalConfigs as gc
|
||||
import globalData as gd
|
||||
|
||||
|
||||
Reference in New Issue
Block a user