Following is a LinuxCNC hal configuration as per your description.
Netlisting of the above schematic:
# Load realtime Components and their counts
loadrt and2 count= 2
loadrt message count= 1 messages="No oil pressure"
loadrt not count= 1
loadrt timedelay count= 1
# Add functions to threads
addf and2.0 servo-thread
addf and2.1 servo-thread
addf message.0 servo-thread
addf not.0 servo-thread
addf timedelay.0 servo-thread
# Set parameters
setp timedelay.0.on-delay 10.0
# Connect pins to signals
net hm2_7i97.0.7i84.0.0.input-01 timedelay.0.in
net hm2_7i97.0.ssr.out-05 and2.1.out
net mot-spndl-on and2.1.in0 and2.0.out
net motion.enabled and2.0.in0
net no-fault not.0.out and2.1.in1
net spindle.enabled and2.0.in1
net trig.msg timedelay.0.out not.0.in message.0.trigger