Whoever programed this micrologix used this masked move to delay a lift when it reached its upper limit (reed sw.) via a "thumb roll" pot.there is a cumulitive value in it that has to be re set every so often. what I would like to do is change it so when it makes the top limit it fires a tdr. this way the operator still has the capibility to vary the amount of delay. any help would be greatly appreciated.
MVM I:0.0 00FFh N7:0
FMUL N7:1 1 N7:2
RD N7:0 N7:1
MOV N7:2 T4:1.PRE
MVM I:0.0 00FFh N7:0
FMUL N7:1 1 N7:2
RD N7:0 N7:1
MOV N7:2 T4:1.PRE