You are using a solid state relay?
Do you have the AC and load connected? Assuming you are switching an AC load.
If that is the case it needs to be connected.
How are you asking to activate the relay? GCode?
Do you have the proper assignment in Mach's spindle config?
Also IIRC pin 16 is a charge pump.