11-15-2021 10:55 AM
Hello together
Is it possible to get an access to the methods SetEvent/SetExtEvent in a self created method.
Would be great, getting an example for this. We have a station, which is a rebuild of an old Opcon project and there are function blocks we would like to reuse them. Therefore, we need to set error messages directly from an instance of a function block.
If there is an easy way to connect a function block to the mode handler, that would be really helpful.
Thanks in advance.
Solved! Go to Solution.
08-09-2024 08:23 AM - edited 08-09-2024 09:02 AM
Could it be, if you're use the SetEvent hat it getting an exception?
It could be solved by using you're function block and extend it with OpconAddonExec.The OpconAddonExec can also handle the SetEvent or SetExternal event. But don't forget to add this function block to the backbone interface of Nexeed/Opcon with AddAddon(name of function block).
This should work!