Step 7 ANY pointer

Guys,

All relevant blocks are loaded. Attached is a screen shot of the logic. The only difference i can see between PLCSim and running on my plc is RLO is all 1's. In PLCSim it's exactly as LD posted

Thanks again Guys

S7 error.png
 
Looks like the 315 is as crumbly as a chocolate flake (UK pun) and whilst I can't locate the update for your CPU model number, serious bugs are reported with other versions. You will have to use the LW form of addressing or locate an update to your CPU firmware.

perp.JPG
 
LD to the rescue once again.

Many thanks to everyone for all the help.

Thought I had done sonething wrong with the code LD orginally supplied me.

Barry.
 
LD, but was it not so that L area was accessible, but DB was not. Or do you mean that pointer source is not valid for blkmove in some CPUs (bug)?
 
The L area is not accessible using AR's with the area specified in the AR (this is what is outlined in post #17). Nothing to do with the DB's or the block move.
 

Similar Topics

Hi all, I'm looking for a steer using a pointer. The code is working in a fashion but i'm not setting the bit i require. The code looks at...
Replies
25
Views
5,046
Hello, Is it possible to perform operation like pointer on function. Regardless of value inside pointer or what ever variable I want to call...
Replies
2
Views
1,499
I would need advice in design which we are currently making in Step 5. Control system is based on Control modules which have defined structure...
Replies
6
Views
1,678
Hello Folks! I'm still trying to get the hang of using STL and Pointers in Step 7 (V5.5). For background, I'm writing a sample application...
Replies
7
Views
3,284
Hello everybody How we can use pointer for Timers and counters,so that we could change Timer or counter address in the program?
Replies
7
Views
2,266
Back
Top Bottom