Search found 20 matches

Search

by aleksandar.postolov
Wed Jun 24, 2020 4:25 pm
Forum: HowTos
Topic: Node-RED combining value and unit in one object
Replies: 1
Views: 4292

Node-RED combining value and unit in one object

Hi everyone I am playing with node-red in 3.17 and it's pretty cool so far. I am struggeling though, with combining the differend payloads from dpGet and dpGetUnit. What I am trying to do is displaying a chart with the given unit from the datapoint. I do get the value and the unit from the datapoint...
by aleksandar.postolov
Mon Feb 03, 2020 12:28 pm
Forum: HowTos
Topic: WinCC OA MQTT to Azure IoT Hub
Replies: 0
Views: 9984

WinCC OA MQTT to Azure IoT Hub

Hi Guys Has anyone tried to connect to Azure IoT Hub? I tried to connect to a IoT Hub directly with the MQTT driver. But I always get SocketSslHandshakeFailedError Driver communication failure, failure condition on HmiConnection As describet in de Microsoft Doc's I used the following. For the Passwo...
by aleksandar.postolov
Wed Dec 11, 2019 4:02 pm
Forum: HowTos
Topic: Get all pending alarms
Replies: 6
Views: 8600

Re: Get all pending alarms

I found the solution. I need to add a WHERE to filter alarms and events.
SELECT ALERT '_alert_hdl.._prior' FROM '*.in.*.value' WHERE '_alert_hdl.._prior' > 5 AND _DP NOT LIKE "_rm*"

Thank you for the hint
Aleks
by aleksandar.postolov
Wed Dec 11, 2019 3:28 pm
Forum: HowTos
Topic: Get all pending alarms
Replies: 6
Views: 8600

Re: Get all pending alarms

Thank you for you reply!

I already tried with SELECT ALERT. But wich statement should I use?
If I use the following query, I recive more alarms, than there should be.

dpQuery("SELECT ALERT '_alert_hdl.._value FROM *.in.*.value)

best regards
Aleks
by aleksandar.postolov
Fri Dec 06, 2019 6:04 pm
Forum: HowTos
Topic: Get all pending alarms
Replies: 6
Views: 8600

Get all pending alarms

What's the query like, to get all pending alarms? it doesn't matter if they are acknowledged or not.
Or is there a function which can be used?

Best regards
aleks
by aleksandar.postolov
Tue May 28, 2019 11:09 am
Forum: HowTos
Topic: Starting and stopping Manager via CTRL-Script
Replies: 3
Views: 4365

Re: Starting and stopping Manager via CTRL-Script

Thank you very much - just saw this a couble of hours ago. But this isn't working neither. I try to start and stop a OPC-Driver _Managers(_2).Exit doesn't work. I write the Manager PID and nothing happens. Logviewer: WCCILevent (0), 2019.05.28 11:08:57.659, PARAM,INFO, 0, , Terminate manager (SYS: 0...
by aleksandar.postolov
Mon May 27, 2019 9:20 pm
Forum: HowTos
Topic: Starting and stopping Manager via CTRL-Script
Replies: 3
Views: 4365

Starting and stopping Manager via CTRL-Script

Hi everyone

How can I start and stop a Manager via CTRL-script? Is there such a function?

I tried it with a tcpWrite command (MGRLIST) but I recive "ERROR no Auth : unknown authorisation".
I wrote the command with the root-user.

Best regards
Aleks
by aleksandar.postolov
Tue Jan 22, 2019 11:09 am
Forum: Bugs / Problems
Topic: Can't start OPC UA Server Manager
Replies: 2
Views: 3753

Re: Can't start OPC UA Server Manager

I am using the standard groups OPCUARead. The default Alias is OPCUARead.
I just noticed, that for OPCUAAlarm the alias is missing.

Now I can start the driver.

Is the Alias also needed for each Datapoint?

Thank you very much.
by aleksandar.postolov
Mon Jan 14, 2019 6:49 pm
Forum: Bugs / Problems
Topic: Can't start OPC UA Server Manager
Replies: 2
Views: 3753

Can't start OPC UA Server Manager

Hi there I can't start the OPC UA Server. I have the following errors in logviewer: OpcUaSManager in Funktion connectGroup, Verbindung zu Gruppenalias @OPCUAAlarm nicht möglich ... OpcUaSManager::processValueChange Answer invalid DpId - not in PIn"TEST:_Users.UserId" ... 6/opcuasrv, OpcUaS...
by aleksandar.postolov
Sat Dec 08, 2018 10:17 pm
Forum: HowTos
Topic: WinCC OA Reports: How do I pass a report parameter in dpQuery
Replies: 1
Views: 2964

WinCC OA Reports: How do I pass a report parameter in dpQuery

<t>I am trying to get all alarms from a specific time range in a report (I am using SSRS). Is it possible to pass a report parameter in a Query?<br/> The time in TIMERANGE needs to be replaced with something like @startTime, @endTime<br/> <br/> <br/> <br/> <br/> <br/> SELECT ALERT '_alert_hdl.._valu...