Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Notifications
Login / Register
Community
Community
Notifications
close
  • Forums
  • Knowledge Center
  • Events & Webinars
  • Ideas
  • Blogs
Help
Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Sustainability
Sustainability

We Value Your Feedback!
Could you please spare a few minutes to share your thoughts on Cloud Connected vs On-Premise Services. Your feedback can help us shape the future of services.
Learn more about the survey or Click here to Launch the survey
Schneider Electric Services Innovation Team!

Error in making a new Library

EcoStruxure Automation Expert / IEC 61499 Forum

Schneider Electric support forum to acquire and share knowledge about EcoStruxure Automation Expert and IEC 61499 standard for distributed control systems.

cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Home
  • Schneider Electric Community
  • Industrial Automation
  • EcoStruxure Automation Expert / IEC 61499 Forum
  • Error in making a new Library
Options
  • Mark Topic as New
  • Mark Topic as Read
  • Float this Topic for Current User
  • Bookmark
  • Subscribe
  • Mute
  • Printer Friendly Page
Invite a Co-worker
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send Invite Cancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Send New Invite Close
Top Experts
User Count
mohamedriswan
Ensign mohamedriswan Ensign
5
JeromePetit
Ensign JeromePetit Ensign
4
KarimBenameur
Ensign KarimBenameur Ensign
4
View All

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Back to EcoStruxure Automation Expert / IEC 61499 Forum
Eli2024
Crewman Eli2024
Crewman

Posted: ‎2024-02-12 05:12 AM

0 Likes
6
752
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2024-02-12 05:12 AM

Error in making a new Library

I would like to make a new modified library. I tested it with adding AnalogInput CAT to the new Library. But I get too many errors, e.g.,


- "The type or namespace name 'API' does not exist in the namespace ... (are you missing an assembly reference?) (CS0234)"
- cyclic dependency between new library and sth...

 

Does anyone know who to fix this issue?

Labels
  • Labels:
  • Libraries
  • Tags:
  • english
Reply
Contact Support

Link copied. Please paste this link to share this article on your social media post.

  • All forum topics
  • Previous Topic
  • Next Topic
Replies 6
KARTHICKR
Ensign KARTHICKR Ensign
Ensign

Posted: ‎2024-02-13 09:21 PM

1 Like
2
727
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2024-02-13 09:21 PM

Absolutely! You must reference the libraries used within the CAT, or alternatively, you can simply copy and paste the referenced blocks into your solution.

 

Reply
Contact Support

Link copied. Please paste this link to share this article on your social media post.

Eli2024
Crewman Eli2024
Crewman

Posted: ‎2024-02-14 12:11 AM

In response to KARTHICKR
0 Likes
1
711
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2024-02-14 12:11 AM

Thanks for your message, KARTHICKR!

Regarding adding the AnalogInput CAT to the new Library, I realized that I had to reference OPCUA library.

But, how can I know the libraries which are used within the CAT? 

The new problem that I have is that when I want to add the PID CAT to my new library, I get too many errors and all of them are like this:

"In Connection 'modeSel.PermVal TO Mode': Cannot convert from type 'VTQINT' to type 'BOOL' (ERR_CAST_UNDEFINED)"

Please note that I haven't modified anything and I am just copying the PID CAT from the main Library to my new library.

Reply
Contact Support

Link copied. Please paste this link to share this article on your social media post.

KARTHICKR
Ensign KARTHICKR Ensign
Ensign

Posted: ‎2024-02-14 01:59 AM

In response to Eli2024
1 Like
0
703
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2024-02-14 01:59 AM

When it comes to referencing, you can access the block by double-clicking on it. Then, by hovering your mouse cursor near the block, a tooltip will appear, showing the reference library namespace. Alternatively, you can refer to the library directly. For example, if you copied PID CAT from SE.AppCommonProcess, you should refer to the SE.AppCommonProcess library in your solution and then modify the copied CAT as needed.

 

KARTHICKR_0-1707903003322.png

 

 

To resolve the conversion error, there are two methods. First, you can go to the solution options, then IEC61499, and uncheck "Report type cast problem in composite FB network as detected error." However, this is only for testing purposes. The correct way to resolve it is to use the ANY2ANY block to convert different data types. 

 

KARTHICKR_2-1707903594062.png

 

Reply
Contact Support

Link copied. Please paste this link to share this article on your social media post.

Eli2024
Crewman Eli2024
Crewman

Posted: ‎2024-02-14 02:50 AM

0 Likes
0
688
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2024-02-14 02:50 AM

Thank you very much for your thorough response, KARTHICKR.

In the predefined PID CAT, there is no ANY2ANY block, and I didn't encounter any errors when using the pre-made PID CAT. However, upon adding the PID CAT to my modified library, I started encountering errors. According to your suggestion, it seems I should add the PID CAT to my modified library and then add ANY2ANY blocks to resolve the issue. This approach feels somewhat strange.

Reply
Contact Support

Link copied. Please paste this link to share this article on your social media post.

Eli2024
Crewman Eli2024
Crewman

Posted: ‎2024-02-19 03:55 AM

0 Likes
1
624
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2024-02-19 03:55 AM

Dear KARTHICKR,

 

I implemented your solutions as suggested. However, unchecking "Report type cast problem in composite FB network as detected error." did not resolve the issue.

1.png

 


Consequently, I had to use an Any2Any block. Does the configuration look like the following picture?

 

2.png

 


Upon copying the PID CAT to my new library, I encountered 14 errors. Adding the Any2Any block fixed one error. Should I repeat this process for the remaining 13 errors? I'm puzzled as to why compiling a solution with the built-in PID does not yield any errors, whereas incorporating a new PID (without modifications) into our new library results in numerous errors.

Reply
Contact Support

Link copied. Please paste this link to share this article on your social media post.

KARTHICKR
Ensign KARTHICKR Ensign
Ensign

Posted: ‎2024-02-19 09:10 PM

In response to Eli2024
0 Likes
0
605
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2024-02-19 09:10 PM

Hello,

 

I can't see the attached images. To resolve this issue, please include an Any2Any block, as I'm not entirely certain about the cause of these errors.

Reply
Contact Support

Link copied. Please paste this link to share this article on your social media post.

Preview Exit Preview

never-displayed

You must be signed in to add attachments

never-displayed

 
To The Top!

Forums

  • APC UPS Data Center Backup Solutions
  • EcoStruxure IT
  • EcoStruxure Geo SCADA Expert
  • Metering & Power Quality
  • Schneider Electric Wiser

Knowledge Center

Events & webinars

Ideas

Blogs

Get Started

  • Ask the Community
  • Community Guidelines
  • Community User Guide
  • How-To & Best Practice
  • Experts Leaderboard
  • Contact Support
Brand-Logo
Subscribing is a smart move!
You can subscribe to this board after you log in or create your free account.
Forum-Icon

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.

Register today for FREE

Register Now

Already have an account? Login

Terms & Conditions Privacy Notice Change your Cookie Settings © 2025 Schneider Electric

This is a heading

With achievable small steps, users progress and continually feel satisfaction in task accomplishment.

Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.

of