EVENT_RSPDO1, EVENT_RSPDO2

Description

Get or Set the DOs (Digital Out ports) configurations.

The DOs could output the signal level to trigger external devices such as alarms. These output signals could be associated with the event sources based on users' applications.

This URL is available for devices which do not have DOs. This URL will be treated as dummy URL then.

Input Argument

        level,dwell

level: the active level. 0: active low, 1: active high
dwell: the active time windows in seconds. It is from 0 ~ 86400 seconds. The 0 means the output signal will be inactive as the event source becomes inactive. If it is not zero, the output level will be kept until the active window is expired no matter the event source is active or inactive.

Here illustrate how the level and dwell work. Assume the EVENT_RSPDO1=1,3 which means the active level and time window of DO1 is high and 3 seconds and EVENT_RSPDO2=0,0 which means the active level is low and no time window in DO2.

Attribute

Return of Message

EVENT_RSPDOn='0,1'

OK:EVENT_RSPDOn='0,1'
or
ERROR:EVENT_RSPDOn='0,1'

where n could be 1 or 2

Applicability

Status

Valid

See Also

EVENT_CONFIG, EVENT_RSPIMGn, EVENT_RSPMSGn, EVENT_RSPCMDn, EVENT_RSPGO

Example

http://ip:port/cgi-bin/encoder?USER=Admin&PWD=123456&EVENT_RSPDOn
or
http://ip:port/cgi-bin/cmd/encoder?EVENT_RSPDOn

http://ip:port/cgi-bin/encoder?USER=Admin&PWD=123456&EVENT_RSPDOn=0,1
or
http://ip:port/cgi-bin/cmd/encoder?EVENT_RSPDOn=0,1
where n could be 1 or 2

Back to

HOME, ENCODER CGI