Hi John thank you and Charlie for help. It turns out that the keypad was configured with the onboard SMD resistors and wired for? analogue inputs? ?which Charlie suggested earlier. I scraped off the SMD resistors and wired each switch directly.
On another topic has anyone used the 12C? LCD in the sketch as it only needs 4 wires with a built in pot as well. I used the 12C LCD in a sketch on my mill feed but the sketch was preconfigured? by someone else. I had a dabble with trying experimentally to introduced the LCD 12c in an earlier RELS sketch but it came up with errors