Edgar,
no offense if this is too "basic" but you said you were new at this ... here’s one thing that hasn’t been mentioned yet ... or did I just miss it? ...
anyway ...
be ABSOLUTELY SURE that what you've documented in your program ACTUALLY corresponds with the appropriate real-world devices ... specifically, suppose that it looks like the PLC is turning on the “FILL valve” at output “Y” ... but what if the terminal screw for output “Y” has been incorrectly wired (oops!) and the “DRAIN valve” has been connected there instead ... your PLC program might execute fine on the screen ... and all of the logic might look great ... (look! see! there’s the FILL valve coming on just like we planned) ... but remember that the PLC doesn’t know diddly about what’s really wired up to the input and output screws ... so when SHOWTIME finally rolls around, all of a sudden it’s the DRAIN valve (not the FILL valve) that actuates in the field ...
again ... a very important step in commissioning any machine is to make absolutely sure that what you THINK you’re looking at on the screen is EXACTLY what the PLC is looking at in the real world ... especially if you’re going to be removing and then reconnecting the wiring for your field devices ...
and don't forget to register on the forum ...