Hi,
I'm an automation engineering student from Aalto University, Espoo, Finland. I'm doing minor study on different IEC 61499 compliant tools, and would like ask you one question, what I haven't figure out from the internet:
Does the use of strings work properly in FBDK? Or how do I create a guard condition where I can evaluate the value of some inserted string text with some constant string value? (The ECC in the figure, which is imported from outside because it is not possible to create similar in FBDK. The compiling of the ECC does not also succeed) The purpose of the function block is just to calculate the result of two values with specific inserted operator.
I have tried also to use a trick where I use an internal variable, which has the same constant value as I have tried to insert directly into the ECC transition guard condition. (For example, internal variable Plus, which has '+' as the initial value, then writing OPER = Plus into the guard condition). The function block can be then compiled successfully, but the evaluation of the strings does not seem to work properly, as any of the transitions is never firing.
Is the use of strings somehow limited in FBDK, or do they have to be written in some special way to get them work in ECC?
Best Regards,
Alexander Hopsu
Aalto University
Espoo, Finland