The problem I am having is the fact that my application requires me to output at number to the PLC's outputs at a fairly high speed. I wrote the simplest program I could think of that would toggle one output bit on/off using the command "TOGGLEIO out1", "out1" being the name given to the pin output[1],0. I hooked up a probe to this output leading to an oscilloscope and ran the program, resulting in a peak speed of about 5ms per on/off cycle. With a 16 Mhz processor, the output should be able to update a lot faster then that, and I was wondering if there was any way of achieving this result.