This document provides instructions for writing and testing a program to latch an output using a PLC. It includes 3 chapters:
1. Writing a ladder logic program using contacts to latch an output and converting it for the PLC.
2. Transferring the program to a virtual PLC.
3. Testing the latched output behavior and alternatives using SET and RST instructions to hold the output status.