There are 3 opto inputs used for high voltage
6 - safety circuit
8 - car gate
10 - hall door locks

These are all in series. Fault 52 means input 10 lost while lift in motion. Could be clipped door lock or low voltage. Good idea to replace opto as they can degrade over time.