A bit more S7 STL to LAD help needed please?

Correct, but please don't say you typed it in - hopefully you highlighted the code, copied (control+C) and then pasted it (Control+V) into a blank S7 network (viewed in STL):unsure:

(Delete the two lines of code BLD 8 and the STL will convert to ladder)

Correct!? Woohoo!! (y)

(Yes, I did just copy and paste it into the network)

TurpoUrpo,

I think I'm getting it now. I've just re-read this whole thread and your way of using the RLO is sinking in...

So, if I'm correct, my original mis-conversion of:

Code:
 M134.6  T19     M135.1    M143.0
---| |----| |----|/|--------()
                     |
                     |
  M137.2    M136.7   |
---| |------|/|------
         |
         |
 M134.4  |     
---| |----

Would be...

A M 134.6
A T 19
AN M 135.1
O M 137.2
AN M 136.7
O M134.4
= M143.0

... in STL ??

If that's the case I think (with your help and L D[AR2,P#0.0]'s help) I've just had an epiphany!

Cheers

;-)
 
Correct!? Woohoo!! (y)

(Yes, I did just copy and paste it into the network)

TurpoUrpo,

Code:
 M134.6  T19     M135.1    M143.0
---| |----| |----|/|--------()
                     |
                     |
  M137.2    M136.7   |
---| |------|/|------
         |
         |
 M134.4  |     
---| |----
Would be...

A M 134.6
A T 19
AN M 135.1
O M 137.2
AN M 136.7
O M134.4
= M143.0

... in STL ??
That STL would be:

Code:
 M134.6  T19    M135.1 M136.7        M143.0
---| |----| |----|/|----|/|-----------()
                     |       |
                     |       |
  M137.2             |       |    
---| |----------------       |   
                             |
                             |
 M134.4                      |
---| |------------------------
I recommend constructing it in parts.

Code:
A M 134.6
A T 19
AN M 135.1
O M 137.2

 M134.6  T19    M135.1 
---| |----| |----|/|---
                     |       
                     |       
  M137.2             |           
---| |----------------       
         
A M 134.6
A T 19
AN M 135.1
O M 137.2
AN M 136.7

 M134.6  T19    M135.1 M136.7
---| |----| |----|/|----|/|--
                     |       
                     |       
  M137.2             |          
---| |----------------          

A M 134.6
A T 19
AN M 135.1
O M 137.2
AN M 136.7
O M134.4
= M143.0

 M134.6  T19    M135.1 M136.7        M143.0
---| |----| |----|/|----|/|-----------()
                     |       |
                     |       |
  M137.2             |       |    
---| |----------------       |   
                             |
                             |
 M134.4                      |
---| |------------------------
 
Last edited:
Mmmm... I see. It's crystal clear when you describe it...

So this...

Code:
 M134.6  T19     M135.1    M143.0
---| |----| |----|/|--------()
                     |
                     |
  M137.2    M136.7   |
---| |------|/|------
         |
         |
 M134.4  |     
---| |----

Would be...
A M134.6
A T19
AN M135.1
O (
A M137.2
AN M136.7
)
O M134.4
= M143.0

???

I think my brain is fried

;-)
 
Mmmm... I see. It's crystal clear when you describe it...

So this...

Code:
 M134.6  T19     M135.1    M143.0
---| |----| |----|/|--------()
                     |
                     |
  M137.2    M136.7   |
---| |------|/|------
         |
         |
 M134.4  |     
---| |----
Would be...
A M134.6
A T19
AN M135.1
O (
A M137.2
AN M136.7
)
O M134.4
= M143.0

???

I think my brain is fried

;-)

No, it would be

Code:
A M134.6
A T19
AN M135.1
O (
A M137.2
O M134.4
AN M136.7
)
= M143.0
This:

Code:
A M134.6
A T19
AN M135.1
O (
A M137.2
AN M136.7
)
O M134.4
= M143.0
Would be
Code:
  M134.6  T19   M135.1     M143.0
---| |----| |----|/|--------()
                     |
                     |
  M137.2   M136.7    |
---| |------|/|------|
                     | 
                     |
  M134.4             |
---| |----------------
 
Last edited:
TurpoUrpo,

Firstly, can I say a MASSIVE thank you for sticking with me on this.

I really appreciate your time and your patience. You have been a credit to this forum and have really helped me out.

I'm going to chew over this and do a few more examples (i.e. find ladder, try to convert it myself using your tips and then convert it with S7 and see if I was right).

If I get stuck I may post back.

Thanks again for all your examples and your hard work. You've given me the tools now and what you have said makes perfect sense. I think I just need to practice it and get my head around it a bit more.

Thanks again

;-) (y)
 

Similar Topics

I have written one program with FDB. Thought I could therefor write code for an automation direct DL-06. Huge learning curve. I believe I have...
Replies
3
Views
1,760
Hello all. I've been working with Do-More designer for the past two years. I used to work with AB before then, but since the company I work with...
Replies
5
Views
2,520
Finishing up my first project with a Do-More PLC to install tomorrow morning. I'm working on small details.... like automatically adjusting for...
Replies
5
Views
1,879
Hi All I have x number of bits representing an active state on x number of valves and I want to be able to detect when more than one valve is...
Replies
7
Views
1,974
Hi guys! Newbie question or you. I'm just finishing up a diploma in Industrial Automation. But I am job hunting and I'd some clarification. We...
Replies
3
Views
2,169
Back
Top Bottom