MOV Function
MOV Function
(OP)
Maybe someone can please shed some light into my situation. My initial value is set at 15000 (O:0.5), but when pulse equal 10 i want to subtract 1000 once from my initial value and the new value will be 14000 from their on untill we turn off the equipment. My problem is that even though it subtracted 1000 from the initial value it still put back into(O:0.5)instead of 14000 the new value, please help any hints or insight into this will be greatly appreciated.





RE: MOV Function
You find manifestations of this syndrome in the peculiariestest places. Can be in your collegues mail-box, in your PLC program or your girlfriends locker at the gym.
Before you have given us more information, I am afraid my guess is the best answer you will get. And, I must confess, that is not a very good answer.
Gunnar Englund
www.gke.org
--------------------------------------
100 % recycled posting: Electrons, ideas, finger-tips have been used over and over again...
RE: MOV Function
Your intial value qualification is true all the time. Probably need to change this to a one scan condition when doing the intialization procedure.
Also when moving values into an output only do this once in the program, always use a buffered data location to perform any math or manipulation of values.
RE: MOV Function
Russell White, P.E.
Automation Technologies, Inc.
www.AutomationNC.com
Automation Help
www.PLCMentor.com