MOV function

K

Thread Starter

Kenny Dada

I am trying to subtract 1000 once from my initial setting off 15000 (o:0.1) once the rung is true, and keep the new subtracted number as my new value. The problem i am having is that, even though it substracted 1000 from the initial value once it still putting 15000 where 14000 should have been...i have tried everything with no luck, please help, any input will greatly be appreciated. by the way, i am using mircologix 1100
 
C

Curt Wuollet

Sounds like you have a rung someplace that initializes the value. In other words, how does it get set to 15000? You should use a S reg
first pass contact in the initializer to make sure it only runs once.

Regards
cww
 
K
So wrong do you do this because i have tried everything with no luck, please help. Thank you for timely responses
 
C

Curt Wuollet

To use the first pass bit you just insert a contact and select the S1 register bit 15? I don't have a reference here, but I'm sure someone with RSL can correct me if wrong. If you get it right, it will be labeled first pass.

Regards
cww
 
Top