Construction and Road Equipment
Construction and Road Equipment repair questions? Ask a mechanic ASAP
That wire should be a ground wire going to the sensor you should be able to disconnect the wire and run the engine if the light stays out it will be a sensor issue if the light stays on it will be a wiring or connector issue
You must have a newer deutz engine let me do some research I will get back with you
They should be dry your oil pressure sending unit is leaking I would replace it and see if the code goes away.
Let me know how it does after you replace the sending unit if you need help with a part number let me know