Hello. I create such a little more expanded SPS and I have a question how it is more correct.
SPS file:
Code
...
;user init
GLOBAL INTERRUPT DECL 21 WHEN WATER_PRESSURE_MISSING DO DO_SOMETHING()
INTERRUPT ON 21
...
or (also in SPS file):
WATER_PRESSURE_MISSING is input signal from external sensor.
Regards.