This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc.
|Try our online
PLC Simulator- FREE.
Click here now to try it.
New Here? Please read this important info!!!
|February 17th, 2017, 12:37 PM||#1|
Join Date: Feb 2017
Issue in STL (Siemens S7 300)
I'm not used to program in STL and I have some issues in set (S) and reset (R) instructions in the following commands:
As a begginer in STL, I did not understand if the RLO bit is set in each line and applied to the next line.
My issues in this program are:
1.If the first two AND instructions are true, "DB_010R01" is set to 1?
2.If one of the first two AND instructions are false, "DB_010R01" is set to 0?
3.If "DB_010R01" is 0, the following AND and AND(negated) are executed?
4.Afther the AND and AND(negated) execution, "DB_010R01" can be reseted to 0 according to the logic result?
|Yesterday, 03:53 PM||#2|
Join Date: Mar 2012
If the first two ANDs are true, "DB_010R01".SOLVE.AUX_START_PROG_ARM2 is set to one. Note the string in quotes is the DB symbolic name, while the actual bit is .SOLVE.AUX_START_PROG_ARM2.
The AND and AND NOT after the SET instruction are evaluated separately from the SET, regardless of the state of "DB_010R01".SOLVE.AUX_START_PROG_ARM2
Now I need to double-check the Hans Berger book to explain why...
|Yesterday, 04:17 PM||#3|
My take on it as ladder
read L as set and U as reset
Why do programmers get confused between Halloween and Christmas - OCT31 = DEC25
|Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Timer inside FB Siemens S7 300||irfan7523||LIVE PLC Questions And Answers||8||July 2nd, 2015 12:59 PM|
|Siemens S7 300 PLC with profibus||arocon||LIVE PLC Questions And Answers||4||February 17th, 2013 04:13 PM|
|Communication Siemens S7 300 X Hitech HMI||KendiSaito||LIVE PLC Questions And Answers||0||April 25th, 2012 02:43 PM|
|Siemens or Omron?||Gromit||LIVE PLC Questions And Answers||30||September 13th, 2008 11:22 AM|
|siemens s7 300 npn input modules||tny||LIVE PLC Questions And Answers||2||June 12th, 2006 05:45 PM|