lc625

Hi Thiago,

I´m going ahead with programming my own project. I used some of the OSCAT blocks. While simulation it turns out that those Blocks using your T_PLC_MS are running much to fast. My first thought was, that there might be something wrong with your T_PLC_XX function. I apologize for that! Everything fine with them. Taking a closer look to the problem I found out, that XX_TO_TIME are not IEC compliant. At the end it is the DINT_TO_TIME which I suspect to be wrong: It is using seconds instead of millisecs. Dividing the T_PLC_XX output by 1000 seems not to be the best option because of the resulting minimum resolution of 1 sec.

Do you have any chance to fix it?

Quote 0 0
lc625
I reported the bug described above on bitbucket as well (https://openplc.discussion.community/post/place-to-report-issues-in-plcopen-editor-8296961?pid=1309688686), To me it looks like if there is no activity since 2017. If I didn´t get it wrong, is there another plce to report bugs?
Quote 0 0
thiagoralves
The right link should be  https://bitbucket.org/automforge/beremiz/issues?status=new&status=open

this is the official Beremiz repository. They are pretty active. I get a couple emails from them per month. You might get better responses if you reach out on the Beremiz mailing list:  https://sourceforge.net/p/beremiz/mailman/

unfortunately I’m quite busy these days and can’t fix this as quickly as I wanted. I believe this particular problem might need to be fixed on MatIEC compiler, and I don’t have much experience with that 🙁 Mario Souza is the guy that wrote MatIEC and he is on the Beremiz devel list. So try reaching out to him there. 
Quote 0 0