I'd look at syntax in these statements first:

MXCS PIN 0
SCVfault VAR faults.BIT2


Then I'd check syntax of DO/LOOP in PBP manual.

Robert