_m1ke Posted December 24, 2014 Report Posted December 24, 2014 Hi there, I have trouble understanding the "mechanics" of STL programming language for Siemens S7-300 PLC. For instance I have a code which looks like this (taken from the Siemens manual for extended pulse timer): With regards to the first line, AND operator checks whether the state of I 2.0 is '1'. According to the "Bit Logic Instructions" manual, it also ANDs the test result with RLO. Now the question is - what RLO is it if there are no operations beforehand? What memory area does it use for that particular RLO? Moreover, what is the Boolean bit logic string in this case? I presume it is all the lines up to the '=' sign. The confusion is also caused by instructions (FR, L, T) which are not logical operations or RLO, although there is associated memory bit with them. I'd be grateful if you could clarify this matter? Many thanks! Quote
Moggie Posted December 24, 2014 Report Posted December 24, 2014 This might help (a little) - http://www.plcdev.com/book/export/html/632 Quote
_m1ke Posted December 29, 2014 Author Report Posted December 29, 2014 Thank you, that explains a lot! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.