User manual

Sensorsoft Alert User Manual
Appendix B - Controlling the SR6171J
Sensorsoft Relay using Command Lines
The SR6171J Sensorsoft Relay can be turned on or off using a command line alert. An example command
line to turn ON a SR6171J Sensorsoft Relay connected to serial port 4 of the Sensorsoft Alert appliance is:
scom –Q /bin/SR6171_ON.ini ttyS4
Similarly, an example of the command line used to turn OFF the SR6171J Sensorsoft Relay connected to
serial port 4 of the Sensorsoft Alert appliance is:
scom –Q /bin/SR6171_OFF.ini ttyS4
In the command lines above, ttyS4 is the name used to access serial port 4. The relay can be connected to
any serial port on the back of the Alert appliance. As an example, if the relay was connected on serial port
8, use ttyS8 in the command line.
IMPORTANT - In order for the above command lines to work, you need to disable
monitoring on the port where the relay is connected. This is done by clearing the
Enable Monitoring checkbox in the Port Settings table located at the top of the
Administration page.
81