Download TeleControl
Transcript
38 4.8.2 TeleControl User’s Manual Version 4.8 Disabling Confirmation Messages The confirmation messages for output commands can be disabled with command #A7. For example, it might be necessary to disable confirmation messages in cases where your TC controls another TC. This prevents unnecessary GSM Short Messages from being sent. Confirmation messages are also pointless in situations where the user eyewitnesses the action him or herself. For example, opening of a gate is a response in itself. Disabling confirmation messages # A 7 x= x 0 – confirmation messages off 1 - confirmation messages on (default) 4.9 Executing Commands on Alarms You can instruct TC to run commands when an alarm is raised. You just have to replace the free form text in the alarm message with the commands you want to your TC to execute. This feature comes in handy, for example, in situations where an alarm message from a humidity detector closes the water solenoid valve and causes an alarm siren to go on. 4.9.1 Internal Messages Number 42 has a special meaning when it is found from the TC’s internal phone directory. If an alarm message is to be forwarded to number 42, it will not be sent out as an ordinary GSM Short Message, but instead it will be transferred directly to the TC’s command interpreter. TC will see the alarm message as an incoming command string and it will perform any commands that it might contain. Setting the special number 42 in the phone directory # P x 4 2 This feature enables your TC to open or close relay contacts on the request of the generated alarm message. For example, a local alarm siren and a water solenoid valve might be wired to a relay contact that is controlled with internal messages. F If the number 42 is in any of the memory cells in the phone directory, the alarm message is always transferred to the command interpreter first and then routed to the actual phone numbers. 4.9.2 Local Alarm Siren A local alarm siren can be programmed go on, for example, when the alarm channel 3 becomes active. After the following commands have been executed the output 2 is ready to emit fifteen two-second pulses when the channel 3 becomes active. #I3 1 1 1 10 Alarm /#O2 2 15 #P20 42 command #O2 2 15 is included in the alarm message number 42 is inserted into directory memory cell 20 F TC always removes the slash from the command in the confirmation message. 4.9.3 TC Controlling another Unit As we have learned so far, alarm messages can contain commands that TC eventually executes. If this kind of message is sent to another TC, the commands are parsed and executed. The command must be somewhere in the free form alarm message and it must begin with character / (i.e. /#xxx, where xxx stands for the command). For example, there could be information concerning the alarm channel itself at the beginning of the message and then the command that needs to be executed An example on how to program the controlling TC’s inputs: