Store PLCnext CommunityPLCnext on LinkedInPLCnext on Instagram  PLCnext on YouTube Github PLCnext CommunityStore PLCnext Community

  1. anonymous_user_SpJ6A6ZZg0
  2. PLCnext Technology & PLCnext Controls
  3. Saturday, 16 November 2019

Hello

Ittry to install the IT_Library available on the store.

But when I insert it in my PlcNext eng 2019.9, I get this error (look at the screenshot)

The referenced library could not be loaded because it would cause ambiguous names

Am I alone, or is this known, and is there a workaround.

 

For sure, I suppose the reason is because some libraries are inserted several times, but why?

Thanks

 

Attachments (1)
Martin PLCnext Team Accepted Answer Pending Moderation
0
Votes
Undo

Hi Michel,

I did not get this problem with PLCnext Engineer 2019.9:

I first added the user library IP_COM_7 (the one that comes with IT_Library_6).

I then added IT_Library_6.

The project seemed OK after this.

Does this procedure still lead to an error in your project?

Martin.

Phoenix Contact Electronics Headquarters - PLCnext Runtime Product Management and Support
anonymous_user_SpJ6A6ZZg0 Accepted Answer Pending Moderation
0
Votes
Undo

Hi Martin

Thanks for replying a sunday!

Now, that works

Yesterday, I alreday treid to insert IP_Com, before IT_Lib, and I got the messages.

Today, after a night and a reboot, the same procedure is successfull...

Maybe my PC was tired in the last night!

Thanks

 

anonymous_user_SpJ6A6ZZg0 Accepted Answer Pending Moderation
0
Votes
Undo

Hi Martin.

 

no, the problem appeared again.

For example, i just opened a previous project that was working fine 5 minutes ago, and now, I get this error :

The referenced library could not be added because it would cause ambiguous ids

I really don't understand the problem.

Must the libraries be all at the same place in my PC?

For example, in my application, i need to use MTCP_5, IPCOM_7, IT_Lib-6, Interbus Physical, 

And the problem appears even if no other mibrary is installed in my application. That's crazy ! As soon as i try to insert a library, I get this message.

 

Oliver PLCnext Team Accepted Answer Pending Moderation
0
Votes
Undo

Hello Michel,

I can not reproduce this error you have.
Can you attach a screenshot of the Error?

LibrariesAdded
Is it possible that you moved the libraries?

If you move projects between PCs it is recommended to save the Libraries as an Archive and pack up the used libraries as well.

-> If  you do not do that you might have to replace the Libraries in your Project with the Version that is actually installed on your PC again.

Also have a look at the "Library Management "chapter in the PLCnext Engineer Help.

Releasing Libraries

Cascaded references: referenced libraries in released IEC libraries

If a project which includes a library reference is in turn exported as released IEC library, the resulting library still contains its library reference. This is called a cascaded reference.
On releasing, the path to the included (cascaded) reference is deleted. Instead, the cascaded library file within the released library is expected in the same folder as the released library. 

NOTE: Always store each library file (*.pcwlx) in the 'Libraries' folder. This way, cascaded references within released libraries can always be found. 

When creating a released IEC library using the export function, PLCnext Engineer ensures that the visibility setting of objects which are contained in cascaded references is consistent. For example, if you are trying to release a visible POU as library which in turn calls an invisible FB from a cascaded library, PLCnext Engineer reports an error. You have to specify consistent visibility settings throughout the cascaded references.

kind regards,
Oliver

Phoenix Contact Electronics Headquarters - PLCnext Runtime Product Management and Support
anonymous_user_SpJ6A6ZZg0 Accepted Answer Pending Moderation
0
Votes
Undo

Hello Oliver.

I could reproduce my problem.

If you open at least 2 PlcNext sessions.

If the same libary is used in both projects, but they are not located in the same directory,

the problem appears when you load a project in the first session (not restricted). (using the same library name, but not in the smae directory).

 

 

Oliver PLCnext Team Accepted Answer Pending Moderation
0
Votes
Undo

Hello ,

thank you for reporting this bug.

I will forward it to our development department!

Workaround :
Close all PLCnext Sessions.
Open only the project you want to work with.
Replace library again.

Phoenix Contact Electronics Headquarters - PLCnext Runtime Product Management and Support
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.