Explain the operation of basic programmable logic controller commands, including internal and external contacts, timers, counters, nonretentive output coils, and internal coils.