3/5/2011 12:09 PM | |
Joined: 10/7/2005 Last visit: 3/22/2023 Posts: 2962 Rating:
|
Hello Goodas I suspect that youare conditionally writing to the outputs (e.g. usage of "Set" or "Reset" or jumps over the instructions etc.) inside the FC which would explain what you observe. The"Golden rule" for an FC is that you MUST write to each output every time you call it. If this is not possible, you'llneed to use an IN_OUT or an make the FC an FB. You can find the offical Siemens explanation in the attached pic (which is taken from the inbuilt S7 help) and additonalbackground info on why the FC works correctly with non-DB addresses can be found in THIS thread. I hope this helps |
Cheers |
|
This contribution was helpful to
1 thankful Users |
Follow us on