The Codesys documentation says the bMon1 and bMon2 inputs from FB_EDM can be regular bool (not safeBool). But in the editor, I cannot use a regular bool. The inputs say "SAFEBOOL".
This is exactly the problem. It does not compile.
When using TwinCAT, I am able to use a non safebool for the FB_EDM inputs.
I think I should be able in Codesys as well. All the other edm inputs, like in the FB_ESTOP, don't need safebool. Only the FB_EDM inputs require safebool.
I finally figured it out myself since the Codesys support was not very helpful. They only told me that it worked on their side and they wanted me to pay for support.
For a reason I don't understand, my project was using an older safety librairy even though I made it from scratch using 3.5.17.20 with the latest Safety package. It seems that the FB_EDM inputs from this librairy were SAFEBOOL and now in the more recent librairy, they are BOOL.
Hi,
The Codesys documentation says the bMon1 and bMon2 inputs from FB_EDM can be regular bool (not safeBool). But in the editor, I cannot use a regular bool. The inputs say "SAFEBOOL".
Is there a way to use regular bool?
It is only a graphical thing that signals you that these signals are not part of a safety chain (because they're BOOL), but it will compile fine.
This is exactly the problem. It does not compile.
When using TwinCAT, I am able to use a non safebool for the FB_EDM inputs.
I think I should be able in Codesys as well. All the other edm inputs, like in the FB_ESTOP, don't need safebool. Only the FB_EDM inputs require safebool.
Can someone from Codesys answer this? Or should I open a ticket?
Thank you
yes, please open a ticket.
I finally figured it out myself since the Codesys support was not very helpful. They only told me that it worked on their side and they wanted me to pay for support.
For a reason I don't understand, my project was using an older safety librairy even though I made it from scratch using 3.5.17.20 with the latest Safety package. It seems that the FB_EDM inputs from this librairy were SAFEBOOL and now in the more recent librairy, they are BOOL.