Avatar
Please consider registering
guest
sp_LogInOut Log Insp_Registration Register
Register | Lost password?
Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_Feed Topic RSSsp_TopicIcon
Parameter Error on Siemens 1500
November 12, 2025
17:23, EET
Avatar
CHHinrichs
Member
Members
Forum Posts: 3
Member Since:
November 12, 2025
sp_UserOfflineSmall Offline

Hello,
we use the UAClient for a connection to a siemens CPU 1500. I think i use everyting correct for the connection, but in the CPU-Diag are errors:
incorrect use of service read in session ….
————————————-
Description in Siemens:
An OPC UA client attempted to call a service. One or more nodes could not be found in the address space of the CPU’s OPC UA server, or one of the parameters used was incorrect. This can lead to high communication load.
Resolution:
– Delete the missing objects from the client configuration
– Add the missing objects to the server or the standard server interface (SIMATIC namespace)
– Correct the service call for clients that sent services with invalid parameters.
————————————

The NodeIDs are correct, the App get correct values from the Subscription.

November 13, 2025
10:55, EET
Avatar
Jouni Aro
Moderator
Moderators
Forum Posts: 1044
Member Since:
December 21, 2011
sp_UserOfflineSmall Offline

Thanks for the report.

I believe this is due to the client initialisation, when it tries to use standard nodes that are not supported by the server. Do you have any more details about the NodeIds that it complains about?

I wouldn’t worry too much, if you have correct nodes in monitoring in any case.

November 13, 2025
15:59, EET
Avatar
CHHinrichs
Member
Members
Forum Posts: 3
Member Since:
November 12, 2025
sp_UserOfflineSmall Offline

Hello!
Unfortunately, the PLC does not indicate which nodes are causing problems.

Here are the 2 Nodes the app ask for, located in memo1:
nsu=http://www.siemens.com/simatic-s7-opcua;s=”DB_P01A01_TankManagement”.”Tank_T1101″.”OUT”.”Weight”
nsu=http://www.siemens.com/simatic-s7-opcua;s=”DB_P01A03_TankManagement”.”Tank_T1302″.”OUT”.”Weight”

and here is the code:

procedure TForm1.Button1Click(Sender: TObject);
var
ANodeid: TUaNodeId;
ANode_string: string;
i: integer;
MonitoredDataItem: IUaMonitoredDataItem;
Subscription: TUaSubscription;
begin
UaClient1.ServerAddress.URI := Edit1.text;
UaClient1.Connect;

Subscription := TUaSubscription.create;
UaClient1.AddSubscription(Subscription);

Subscription.TimestampsToReturn := ttrBoth;
Subscription.PublishingInterval := 1000;
Subscription.LifeTimeCount := 70;
Subscription.MaxKeepAliveCount := 20;
Subscription.MaxNotificationsPerPublish := 0;
Subscription.Priority := 0;
Subscription.PublishingEnabled := true;
Subscription.BeginUpdate;
for i := 0 to Memo1.lines.count – 1 do
begin

ANode_string := trim(Memo1.lines[i]);

if ANode_string ” then
begin
ANodeid := UaClient1.namespaceTable.ParseNodeId(ANode_string);
MonitoredDataItem := TUaMonitoredDataItem.create(ANodeid);
MonitoredDataItem.OnDataChange := MDataItem_onchangeOnDataChange;
MonitoredDataItem.SamplingInterval := 1000;
MonitoredDataItem.QueueSize := 3;
Subscription.AddItem(MonitoredDataItem);

end;

end;
Subscription.endUpdate;

for i := 0 to Memo1.lines.count – 1 do
begin

ANode_string := trim(Memo1.lines[i]);

if ANode_string ” then
begin
ANodeid := UaClient1.namespaceTable.ParseNodeId(ANode_string);
memo3.lines.add(ANodeid.ToString+’: ‘+UaClient1.ReadValue(ANodeid).ValueAsString);
end;

end;

end;

November 14, 2025
10:30, EET
Avatar
Jouni Aro
Moderator
Moderators
Forum Posts: 1044
Member Since:
December 21, 2011
sp_UserOfflineSmall Offline

Yeah, it’s none of the nodes that you are reading. The SDK tries to read a lot of OPC UA standard nodes at the connection phase. But not all servers implement these and this is natural. So you can just ignore the warning from the PLC. They don’t cause any real problem, since the SDK only tries to read them once at connect.

November 14, 2025
12:12, EET
Avatar
CHHinrichs
Member
Members
Forum Posts: 3
Member Since:
November 12, 2025
sp_UserOfflineSmall Offline

OK, Thank you for your Help!

Forum Timezone: Europe/Helsinki
Most Users Ever Online: 1919
Currently Online:
Guest(s) 55
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Heikki Tahvanainen: 402
hbrackel: 144
rocket science: 100
pramanj: 86
Francesco Zambon: 83
Ibrahim: 78
Sabari: 62
kapsl: 57
gjevremovic: 49
Xavier: 43
Member Stats:
Guest Posters: 0
Members: 773
Moderators: 7
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1558
Posts: 6567
Newest Members:
aracelyhaley4, raphaelschonell, Ashmag, kathyreimann56, brittanylemos, dorthycundiff76, PromotionToold, CHHinrichs, rodricklienhop, jose_Wanderlei
Moderators: Jouni Aro: 1039, Pyry: 1, Petri: 1, Bjarne Boström: 1054, Jimmy Ni: 26, Matti Siponen: 359, Lusetti: 0
Administrators: admin: 1