EcoStruxure Geo SCADA Expert Forum
Schneider Electric support forum about installation, configuration, integration and troubleshooting of EcoStruxure Geo SCADA Expert (ClearSCADA, ViewX, WebX).
Link copied. Please paste this link to share this article on your social media post.
Posted: 2022-02-15 09:03 AM . Last Modified: 2023-05-02 11:58 PM
Hi,
I am trying to configure multiple Modbus points in different outstations using the CSImport tool by copying an existing point and then changing the item properties as required by the configuration.
All changes work fine except the change of the Outstation reference (item property "SourceName") that generates an &HC0040006 error (OPC_E_BADRIGHTS, in my interpretation).
Is it possible at all to change the Outstation with the CSImport tool?
Are there some security / rights adjustments that I would need to do to make this possible?
All this work is done in the context of the Aveva Telemetry Server, that is a subset of the Geo SCADA as I understand.
Thanks!
Alex
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2022-02-15 09:16 AM
HRESULT 0xC0040006 is indeed OPC_E_BADRIGHTS and is occurring because the SourceName database field is a derived read-only field, so cannot be directly modified.
To change the outstation associated with a point you need to write to the OutstationId database reference field.
I'm not familiar with the CSImport tool so I don't know if it supports writing to database reference fields.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2022-02-15 09:16 AM
HRESULT 0xC0040006 is indeed OPC_E_BADRIGHTS and is occurring because the SourceName database field is a derived read-only field, so cannot be directly modified.
To change the outstation associated with a point you need to write to the OutstationId database reference field.
I'm not familiar with the CSImport tool so I don't know if it supports writing to database reference fields.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2022-02-15 09:47 AM
Thanks Andrew for the fast reply!
Steve Beadle pointed me at the right syntax replying to an earlier email: The CSImport property to change is indeed the OutstationID and the value to be set is the outstation's full name.
I tried this and it works fine!
Thanks again,
Alex
Link copied. Please paste this link to share this article on your social media post.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.