WOW, are you some kind of program developer? I have no idea what you are saying. But, in my 25+ yrs experience working on these systems, it's better to keep it simple. The 2rec turns the 1rec gate "on", and the 5rec turns it "off"....really really fast. You need your inputs to the control card, brake and deadman switches under the floorboards, fwd or rev switch input. And lastly, the traction potentiometer. These inputs are on the 6 screws on top of the control card. The potentiometer input should be 3.5 -3.7 volts neutral, and as you slowly request travel, the value drops to near zero. Let's get back to the original question, no forward and reverse works. Start with the fwd switch. Resistance through those switches should not be more than 0.5 ohm. Once the control card see's the brake/deadman/and travel switch, it supplies a negative to the traction contactor, either fwd or rev.
This is ONLY to be used to report flooding, spam, advertising and problematic (harassing, abusive or crude) posts.