Thanks, happyrat1, for your quick response. It's a Cherub pedal. Just disconnected the pedal and was wrapping it up as useless and (blush), discovered the polarity switch. Flicked the switch and works as normal.
Cheers again for getting back.
By the way, if any of you use a 2 keyboard setup like I do, I have a trick you may be interested in.
I have a Yamaha NP-V80 and a Casio WK-7500.
The Yamaha uses a normally closed pedal and the Casio uses a normally open pedal. I have a M-Audio SP2 pedal which has the polarity switch on it. If a pedal has a polarity switch, then that means that you can use the same pedal for both keyboards. Take the pedal apart and look for the switch. It will be what they can a leaf switch and there will be 3 terminals on the switch. One of these terminals is the common connection, usually in the center location. Then there will be a terminal that is normally closed and the other terminal is normally open. Using a cheap ohm meter will tell you which terminals are which. I connected the exiting cable up to the normally open part of the switch and the common. Then used a second cable connected to the normally closed part of the switch and the same common terminal. Run one cable to the Yamaha and the other to the Casio and you can sustain both keyboards at the same time with the same pedal. If you get solid sustain from one keyboard, switch the cables, as you will probably have solid sustain from the other keyboard if this is the case.
I know that some Yamaha's have a way in the menu's to change the pedal switch polarity, so you would think that a "y" cable would make it possible to use one pedal for both keyboards. But I found that if I tried changing it this way, it would not work. It would get some kind of feedback from the other keyboard. It needs a completely independent switch to make it happy.
Now both keyboards work with one pedal and the keyboards and myself are both happy.
Maybe this will help someone.