Welcome to the new Schneider Electric Community

It's your place to connect with experts and peers, get continuous support, and share knowledge.

  • Explore the new navigation for even easier access to your community.
  • Bookmark and use our new, easy-to-remember address (community.se.com).
  • Get ready for more content and an improved experience.

Contact SchneiderCommunity.Support@se.com if you have any questions.

Close
Invite a Co-worker
Send a co-worker an invite to the Exchange portal.Just enter their email address and we’ll connect them to register. After joining, they will belong to the same company.
Send Invite Cancel
84759members
354189posts

POU, Data Type & Function utilization in EAE application

EcoStruxure Automation Expert / IEC 61499 Forum

Browse this forum to find everything you want to know about EAE and IEC 61499 for distributed control systems. Ask experts your questions, get answers, discuss, and share your experience with the growing community.

Solved
anandbpillai
Ensign Ensign
Ensign
0 Likes
4
746

POU, Data Type & Function utilization in EAE application

There is POU, Data Type & Function available in the EAE application but not sure what is the exact purpose and how it is to be mapped in any application.

The help also is not that useful for this topics.

Pls provide any support or document reference for this.

Tags (1)

Accepted Solutions
PatrickJouvenel
Crewman Crewman
Crewman

Re: POU, Data Type & Function utilization in EAE application

for Datatype is quite straightforward:

- enumeration 

TYPE DataType3 : (item1,item2,item3);END_TYPE

- alias

TYPE DataType2 : BOOL; END_TYPE

-struct

TYPE DataType1 : STRUCT 
item1  : BOOL;
item2  : REAL;
item3  : STRING;
 END_STRUCT;
END_TYPE

-array

TYPE DataType5 : ARRAY[0..4] OF BOOL;END_TYPE

-subranges

TYPE DataType4 : SINT(0..10);END_TYPE

 

All can be defined as types and then used in variable declarations (interfaces of cats, composites, basics...) or in your symlinks definition

 

 

 

See Answer In Context

Tags (1)
4 Replies 4
TomRos
Lieutenant JG Lieutenant JG
Lieutenant JG

Re: POU, Data Type & Function utilization in EAE application

The purpose of POU is to make use of IEC 61131 code.  In order to embed this code inside an IEC 61499 program you should add a PGM block inside the 1499 function block network and trigger the input event from any 1499 function block.  This input will activate the 1131 code.

 

If you have further questions on this topic please let us know.

 

Additionally, we are in the process of reviewing and improving the Help content, so I will bring this feedback into our review.

Tags (1)
anandbpillai
Ensign Ensign
Ensign
0 Likes
1
650

Re: POU, Data Type & Function utilization in EAE application

thank you for the reply. @TomRos 

For POU it is ok.

what about Data Type & Function. 

Also as you rightly said the help files needs more update for all of these.

Tags (1)
PatrickJouvenel
Crewman Crewman
Crewman

Re: POU, Data Type & Function utilization in EAE application

for Datatype is quite straightforward:

- enumeration 

TYPE DataType3 : (item1,item2,item3);END_TYPE

- alias

TYPE DataType2 : BOOL; END_TYPE

-struct

TYPE DataType1 : STRUCT 
item1  : BOOL;
item2  : REAL;
item3  : STRING;
 END_STRUCT;
END_TYPE

-array

TYPE DataType5 : ARRAY[0..4] OF BOOL;END_TYPE

-subranges

TYPE DataType4 : SINT(0..10);END_TYPE

 

All can be defined as types and then used in variable declarations (interfaces of cats, composites, basics...) or in your symlinks definition

 

 

 

Tags (1)
JLux
Cadet
Cadet
0 Likes
0
560

Re: POU, Data Type & Function utilization in EAE application

Do you have an example using the PGM Bloc - Cant find it in any existing libraries

 

thx

Tags (1)