This is a PLC Program to count running hours of any equipment using bit instructions, math instructions, and counters. PLC…