Sign in to follow this  
Followers 0
JEM

Codesys and forcing

3 posts in this topic

I've been using a Bosch-Rexroth L20 PLC recently, which I have been told uses the same Codesys PLC software as Beckoff, Moeller, Elau. Has anyone had much experience with the forcing functions? I can force values easily enough, but I've seen something a little strange. Say I have internal relay "start_process". I can force that off and the rung goes off. Say I have 2 bits that get set from an HMI -- "MAC1_start" and "MAC2_start". I can force them and things work as expected Here's the rub, if "MAC1_start" and "MAC2_start" are 2 contacts that are used to set "start_process" ON by code, forcing the "MAC"s on causes "start_process" to come on, even though it's been forced off. Has anyone seen something similar? Is the force on internal relays in Codesys not a true force, or are there different level or methods of forcing? Thanks for your help.. Jim

Share this post


Link to post
Share on other sites
Hi Jim, This problem has been reported to 3S. This is an issue with CoDeSys. Once a value is forced and the force is removed from the bit, the bit remains set until you force it off again. Apparently, this issue is going to be corrected in the new version of CoDeSys. Chaca

Share this post


Link to post
Share on other sites
Thanks for the information - it is appreciated!!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0