Thank you for your question.
After reviewing, the CR9321-NPN Senses or activates an AC Current Only and switches a DC Voltage with the NPN Option.
If you are looking to activate or sense a DC Current and switch a 24VDC solenoid you would require our CR5395 DC Current Sensing Relay with either the NPN or ELR Output Option.
Please visit our website and search for 5395.
If you have any questions you can email me at the below email address
3500 Scarlet Oak Blvd
St Louis, MO 63122