scl pointer to merker word

Join Date
Sep 2005
Location
Niel (Antwerpen)
Posts
32
Hallo,

I've got a question
I want to know or calculate the real address pointer of a merker byte.

This example points to MB60, I don't know how they became it,
can anyone give me a explenation please.

View.PTR:=16#830001E0; //area pointer starting at MB60


Thanks... (y)
 
the manual here --> Manual. (Programming with STEP 7 V5.4 S7prv54_e.pdf)

You can download but it is already on your machine and can be seen when you are editing a block in Step 7 by selecting HELP/CONTENTS.

Go to Apendix section A3.4.2.

This explains in detail the pointer format and answers all your questions.

I point to this as it answers your question much better than I could.
 
Last edited:
Don't get it

I've been reading the manual like you said, and found the coding of the types.

b#16#83 M Bit memory area

but I can't get how they come out of 16#830001E0 pointing to MB60
1E0 = 480?

Is there some combination because 60 = 3C

Please any tips are welcome
bye the way thanks for the quick response anyway :D
 

Similar Topics

Hi, Is there a way to get a pointer from a datablock. For example I want the pointer address of DB2.DW0 in SCL Thanks, Danny
Replies
3
Views
2,434
I need to use SFC20 in SCL function block. In KOP or AWL editor, the syntax for source or destination parameter is the normal ANY : P#DB1.DBX...
Replies
3
Views
5,955
I need to send a pointer to an array to a function. The SCL manual gives that example: FUNCTION FC100 : VOID VAR_IN_OUT N_out : INT...
Replies
0
Views
4,918
HI i would like to know how to get a variable that will store the amount of times a program has been executed. The issue is I have 3 DBs for 1 FB...
Replies
2
Views
97
Hi, I have an intermediate-advance knowledge of programming with TIA Porta in Ladder, would you recommend me to start learning SCL for it to...
Replies
11
Views
570
Back
Top Bottom