@Forum-user Looks like a MKS SERVO42C V1 board. See https://github.com/makerbase-mks/MKS-SERVO42C/wiki/MKS-SERVO42C-V1.0-Home
I'll have a look tomorrow how it can be wired. I'd guess you need to use the on-board interface to set the mode, covered here https://github.com/makerbase-mks/MKS-SERVO42C/wiki/Menu-instruction-V1.0
Ian