How to configure a relay output from a Max touchscreen

If you need to trigger an external device (a sounder or flashing light for example) when a Max touchscreen is called, you can use the 788/22 relay in the following configuration -