Used to tag questions related to the open62541 OPC UA stack.
Questions tagged [open62541]
79 questions
1
vote
1 answer
Send memory variables from Server to Client in open62541
I'm trying to create a bridge in C Language that uses two protocols : OPC-UA and MODBUS.
Between the client and the bridge I used the protocol open62541 to ask for some data of any type. When the bridge receive the request, the memory requests…

LukeTheWolf
- 179
- 15
1
vote
1 answer
Multible definitions including open source library (with seemingly correct linker settings?)
Im working on a program for my studies, that uses an open source library. It is meant to run on Raspberry Pi (Raspbian Kernel). Because of my intention to be also able to load it on a PLC i used mostly pure C. The Library itself comes with suitable…

Andy.S.
- 13
- 4
0
votes
1 answer
Open62541 - Writing Array in Siemens Data Block
In Open62541 in C++, I could not find in the documentation how to write data in a Data Block of a Siemens PLC, especially in the case of an array.
With the UA_Client_writeValueAttribute(client, UA_NODEID_STRING(4,"DATABLOCK_NAME"."VARIABLE_NAME"),…

AlexMacabu
- 127
- 9
0
votes
1 answer
min-GW gcc cant link winsock2.h
I'm trying to use winsock2 library, i'm using it to compile tutorial server from open62541
some code that i used and make error (from open62541.c that built from amalgamation):
#include
#include
#INCLUDE
int…

weedy w
- 3
- 1
0
votes
0 answers
open62541 library build on Windows differents with release files
I trying to go into the open62541 project to use it in my solution. My platform is windows.
At first, I downloaded the release files (open62541.h/c) and compiled the server example with GCC compiler (MinGW64).
$ gcc -std=c99 open62541.c myServer.c…

L Kwiatkowski
- 21
- 2
0
votes
1 answer
Failure to build open62541 with CMake on Windows
I am trying to build the library on Windows with CMake. The whole process is new to me, so please excuse this basic question. I followed the instructions under 2.1.2 of the current open62541 manual (Release 1.2.0-rc2-45-gf4270ceb). After executing…

Dave
- 171
- 2
- 13
0
votes
2 answers
Duplex communication between Client and server open62541(OPC-UA)
I would like to establish bidirectional data communication between client and server. The following example explains what I am trying to acheive.
Ex: Client sends a request to read the value of the two node ids(these node ids are numeric) every sec.…

Gopala Krishna
- 117
- 1
- 12
0
votes
1 answer
Unable to send the published message to the subscriber in open62541
I am trying to build learn the open62541, I am using the sample example Here.
I saved the example as publish.c
and compiled with cmake options,
cmake -DUA_ENABLE_SUBSCRIPTIONS=ON -DUA_ARCHITECTURE=freertosLWIP -DUA_ENABLE_AMALGAMATION=ON…

Gaurav1234
- 43
- 7
0
votes
1 answer
Multicast DNS name conflict in OPC UA Discovery
Working on a requirement to display the status information of the server( Available or Busy) to the client.
2 approach followed:
used the facility of server capabilities array to display information. As it is an array, 1st element was made to be…

Rakshan Premsagar Kapikad
- 377
- 5
- 13
0
votes
1 answer
OPC UA Client server connection useing Open62541
I got a bit of an issue connecting a client on a Raspberry Pi to a server on a Raspberry pi and was hoping you guys had some ideas on how to resolve it.
Both of them have been setup using this…

Parko
- 23
- 6
0
votes
0 answers
CMake link to a C++ third party library (open62541)
After multiple hours of researching the internet for an solution (I know there are somewhat similar questions but none were helping) I am close to throwing in the towel, so help is highly appreciated.
Preliminary:
I want to use the C99 library…

marcomarmelade
- 1
- 3
0
votes
1 answer
OPC UA Multicast Discovery
I am a beginner in OPC UA, exploring the discovery mechanisms mentioned in part 12 of the specification. I have a couple of queries.
In the Multicast extension discovery, the server registers to its Local discovery server(LDS ME), and when client…

Rakshan Premsagar Kapikad
- 377
- 5
- 13
0
votes
1 answer
Open62541 Object containing an array of objects: OptionalPlaceholder and HasOrderedComponent reference
I have been searching for information about how to face the problem I am about to explain but unfortunately I could not solve it.
I want to create an Object Programm of the ObjectType ProgrammType which contains an array of instances of ObjectType…

JBG
- 63
- 1
- 5
0
votes
0 answers
Building a Simple Server using Open62541 in a debug environment
I built a server using open62541 architecture by referring to the documentation provided at this
page.
The following input to the command prompt gcc -std=c99 open62541.c myServer.c -lws2_32 -o myServer.exe generates the executable. The architecture…

Gopala Krishna
- 117
- 1
- 12
0
votes
1 answer
UA_STATUSCODE_BADINTERNALERROR when connecting with Username & Password Security Mode = NONE and Security Policy = NONE
I’ve written an OPC UA Client and i’m using ProSys OPC UA Simulator Server to test it. Running in Anonymous mode my client connects and i can browse the server. however when I configure my client to use a Username and Password it fails with No…

NOZ77
- 69
- 6