Siemens: shifting data within a DB

Do not use hard coded L addresses. Create an array of timestamps and use a named variable in the L area. Two positive edge detections also not required.

e.g.

ppp.jpg
 
I have attached a program that does exactly what you want byte by byte. Try it out. If you want to reverse the order, I think the source is included. If not, I can help you with it but you will get the idea.
 
This is how I did it.
Import the source and try.
Example:
Code:
      A     M      0.0
      FP    M      0.1
      =     M      0.2

      CALL  "DATA_SHIFT"
       IN_TRIGGER:=M0.2
       IN_SRCBLK :=DB402
       IN_SRCDST :=DB402
       IN_QDTM   :=10
       Done      :=#DONE
       _Ret_Val  :=#_RET
Best Regards.
 

Similar Topics

The past week we received a new piece of equipment from Germany which utilizes siemens controls. Typically in our company we use A.B. controls for...
Replies
9
Views
188
Hello I have a s7-1200 and I would like to read the tags present in this controller with my controllogix controller. The two controllers don't use...
Replies
5
Views
145
Hi need help why this “failure 5 emergency stop “ appears at every startup in the morning ? Have to shut off main switch at least 10 times on...
Replies
19
Views
305
i have two plc 1. s7-1212dc/dc/dc ip; 192.168.0.1 2. s7-1500 1513-1pn ip; 192.168.3.2 i need to get data from plc1 to plc2. any idea how to do...
Replies
5
Views
114
Hi everyone hope you'll well. Is it possible for me to download a Crack version of tia portal v13..sorry to say this but the software is very...
Replies
5
Views
198
Back
Top Bottom