Kubica Interview Question

Program a toggle switch in ladder logic