Well this maybe a stupid question but I have a dl 350 pc from automation direct and having a brain **** on a program. We are building a machine that moves in and out and we are only using 1 limit switch for both movements. How would I write a simple program to make that work so u can move forward to the limit then move in reverse till u tripped the limit agian?