4/30/2012 1:44 PM | |
Joined: 3/24/2009 Last visit: 1/5/2023 Posts: 535 Rating:
|
Dear S44, is the FB written by you or does it come from a library? Is the EN set to 'true'? Does the FB call other blocks? If so, check the ENO of these blocks (here's a hint for SCL). Do you use REAL-functions and the input-values are not in REAL-format? Quite a lot of other reasons can bring this behaviour, perhaps you can publish the code of the block. Best regards, yy1 |
4/30/2012 4:40 PM | |
Posts: 2348 Rating:
|
Please mention you can debug your programm step-by-step, that usually allows to define if the behavior is normal or not. |
5/1/2012 3:25 AM | |
Joined: 10/7/2005 Last visit: 6/6/2023 Posts: 2966 Rating:
|
Hello S44 could it be that you simply assume that ENOis automatically"1" when youuser created FB has finished it's call? In other words,you must program the desired ENO status inside your FB and need to do so as the last instruction before the FC/FB exits and you'll find all the info on how to do so in the FAQ below: What is the meaning of the BR bit in the status word in STEP 7? I hope this helps. |
Last edited by: fritz at: 5/1/2012 3:27 AMgot stung by the double "/quote" bug again. Cheers |
|
4/28/2015 10:45 AM | |
Joined: 9/3/2014 Last visit: 3/13/2019 Posts: 4812 Rating:
|
|
Follow us on