> You'd have to parse the ladder > logic commands and generate tokens, which would be interpreted > by subroutines in the PIC. The first part perhaps can be done > on a PC. when you parse the ladder logic anyway, why not generate HLL or even asm directly from it? Wouter van Ooijen -- ------------------------------------------- Van Ooijen Technische Informatica: www.voti.nl consultancy, development, PICmicro products -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics