|
Re: loop current status in ECC [message #1838595 is a reply to message #1838586] |
Tue, 02 March 2021 07:53 |
|
I'm not sure if I understand your point 1 correctly. with loop with 1 one to itself do you mean a busy waiting loop inside of the FB? If yes this is not allowed in IEC 61499. The execution of an ECC must not block or busy loop! It must end in a short period of time! Or do you mean to have an event feedback loop?
For 2 you can have a look on adapters. These not only reduce the event lines but also better define interactions in your applications. Also you can have a look on typed and untyped subapplications. These help to reduce the number of blocks on one sheet. With the upcoming 1.14. 0 release there will be some improvements on the editors of subapps to make it easier to navigate in an application with many untyped subapplications.
|
|
|
|
|
|
Re: loop current status in ECC [message #1838626 is a reply to message #1838619] |
Tue, 02 March 2021 16:14 |
|
The second one violates IEC 61499. According to IEC 61499 as long as an FB is busy the resource MUST NOT deliver new events to the FB. So if you do the 1 loop your FB will not end the execution and with such you will never get new events. With no new events you will also not get new data. So in the end the 1 transition loop will not work.
The only option you have is to have an event informing your checking FB about new axis value.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03948 seconds