Advanced Applications
time except for the above schedule.
Step 5: Check the option Enable the external script file to exclude the following settings to activate the command script.
Command format
[Event][“Operator”Event]……=[Action][+Action]……;
Event
[“Digital Input Number””Digital Input State”] [“M” “Channel Number…”]
[“Channel Number””Video Input State”]
Operator
“+”: (OR)
“*”: (AND)
Action
[(“Delay Time”)“Digital Output Number””Digital Output State”] [“V”“Channel Number”“P”“Preset Location Number”] [“W”{“IP”:“Port”}{“Message”}]
[“U”“Method”] [“S”“Channel Number…”]
[“N”{“filename”}];
Parameter Explanations
Items above in brackets show the options available for that item.
“Digital input number”: | 1 to 4 |
“Digital input state”: | H (high), L (low), / (low to high), \ (high to low) |
“M”: | motion detection event. |
“Channel Number”: | A, B, C, D for channel 1, 2, 3, 4 |
“Video input state”: | / (signal from loss to presence), \ (signal from presence to loss), X (as |
| long as signal loss) |
“Delay time”: | seconds of delay for the following actions after events happen |
“Digital output number”: | 1 or 2 |
“Digital output state”: | C (NC), O (NO) |
“V”: | set video channel to go to preset location |
“P”: | set preset location number to go to preset location |
“W”: | send warning to server |
“IP”: | server IP |
“Port”: | server port |
“Message”: | text to be sent to the server |
“U”: | upload snapshots |
“Method”: | ‘F’ is by FTP, ‘M’ is by |
“S”: | take snapshot on channels |
“N”: | define the format of the filename |
“;”: | end of line |
The filename format is, |
|
%a | image characterization (pre, trg, pos) |
%c | video channel number |
%y | year |
%M | month |
%d | day |
%h | hour |
%m | minute |