AdamL
I'm prototyping something in openplc but it needs to also run on arbitrary PLC hardware so I'm trying to do things in as "standard" a way as possible... however, I'm new to this so I assume I've completely misunderstood? My problem is the reset function in a CTU block:

Screenshot 2022-11-26 at 10.36.54.png

This works fine in openplc but in GX Works (Mitsubishi) it generates this error:

Screenshot 2022-11-26 at 10.44.25.png

and I can only get around it by going via a variable:

Screenshot 2022-11-26 at 10.36.12.png

This seems weird! Is that normal?
Reply 0 0
thiagoralves
Although IEC 61131-3 languages are "standardized", the interpretation of the standard varies among vendors. In theory, OpenPLC Editor is a little permissive allowing you to do that feedback line on your counter. The "correct" way to do it is through a variable like you did on GX Works.
Reply 1 0
Reply