To study the working of Up Counter PLC program in Allen Bradley Programmable Logic Controller (PLC). Up Counter In the…