Practical examples -6, Practical examples – Moxa Technologies 2140 User Manual

Page 68

Advertising
background image

%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
signal!};

If there is no signal on channel 2 or 3 or 4, a message “no
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@
%y%M%d%h%m%s};

If any motion is detected on channel 3 or 4, upload
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,
[email protected],
[email protected]
[email protected],
[email protected]
[email protected],
[email protected]
[email protected],
[email protected]
[email protected],
[email protected]
[email protected],
[email protected]

The script file is limited to a maximum of 500 characters. The actual performance will depend
on the complexity of the command script.

VPort 2140 User’s Manual

5-6

Advertising