Attemping STL and indirect addressing

JOLTRON

Lifetime Supporting Member
Join Date
Aug 2006
Location
MI
Posts
692
I have this code:

L P#0.0
T MD 20
L #Index
+D
T MD 20
L 32
+D
T MD 24
OPN DB 7
A DBX [MD 20]
= DBX [MD 24]

Just trying to learn indirect addressing.
My #index is set to 2 at the moment. So I would think that if Db7.dbx0.2 is on then it would turn on DB7.dbx 4.2
But when I go into DB7 and turn on dbx0.2 it doesn't show the RLO as 1 when i monitor. Also on the monitor screen i don't have a choice to montior Accum1 why is that? Any input is welcome.

Thanks,
- Joel
 
Nevermind,
Re-downloaded and it worked fine.
Must have fast fingered it the first 2 times :(

-Joel
 

Similar Topics

Hello Everyone. PV300: 2711-K3A5L1 I'm trying to do a pass thru on a SLC 5/03 CPU. I have the cpu online on CH1 DH-485. The PV300 terminal is...
Replies
3
Views
2,257
i am new to simatic manager and i am trying to figure what this part do in the code : A I 5.6 = DB50.DBX 4.6...
Replies
3
Views
131
Hello everyone, can anyone help me with covert the STL code to ladder. Iam using plc s71200. A %DB1.DBX33.7 // angel of vaccum...
Replies
2
Views
208
Hello nice to meet you, im new in here, I'm currently trying to convert code written in STL for a S7-400 to SCL for an S7-1500, because when i run...
Replies
5
Views
317
First off thank you in advance. Second I am very new to STL. I am trying to build a counter that has one count up and 23 count down options. Am...
Replies
6
Views
371
Back
Top Bottom