BobTheBlob
Member
OK. You guys helped me out a bunch with my first Siemens question.
I found a bunch of issues with integrity checking the PLC programs I was archiving. Compiling solved a lot of that.
But one thing I am now seeing is that I have some tags in RED in some of the blocks with errors after "recompiling all."
What I can now see is that these are tags (labels? symbols?) in the blocks (in this case, OB100) that are from data blocks that no longer exist. Obviously, this is why they are in red.
But this program just runs hunky-dory and doesn't cause any issues. So, I guess my question is about this OB100.
My understanding from a YouTube video I saw is that there are certain "standard" OB numbers reserved for certain functions: I believe OB100 is one of those, maybe a "cold restart" or "warm restart" block.
I guess the burning question for me is: does OB100 run automatically when switching from program to run mode? Or does OB100 only run if it is called from OB1?
Thanks.
I found a bunch of issues with integrity checking the PLC programs I was archiving. Compiling solved a lot of that.
But one thing I am now seeing is that I have some tags in RED in some of the blocks with errors after "recompiling all."
What I can now see is that these are tags (labels? symbols?) in the blocks (in this case, OB100) that are from data blocks that no longer exist. Obviously, this is why they are in red.
But this program just runs hunky-dory and doesn't cause any issues. So, I guess my question is about this OB100.
My understanding from a YouTube video I saw is that there are certain "standard" OB numbers reserved for certain functions: I believe OB100 is one of those, maybe a "cold restart" or "warm restart" block.
I guess the burning question for me is: does OB100 run automatically when switching from program to run mode? Or does OB100 only run if it is called from OB1?
Thanks.