any good siemens stl learning out there?

Tommycai

Member
Join Date
Aug 2011
Location
KY
Posts
120
Hello all, I have been programming for a less than a year and i'm running into difficulty with stl. I've downloaded stl cheat sheets from plcdev.com (which are really good) but is there anything out there that help learn stl. Besides trial and error?

such as something I did in stl code was something like this

A M15.1
FP db2.dbx1.0
JCN nop1

A M17.1
JCN nop2

L DB36.DBW0
L DB36.DBW4
<D
S DB2.DBX3.1
JU nop1

nop2: NOP 0
A M17.2
JCN nop1
L DB36.DBW0
L DB36.DBW8
>D
S DB2.DBX3.2
JU nop1

nop1: NOP 0

Is there a better way to do this jumping when it goes to the next branch instead of NOP 0?
 

Similar Topics

Hi Siemens Experts, I am hoping someone can shed some light on my issue. I have uploaded the code from a S7-300 (317-2PN/DP) using Step 7...
Replies
9
Views
714
I'm having trouble trying to convert this code to ladder, anyone able to help me? A M4.0 A M4.1 A M117.0 AN M17.7 A ( A I38.6 AN I3.7 O ( A M4.5...
Replies
8
Views
1,228
Hello, I am still new to STL. But from what I understand is the JC mnemonic should jump if RLO = 1. If we review both pictures the M0bf RLO = 1...
Replies
5
Views
1,070
Hello, I am working on a project to upgrade some old S5-100U processors. The programs are all uploaded and I don't have descriptors...ugh. Be that...
Replies
4
Views
1,190
I really struggle with STL in Siemens Step 7 Classic. I'll learn chunks, but then I don't use it enough to retain and build on the knowledge. When...
Replies
17
Views
3,259
Back
Top Bottom