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