Move Count

PackagingRich

Member
Join Date
Jun 2009
Location
Chicago
Posts
22
Hi all. I am a newbe in this so bear with me. I am currently programming a A/B PanelView Component and a MicroLogix 1400. I am having trouble with a counter acc. I would like to take the accumulated count and copy it to another file and than reset the counter. My problem is that when i reset the counter i also reset the accumulated count. Any suggestions?
 
How are you doing this? First you need to copy the .acc, THEN you can reset the counter. The .acc count is set to zero when the counter is reset.
 
I assume your logic is something like this:

Count Trigger
---| |--------------------|CTU |---


--------------------------|MOV |----
|CTU.ACC |
|Storage |




If so, you need a trigger to perform the move so it doesn't do it every scan. The CTU instruction has bits you can use to perform this. Read up on it and let us know what you come up with.
 
My logic is what Paully's drawn. I want to take that storage of the CTU,
and store that for future referance.

---| |--------------------|CTU |---





--------------------------|MOV |----

|CTU.ACC |

|Storage |

Reset Counter
---| |-------------------- Copy

|CTU.ACC |

|Storage |
This reset is done at end of shift to see case count.
 

Similar Topics

Hi everyone, I am working with micro850, a proximity sensor (FOTEK, PL-05P) and a 3DOF serial arm robot. I use MC_MoveRelative to control the...
Replies
1
Views
61
So I'm pretty green when it comes to troubleshooting in the field so bear with me. We have a Danfoss valve that opens/closes from an analog output...
Replies
23
Views
956
Hi. This is pretty basic but I'm struggling to find an efficient solution. I have a float value of let say 666.555 that I want to move / split...
Replies
3
Views
209
hi, I got a plc S7-1200 with SEW movitrac **** and i need to program something ridiculous if my application reaches sensor 1 then my SEW has to...
Replies
0
Views
188
Afternoon, I have a DB in TIA Portal V16 that is optimised. I cannot change this. There is an array inside that block which consists of 3000...
Replies
9
Views
1,146
Back
Top Bottom