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

Hi everyone, i have a Siemens S7-300 Cpu 314C-2 DP with several cards of i/o and servos my laptop has TIA version 16 and 17 loaded and...
Replies
4
Views
62
Hi all, Currently having trouble getting a speed reference to write over modbus to an Omron M1... I can successfully write a run command and...
Replies
2
Views
67
Good morning fellow sea captains and wizards, I am being asked to do the above and obtain 4 values from each slave, I know about the MRX and MWX...
Replies
27
Views
393
Hi everyone, I am an omron plc tec , lately I came across a siemens s7 200 cn plc . Can someone help me regarding the software required and...
Replies
26
Views
478
This is the first time I am working with Simatic Manager Step7 as I started my siemens journey with TIA which is pretty easy and do a lot of stuff...
Replies
3
Views
122
Back
Top Bottom