10/17/2011 7:53 AM | |
Joined: 1/28/2009 Last visit: 8/31/2025 Posts: 6874 Rating:
|
Dear Nashwa_459 There are 2 logic steps in the following codes.A logic step consists of check statements and conditional statements. Simply copy each logic step in a different network and try to convert from STL to LAD. [code]//////////////LOGIC STEP1///////////// O I0.0//CHECK STATEMENT O I0.4//CHECK STATEMENT = Q0.5//CONDITIONAL STATEMENT ////////////////LOGIC STEP2/////////// O I0.1 O I0.4 = Q0.6[/code] Best regards |
This contribution was helpful to
1 thankful Users |
10/17/2011 3:03 PM | |
Posts: 204 Rating:
|
Thanks all, yup, I understand the logic but I was confiused why 2 logics in one network now it's equal if i used 2 networks |
10/17/2011 3:21 PM | |
Joined: 4/22/2010 Last visit: 3/31/2025 Posts: 5697 Rating:
|
Hello, In STL you can write a whole program in OB1 network 1, not recomended, but i have seen some (and changed it verry quickly) In FBD that's not possible there are some rules, read more about it here: https://support.automation.siemens.com/WW/llisapi.dll?func=cslib.csinfo&lang=en&objid=21952992&caller=view The : Why can't you display an STL program in FBD or in LAD? part. Regards, Marcjan |
Last edited by: Marcjan at: 10/17/2011 3:24 PMProblem solved? |
|
Follow us on