Professional OPC
Development Tools

logos

Online Forums

Technical support is provided through Support Forums below. Anybody can view them; you need to Register/Login to our site (see links in upper right corner) in order to Post questions. You do not have to be a licensed user of our product.

Please read Rules for forum posts before reporting your issue or asking a question. OPC Labs team is actively monitoring the forums, and replies as soon as possible. Various technical information can also be found in our Knowledge Base. For your convenience, we have also assembled a Frequently Asked Questions page.

Do not use the Contact page for technical issues.

omron opc reading and writing variables

More
05 Dec 2022 09:29 #11287 by Fietta
Thank you too

Please Log in or Create an account to join the conversation.

More
05 Dec 2022 09:24 #11286 by support
Thank you!

Please Log in or Create an account to join the conversation.

More
05 Dec 2022 09:08 #11284 by Fietta
Sorry for the wait

1) int32 was fine
2) NJ501 - 1300 Vers. 1.46
3) Yes
4)Result (value): Opc.Ua.BuildInfo {BuildInfo} @2022-12-02T15:49:32.536 @@2022-12-05T08:55:29.639; Good
├─ServerTimestampLocal = 05/12/2022 09:55:29
├─SourceTimestampLocal = 02/12/2022 16:49:32
├─StatusCode = Good
├─StatusInfo = Normal
├─Value = Opc.Ua.BuildInfo
│ ├─ProductUri = urn:OMRON:NxOpcUaServer
│ ├─ManufacturerName = OMRON Corporation
│ ├─ProductName = NxOpcUaServer
│ ├─SoftwareVersion = 1.03.04
│ ├─BuildNumber = 0001
│ ├─BuildDate = 14/07/2021 03:30:17
│ ├─TypeId = i=338
│ ├─BinaryEncodingId = i=340
│ ├─XmlEncodingId = i=339
│ └─JsonEncodingId = i=15361
└─ValueType = Opc.Ua.BuildInfo
Command finished: read|r (3,3 seconds).
The following user(s) said Thank You: support

Please Log in or Create an account to join the conversation.

More
01 Dec 2022 15:15 #11276 by support
Hello.

Can you now help me too? Because normally this should not be necessary, and I'd like to get to the bottom of it. I'd like to know

1) Which of the types has worked in the end (Int16, Int32, Int64)?
2) You mentioned "omron", but can you be more specific as to which model/version etc.?
3) I assume this is an OPC UA server that is embedded inside some PLC, and not a PC-based OPC UA server. Is that correct?
4) Would you be willing to extract more information about the server, by downloading the current version of the OpcCmd utility from kb.opclabs.com/Tool_Downloads#OpcCmd_Utility , and then, from inside that utility (at the OpcCmd> prompt), enter the following command:

uaClient read //172.16.253.6:4840 --NodeStandardName Server_ServerStatus_BuildInfo
and post here the screenshot?

Thank you

Please Log in or Create an account to join the conversation.

More
01 Dec 2022 14:47 #11275 by Fietta
Hi , as you told after i declared the typer of date the error has gone, thanks
The following user(s) said Thank You: support

Please Log in or Create an account to join the conversation.

More
29 Nov 2022 16:12 #11270 by Fietta
Ok, tomorrow morning i will try because now they have turned off the system

i will let you know tomorrow,

really thank you

Please Log in or Create an account to join the conversation.

More
29 Nov 2022 15:47 #11269 by support
Can you modify your code according to opclabs.doc-that.com/files/onlinedocs/QuickOpc/Latest/User%2...d%20specify%20data%20type.html , and in the last argument to WriteValue, vary

- typeof(Int16)
- typeof(Int32)
- typeof(Int64)

Thank you

Please Log in or Create an account to join the conversation.

More
29 Nov 2022 15:40 #11268 by Fietta
199, but i tried also 1 and 200

Please Log in or Create an account to join the conversation.

More
29 Nov 2022 15:38 #11267 by support
Thank you, this is what I wanted, now one more question: What is the actual value that you are trying to write, in your test?

Please Log in or Create an account to join the conversation.

More
29 Nov 2022 14:41 #11266 by Fietta
That's waht the program print (i used 3 variables but they are pretty the same)

Value: Integer
Value.ExpandedText: nsu=http://opcfoundation.org/UA/ ;i=27
Value.NamespaceUriString: opcfoundation.org/UA/
Value.NamespaceIndex: 0
Value.NumericIdentifier: 27

Value: Integer
Value.ExpandedText: nsu=http://opcfoundation.org/UA/ ;i=27
Value.NamespaceUriString: opcfoundation.org/UA/
Value.NamespaceIndex: 0
Value.NumericIdentifier: 27

Value: Integer
Value.ExpandedText: nsu=http://opcfoundation.org/UA/ ;i=27
Value.NamespaceUriString: opcfoundation.org/UA/
Value.NamespaceIndex: 0
Value.NumericIdentifier: 27

Please Log in or Create an account to join the conversation.

Moderators: support
Time to create page: 0.065 seconds