The Pacbrake is activated by compressed air via a solenoid that in turn gets +12 volts from a series of relay contacts. A bad contact in one of those relays would cause intermittent Pac operation. I diagnosed a similar Pac failure on my coach by tracing the 12 volt signal to the solenoid... looking for the point the 12v signal get lost. I used an inexpensive 12v battery powered test light I found at Harbor Freight and 35 feet of cheap speaker wire with alligator clips fastened on both ends. This way I could watch the test light sitting in my lap while the test leads were connected to the solenoid input wire 30 feet away... all while driving and operating the Pac on/off foot switch.
I found the links for PacBrake wiring diagrams using the following link:
Cat c7 engine brake, Jake Brakes, exhaust systems - Installation procedures and Schematics
From here I selected Medium Duty/Cummins/Engine Brake and went to the end of list where wiring schematics are listed. I selected:
http://www.pacbrake.com/PDF/L5430.PDF as it was the closest to my engine type, transmission and on-board air compressor and foot push button configuration.
My problem was a intermittent ground connection at the solenoid.
Larry