How to make BLKMOV execute only once?

Tomz

Member
Join Date
Feb 2024
Location
Rijeka
Posts
7
Hello experts. Anyone has any idea how to make BLKMOV execute only once? I have tried with R_TRIG and (P) but it wont write to my location.


1709200297034.png
 
I'm a little leery about making the BLKMOV dependent on both the ENO and the ret_val of FC10.
Try putting it on a new network preceded by the edge instruction.
Also, be sure the edge instruction uses a unique bit for its memory. If using local variables, use a STAT.
 
Thank you! That worked. Do you maybe know why my timer only executes once here? After first time i use it, ET stays at 0ms all the time. It is in FB

1709214003363.png
 
At first glance it appears the timer's S pin never goes low. You reset #pombit but on the next scan it is set again on network 1 so network 2 sees it high again.
 

Similar Topics

Hi everyone, I have a short question about BLKMOV instruction, illustrated in the image below. I have the same piece of code in STEP 7 (ET200S)...
Replies
2
Views
2,707
Hi All, It has been a long, long time. But in times of crisis this is somewhere I hold in the highest regard for accurate and swift responses...
Replies
3
Views
4,408
Hello Folks! I have an application where I need to copy a string into various locations within a DB. So, I've set up a Function Block to accept...
Replies
3
Views
4,976
Hi, I am trying to copy a set of strings from an array in to a different DB CALL "BLKMOV" SRCBLK :=SMP#DB50.DBX ["SMS_ALM_2_POINTER"] Byte160...
Replies
2
Views
3,820
In one network SFC20(BLkMOV) is used to transfer 8 byte data from P#DB500.DBX8.0(SRC BLK) to P#DB20.DBX4.0(DST BLK). I would like to change...
Replies
2
Views
4,275
Back
Top Bottom