Search talk: opc ua server method

 
<< < 1 .. 16 17 18 19 20 .. 43 > >> (Page 18 of 43)

OPC-Verbindungsvariablen einschränken CODESYS Forge talk (Thread)
OPC-Verbindungsvariablen einschränken
Last updated: 2006-03-06

Lizenzkosten OPC CODESYS Forge talk (Thread)
Lizenzkosten OPC
Last updated: 2009-07-12

OPC and Ms Access CODESYS Forge talk (Thread)
OPC and Ms Access
Last updated: 2011-09-10

OPC Configuration CODESYS Forge talk (Thread)
OPC Configuration
Last updated: 2018-10-29

OPC CODESYS Forge talk (Thread)
OPC
Last updated: 2014-06-08

Student OPC help CODESYS Forge talk (Thread)
Student OPC help
Last updated: 2022-08-12

OPC Communication CODESYS Forge talk (Thread)
OPC Communication
Last updated: 2016-03-27

Codesys as opc client CODESYS Forge talk (Thread)
Codesys as opc client
Last updated: 2016-05-20

Simulation mode and OPC CODESYS Forge talk (Thread)
Simulation mode and OPC
Last updated: 2011-02-14

question opc CODESYS Forge talk (Thread)
question opc
Last updated: 2017-12-18

OPC/ DDE and Excel CODESYS Forge talk (Thread)
OPC/ DDE and Excel
Last updated: 2017-12-08

RASPBERRY OPC CONFIGURATION CODESYS Forge talk (Thread)
RASPBERRY OPC CONFIGURATION
Last updated: 2019-07-03

OPC and windows versions CODESYS Forge talk (Thread)
OPC and windows versions
Last updated: 2017-02-20

OPC download error CODESYS Forge talk (Thread)
OPC download error
Last updated: 2009-01-19

OPC Absturz in Windows CODESYS Forge talk (Thread)
OPC Absturz in Windows
Last updated: 2012-03-14

Codesys OPC simulator CODESYS Forge talk (Thread)
Codesys OPC simulator
Last updated: 2017-05-25

OPC client with CODESYS CODESYS Forge talk (Thread)
OPC client with CODESYS
Last updated: 2014-10-17

OPC via Lan problem CODESYS Forge talk (Thread)
OPC via Lan problem
Last updated: 2009-10-14

Post by dogulas on OPC UA C# client connecting to OPC UA CODESYS server CODESYS Forge talk (Post)
Ok, I have a simple test environment. From C#, using OPC UA, I can read DINTs, write DINTs, read Structs, but when I try to write a struct I get BadNotWritable. I am using Communication Manager, OPC UA Server, and IEC Symbol Publishing. I have a struct defined with one single DINT in it. The instance of the struct is in GVL. The struct is marked read/write in IEC Symbol Publishing. Any ideas? Pointers are welcome. public static async Task WriteStructA(byte[] structAData) { if (_session == null) throw new Exception("session is null"); // create a RequestHeader RequestHeader requestHeader = new RequestHeader { Timestamp = DateTime.UtcNow, TimeoutHint = 30000 // timeout in milliseconds }; // create an ExtensionObject to wrap the value to be written ExtensionObject extensionObject = new ExtensionObject( new ExpandedNodeId("GVL_StructA", 5), structAData ); // create a WriteValue object to hold the value to be written WriteValue writeValue = new WriteValue { NodeId = _structANodeId, AttributeId = Attributes.Value, Value = new DataValue(extensionObject) }; // put the WriteValue object into a WriteValueCollection object WriteValueCollection writeValueCollection = new WriteValueCollection() { writeValue }; // perform the write operation asynchronously WriteResponse writeResponse = await _session.WriteAsync( requestHeader, writeValueCollection, CancellationToken.None ); // check the result of the write operation if (writeResponse.Results[0] != StatusCodes.Good) throw new Exception("Write failed: " + writeResponse.Results[0]); }
Last updated: 2024-12-17

Post by alexgooi on OPC-UA and other communication questions CODESYS Forge talk (Post)
Dear forum, I currently have a big question mark above my head, and maybe this forum can shine some light on the situation. I recently updated to Codesys 3.15 SP19 Patch 6. And now I’m trying to setup the OPC-UA server, besides that I’m trying to connect to the controller with the Codesys V3 (Ethernet) protocol. OPC-UA I have installed the correct licenses on my controller (Runtime and communication). I’m able to connect to the controller with an OPC-UA client, and I’m able to browse the tags, so far so good. Therefore I’m assuming that the OPC-UA server is running on the controller. But now the strange part, in the device security settings I have set the communication Policy to BASCI256SHA256 ( I also have tried the other ones) and the communication mode is set to secure if possible (I also have tried all the other ones) (see picture). With these settings I would assume that I would only be able to login with a Basic256SHA256 policy with a client. But the opposite is true, I am able to login using the no policy mode and when I set it to Basic256SHA256 the client (UA-Expert) notes that this policy is not available on the server. I then check the certificates and I noted that there is no certificate for the OPC-UA server, I tried to generate one but it gave the error that the certificate has not been created by the device (See picture). To summarize I have no clue what is going on, and the controller does the opposite of what I would expect. Codesys Ethernet V3 driver I have a HMI connected to the same controller using the Ethernet V3 driver. But this will not connect. I tried all the Protocols (see picture), with and without the username and password enabled. But it will not connect, when I scan the available servers I can see the controller with the port number that I am expecting, so I’m assuming that the Codesys V3 ethernet driver is up on the controller. Does anyone can give me some direction, because the stuff that I tried doesn’t make sense to me. Thank you in advance
Last updated: 2024-04-02

Post by davidbo on Is OPC communication possible with server certificate but no client certificate CODESYS Forge talk (Post)
I was just wondering is the following option possible and what the settings should be. Is OPC communication possible with only and mandatory server certificate but no client certificate?
Last updated: 2023-10-06

Post by jbcregen on Accessing parameters from a structure or function block with the web interface CODESYS Forge talk (Post)
I have a project with hundreds of OPC-UA variables available on the network. A lot of these variables are used actively in various scripts that run in background in the OS (Linux). I'm experimenting with Automation Server and I have a hard time understanding how the web interface populates its parameters list for a given PLC (<plc details="" parameters="" for="" plc="" 'xyz'="">).</plc> In this page, it looks like the only variables available are the ones that are of a "base" type : bool, TIME, String, INT, etc. All the variables that are nested into function blocks or structures are not available in the web interface, even if they are available to any OPC-UA client. Is this a limitation of the Automation Server or is there something that can be done in Codesys?
Last updated: 2025-12-01

memory violation exception when Calling FB method from another FB method CODESYS Forge talk (Thread)
memory violation exception when Calling FB method from another FB method
Last updated: 2018-10-19

Post by sigurdrb on OPC server in "Communication manager" CODESYS Forge talk (Post)
Hi! I was thinking of switching the OPC server config from "Symbol Configuration" to the "Communication manager" in the device tree. I Have a lot of arrays of structs that I have previously declared in the "Persistent Variable" object in the device tree. It seems as it is not supported to directly expose persistant variables to the OPC server like the "older" way of doing it in the symbol config. Is this correct? Do you recommend to just do it the old fashioned way, or should I edit the structure of the global variable list / persistant data / OPC server and set up the OPC server from the "Communication manager" object?
Last updated: 2025-01-20

Post by vformanek on Datasource OPC UA Client error ID:7012 CODESYS Forge talk (Post)
Sorry to bother but what do you mean by target ?
Last updated: 2023-11-21

<< < 1 .. 16 17 18 19 20 .. 43 > >> (Page 18 of 43)

Showing results of 1073

Sort by relevance or date