Launch of Consumer/Home Owner registration process!
We are pleased to announce the commencement of the Consumer/Home Owner Registration Process on Community. Consumers/Home Owners may now proceed to register by clicking on Login/Register. The process is straightforward and designed to be completed in just a few steps.
Is it faster for m241 to execute logic in pou or execute logic from library?
Ask the Community
Ask questions, get advice from experts and peers on Digital Automation & Energy Management.
Search in
Improve your search experience:
Exact phrase→Use quotes " "(e.g., "error 404")
Wildcard→Use * for partial words(e.g., build*, *tion)
AND / OR→Combine keywords(e.g., login AND error, login OR sign‑in)
Keep it short→Use 2–3 relevant words, not full sentences
Filters→Narrow results by section(Knowledge Base, Users, Products)
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 InviteCancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2023-03-2407:02 PM
Is it faster for m241 to execute logic in pou or execute logic from library?
Good day to everyone 😁. I have 4 pcs of m241 plc which 90% of the code is same. These common code consists of FB call, read write register (%MW, %MD), CSV files generation based on logic and web visualizations.
Previously, I write the code into 4 different project files for each of the m241. But when there are changes to the common code, I will have to modify the them 4 times.
Thus, I created a library file to store the common code. When there are changes, I only need to modify the code once.
And now I have a few questions: 1. Which is more cpu load friendly? Running logic in pou itself or running logic in library (trigger from pou)?
2. Is it common to write logics and executions based on input in library file?
3. What is the normal way to code when you have a few plc running with the same code? Same pou in individual plc or put them in a library file? Or just put FB into library file but logic still run in pou?