Thanks anonymous, I switched to Omron recently. I've been using CP1Hs sofar. I used to use the S7-200 through the microwin software. I was used to Function blocks where you loose the internal variables every time it scans through the function. I am really liking the structured text function blocks, I started programming basic, pascal, & C++ back in the 80's when I went to school. I am using the edge detection for a counter, counting the edges if P_1S. It's an easy way to create your own timer.