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?
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?