The inner loop loops the rows from the top until the cell in column A matches the motor and the status in column C is "STOP".

Please remove spaces between words.
TheinnerlooploopstherowsfromthetopuntilthecellincolumnAmatchesthemotorandthestatusincolumnCis"STOP".