![](/images/new-backgrounds/1142673/142673135x1.webp)
%s | second |
%t | tenth second |
Practical Examples
| Command line | Description | |
| MAB=1C; | When any motion is detected on channel 1 or 2, “Normal | |
|
| Close” of relay output 1 will short with “Common”. | |
| 1H*2\=(5)1O; | When DI1 high companied with DI2 transient from high | |
|
| to low, “Normal Open” of relay output 1 will short with | |
|
| COMMON in 5 seconds. | |
| B\+C\+D\=W{192.168.0.1:6000}{no | If there is no signal on channel 2 or 3 or 4, a message “no | |
| signal!}; | signal!” will be sent to port 6000 of 192.168.0.1 once. | |
| 1H=VAP14; | When sensor input 1 is high, drive the camera mapped to | |
|
| video 1 to go to preset location 15. | |
| MCD=UF+SABCD+N{video%c%a@ | If any motion is detected on channel 3 or 4, upload | |
| %y%M%d%h%m%s}; | snapshots taken on channel 1, 2, 3 and 4. If an event | |
|
| triggered at 19:05:30 2002/10/15, the snapshot files will | |
|
| be named as, | |
|
| video1pre@20021015190530.jpg, | |
|
| video2pre@20021015190530.jpg | |
|
| video3pre@20021015190530.jpg, | |
|
| video4pre@20021015190530.jpg | |
|
| video1trg@20021015190530.jpg, | |
|
| video2trg@20021015190530.jpg | |
|
| video3trg@20021015190530.jpg, | |
|
| video4trg@20021015190530.jpg | |
|
| video1pos@20021015190531.jpg, | |
|
| video2pos@20021015190531.jpg | |
|
| video3pos@20021015190531.jpg, | |
|
| video4pos@20021015190531.jpg | |
|
|
|
|
The script file is limited to a maximum of 500 characters. The actual performance will depend on the complexity of the command script.