Oncmd And Offcmd - SMS ControlMate User Manual

Versatile sms monitoring and control
Table of Contents

Advertisement

onCMD and offCMD

onCMD
and
offCMD
, are associated with specific inputs to provide local 'intelligence' without user
intervention. Note: these are different / in addition to the INON and INOFF commands.
onCMD and offCMD – replace the MAP functions used in the V1 ControlMate.
Each input's ON or OFF event may be used to trigger any controller function. Typically these may be
to turn an output on or off, but can be used for so much more.
EXAMPLE:
SET ONCMD 1
OUT 03 on
Will turn output relays 0
3 'on' every time input #1 reaches the 'on' state. You can put any single
&
controller command in here. Even those that 'change' the controller configuration.
Let's set up the basics for an input channel -
The state change name/messages, and the trigger delays
>set inon 0 Daylight!
IN 0: ON message (Daylight!)
>
>set inoff 0 Evening
IN 0: OFF message (Evening)
>
>Set ondel 0 3m
Input 0 ON [Daylight!]
Delay set to 3.0min
>
>set offdel 0 3m
Input 0 OFF [Evening]
Delay set to 3.0min
>
Now we can tell Input # 0 what to do when triggered – if anything...
>set oncmd 0
OUT 0 on
INPUT 0 ON=[OUT 0 on]
>
>set offcmd 0
OUT 0 off
INPUT 0 OFF=[OUT 0 off]
>
That's everything -
SHO IN 0
will display a response as below -
>sho in 0-
[In
0] ON
ON
dly 3.0min
OFF dly 3.0min
Count= 0
IN ON
=[Daylight!]
IN OFF =[Evening]
OnCmd =[OUT 0 on]
OffCmd=[OUT 0 off]
SMS ControlMate/3G © 2016-2018
info@SL4P.net
Page 33 of 56

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ControlMate and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Controlmate/3g

Table of Contents