Home » Eclipse Projects » 4DIAC - Framework for Distributed Industrial Automation and Control » one FB produce two Events, but only one outputValue, Does 4DIAC result meet the 61499
one FB produce two Events, but only one outputValue, Does 4DIAC result meet the 61499 [message #1849681] |
Sat, 29 January 2022 04:03  |
Eclipse User |
|
|
|
I'm doing an experiment, one FB run two times, and produce two different events, however, two events give two different values in one data output,
Then, two different FB receive each event and same data output, then check the data they get.
I build a logic by IDE, the pic is attached, after E_CYCLE_2 send output EO, E_CYCLE_1 and E_CYCLE_3 executed, E_CYCLE_1 send output EO and E_CTUD CU receive, E_CYCLE_3 send output EO and E_CTUD R reveive.
Then, E_CTUD executed two times, first time running with R event , then RO event produced and CV data value = 0, next time running with CU event, then CO event produced and CV data value = 1,
Next, E_DEMUX receive CO event, E_DEMUX_2 receive RO event, they all copy CV value to K,
E_DEMUX get CO event and K = 1, that's right, but E_DEMUX_2 get RO event, k=1, K is not the value when E_CTUD produced RO event.
Is this result follow 61499 standard?When FB execute input Event, shouldn't the input data be equal to the data generated when this event is executed?
Attachment: testLogic.png
(Size: 37.12KB, Downloaded 174 times)
Attachment: testlog.PNG
(Size: 34.90KB, Downloaded 159 times)
|
|
| | |
Re: one FB produce two Events, but only one outputValue, Does 4DIAC result meet the 61499 [message #1849699 is a reply to message #1849693] |
Sun, 30 January 2022 05:31  |
Eclipse User |
|
|
|
Hi,
can please remove the picture. You can not post screenshots of a standard here!
The text you pointed out is about that input data has to be consistent when the FB itself is executed. This is a general theme. I checked several parts of the standard and it seems to be scattered around and rather vague. you might consider the clauses: 4.5.3, 5.2.1.2, and 5.2.2.4 and for the latter especially Table 1.
I hope this helps. One of my current tasks for the standard is to improve the whole clause 4 so I'm happy for any feedback.
alois
|
|
|
Goto Forum:
Current Time: Mon Jun 30 23:16:37 EDT 2025
Powered by FUDForum. Page generated in 0.04719 seconds
|